Fix malloc threaded tests link on non-Linux
[glibc.git] / ChangeLog
blob36360d9134a3d6a0aaa06c4d00eb87ac5b54a0a3
1 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
4         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
5         $(shared-thread-library) instead of hardcoding the path to libpthread.
7 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
9         * sysdeps/unix/sysv/linux/kernel-features.h
10         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
11         * sysdeps/unix/sysv/linux/getdents.c
12         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
13         [!have_no_getdents64_defined]: Likewise.
14         (__GETDENTS): Remove __have_no_getdents64 conditional.
16 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
18         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
19         Remove macro.
20         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
21         <kernel-features.h>.
22         (signalfd) [__NR_signalfd4]: Make code unconditional.
23         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
25 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
28         style.
30 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
32         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
33         (__pthread_enable_asynccancel): Use JUMPTARGET to call
34         __pthread_unwind.
35         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
36         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
37         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
38         (__condvar_cleanup1): Likewise.
40 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
42         [BZ #19822]
43         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
44         move it to the final $@ location.
46 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
48         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
49         access where posix_spawn success and pid argument is null.
50         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
51         success case.
53 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
55         * sysdeps/mach/hurd/i386/c++-types.data: New file.
57         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
59         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
60         and __fcntl.
61         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
62         __fcntl only.
63         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
64         adding attribute_hidden to __open and __fcntl.
66         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
67         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
68         depend on libc-modules.h,
69         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
71 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
73         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
74         Remove macro.
75         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
76         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
77         entry.
79         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
80         Remove macro.
81         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
82         include <kernel-features.h>.
83         [!__ASSUME_FALLOCATE]: Remove conditional code.
84         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
86 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
88         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
89         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
90         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
91         (_ZGVdN4v_cos_avx2): Likewise.
92         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
93         (_ZGVdN4v_cos): Likewise.
94         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
95         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
96         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
97         (_ZGVdN4v_exp_avx2): Likewise.
98         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
99         (_ZGVdN4v_exp): Likewise.
100         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
101         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
102         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
103         (_ZGVdN4v_log_avx2): Likewise.
104         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
105         (_ZGVdN4v_log): Likewise.
106         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
107         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
108         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
109         (_ZGVdN4vv_pow_avx2): Likewise.
110         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
111         (_ZGVdN4vv_pow): Likewise.
112         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
113         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
114         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
115         (_ZGVdN4v_sin_avx2): Likewise.
116         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
117         (_ZGVdN4v_sin): Likewise.
118         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
119         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
120         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
121         (_ZGVdN4vvv_sincos_avx2): Likewise.
122         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
123         (_ZGVdN4vvv_sincos): Likewise.
124         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
125         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
126         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
127         (_ZGVbN4v_cosf_sse4): Likewise.
128         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
129         (_ZGVdN8v_cosf_avx2): Likewise.
130         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
131         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
132         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
133         (_ZGVbN4v_expf_sse4): Likewise.
134         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
135         (_ZGVdN8v_expf_avx2): Likewise.
136         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
137         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
138         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
139         (_ZGVbN4v_logf_sse4): Likewise.
140         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
141         (_ZGVdN8v_logf_avx2): Likewise.
142         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
143         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
144         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
145         (_ZGVbN4vv_powf_sse4): Likewise.
146         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
147         (_ZGVdN8vv_powf_avx2): Likewise.
148         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
149         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
150         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
151         (_ZGVbN4vvv_sincosf_sse4): Likewise.
152         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
153         (_ZGVdN8vvv_sincosf_avx2): Likewise.
154         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
155         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
156         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
157         (_ZGVbN4v_sinf_sse4): Likewise.
158         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
159         (_ZGVdN8v_sinf_avx2): Likewise.
160         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
161         Use JUMPTARGET to call callee.
162         (WRAPPER_IMPL_SSE2_ff): Likewise.
163         (WRAPPER_IMPL_SSE2_fFF): Likewise.
164         (WRAPPER_IMPL_AVX): Likewise.
165         (WRAPPER_IMPL_AVX_ff): Likewise.
166         (WRAPPER_IMPL_AVX_fFF): Likewise.
167         (WRAPPER_IMPL_AVX512): Likewise.
168         (WRAPPER_IMPL_AVX512_ff): Likewise.
169         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
170         Likewise.
171         (WRAPPER_IMPL_SSE2_ff): Likewise.
172         (WRAPPER_IMPL_SSE2_fFF): Likewise.
173         (WRAPPER_IMPL_AVX): Likewise.
174         (WRAPPER_IMPL_AVX_ff): Likewise.
175         (WRAPPER_IMPL_AVX_fFF): Likewise.
176         (WRAPPER_IMPL_AVX512): Likewise.
177         (WRAPPER_IMPL_AVX512_ff): Likewise.
178         (WRAPPER_IMPL_AVX512_fFF): Likewise.
180 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
182         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
183         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
184         qualifier.
185         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
186         internal_function qualifiers.
188 2016-03-15  Carlos O'Donell <carlos@redhat.com>
190         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
191         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
192         * math/atest-exp.c (exp_mpn): Mark chk unused.
193         * math/atest-exp2.c (exp_mpn): Likwise.
194         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
195         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
197 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
199         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
200         Remove macro.
201         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
202         <kernel-features.h>.
203         [__NR_ppoll]: Make code unconditional.
204         [!__ASSUME_PPOLL]: Remove conditional code.
206         * sysdeps/unix/sysv/linux/kernel-features.h
207         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
208         (__ASSUME_ACCEPT4): Likewise.
209         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
210         Define.
211         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
212         Likewise.
213         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
214         Likewise.
215         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
216         Likewise.
217         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
218         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
219         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
220         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
221         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
222         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
223         * sysdeps/unix/sysv/linux/arm/kernel-features.h
224         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
225         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
226         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
227         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
228         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
229         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
230         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
231         * sysdeps/unix/sysv/linux/i386/kernel-features.h
232         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
233         Likewise.
234         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
235         Likewise.
236         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
237         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
238         0x040300].
239         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
240         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
241         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
242         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
243         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
244         0x030300].
245         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
246         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
247         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
248         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
249         0x040300].
250         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
251         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
252         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
253         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
254         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
255         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
256         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
257         0x030300].
258         * sysdeps/unix/sysv/linux/mips/kernel-features.h
259         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
260         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
261         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
262         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
263         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
264         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
265         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
266         * sysdeps/unix/sysv/linux/s390/kernel-features.h
267         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
268         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
269         0x040300].
270         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
271         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
272         * sysdeps/unix/sysv/linux/sh/kernel-features.h
273         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
274         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
275         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
276         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
277         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
278         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
279         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
280         * sysdeps/unix/sysv/linux/tile/kernel-features.h
281         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
282         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
283         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
284         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
285         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
286         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
287         Likewise.
288         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
289         Likewise.
291 2016-03-15  Andreas Schwab  <schwab@suse.de>
293         [BZ #19257]
294         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
295         statp->_u._ext.nscount as loop count.
297 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
299         * math/test-signgam-finite-c99.c: Also #undef
300         __LIBC_INTERNAL_MATH_INLINES.
301         * math/test-signgam-main.c: Likewise.
303 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
305         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
306         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
307         (MADV_FREE): Likewise.
308         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
309         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
310         EPOLLEXCLUSIVE.
312 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
314         * timezone/README: Remove mention of checktab.awk. Mention wiki
315         SharedSourceFiles.
317 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
319         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
320         WUNTRACED.
322 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
324         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
325         order to match the type of p when calling atomic_exchange_acq().
327 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
329         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
330         cfi_offset calls.
331         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
332         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
333         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
334         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
335         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
337 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
339         * timezone/checktab.awk: Removed.
341 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
343         * manual/math.texi (Errors in Math Functions): Document relaxed
344         accuracy goals for IBM long double.
345         * math/libm-test.inc (test_exceptions): Always allow spurious
346         "underflow" and "inexact" exceptions for IBM long double.
348 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
350         [BZ #19762]
351         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
352         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
353         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
354         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
355         (bit_arch_*): This for feature array.
356         (bit_*): Renamed to ...
357         (bit_cpu_*): This for cpu array.
358         (index_*): Renamed to ...
359         (index_arch_*): This for feature array.
360         (index_*): Renamed to ...
361         (index_cpu_*): This for cpu array.
362         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
363         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
364         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
365         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
366         bit_##name with index_cpu_##name and bit_cpu_##name.
367         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
368         bit_##name with index_arch_##name and bit_arch_##name.
370 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
372         [BZ #19792]
373         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
374         Terminate FDE before return label.
376 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
378         [BZ #19790]
379         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
380         (rintl): Define as macro.
381         [USE_AS_NEARBYINTL] (__rintl): Likewise.
382         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
383         of fesetround.  Ensure results are evaluated before end of scope.
384         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
385         USE_AS_NEARBYINTL and include s_rintl.c.
386         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
387         Disable exception traps in new environment.
388         (libc_feholdsetround_ppc_ctx): Likewise.
390 2016-03-08  Roland McGrath  <roland@hack.frob.com>
392         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
393         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
394         (tst_audit10_aux) [__AVX512F__]: ... here.
396 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
398         * include/sys/auxv.h: New file.
400 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
402         [BZ #19759]
403         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
405 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
407         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
408         operand modifier.
409         (feclearexcept): Likewise.
411 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
413         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
414         to reflect the entire 32-bit HWCAP.
415         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
416         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
418 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
420         [BZ #19783]
421         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
422         $(test-via-rtld-prefix).
423         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
425 2016-03-08  Florian Weimer  <fweimer@redhat.com>
427         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
428         union wait.  Report any non-zero exit status as error.
430 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
432         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
433         configured with --enable-hardcoded-path-in-tests.
435 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
437         [BZ #19677]
438         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
439         (__ieee754_remainderl): Put zero low parts in canonical form.
440         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
441         file.  Based on
442         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
443         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
444         with wrapper round test-fmodrem-ldbl-128ibm.c.
445         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
446         file.
447         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
448         Likewise.
449         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
450         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
452 2016-03-07  Florian Weimer  <fweimer@redhat.com>
454         [BZ #19610]
455         * elf/ldconfig.c (opt_link): Update comment.
456         (options): Update help string for option -X.
457         (search_dir): Unlink stale symbolic link only if updating symbolic
458         links.
459         * elf/tst-ldconfig-X.sh: New file.
460         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
461         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
463 2016-03-07  Andreas Schwab  <schwab@suse.de>
465         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
466         needed arguments.
468 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
470         [BZ #15333]
471         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
472         to lstat64.
474 2016-03-07  Florian Weimer  <fweimer@redhat.com>
476         * libio/filedoalloc.c (isatty): Remove.
477         (local_isatty): Add comment.  Call __isatty directly.
478         (_IO_file_doallocate): Update comment.  Assume _LIBC.
479         * libio/wfiledoalloc.c (isatty): Remove.
480         (_IO_wfile_doallocate): Update comment.
482 2016-03-07  Florian Weimer  <fweimer@redhat.com>
484         [BZ #19269]
485         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
486         tst-audit4-aux.o.
487         (tst-audit10): Depend on tst-audit10-aux.o.
488         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
489         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
490         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
491         instead of inline AVX code.
492         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
493         instead of inline AVX512 code.
494         * sysdeps/x86_64/tst-audit4-aux.c: New file
495         * sysdeps/x86_64/tst-audit10-aux.c: New file
497         [BZ #19648]
498         * test-skeleton.c (main): Do not set RLIMIT_DATA.
500 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
502         [BZ #14750]
503         [BZ #10354]
504         [BZ #18433]
505         * include/sched.h (__clone): Add hidden prototype.
506         (__clone2): Likewise.
507         * include/unistd.h (__dup): Likewise.
508         * posix/Makefile (tests): Add tst-spawn2.
509         * posix/tst-spawn2.c: New file.
510         * sysdeps/posix/dup.c (__dup): Add hidden definition.
511         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
512         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
513         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
514         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
515         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
516         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
517         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
518         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
519         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
520         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
522         Likewise.
523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
524         Likewise.
525         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
526         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
527         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
528         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
529         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
530         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
531         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
532         * sysdeps/unix/sysv/linux/nptl-signals.h
533         (____nptl_is_internal_signal): New function.
534         * sysdeps/unix/sysv/linux/spawni.c: New file.
536         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
537         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
538         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
539         * posix/tst-execvp2.c (do_test): Likewise.
540         * posix/tst-execvp3.c (do_test): Likewise.
541         * posix/tst-execvp4.c (do_test): Likewise.
542         * posix/tst-execvpe1.c: New file.
543         * posix/tst-execvpe2.c: Likewise.
544         * posix/tst-execvpe3.c: Likewise.
545         * posix/tst-execvpe4.c: Likewise.
546         * posix/tst-execvpe5.c: Likewise.
547         * posix/tst-execvpe6.c: Likewise.
549         [BZ #19534]
550         * posix/execl.c (execl): Remove dynamic memory allocation.
551         * posix/execle.c (execle): Likewise.
552         * posix/execlp.c (execlp): Likewise.
554 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
556         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
557         Replace .text with .text.avx512.
558         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
559         Likewise.
561 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
563         * sysdeps/generic/libnsl.abilist: New file.
564         * sysdeps/generic/libutil.abilist: New file.
566 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
568         [BZ #19762]
569         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
570         HAS_ARCH_FEATURE with Fast_Rep_String.
571         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
572         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
573         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
574         Likewise.
575         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
576         Likewise.
577         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
578         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
579         Likewise.
580         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
581         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
582         Likewise.
584 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
586         [BZ #19745]
587         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
588         with *%rax in call.
590 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
592         [BZ #19745]
593         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
594         with *__libc_start_main@GOTPCREL(%rip) in call.
596 2016-03-04  Roland McGrath  <roland@hack.frob.com>
598         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
599         inside conditional for nonempty $(CXX).
601         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
602         nonempty.
604         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
605         to test for empty $(CXX) rather than $(CXX) of "no".
607 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
609         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
611 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
612             H.J. Lu  <hongjiu.lu@intel.com>
614         [BZ #18880]
615         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
616         instead of Slow_BSF, and also check for Fast_Copy_Backward to
617         enable __memcpy_ssse3_back.
619 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
621         [BZ #19758]
622         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
623         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
625 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
627         [BZ #19490]
628         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
629         (__fentry__): Likewise.
631 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
633         * gmon/Makefile (noprof): Add $(sysdep_noprof).
634         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
636 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
638         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
639         __mcount_internal directly.
640         (C_LABEL(__fentry__)): Likewise.
641         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
642         directly.
644 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
646         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
647         (__start_context): Call __setcontext directly.
649 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
651         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
652         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
653         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
654         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
655         * sysdeps/unix/sysv/linux/arm/kernel-features.h
656         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
657         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
658         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
659         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
660         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
661         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
662         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
663         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
664         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
665         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
666         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
667         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
668         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
669         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
670         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
671         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
672         * sysdeps/unix/sysv/linux/mips/kernel-features.h
673         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
674         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
675         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
676         Remove conditional code.
677         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
678         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
679         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
680         * sysdeps/unix/sysv/linux/sh/kernel-features.h
681         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
682         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
683         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
684         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
685         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
686         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
687         * sysdeps/unix/sysv/linux/tile/kernel-features.h
688         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
690 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
692         * NEWS (2.23): Fix typo in bug 19048 text.
694 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
696         [BZ #14259]
697         * Makeconfig: Rename msgcatdir to localedir.
698         Rename inst_msgcatdir to inst_localedir.
699         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
700         * config.make.in: Add localedir.
701         * elf/Makefile ($(objpfx)sotruss): Use localedir.
702         (ldd-rewrite): Likewise.
703         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
704         (install-others): Use inst_localedir.
705         (CPPFLAGS): Use localedir.
706         * locale/Makefile (locale-CPPFLAGS): Likewise.
707         * po/Makefile (mo-installed): Use inst_localedir.
709         [BZ #19575]
710         * localedata/charmaps/GB18030: Update comments regarding PAU to
711         non-PUA mappings.
713 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
715         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
716         test for header.
717         * sysdeps/unix/sysv/linux/configure: Regenerated.
718         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
719         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
720         Remove conditional code.
721         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
723         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
724         Define to 3.2.0.
725         (arch_minimum_kernel): Likewise.
726         * sysdeps/unix/sysv/linux/configure: Regenerated.
727         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
728         Define to 2.6.32.
729         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
730         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
731         (arch_minimum_kernel): Define to 2.6.32.
732         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
733         * README: Document Linux 3.2 requirement.
734         * manual/install.texi (Linux): Document Linux 3.2 headers
735         requirement.
736         * INSTALL: Regenerated.
738 2016-02-24  Andreas Schwab  <schwab@suse.de>
740         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
741         if !NO_LONG_DOUBLE.
743 2016-02-22  Roland McGrath  <roland@hack.frob.com>
745         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
746         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
748 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
750         [BZ #19512]
751         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
753 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
755         * posix/tst-dir.c: Include libc-internal.h.
757 2016-02-20  Florian Weimer  <fweimer@redhat.com>
759         [BZ #19056]
760         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
761         * manual/filesys.texi (Reading/Closing Directory): Mention
762         deprecaion.
763         * posix/tst-dir.c (main): Disable deprecation warning in test.
765 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
767         [BZ #19679]
768         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
769         Renamed to ...
770         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
771         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
772         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
773         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
774         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
775         * sysdeps/x86_64/dl-trampoline.h
776         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
777         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
779 2016-02-19  Mark Wielaard  <mjw@redhat.com>
781         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
783 2016-02-19  Mark Wielaard  <mjw@redhat.com>
785         * elf/elf.h (R_386_GOT32X): New.
786         (R_386_NUM): Update.
787         (R_X86_64_GOTPCRELX: New.
788         (R_X86_64_REX_GOTPCRELX): New.
789         (R_X86_64_NUM): Update.
791 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
793         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
795 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
797         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
798         assign attr->stackaddr to it, and adjust it down when
799         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
800         [_STACK_GROWS_UP]: Delete assert.
801         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
802         Implement stack grows up logic.
803         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
804         stack grows up logic.
806 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
808         * NEWS: Update with 2.24 template.
810 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
812         [BZ #19678]
813         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
814         Ensure +0.0 is returned when taking the next value below the least
815         positive value.
817 2016-02-19  Florian Weimer  <fweimer@redhat.com>
819         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
820         available.  Do not define NO_THREADS.
821         * malloc/malloc.c: Do not check NO_THREADS.
822         * malloc/arena.c: Likewise.
824 2016-02-19  Florian Weimer  <fweimer@redhat.com>
826         * malloc/malloc.c (__libc_mallinfo): Update comment.
827         (struct malloc_par): Remove max_total_mem member, it was always 0.
828         (int_mallinfo): Store 0 into usmblks (no functional change).
829         * malloc/hooks.c (struct malloc_state): Document that
830         max_total_mem is always 0.
831         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
832         always 0.
833         * manual/memory.texi (Statistics of Malloc): Likewise.
835 2016-02-19  Florian Weimer  <fweimer@redhat.com>
837         * malloc/malloc.c (sysmalloc): Do not update arena_max.
838         * malloc/arena.c (arena_max): Remove.
839         (heap_trim, _int_new_arena): Do not update arena_max.
841 2016-02-19  Florian Weimer  <fweimer@redhat.com>
843         * resolv/res_init.c (res_ninit): Update comment.
845 2016-02-19  Florian Weimer  <fweimer@redhat.com>
847         [BZ #19505]
848         * posix/spawn_int.h: Add headers and include guard.
849         (__spawn_valid_fd): New function.
850         * posix/spawn_faction_addopen.c
851         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
852         * posix/spawn_faction_addclose.c
853         (posix_spawn_file_actions_addclose): Likewise.
854         * posix/spawn_faction_adddup2.c
855         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
856         second file descriptor.
857         * posix/spawn_valid_fd.c: New file.
858         * posix/tst-posix_spawn-fd.c: New file.
859         * posix/Makefile (routines): Add spawn_valid_fd.
860         (tests): Add tst-posix_spawn-fd.
862 2016-02-19  Florian Weimer  <fweimer@redhat.com>
864         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
865         (do_test): Limit the number of arenas, so that we can use fewer
866         outer threads.  Limit timeout to 3 seconds, in preparation for a
867         larger TIMEOUT value.
869 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
871         [BZ #19674]
872         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
873         sign in overflowing and underflowing results when overflow or
874         underflow is detected early.  Include sign in result before rather
875         than after scaling.
877         [BZ #19603]
878         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
879         (__ieee754_remainderl): Adjust sign of integer version of low part
880         when taking absolute value of high part.
881         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
882         * math/libm-test.inc (remainder_test_data): Add another test.
883         (remquo_test_data): Likewise.
885 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
887         [BZ #19602]
888         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
889         equal high parts and both low parts zero specially.
890         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
891         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
892         Add test-fmodl-ldbl-128ibm.
894         [BZ #19595]
895         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
896         common logic for all cases of shifting subnormal results.  Do not
897         insert sign bit in shifted mantissa.  Always pass -1023 as biased
898         exponent to ldbl_insert_mantissa in subnormal case.
900         [BZ #19594]
901         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
902         on high and low parts then adjust result and use
903         ldbl_canonicalize_int if needed.
905         [BZ #19593]
906         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
907         on high part and __floor or __ceil on low part then use
908         ldbl_canonicalize_int if needed.
910         [BZ #19592]
911         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
912         high and low parts then use ldbl_canonicalize_int if needed.
914         [BZ #17899]
915         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
916         New function.
917         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
918         on high and low parts then use ldbl_canonicalize_int if needed.
920 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
922         * configure: Regenerated.
924         * po/libc.pot: Regenerated.
926         * po/be.po: Updated translation.
927         * po/bg.po: Likewise.
928         * po/ca.po: Likewise.
929         * po/cs.po: Likewise.
930         * po/da.po: Likewise.
931         * po/el.po: Likewise.
932         * po/eo.po: Likewise.
933         * po/es.po: Likewise.
934         * po/fi.po: Likewise.
935         * po/fr.po: Likewise.
936         * po/gl.po: Likewise.
937         * po/hr.po: Likewise.
938         * po/hu.po: Likewise.
939         * po/ia.po: Likewise.
940         * po/id.po: Likewise.
941         * po/it.po: Likewise.
942         * po/ja.po: Likewise.
943         * po/lt.po: Likewise.
944         * po/nb.po: Likewise.
945         * po/nl.po: Likewise.
946         * po/pt_BR.po: Likewise.
947         * po/rw.po: Likewise.
948         * po/sk.po: Likewise.
949         * po/sl.po: Likewise.
950         * po/sv.po: Likewise.
951         * po/tr.po: Likewise.
952         * po/zh_CN.po: Likewise.
953         * po/zh_TW.po: Likewise.
955         * version.h (RELEAES): Set to "development".
956         (VERSION): Set to 2.23.90.
958         * version.h (RELEASE): Set to "stable".
959         (VERSION): Set to 2.23.
960         * include/feature.h (__GLIBC_MINOR__): Set to 23.
962         * NEWS: Updated fixed bugs.
964 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
965             Wilco Dijkstra  <wdijkstr@arm.com>
967         [BZ #19462]
968         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
969         (_STRING_INLINE_unaligned): This.
970         * include/string.h: Include <string_private.h>.
971         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
972         _STRING_INLINE_unaligned.
973         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
974         (_STRING_INLINE_unaligned): New.
975         * sysdeps/aarch64/string_private.h: New file.
976         * sysdeps/generic/string_private.h: Likewise.
977         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
978         * sysdeps/s390/string_private.h: Likewise.
979         * sysdeps/x86/string_private.h: Likewise.
980         * sysdeps/m68k/m680x0/m68020/bits/string.h
981         (_STRING_ARCH_unaligned): Renamed to ...
982         (_STRING_INLINE_unaligned): This.
983         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
984         to ...
985         (_STRING_INLINE_unaligned): This.
986         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
987         to ...
988         (_STRING_INLINE_unaligned): This.
989         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
990         to ...
991         (_STRING_INLINE_unaligned): This.
993 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
994             H.J. Lu  <hongjiu.lu@intel.com>
996         [BZ #19590]
997         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
998         relocation.
1000 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
1002         [BZ #18665]
1003         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
1004         *herrno_p.
1005         (gaih_getanswer): Document functional behviour. Return tryagain
1006         if any result is tryagain.
1007         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
1008         when freed.
1009         * resolv/res_send.c: Add copyright text.
1010         (__libc_res_nsend): Document that MAXPACKET is expected.
1011         (send_vc): Document. Remove buffer reuse.
1012         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
1013         size of the buffer. Add Dprint for truncated UDP buffer.
1015 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
1017         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
1018         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
1019         * INSTALL: Regenerate.
1021 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
1022             Jonathan Wakely  <jwakely@redhat.com>
1023             Carlos O'Donell  <carlos@redhat.com>
1025         [BZ 19439]
1026         * math/Makefile (tests): Add test-math-isinff.
1027         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
1028         * math/bits/mathcalls.h [__USE_MISC]: Use
1029         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
1030         functions not in C++11 and which don't conflict e.g. isinff,
1031         isinfl etc.
1032         * math/test-math-isinff.cc: New file.
1034 2016-02-12  Florian Weimer  <fweimer@redhat.com>
1036         * misc/bug18240.c (do_test): Set RLIMIT_AS.
1038 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1040         [BZ #19529]
1041         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
1043 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1045         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1047 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
1049         [BZ #19550]
1050         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
1051         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
1052         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
1053         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
1054         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
1055         New syscall entry.
1056         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
1057         New syscall entry.
1058         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
1059         syscall entry.
1061 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
1063         [BZ #18240]
1064         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
1065         unsigned int wraparound.
1067 2016-01-27  Florian Weimer  <fweimer@redhat.com>
1069         [BZ #18240]
1070         * misc/bug18240.c: New test.
1071         * misc/Makefile (tests): Add it.
1073 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
1074             Joseph Myers  <joseph@codesourcery.com>
1076         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
1077         load in branch delay slot when less than a word of input left.
1079 2016-01-27  Andreas Schwab  <schwab@suse.de>
1081         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
1082         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
1083         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
1084         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
1086 2016-01-26  David S. Miller  <davem@davemloft.net>
1088         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
1090 2016-01-25  David S. Miller  <davem@davemloft.net>
1092         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
1093         __sqrtl_finite.
1094         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
1095         instead using versioned_symbol.
1096         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
1097         of entries.
1099         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
1100         __sqrtl_finite to GLIBC_2.23
1102 2016-01-25  Ricchard Henderson  <rth@redhat.com>
1104         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1106 2016-01-25  Andreas Schwab  <schwab@suse.de>
1108         [BZ #17514]
1109         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
1110         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
1111         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
1112         * nptl/tst-mutex-errorcheck.c: New file.
1114 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1116         [BZ #18560]
1117         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
1118         (IPCOP_semop): Likewise.
1119         (IPCOP_semget): Likewise.
1120         (IPCOP_semctl): Likewise.
1121         (IPCOP_msgsnd): Likewise.
1122         (IPCOP_msgrcv): Likewise.
1123         (IPCOP_msgget): Likewise.
1124         (IPCOP_msgctl): Likewise.
1125         (IPCOP_shmat): Likewise.
1126         (IPCOP_shmdt): Likewise.
1127         (IPCOP_shmget): Likewise.
1128         (IPCOP_shmctl): Likewise.
1130 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
1132         * string/tst-endian.c: Include <libc-internal.h>.
1133         (do_test): Ignore tautological-compare warnings around
1134         "htobeXX (beXXtoh (i)) != i" and
1135         "htoleXX (leXXtoh (i)) != i" if-statements.
1137 2016-01-24  David S. Miller  <davem@davemloft.net>
1139         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
1140         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
1141         alias.
1142         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1143         __sqrtl_finite.
1145         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1147 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
1149         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
1150         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
1151         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1153 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1155         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
1156         (thread_func): Use new function to simplify barrier check.
1157         (do_test): Use new function to simplify checking barrier exit
1158         code, and actually join the child thread.
1160 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1162         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
1163         semicolon.
1164         (__libc_tend): Likewise.
1165         (__libc_tabort): Likewise.
1167 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
1169         * sysdeps/nios2/libm-test-ulps: Update.
1170         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
1171         (__gtsf2): Likewise.
1172         (__unorddf2): Likewise.
1173         (__unordsf2): Likewise.
1174         (__ledf2): Likewise.
1176 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
1178         * nis/nis_table.c (__follow_path): Disable diagnostic for
1179         uninitialized variable that is a false positive for gcc 4.7.
1180         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
1182 2016-01-20  Roland McGrath  <roland@hack.frob.com>
1184         * sysdeps/nacl/lowlevellock-futex.h
1185         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
1186         Always evaluate PRIVATE argument.
1188 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
1190         [BZ #19490]
1191         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
1192         (pthread_cond_broadcast): Use ENTRY/END
1193         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
1194         (pthread_cond_signal): Likewise.
1195         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
1196         Likewise.
1197         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
1198         Likewise.
1199         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
1200         Likewise.
1202 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
1204         * sysdeps/ieee754/dbl-64/s_finite.c
1205         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
1206         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
1207         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
1208         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
1209         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
1211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1212         (__gtsf2): Add as optional for libc.so.
1213         (__unordsf2): Likewise.
1214         (__signbit): Remove for libc.so.
1215         (__signbitl): Likewise.
1217 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1219         * iconvdata/bug-iconv11.c (test_ibm93x):
1220         Use %zu printf format specifier for size_t argument.
1222 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
1224         * math/gen-libm-test.pl (parse_ulps): Do not reduce
1225         already-recorded ulps.
1226         * sysdeps/arm/libm-test-ulps: Regenerated.
1227         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1228         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1229         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1231 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1232             Paul Pluzhnikov  <ppluzhnikov@google.com>
1234         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
1235         assembler not supporting AVX-512.
1237 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1239         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1241 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
1243         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1244         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1246         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1248         * sysdeps/arm/libm-test-ulps: Regenerated.
1250 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
1252         [BZ #19451]
1253         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
1255 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1257         [BZ #19486]
1258         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
1259         * sysdeps/generic/fix-fp-int-convert-overflow.h
1260         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
1261         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
1262         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
1263         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
1264         Likewise.
1265         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
1266         Avoid conversions to long int where inexact exceptions
1267         could be raised.
1268         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
1269         Likewise.
1270         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
1271         Avoid conversions to long long int where inexact exceptions
1272         could be raised.
1273         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
1274         Likewise.
1276 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
1278         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
1279         * configure: Regenerated.
1281 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
1283         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
1285 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
1287         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
1288         outside of comment.
1290 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1292         * nptl/tst-barrier1.c: Add description on first line.
1293         * nptl/tst-barrier2.c: Likewise.
1294         * nptl/tst-barrier3.c: Likewise.
1295         * nptl/tst-barrier4.c: Likewise.
1296         * nptl/tst-barrier5.c: Likewise.
1298 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1300         [BZ #18868]
1301         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
1303 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
1305         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
1306         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1307         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
1308         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
1309         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
1310         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
1311         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1312         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1313         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1314         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1315         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1317 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1319         [BZ #13065]
1320         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
1321         new implementation.
1322         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
1323         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
1324         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
1325         (BARRIER_IN_THRESHOLD): New macro.
1326         * nptl/pthread_barrierattr_setpshared.c
1327         (pthread_barrierattr_setpshared): Clean up.
1328         * nptl/tst-barrier4.c: Correct comment.
1329         * nptl/tst-barrier5.c: New file.
1330         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
1331         (gen-as-const-headers): Remove lowlevelbarrier.sym.
1332         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
1333         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
1334         * nptl/lowlevelbarrier.sym: Remove.
1335         * nptl/DESIGN-barrier.txt: Remove.
1336         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
1337         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
1338         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
1339         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
1340         error.
1341         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
1342         implementation.
1344 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1346         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
1347         (do_child): Mask SIGRTMIN while thr is running.
1349 2016-01-15  Martin Sebor  <msebor@redhat.com>
1351         [BZ #19432]
1352         * iconvdata/Makefile: Add bug-iconv11.
1353         * iconvdata/bug-iconv11.c: New test.
1354         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
1355         * iconvdata/ibm933.c: Same.
1356         * iconvdata/ibm935.c: Same.
1357         * iconvdata/ibm937.c: Same.
1358         * iconvdata/ibm939.c: Same.
1360 2016-01-15  Martin Sebor  <msebor@redhat.com>
1362         [BZ #19443]
1363         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
1364         [DEBUG] (_ufc_set_bits): Declare used.
1365         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
1366         [DEBUG] (print_all): Declare used.
1367         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
1368         operands of the ternary ?: expression to target type.
1369         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
1370         calling the undeclared abort.
1371         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
1373 2016-01-15  Martin Sebor  <msebor@redhat.com>
1375         [BZ #18755]
1376         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
1377         warnings.
1378         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
1379         (__gai_create_helper_thread): Same.
1380         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
1381         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
1382         to suppress -Wmaybe-uninitialized warnings.
1384 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
1386         [BZ #19465]
1387         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
1388         inside if.
1389         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1390         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1391         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1393 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
1395         [BZ #19466]
1396         * time/tst-mktime2.c (time_t_max): Removed.
1397         (time_t_min): Likewise.
1398         (TYPE_SIGNED): New.
1399         (TYPE_MINIMUM): Likewise.
1400         (TYPE_MAXIMUM): Likewise.
1401         (TIME_T_MIN): Likewise.
1402         (TIME_T_MAX): Likewise.
1403         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
1404         and TIME_T_MIN.
1405         (do_test): Likewise.
1407 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
1409         [BZ #19467]
1410         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1411         index_Fast_Unaligned_Load flag for Excavator family CPUs.
1413 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
1415         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
1417 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
1419         * benchtests/Makefile (PYTHON): Define.
1420         (bench-func): Use $(PYTHON) to run python scripts.
1421         ($(objpfx)bench-%.c): Likewise.
1423 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
1425         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
1426         leading slash when `file_name' is "/".
1428 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
1430         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
1431         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
1432         Likewise.
1433         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
1434         Likewise.
1435         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
1436         Likewise.
1437         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
1438         enum constant and macro.
1439         (PTRACE_SETSIGMASK): Likewise.
1440         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1441         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1442         (PTRACE_GETSIGMASK): Likewise.
1443         (PTRACE_SETSIGMASK): Likewise.
1444         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1445         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
1446         Likewise.
1447         (PTRACE_SETSIGMASK): Likewise.
1448         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1449         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1450         (PTRACE_GETSIGMASK): Likewise.
1451         (PTRACE_SETSIGMASK): Likewise.
1452         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1453         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
1454         Likewise.
1455         (PTRACE_SETSIGMASK): Likewise.
1456         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1457         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
1458         Likewise.
1459         (PTRACE_SETSIGMASK): Likewise.
1460         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1461         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
1462         Likewise.
1463         (PTRACE_SETSIGMASK): Likewise.
1464         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1466 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
1467             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1469         [BZ #19439]
1470         * math/bits/mathcalls.h
1471         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
1472         prototype.
1473         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
1475 2016-01-11  Andreas Schwab  <schwab@suse.de>
1477         [BZ #19253]
1478         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
1479         cache when TZDEFRULES was used.
1480         * time/tst-tzname.c: New file.
1481         * time/Makefile (test): Add tst-tzname.
1482         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
1483         * timezone/Makefile (test-zones): Add $(posixrules-file).
1484         ($(testdata)/$(posixrules-file)): New rule.
1486 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
1488         Fix doc quoting problems with Texinfo 5
1489         Without this change, in the info file output, Texinfo 5 quotes code
1490         in text with undirected single quotes 'like this' and generates
1491         code examples that with many PDF readers cannot be cut out of PDFs
1492         and pasted into code.
1493         * manual/libc.texinfo: Configure the libc manual like the GNU
1494         Emacs manual, by using @documentencoding and setting
1495         txicodequoteundirected and txicodequotebacktick.  This way,
1496         Texinfo 5 quotes code in text with directed single quotes ‘like
1497         this’ and produces examples that can be cut out of PDFs.  This
1498         change causes Texinfo 5 to generate info files that contain UTF-8
1499         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
1500         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
1502 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1504         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
1505         __libc_tabort, __libc_tend): New wrappers that enforce compiler
1506         barriers to their respective compiler built-ins.
1507         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
1508         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
1509         * sysdeps/powerpc/sysdep.h: Likewise.
1510         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
1511         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
1512         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
1514 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
1516         * scripts/config.guess: Revert previous shebang change.
1517         * scripts/config.sub: Likewise.
1518         * scripts/mkinstalldirs: Likewise.
1520 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1522         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
1523         PPC_FEATURE2_HAS_IEEE128.
1524         * sysdeps/powerpc/dl-procinfo.c:
1525         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
1527 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
1529         [BZ #19415]
1530         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
1531         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
1532         (_dl_lookup_address): Rewrite using function resolver trampoline.
1533         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
1534         two bits in address.
1536 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
1538         * longlong.h: Change !__SHMEDIA__ to
1539         (!defined (__SHMEDIA__) || !__SHMEDIA__).
1540         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
1542 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
1543             Joseph Myers  <joseph@codesourcery.com>
1544             Mark Shinwell  <shinwell@codesourcery.com>
1545             Andrew Stubbs  <ams@codesourcery.com>
1546             Rich Felker <dalias@libc.org>
1548         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
1550 2016-01-07  Richard Henderson  <rth@redhat.com>
1552         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
1554 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
1556         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
1557         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
1558         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1559         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1560         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
1562 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
1563             Joseph Myers  <joseph@codesourcery.com>
1565         * timezone/private.h: Update from tzcode 2015g.
1566         * timezone/tzfile.h: Likewise.
1567         * timezone/tzselect.ksh: Likewise.
1568         * timezone/zdump.c: Likewise.
1569         * timezone/zic.c: Likewise.
1570         * timezone/ialloc.c: Remove file.
1571         * timezone/scheck.c: Likewise.
1572         * timezone/Makefile (extra-objs): Remove variable.
1573         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
1574         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
1575         -Wno-maybe-uninitialized.
1576         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
1577         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
1578         (CFLAGS-ialloc.c): Remove variable.
1579         (CFLAGS-scheck.c): Likewise.
1580         * timezone/README: Update list of files from tzcode.
1582 2016-01-07  Khem Raj  <raj.khem@gmail.com>
1584         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
1585         instead of __fxprintf when _LIBC is undefined.
1587 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
1589         * catgets/test-gencat.sh: Remove space after shebang.
1590         * conform/GlibcConform.pm: Likewise.
1591         * conform/check-header-lists.sh: Likewise.
1592         * conform/conformtest.pl: Likewise.
1593         * conform/linknamespace.pl: Likewise.
1594         * conform/list-header-symbols.pl: Likewise.
1595         * debug/catchsegv.sh: Likewise.
1596         * elf/genrtldtbl.awk: Likewise.
1597         * elf/tst-pathopt.sh: Likewise.
1598         * elf/tst-rtld-load-self.sh: Likewise.
1599         * grp/tst_fgetgrent.sh: Likewise.
1600         * iconvdata/gen-8bit-gap-1.sh: Likewise.
1601         * iconvdata/gen-8bit-gap.sh: Likewise.
1602         * iconvdata/gen-8bit.sh: Likewise.
1603         * iconvdata/run-iconv-test.sh: Likewise.
1604         * intl/tst-gettext.sh: Likewise.
1605         * intl/tst-gettext2.sh: Likewise.
1606         * intl/tst-gettext4.sh: Likewise.
1607         * intl/tst-gettext6.sh: Likewise.
1608         * intl/tst-translit.sh: Likewise.
1609         * io/ftwtest-sh: Likewise.
1610         * libio/test-freopen.sh: Likewise.
1611         * locale/gen-translit.pl: Likewise.
1612         * malloc/tst-mtrace.sh: Likewise.
1613         * manual/check-safety.sh: Likewise.
1614         * manual/libc-texinfo.sh: Likewise.
1615         * manual/tsort.awk: Likewise.
1616         * manual/xtract-typefun.awk: Likewise.
1617         * nptl/tst-cancel-wrappers.sh: Likewise.
1618         * nptl/tst-tls6.sh: Likewise.
1619         * posix/globtest.sh: Likewise.
1620         * posix/tst-getconf.sh: Likewise.
1621         * posix/wordexp-tst.sh: Likewise.
1622         * scripts/check-c++-types.sh: Likewise.
1623         * scripts/check-local-headers.sh: Likewise.
1624         * scripts/config.guess: Likewise.
1625         * scripts/config.sub: Likewise.
1626         * scripts/cpp: Likewise.
1627         * scripts/cross-test-ssh.sh: Likewise.
1628         * scripts/documented.sh: Likewise.
1629         * scripts/evaluate-test.sh: Likewise.
1630         * scripts/gen-libc-abis: Likewise.
1631         * scripts/gen-sorted.awk: Likewise.
1632         * scripts/list-fixed-bugs.py: Likewise.
1633         * scripts/merge-test-results.sh: Likewise.
1634         * scripts/mkinstalldirs: Likewise.
1635         * scripts/rellns-sh: Likewise.
1636         * scripts/test-installation.pl: Likewise.
1637         * scripts/update-copyrights: Likewise.
1638         * stdio-common/tst-printf.sh: Likewise.
1639         * stdio-common/tst-unbputc.sh: Likewise.
1640         * stdlib/tst-fmtmsg.sh: Likewise.
1641         * stdlib/tst-setcontext3.sh: Likewise.
1642         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
1643         * sysdeps/unix/make-syscalls.sh: Likewise.
1645 2016-01-06  John David Anglin  <dave.anglin@bell.net>
1647         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
1648         asm stw with atomic_exchange_rel.  Add explanatory comment.
1649         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1650         Likewise.
1652 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1654         [BZ #19122]
1655         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
1656         * sysdeps/generic/dl-unistd.h: New file.
1657         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
1659 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1661          [BZ #19122]
1662          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
1663          * sysdeps/generic/dl-mman.h: New file.
1664          * sysdeps/mach/hurd/dl-mman.h: Likewise.
1666 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
1668         * manual/texinfo.tex: Update to version 2016-01-04.21 with
1669         trailing whitespace removed.
1670         * scripts/config.guess: Update to version 2016-01-01.
1671         * scripts/config.sub: Update to version 2016-01-01.
1672         * scripts/move-if-change: Update from gnulib.
1674 2016-01-04  Anton Blanchard  <anton@samba.org>
1676         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
1677         for array indices.
1678         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
1680 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
1682         * NEWS: Update copyright dates.
1683         * catgets/gencat.c (print_version): Likewise.
1684         * csu/version.c (banner): Likewise.
1685         * debug/catchsegv.sh: Likewise.
1686         * debug/pcprofiledump.c (print_version): Likewise.
1687         * debug/xtrace.sh (do_version): Likewise.
1688         * elf/ldconfig.c (print_version): Likewise.
1689         * elf/ldd.bash.in: Likewise.
1690         * elf/pldd.c (print_version): Likewise.
1691         * elf/sotruss.sh: Likewise.
1692         * elf/sprof.c (print_version): Likewise.
1693         * iconv/iconv_prog.c (print_version): Likewise.
1694         * iconv/iconvconfig.c (print_version): Likewise.
1695         * locale/programs/locale.c (print_version): Likewise.
1696         * locale/programs/localedef.c (print_version): Likewise.
1697         * login/programs/pt_chown.c (print_version): Likewise.
1698         * malloc/memusage.sh (do_version): Likewise.
1699         * malloc/memusagestat.c (print_version): Likewise.
1700         * malloc/mtrace.pl: Likewise.
1701         * manual/libc.texinfo: Likewise.
1702         * nptl/version.c (banner): Likewise.
1703         * nscd/nscd.c (print_version): Likewise.
1704         * nss/getent.c (print_version): Likewise.
1705         * nss/makedb.c (print_version): Likewise.
1706         * posix/getconf.c (main): Likewise.
1707         * scripts/test-installation.pl: Likewise.
1708         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1710         * All files with FSF copyright notices: Update copyright dates
1711         using scripts/update-copyrights.
1712         * intl/plural.c: Regenerated.
1713         * locale/programs/charmap-kw.h: Likewise.
1714         * locale/programs/locfile-kw.h: Likewise.
1716 2016-01-02  Helge Deller  <deller@gmx.de>
1718         [BZ #19285]
1719         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
1720         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
1721         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
1722         (MADV_xxK_PAGES): Remove.
1724 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
1726         [BZ #15421]
1727         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
1728         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
1729         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
1730         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
1732 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
1734         [BZ #19408]
1735         * sysdeps/unix/sysv/linux/personality.c: New file.
1736         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
1737         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
1738         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
1739         (sysdep_routines): Add personality.
1740         (tests): Add tst-personality.
1741         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
1742         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
1743         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
1744         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
1745         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
1746         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
1747         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
1748         Likewise.
1749         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
1750         Likewise.
1751         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
1752         Likewise.
1753         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
1754         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
1755         Likewise.
1757 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
1759         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
1760         (PATH_ARM_SYSTYPE): Remove.
1761         (PATH_CPUINFO): Likewise.
1762         (IO_BASE_FOOTBRIDGE): Likewise.
1763         (IO_SHIFT_FOOTBRIDGE): Likewise.
1764         (struct platform): Likewise.
1765         (init_iosys): Remove compatibility code for 2.4 kernels.
1766         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
1768 2015-12-29  Florian Weimer  <fweimer@redhat.com>
1770         * malloc/tst-malloc-thread-fail.c: New file.
1771         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
1772         (tst-malloc-thread-fail): Link against libpthread.
1774 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
1776         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
1777         (get_parser): New function.
1778         (main): New function.
1780 2015-12-29  Rob Wu  <rob@robwu.nl>
1782         [BZ #19369]
1783         * resolv/res_init.c (__res_vinit): Reset defdname before use.
1785 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
1787         [BZ #19270]
1788         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1790 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
1792         [BZ #15421]
1793         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
1795 2015-12-23  Torvald Riegel  <triegel@redhat.com>
1797         [BZ #13690]
1798         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
1799         after releasing it.
1800         (__lll_robust_unlock): Likewise.
1801         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1802         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
1803         (lll_robust_unlock): Likewise.
1804         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
1805         Prevent warnings in callers.
1807 2015-12-23  Florian Weimer  <fweimer@redhat.com>
1809         * malloc/arena.c (list_lock): Update comment.
1811 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1813         * sysdeps/powerpc/hwcapinfo.c: Export symbol
1814         __parse_hwcap_and_convert_at_platform to libc.a.
1816 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1818         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
1819         platform and feature support for POWER9.
1820         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1821         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
1822         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
1823         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
1824         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
1825         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
1826         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
1827         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
1829 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1831         Harmonize generic stdio-lock support with nptl
1833         This fixes build when _IO_funlockfile is a macro, fixes build where
1834         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
1835         stack unwind.
1837         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
1838         _IO_release_lock ): Use cleanup attribute on new
1839         _IO_acquire_lock_file variable instead of assuming that
1840         _IO_release_lock will be called.
1841         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
1842         _IO_acquire_lock_needs_exceptions_enabled.
1843         (_IO_acquire_lock_clear_flags2): New macro.
1845 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1847         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1849 2015-12-21  Florian Weimer  <fweimer@redhat.com>
1851         [BZ #19182]
1852         * malloc/arena.c (list_lock): Document lock ordering requirements.
1853         (free_list_lock): New lock.
1854         (ptmalloc_lock_all): Comment on free_list_lock.
1855         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
1856         (detach_arena): Update comment.  free_list_lock is now needed.
1857         (_int_new_arena): Use free_list_lock around detach_arena call.
1858         Acquire arena lock after list_lock.  Add comment, including FIXME
1859         about incorrect synchronization.
1860         (get_free_list): Switch to free_list_lock.
1861         (reused_arena): Acquire free_list_lock around detach_arena call
1862         and attached threads counter update.  Add two FIXMEs about
1863         incorrect synchronization.
1864         (arena_thread_freeres): Switch to free_list_lock.
1865         * malloc/malloc.c (struct malloc_state): Update comments to
1866         mention free_list_lock.
1868 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
1870         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
1871         Remove functions.
1872         (sloww, sloww1): Accept argument to offset quadrant.
1873         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
1874         quadrant.
1875         (__sin, __cos): Consolidate common code into new functions.
1876         (reduce_sincos_1, do_sincos_1): New functions.
1877         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1879         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
1880         code to new functions.
1881         (reduce_sincos_2, do_sincos_2): New functions.
1882         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1884         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
1885         common code for sincos.
1886         (__cos) [!IN_SINCOS]: Likewise.
1887         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
1888         New function.
1889         (__sincos): Use it.
1891 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
1893         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
1894         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
1895         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1897 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1899         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
1900         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
1901         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1902         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
1903         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1904         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
1905         index_Prefer_No_VZEROUPPER): New feature.
1906         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
1907         Prefer_No_VZEROUPPER for Knights Landing.
1909 015-12-18  Torvald Riegel  <triegel@redhat.com>
1911         * math/atest-exp2.c (mp_exp_m1): Remove.
1913 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1915         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
1916         syscalls.
1917         (__SYSCALL0): New macro.
1918         (__SYSCALL1): Likewise.
1919         (__SYSCALL2): Likewise.
1920         (__SYSCALL3): Likewise.
1921         (__SYSCALL4): Likewise.
1922         (__SYSCALL5): Likewise.
1923         (__SYSCALL6): Likewise.
1924         (__SYSCALL_CONCAT_X): Likewise.
1925         (__SYSCALL_CONCAT): Likewise.
1926         (__SYSCALL_DIST): Likewise.
1927         (__SYSCALL_CALL): Likewise.
1929 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
1931         [BZ #19363]
1932         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
1934 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1936         [BZ #19375]
1937         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
1938         negative subnormals.
1940 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
1942         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1943         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
1944         (INTERNAL_SYSCALL_NCS): Use it.
1945         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1947 2015-12-16  Florian Weimer  <fweimer@redhat.com>
1949         [BZ #19243]
1950         * malloc/arena.c (get_free_list): Remove assert and adjust
1951         reference count handling.  Add comment about reused_arena
1952         interaction.
1953         (reused_arena): Add comments abount get_free_list interaction.
1954         * malloc/tst-malloc-thread-exit.c: New file.
1955         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
1956         (tst-malloc-thread-exit): Link against libpthread.
1958 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1960         [BZ #19367]
1961         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
1962         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
1963         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
1964         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
1965         (index_Prefer_MAP_32BIT_EXEC): Likewise.
1967 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1969         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
1970         Silvermont optimizations for Knights Landing.
1972 2015-12-15  Andreas Schwab  <schwab@suse.de>
1974         [BZ #17197]
1975         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
1976         immediately after emitting SI.
1977         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1978         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1979         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1980         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1981         * iconvdata/bug-iconv10.c: New file.
1982         * iconvdata/Makefile (tests): Add bug-iconv10.
1983         ($(objpfx)bug-iconv10.out): New rule.
1985 2015-12-15  Florian Weimer  <fweimer@redhat.com>
1987         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
1988         aliasing violation.
1990 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
1992         [BZ #18472]
1993         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
1994         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
1995         conditionals for them.
1996         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
1997         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
1998         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1999         sys/kdaemon.h.
2000         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
2001         compat-only syscall, obsoleted in glibc 2.23.
2002         (create_module): Likewise.
2003         (get_kernel_syms): Likewise.
2004         (query_module): Likewise.
2005         (uselib): Likewise.
2006         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
2008 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
2010         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
2011         <linux/version.h>.
2012         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
2013         conditional code.
2014         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
2015         and ioshift_name initialization.
2017 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2019         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2020         Fix indentation.
2022 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2024         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
2026 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2028         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
2030 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
2031             Jakub Wilk  <jwilk@debian.org>
2033         [BZ #19347]
2034         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
2035         to change the group of the device to the tty group.
2037 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
2039         Split large string section; add truncation advice
2040         * manual/examples/strncat.c: Remove.
2041         This example was misleading, as the code would have undefined
2042         behavior if "hello" was longer than SIZE.  Anyway, the manual
2043         shouldn't encourage strncpy+strncat for this sort of thing.
2044         * manual/string.texi (Copying Strings and Arrays): Split into
2045         three sections Copying Strings and Arrays, Concatenating Strings,
2046         and Truncating Strings, as this section was way too long.  All
2047         cross-referenced changed.  Add advice about string-truncation
2048         functions.  Remove misleading strncat example.
2050 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
2052         * manual/nss.texi (NSS Modules Interface): Document
2053         NSS_STATUS_NOTFOUND and SUCCESS.
2055 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
2057         [BZ 18568]
2058         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2059         201505L, for Unicode 8.
2061 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
2063         * locale/C-translit.h: Regenerate.
2065 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
2067         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
2068         and U+0153.
2070 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
2072         [BZ #19351]
2073         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
2074         expanding log(1+z), compare z rather than its square with epsilon
2075         to determine when to avoid evaluating the expansion.
2077         [BZ #19350]
2078         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
2079         Increase overflow threshold.
2081         [BZ #19349]
2082         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
2083         when small.
2085         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2086         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2087         New macro.
2088         [__LINUX_KERNEL_VERSION >= 0x040300]
2089         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2090         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2091         Likewise.
2092         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2093         Likewise.
2094         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2095         Likewise.
2096         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2097         Likewise.
2098         [__LINUX_KERNEL_VERSION >= 0x040300]
2099         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2100         [__LINUX_KERNEL_VERSION >= 0x040300]
2101         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2102         [__LINUX_KERNEL_VERSION >= 0x040300]
2103         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2104         [__LINUX_KERNEL_VERSION >= 0x040300]
2105         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2106         [__LINUX_KERNEL_VERSION >= 0x040300]
2107         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2108         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2109         Likewise.
2110         [__LINUX_KERNEL_VERSION >= 0x040300]
2111         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2112         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2113         Likewise.
2114         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2115         Likewise.
2116         [__LINUX_KERNEL_VERSION >= 0x040300]
2117         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2118         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2119         Likewise.
2120         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2121         Likewise.
2122         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2123         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
2124         Likewise.
2125         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
2126         Likewise.
2127         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2128         Likewise.
2129         [__LINUX_KERNEL_VERSION >= 0x040300]
2130         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2131         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2132         Likewise.
2133         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2134         Likewise.
2135         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2136         Likewise.
2137         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2138         Likewise.
2139         [__LINUX_KERNEL_VERSION >= 0x040300]
2140         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2141         [__LINUX_KERNEL_VERSION >= 0x040300]
2142         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2143         [__LINUX_KERNEL_VERSION >= 0x040300]
2144         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2145         [__LINUX_KERNEL_VERSION >= 0x040300]
2146         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2147         [__LINUX_KERNEL_VERSION >= 0x040300]
2148         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2149         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2150         Likewise.
2151         [__LINUX_KERNEL_VERSION >= 0x040300]
2152         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2153         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2154         Likewise.
2155         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2156         Likewise.
2157         [__LINUX_KERNEL_VERSION >= 0x040300]
2158         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2159         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2160         Likewise.
2161         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2162         Likewise.
2163         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2164         (__ASSUME_SOCKET_SYSCALL): Likewise.
2165         (__ASSUME_BIND_SYSCALL): Likewise.
2166         (__ASSUME_CONNECT_SYSCALL): Likewise.
2167         (__ASSUME_LISTEN_SYSCALL): Likewise.
2168         (__ASSUME_ACCEPT_SYSCALL): Likewise.
2169         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2170         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2171         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2172         (__ASSUME_SEND_SYSCALL): Likewise.
2173         (__ASSUME_SENDTO_SYSCALL): Likewise.
2174         (__ASSUME_RECV_SYSCALL): Likewise.
2175         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2176         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
2177         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2178         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2179         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2180         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2181         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2182         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
2183         Likewise.
2184         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
2185         Likewise.
2186         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
2187         Likewise.
2188         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
2189         Likewise.
2190         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
2191         Likewise.
2192         [__LINUX_KERNEL_VERSION >= 0x020625]
2193         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2194         [__LINUX_KERNEL_VERSION >= 0x020625]
2195         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2196         [__LINUX_KERNEL_VERSION >= 0x020625]
2197         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2198         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
2199         Likewise.
2200         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
2201         Likewise.
2202         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
2203         Likewise.
2204         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
2205         Likewise.
2206         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
2207         Likewise.
2208         [__LINUX_KERNEL_VERSION >= 0x020625]
2209         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2210         [__LINUX_KERNEL_VERSION >= 0x020625]
2211         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2212         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
2213         Likewise.
2214         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
2215         Likewise.
2217 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
2219         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
2220         record the current if the current ABI and CPU support the FP64
2221         extension.
2222         (has-modd-spreg): Define to record the current if the current ABI and
2223         CPU support 32-bit floating point values in odd FPU registers.
2224         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2225         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
2226         $(has-modd-spreg) equals yes.
2227         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
2228         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
2229         $(has-modd-spreg) equal yes.
2231 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
2233         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
2234         basename.
2236 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
2238         * benchtests/Makefile (bench-math): Move ffs and ffsll...
2239         (bench-string): ... here.
2240         (bench): Add bench-string.
2241         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
2242         to *-benchset to reflect what they are.
2243         (benchset): Adjust.
2245         * benchtests/sincos-inputs: Add inputs from sin-inputs and
2246         cos-inputs.
2248 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
2250         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
2251         __attribute__ ((__simd__)) for vector math function declarations.
2253 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2255         Fix typo in strncat, wcsncat manual entries
2256         * manual/string.texi (Copying and Concatenation): Fix typos in
2257         sample implementations of strncat and wcsncat, by having them use
2258         the old value of the destination length, not the new one.
2260 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
2262         [BZ #16961]
2263         [BZ #16962]
2264         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
2265         string on the stack for strtod.
2266         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
2267         a string on the stack for strtof.
2268         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
2269         constructing a string on the stack for strtold.
2270         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
2271         __strtold_nan to GLIBC_PRIVATE.
2272         * math/test-nan-overflow.c: New file.
2273         * math/test-nan-payload.c: Likewise.
2274         * math/Makefile (tests): Add test-nan-overflow and
2275         test-nan-payload.
2277 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2279         Consistency about byte vs character in string.texi
2280         * manual/string.texi (String and Array Utilities):
2281         Distinguish more carefully among bytes, multibyte characters,
2282         and wide characters.  Use "byte" when talking about C 'char',
2283         to distinguish it more clearly from multibyte characters.
2284         Say "wide character" or "multibyte character" instead of
2285         "character", when a wide or multibyte character is intended.
2286         Similarly for "multibyte string" versus "string".
2287         Define these terms more carefully.
2289 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
2291         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
2292         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
2293         Likewise.
2294         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2295         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2296         * sysdeps/sh/math_private.h: New file.
2297         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
2298         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
2299         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
2300         long double function name.
2301         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2302         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2303         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2304         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2305         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2307         Remove __finitel, __isinfl, and __isnanl.
2308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2309         Likewise.
2310         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2312         Remove __finitel.
2313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2314         Likewise.
2315         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2317 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
2319         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
2320         installed libmvec_nonshared.a.
2322 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2324         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
2325         (sysdep_routines): Likewise.
2326         (sysdep-rtld-routines): Likewise.
2327         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
2328         [$(subdir) = nptl](tests-static): test-get_hwcap-static
2329         * sysdeps/powerpc/Versions: Added new
2330         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
2331         * sysdeps/powerpc/hwcapinfo.c: New file.
2332         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
2333         and parse hwcap, hwcap2 and platform number information.
2334         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
2335         to store HWCAP+HWCAP2 and platform number.
2336         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
2337         for HWCAP+HWCAP2 and platform number in the TCB.
2338         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
2339         the HWCAP, HWCAP2 and platform number in the TCB.
2340         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
2341         (TLS_INIT_TP): Included calls to add the hwcap and
2342         at_platform values in the TCB in TP initialization.
2343         (TLS_DEFINE_INIT_TP): Likewise.
2344         (THREAD_GET_HWCAP): New macro.
2345         (THREAD_SET_HWCAP): Likewise.
2346         (THREAD_GET_AT_PLATFORM): Likewise.
2347         (THREAD_SET_AT_PLATFORM): Likewise.
2348         * sysdeps/powerpc/powerpc32/dl-machine.h:
2349         (dl_platform_init): New function that calls
2350         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
2351         powerpc32.
2352         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
2353         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
2354         this functionality, static linking case.
2355         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
2356         linking case.
2357         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
2358         __parse_hwcap_and_convert_at_platform for the static linking case.
2359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
2360         Included the new __parse_hwcap_and_convert_at_platform symbol in the
2361         ABI list for GLIBC 2.23.
2362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
2363         Likewise.
2364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
2365         Likewise.
2367 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
2369         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
2370         * configure: Regenerate.
2371         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
2372         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
2374 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
2376         * iconvdata/ibm930.c: Add comment explaining encoding uses.
2377         * iconvdata/ibm933.c: Likewise.
2378         * iconvdata/ibm935.c: Likewise.
2379         * iconvdata/ibm937.c: Likewise.
2380         * iconvdata/ibm939.c: Likewise.
2382 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2384         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
2385         pthread_join.
2386         * nptl/tst-cancel21.c (tf): Likewise.
2388 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
2390         [BZ #19313]
2391         * bits/typesizes.h (__CPU_MASK_TYPE): New.
2392         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2393         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2394         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
2395         Likewise.
2396         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
2397         Likewise.
2398         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
2399         Likewise.
2400         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
2401         Likewise.
2402         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
2403         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
2404         unsigned long int with __CPU_MASK_TYPE.
2406 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2408         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2410 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
2412         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
2413         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
2414         t512.x.
2415         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
2417 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
2419         [BZ #19214]
2420         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
2421         argument to return extended model.  Update family and model
2422         with extended family and model when family == 0x0f.
2423         (init_cpu_features): Updated.
2425 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2427         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
2428         signed off_t, so 32bit bigger than 2GiB values are fine actually.
2430         * sysdeps/mach/hurd/mmap64.c: New file.
2432 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
2434         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
2435         rights for its main user thread in NEWTASK.
2437 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
2439         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
2440         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
2442 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
2444         [BZ #14259]
2445         * Makeconfig: Rename localedir to complocaledir.
2446         Rename inst_localedir to inst_complocaledir.
2447         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
2448         * config.make.in: Use complocaledir and libc_cv_complocaledir.
2449         * configure.ac: Use libc_cv_complocaledir.
2450         * configure: Regenerate.
2451         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
2452         -DCOMPLOCALEDIR.
2453         * locale/findlocale.c: Use COMPLOCALEDIR.
2454         * locale/loadarchive.c: Likewise.
2455         * locale/programs/locale.c: Likewise.
2456         * locale/programs/localedef.c: Likewise.
2457         * locale/programs/locarchive.c: Likewise.
2458         * localedata/Makefile: Use inst_complocaledir.
2459         * sysdeps/gnu/configure: Regenerate.
2460         * sysdeps/hppa/configure: Regenerate.
2461         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
2462         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2464         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
2465         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
2466         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
2467         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
2469 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
2471         [BZ #19058]
2472         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
2473         AS_NEEDED.
2474         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
2475         workaround.
2476         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
2477         libmvec-static-only-routines): Added new file.
2478         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
2480 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2482         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
2483         of interrupted RPC instead of restoring it.
2485         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
2486         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
2487         libc_hidden_def.
2488         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
2489         into initialized data instead of common. Define rtld_hidden_data_def.
2490         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
2491         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
2492         libc_hidden_def.
2493         (if_freenameindex): Add libc_hidden_weak.
2494         (if_nameindex): Add libc_hidden_weak.
2495         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
2496         __open64.
2497         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
2498         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
2499         * sysdeps/mach/nanosleep.c: Include <time.h>
2500         (__nanosleep): Rename to __libc_nanosleep.
2501         (__nanosleep): Add weak_alias.
2502         (nanosleep): Update alias.
2504 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
2506         * stdlib/strtod_nan.c: New file.
2507         * stdlib/strtod_nan_double.h: Likewise.
2508         * stdlib/strtod_nan_float.h: Likewise.
2509         * stdlib/strtod_nan_main.c: Likewise.
2510         * stdlib/strtod_nan_narrow.h: Likewise.
2511         * stdlib/strtod_nan_wide.h: Likewise.
2512         * stdlib/strtof_nan.c: Likewise.
2513         * stdlib/strtold_nan.c: Likewise.
2514         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
2515         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
2516         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
2517         * wcsmbs/wcstod_nan.c: Likewise.
2518         * wcsmbs/wcstof_nan.c: Likewise.
2519         * wcsmbs/wcstold_nan.c: Likewise.
2520         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
2521         strtold_nan.
2522         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
2523         wcstof_nan.
2524         * include/stdlib.h (__strtof_nan): Declare and use
2525         libc_hidden_proto.
2526         (__strtod_nan): Likewise.
2527         (__strtold_nan): Likewise.
2528         (__wcstof_nan): Likewise.
2529         (__wcstod_nan): Likewise.
2530         (__wcstold_nan): Likewise.
2531         * include/wchar.h (____wcstoull_l_internal): Declare.
2532         * stdlib/strtod_l.c: Do not include <ieee754.h>.
2533         (____strtoull_l_internal): Remove declaration.
2534         (STRTOF_NAN): Define macro.
2535         (SET_MANTISSA): Remove macro.
2536         (STRTOULL): Likewise.
2537         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
2538         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
2539         (STRTOF_NAN): Define macro.
2540         (SET_MANTISSA): Remove macro.
2541         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
2542         (SET_MANTISSA): Remove macro.
2543         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
2544         macro.
2545         (SET_MANTISSA): Remove macro.
2546         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
2547         macro.
2548         (SET_MANTISSA): Remove macro.
2549         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
2550         (SET_MANTISSA): Remove macro.
2551         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
2552         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
2553         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
2555         [BZ #19266]
2556         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
2557         upper case and lower case letters inside NAN(), not using TOLOWER.
2558         * stdlib/tst-strtod-nan-locale-main.c: New file.
2559         * stdlib/tst-strtod-nan-locale.c: Likewise.
2560         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
2561         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
2562         Depend on $(gen-locales).
2563         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
2564         * wcsmbs/tst-wcstod-nan-locale.c: New file.
2565         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
2566         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
2567         Depend on $(gen-locales).
2568         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
2570 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
2572         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
2574         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
2576         __finitel, __isinfl, and __isnanl.
2577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2578         Likewise.
2579         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
2581         __finitel.
2582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2583         Likewise.
2584         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2586 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2588         * malloc/memusage.c (me): Remove redundant getenv call.
2590 2015-10-24  Florian Weimer  <fweimer@redhat.com>
2592         [BZ #19143]
2593         [BZ #19164]
2594         * nptl/check-cpuset.h: Remove.
2595         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
2596         Remove CPU set size check.
2597         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
2598         Likewise.
2599         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
2600         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2601         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
2602         (__pthread_setaffinity_new): Remove CPU set size check.
2603         * sysdeps/unix/sysv/linux/sched_setaffinity.c
2604         (__kernel_cpumask_size): Remove.
2605         (__sched_setaffinity_new): Remove CPU set size check.
2606         * manual/threads.texi (Default Thread Attributes): Remove stale
2607         reference to check_cpuset_attr, determine_cpumask_size in comment.
2608         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
2609         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
2610         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
2611         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
2612         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
2613         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
2614         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
2615         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
2616         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
2617         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
2618         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
2619         skeleton test file.
2620         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
2621         tst-affinity-pid.
2623 2015-11-24  Florian Weimer  <fweimer@redhat.com>
2625         * scripts/update-abilist.sh: New file.
2626         * Makefile (+subdir_targets): Add subdir_update-all-abi.
2627         * Makerules (update-all-abi-%, update-all-abi)
2628         (subdir_update-all-abi): New targets.
2629         * elf/Makefile (update-all-abi): New target.
2631 2015-11-24  Florian Weimer  <fweimer@redhat.com>
2633         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
2634         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
2635         (__libc_lock_define_initialized): Use it.
2636         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
2637         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
2638         * malloc/malloc.c (main_arena): Likewise.
2639         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2640         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2642 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
2644         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
2645         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
2646         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2647         (PTRACE_O_MASK): Update value.
2648         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
2649         New value in enum __ptrace_setoptions.
2650         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2651         (PTRACE_O_MASK): Update value.
2652         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
2653         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2654         (PTRACE_O_MASK): Update value.
2655         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2656         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2657         (PTRACE_O_MASK): Update value.
2658         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
2659         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2660         (PTRACE_O_MASK): Update value.
2661         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
2662         New value in enum __ptrace_setoptions.
2663         (PTRACE_O_MASK): Update value.
2664         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
2665         New value in enum __ptrace_setoptions.
2666         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2667         (PTRACE_O_MASK): Update value.
2669         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
2670         New macro.
2671         (PACKET_AUXDATA): Likewise.
2672         (PACKET_ORIGDEV): Likewise.
2673         (PACKET_VERSION): Likewise.
2674         (PACKET_HDRLEN): Likewise.
2675         (PACKET_RESERVE): Likewise.
2676         (PACKET_TX_RING): Likewise.
2677         (PACKET_LOSS): Likewise.
2678         (PACKET_VNET_HDR): Likewise.
2679         (PACKET_TX_TIMESTAMP): Likewise.
2680         (PACKET_TIMESTAMP): Likewise.
2681         (PACKET_FANOUT): Likewise.
2682         (PACKET_TX_HAS_OFF): Likewise.
2683         (PACKET_QDISC_BYPASS): Likewise.
2684         (PACKET_ROLLOVER_STATS): Likewise.
2685         (PACKET_FANOUT_DATA): Likewise.
2686         (PACKET_MR_UNICAST): Likewise.
2688         [BZ #19242]
2689         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
2690         (TOUPPER): Likewise.
2691         * stdlib/tst-strtol-locale-main.c: New file.
2692         * stdlib/tst-strtol-locale.c: Likewise.
2693         * stdlib/Makefile (tests): Add tst-strtol-locale.
2694         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
2695         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
2696         Depend on $(gen-locales).
2697         * wcsmbs/tst-wcstol-locale.c: New file.
2698         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
2699         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
2700         tr_TR.ISO-8859-9.
2701         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
2702         Depend on $(gen-locales).
2704 2015-11-20  Roland McGrath  <roland@hack.frob.com>
2706         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
2707         __glibc_likely instead of __builtin_expect.  After falling back to
2708         dyncode_create in a non-ET_DYN case, use the allocate_code_data
2709         system interface to register the code pages as occupied.
2711 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
2713         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2714         [!ARM_MATH_PRIVATE_H].
2715         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
2716         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2717         [!HPPA_MATH_PRIVATE_H].
2718         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
2719         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
2720         to [!I386_MATH_PRIVATE_H].
2721         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
2722         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
2723         Change guard to [!M68K_MATH_PRIVATE_H].
2724         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
2725         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
2726         guard to [!MICROBLAZE_MATH_PRIVATE_H].
2727         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
2728         macro.
2729         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2730         [!MIPS_MATH_PRIVATE_H].
2731         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
2732         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2733         [!NIO2_MATH_PRIVATE_H].
2734         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
2735         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2736         [!TILE_MATH_PRIVATE_H].
2737         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
2739         [BZ #15421]
2740         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
2741         initialize with 0 and define as weak alias of __signgam.
2742         * include/math.h [!_ISOMAC] (__signgam): Declare.
2743         * math/Makefile (libm-calls): Add w_lgamma_compat.
2744         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
2745         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
2746         test-signgam-ullong-init.
2747         (tests-static): Add test-signgam-uchar-static,
2748         test-signgam-uchar-init-static, test-signgam-uint-static,
2749         test-signgam-uint-init-static, test-signgam-ullong-static and
2750         test-signgam-ullong-init-static.
2751         (CFLAGS-test-signgam-uchar.c): New variable.
2752         (CFLAGS-test-signgam-uchar-init.c): Likewise.
2753         (CFLAGS-test-signgam-uchar-static.c): Likewise.
2754         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
2755         (CFLAGS-test-signgam-uint.c): Likewise.
2756         (CFLAGS-test-signgam-uint-init.c): Likewise.
2757         (CFLAGS-test-signgam-uint-static.c): Likewise.
2758         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
2759         (CFLAGS-test-signgam-ullong.c): Likewise.
2760         (CFLAGS-test-signgam-ullong-init.c): Likewise.
2761         (CFLAGS-test-signgam-ullong-static.c): Likewise.
2762         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
2763         * math/Versions (libm): Add GLIBC_2.23.
2764         * math/lgamma-compat.h: New file.
2765         * math/test-signgam-main.c: Likewise.
2766         * math/test-signgam-uchar-init-static.c: Likewise.
2767         * math/test-signgam-uchar-init.c: Likewise.
2768         * math/test-signgam-uchar-static.c: Likewise.
2769         * math/test-signgam-uchar.c: Likewise.
2770         * math/test-signgam-uint-init-static.c: Likewise.
2771         * math/test-signgam-uint-init.c: Likewise.
2772         * math/test-signgam-uint-static.c: Likewise.
2773         * math/test-signgam-uint.c: Likewise.
2774         * math/test-signgam-ullong-init-static.c: Likewise.
2775         * math/test-signgam-ullong-init.c: Likewise.
2776         * math/test-signgam-ullong-static.c: Likewise.
2777         * math/test-signgam-ullong.c: Likewise.
2778         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
2779         wrapper of w_lgamma_main.c.
2780         * math/w_lgamma_compat.c: New file.
2781         * math/w_lgamma_compatf.c: Likewise.
2782         * math/w_lgamma_compatl.c: Likewise.
2783         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
2784         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2785         defining compatibility symbols.
2786         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
2787         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
2788         wrapper of w_lgammaf_main.c.
2789         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
2790         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2791         defining compatibility symbols.
2792         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
2793         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
2794         wrapper of w_lgammal_main.c.
2795         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
2796         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2797         defining compatibility symbols.
2798         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
2799         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
2800         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
2801         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
2802         <lgamma-compat.h>.
2803         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
2804         (__ieee754_gamma): Define as alias.
2805         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
2806         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
2807         <lgamma-compat.h>.
2808         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
2809         (__ieee754_gammaf): Define as alias.
2810         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
2811         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
2812         <lgamma-compat.h>.
2813         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
2814         (__ieee754_gammal): Define as alias.
2815         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
2816         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
2817         <math/w_lgamma_compat.c>.
2818         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
2819         Define as alias of __lgamma_compat and use in defining lgammal.
2820         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
2821         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
2822         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
2823         (USE_AS_COMPAT): New macro.
2824         (LGAMMA_OLD_VER): Undefine and redefine.
2825         (lgammal): Do not define here.
2826         (gammal): Only define here if [GAMMA_ALIAS].
2827         * conform/linknamespace.pl (@whitelist): Remove signgam.
2828         * sysdeps/nacl/libm.abilist: Update.
2829         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2830         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2831         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2832         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2833         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2834         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2835         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2836         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2837         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2838         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2839         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2840         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2842         Likewise.
2843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2844         Likewise.
2845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2846         Likewise.
2847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2848         Likewise.
2849         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2850         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2851         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2852         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2853         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2855         Likewise.
2856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2857         Likewise.
2858         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2859         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2860         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2862 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2864         [BZ #16364]
2865         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
2866         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
2868 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2870         * sysdeps/s390/fpu/bits/mathinline.h:
2871         Use __asm__ [__volatile__] instead of asm [volatile].
2872         * sysdeps/s390/abort-instr.h: Likewise.
2873         * sysdeps/s390/atomic-machine.h: Likewise.
2874         * sysdeps/s390/bits/string.h: Likewise.
2875         * sysdeps/s390/dl-tls.h: Likewise.
2876         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
2877         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
2878         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
2879         * sysdeps/s390/fpu/fesetround.c: Likewise.
2880         * sysdeps/s390/fpu/fpu_control.h: Likewise.
2881         * sysdeps/s390/fpu/s_fma.c: Likewise.
2882         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
2883         * sysdeps/s390/memusage.h: Likewise.
2884         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
2885         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
2886         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
2887         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
2888         * sysdeps/s390/nptl/tls.h: Likewise.
2889         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
2890         * sysdeps/s390/s390-32/backtrace.c: Likewise.
2891         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2892         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2893         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2894         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2895         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
2896         * sysdeps/s390/s390-64/backtrace.c: Likewise.
2897         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2898         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
2899         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2900         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2901         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2902         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
2903         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
2904         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
2905         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
2906         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2907         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
2908         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2909         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
2910         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2911         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
2913 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2914             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2916         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2917         Add lwarx hint, and use macro for acquire instruction.
2918         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2919         Likewise.
2920         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
2921         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
2922         update to use new atomic macros.
2924 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2926         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2927         (__lll_trylock_elision): Fix setting of adapt_count.
2928         * sysdeps/unix/sysv/linux/powerpc/htm.h
2929         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
2930         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
2931         (_ABORT_SYSCALL): Renumber, and clarify definition.
2932         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
2934 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2936         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
2937         after system headers to prevent MIN/MAX redefinition.  Define
2938         HAVE_ALLOCA to preserve builtin alloca usage.
2940 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
2942         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
2943         static and don't set or restore rounding.
2944         (__cos)[IN_SINCOS]: Likewise.
2945         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
2946         (__sincos): Set and restore rounding mode.  Remove check for infinite
2947         or NaN input.
2949         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
2951         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
2952         as used.
2954 2015-11-16  Florian Weimer  <fweimer@redhat.com>
2956         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
2958 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2960         * config.make.in (have-glob-dat-reloc): New.
2961         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
2962         target supports GLOB_DAT relocaton. AC_SUBST.
2963         * configure: Regenerated.
2964         * elf/Makefile (tests): Add tst-prelink.
2965         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2966         (tst-prelink-ENV): New.
2967         ($(objpfx)tst-prelink-conflict.out): Likewise.
2968         ($(objpfx)tst-prelink-cmp.out): Likewise.
2969         * sysdeps/x86/tst-prelink.c: Moved to ...
2970         * elf/tst-prelink.c: Here.
2971         * sysdeps/x86/tst-prelink.exp: Moved to ...
2972         * elf/tst-prelink.exp: Here.
2973         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
2974         (tst-prelink-ENV): Removed.
2975         ($(objpfx)tst-prelink-conflict.out): Likewise.
2976         ($(objpfx)tst-prelink-cmp.out): Likewise.
2977         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
2979 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
2981         [BZ #14551]
2982         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
2983         (__mpn_construct_long_double): If high part overflows to infinity,
2984         set errno and recompute overflowed result of the correct sign.
2985         * sysdeps/ieee754/ldbl-128ibm/Makefile
2986         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
2987         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
2988         $(libm).
2989         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
2991 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
2993         [BZ #15479]
2994         [BZ #19238]
2995         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
2996         floating-point state after first operation on input.  Restore full
2997         state rather than just rounding mode.
2998         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2999         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3000         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3002         [BZ #19235]
3003         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
3004         add 0.5 to integer arguments.
3005         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
3006         Likewise.
3007         (.LC2): New object.
3009 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
3011         * scripts/pylintrc (reports): Set to no.
3013 2015-11-10  Roland McGrath  <roland@hack.frob.com>
3015         * elf/dl-load.c (open_verify): Take new argument FD.
3016         Skip __open call if passed FD is not -1.
3017         (_dl_map_object, open_path): Update callers.
3018         * elf/dl-sysdep-open.h: New file.
3019         * elf/dl-load.c: Include it.
3020         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
3021         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
3022         * sysdeps/nacl/dl-sysdep-open.h: New file.
3023         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
3024         from libc to rtld.
3026 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
3028         [BZ #19228]
3029         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
3030         and restore full floating-point state.
3031         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3032         Likewise.
3033         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3034         Likewise.
3035         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3036         Likewise.
3037         * math/test-nearbyint-except-2.c: New file.
3038         * math/Makefile (tests): Add test-nearbyint-except-2.
3040 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
3042         [BZ #19178]
3043         * sysdeps/x86/Makefile (tests): Add tst-prelink.
3044         (tst-prelink-ENV): New.
3045         ($(objpfx)tst-prelink-conflict.out): Likewise.
3046         ($(objpfx)tst-prelink-cmp.out): Likewise.
3047         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3048         * sysdeps/x86/tst-prelink.c: New file.
3049         * sysdeps/x86/tst-prelink.exp: Likewise.
3051 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
3053         * math/auto-libm-test-in: Add another test of pow.
3054         * math/auto-libm-test-out: Regenerated.
3055         * math/libm-test.inc (pow_test_data): Add another test.
3057 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3059         [BZ #19219]
3060         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
3061         weak_alias to nearbyintl.
3063 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
3065         * sysdeps/aarch64/bits/string.h: New file.
3066         (_STRING_ARCH_unaligned): Define.
3068 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
3070         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
3071         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3072         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3073         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
3074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
3076 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
3078         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
3079         for original name of the DSO.  Add it to the name list of the DSO
3080         if it is actually given.
3081         (_dl_map_object): Keep track of whether an audit module rewrote
3082         the file name.  If yes, pass the original name to
3083         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
3084         debugging is enabled, log the change of the file name.
3085         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
3086         _dl_map_object_from_fd.
3087         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
3088         * elf/tst-audit11.c: New file
3089         * elf/tst-auditmod11.c: New file.
3090         * elf/tst-audit11mod1.c: New file.
3091         * elf/tst-audit11mod2.c: New file.
3092         * elf/tst-audit11mod2.map: New file.
3093         * elf/tst-audit12.c: New file
3094         * elf/tst-auditmod12.c: New file.
3095         * elf/tst-audit12mod1.c: New file.
3096         * elf/tst-audit12mod2.c: New file.
3097         * elf/tst-audit12mod2.map: New file.
3098         * elf/tst-audit12mod3.c: New file.
3100 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3102         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
3103         Don't create weak aliases,
3104         because versioned symbols are created later.
3105         * sysdeps/s390/s390-32/setjmp.S
3106         (setjmp, _setjmp): Remove weak and rename to an unique name
3107         in SHARED case due to existing versioned symbols.
3108         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3109         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
3110         (getcontext): Create weak alias only in non SHARED case.
3111         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3113 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3115         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
3116         (__ASSUME_*_SYSCALL) Define new macros.
3117         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
3118         Remove socketcall syscalls.
3119         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
3120         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
3121         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
3122         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
3123         * sysdeps/unix/sysv/linux/send.c (__libc_send):
3124         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
3126 2015-11-09  Florian Weimer  <fweimer@redhat.com>
3128         [BZ #12926]
3129         Terminate process on invalid netlink response.
3130         * sysdeps/unix/sysv/linux/netlinkaccess.h
3131         (__netlink_assert_response): Declare.
3132         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
3133         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
3134         (sysdep_routines): Add netlink_assert_response.
3135         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
3136         __netlink_assert_response.
3137         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3138         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3139         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
3140         __netlink_assert_response.
3142 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
3144         [BZ #19178]
3145         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
3146         (RTYPE_CLASS_PLT): Likewise.
3147         (RTYPE_CLASS_COPY): Likewise.
3148         (RTYPE_CLASS_TLS): Likewise.
3149         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
3150         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
3151         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
3152         DL_DEBUG_PRELINK.
3154 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
3156         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
3157         calls with argument -0.5.
3158         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
3160         * configure.ac (libc_cv_z_nodelete): Remove configure test.
3161         (libc_cv_z_nodlopen): Likewise.
3162         (libc_cv_z_initfirst): Likewise.
3163         * configure: Regenerated.
3165 2015-11-06  Florian Weimer  <fweimer@redhat.com>
3167         Simplify abilist format to be line-based.
3168         * scripts/abilist.awk: Collect descriptors in the descs variable.
3169         (emit): Write descs variable and sort it
3170         externally, with sort.
3171         * sysdeps/**/*.abilist: Convert to new format.
3173 2015-11-06  Mark Wielaard  <mjw@redhat.com>
3175         [BZ #11460]
3176         * io/Makefile (routines): Add fts64.
3177         (tests): Add tst-fts and tst-fts-lfs.
3178         (CFLAGS-fts64.c): New.
3179         * io/Versions (GLIBC_2.23): New.
3180         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
3181         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
3182         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
3183         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
3184         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
3185         (FTSENT64): Likewise.
3186         (fts64_children): Likewise.
3187         (fts64_close): Likewise.
3188         (fts64_open): Likewise.
3189         (fts64_read): Likewise.
3190         (fts64_set): Likewise.
3191         * io/fts64.c: New file.
3192         * io/tst-fts.c: New test.
3193         * io/tst-fts-lfs.c: Likewise.
3194         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
3195         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
3196         fts64_set.
3197         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3198         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3199         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3200         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3201         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3202         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3203         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3204         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3205         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3206         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3207         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3208         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3209         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3211         Likewise.
3212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3213         Likewise.
3214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3216         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3217         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3218         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3219         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3220         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3223         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3224         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3225         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3226         * sysdeps/wordsize-64/fts.c: New file.
3227         * sysdeps/wordsize-64/fts64.c: Likewise.
3228         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
3229         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
3230         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
3231         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
3233 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
3235         * math/libm-test.inc (NON_FINITE): New macro.
3236         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
3237         * math/gen-libm-test.pl (show_exceptions): Add argument
3238         $non_finite.
3239         (parse_args): Update call to show_exceptions.
3240         * math/test-math-finite.h: New file.
3241         * math/test-math-no-finite.h: Likewise.
3242         * math/test-double-finite.c: Likewise.
3243         * math/test-float-finite.c: Likewise.
3244         * math/test-ldouble-finite.c: Likewise.
3245         * math/test-double.c: Include "test-math-no-finite.h".
3246         * math/test-float.c: Include "test-math-no-finite.h".
3247         * math/test-ldouble.c: Include "test-math-no-finite.h".
3248         * math/test-math-inline.h (TEST_FINITE): New macro.
3249         * math/test-math-vector.h (TEST_FINITE): Likewise.
3250         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
3251         (libm-tests): Add test-float-finite and test-double-finite.
3252         ($(objpfx)test-float-finite.o): New dependency on
3253         $(objpfx)libm-test.stmp.
3254         ($(objpfx)test-double-finite.o): Likewise.
3255         ($(objpfx)test-ldouble-finite.o): Likewise.
3256         (libm-test-no-inline-cflags): New variable.
3257         (libm-test-finite-cflags): Likewise.
3258         (CFLAGS-test-float-finite.c): Likewise.
3259         (CFLAGS-test-double-finite.c): Likewise.
3260         (CFLAGS-test-ldouble-finite.c): Likewise.
3261         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
3262         (CFLAGS-test-double.c): Likewise.
3263         (CFLAGS-test-ldouble.c): Likewise.
3265 2015-11-05  Roland McGrath  <roland@hack.frob.com>
3267         * io/fcntl.c (__fcntl): Add ... to prototype.
3268         * misc/ioctl.c (__ioctl): Likewise.
3269         * misc/syscall.c (syscall): Likewise.
3271 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
3273         * scripts/list-fixed-bugs.py: New file.
3275         [BZ #19213]
3276         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
3277         returned for argument 1.
3278         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
3279         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
3280         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
3281         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
3282         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
3283         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
3285         [BZ #19211]
3286         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
3287         __USE_XOPEN], not if [!__USE_ISOC99].
3288         (lgammaf): Likewise.
3289         (lgammal): Likewise.
3290         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
3291         (gammaf): Likewise.
3292         (gammal): Likewise.
3293         * math/test-signgam-finite-c11.c: New file.
3294         * math/test-signgam-finite-c99.c: Likewise.
3295         * math/test-signgam-finite.c: Likewise.
3296         * math/Makefile (tests): Add test-signgam-finite,
3297         test-signgam-finite-c99 and test-signgam-finite-c11.
3298         (CFLAGS-test-signgam-finite.c): New variable.
3299         (CFLAGS-test-signgam-finite-c99.c): Likewise.
3300         (CFLAGS-test-signgam-finite-c11.c): Likewise.
3302         [BZ #19212]
3303         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
3304         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
3305         500].
3306         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
3307         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
3308         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
3309         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
3310         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
3311         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
3312         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
3313         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
3314         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
3315         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
3317         [BZ #19209]
3318         * math/bits/math-finite.h (ldexp): Remove declaration.
3319         (ldexpf): Likewise.
3320         (ldexpl): Likewise.
3322         [BZ #19205]
3323         * math/bits/math-finite.h (acosf): Condition declaration on
3324         [__USE_ISOC99].
3325         (acosl): Likewise.
3326         (acoshf): Likewise.
3327         (acoshl): Likewise.
3328         (asinf): Likewise.
3329         (asinl): Likewise.
3330         (atan2f): Likewise.
3331         (atan2l): Likewise.
3332         (atanhf): Likewise.
3333         (atanhl): Likewise.
3334         (coshf): Likewise.
3335         (coshl): Likewise.
3336         (expf): Likewise.
3337         (expl): Likewise.
3338         (fmodf): Likewise.
3339         (fmodl): Likewise.
3340         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
3341         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
3342         (j0l): Likewise.
3343         (y0f): Likewise.
3344         (y0l): Likewise.
3345         (j1f): Likewise.
3346         (j1l): Likewise.
3347         (y1f): Likewise.
3348         (y1l): Likewise.
3349         (jnf): Likewise.
3350         (jnl): Likewise.
3351         (ynf): Likewise.
3352         (ynl): Likewise.
3353         (lgammaf_r): Condition declaration on [__USE_ISOC99].
3354         (lgammal_r): Likewise.
3355         (__lgamma_r_finite): New declaration.
3356         (__lgammaf_r_finite): Likewise.
3357         (__lgammal_r_finite): Likewise.
3358         (lgamma): Use __lgamma_r_finite.
3359         (lgammaf): Condition definition on [__USE_ISOC99].  Use
3360         __lgammaf_r_finite.
3361         (lgammal): Condition definition on [__USE_ISOC99].  Use
3362         __lgammal_r_finite.
3363         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
3364         __lgamma_r_finite.
3365         (gammaf): Condition definition on [__USE_ISOC99].  Use
3366         __lgammaf_r_finite.
3367         (gammal): Condition definition on [__USE_ISOC99].  Use
3368         __lgammal_r_finite.
3369         (logf): Condition declaration on [__USE_ISOC99].
3370         (logl): Likewise.
3371         (log10f): Likewise.
3372         (log10l): Likewise.
3373         (ldexpf): Likewise.
3374         (ldexpl): Likewise.
3375         (powf): Likewise.
3376         (powl): Likewise.
3377         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
3378         __USE_ISOC99].
3379         (remainderf): Condition declaration on [__USE_ISOC99].
3380         (remainderl): Likewise.
3381         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
3382         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
3383         (scalbl): Likewise.
3384         (sinhf): Condition declaration on [__USE_ISOC99].
3385         (sinhl): Likewise.
3386         (sqrtf): Likewise.
3387         (sqrtl): Likewise.
3389 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
3391         * sysdeps/arm/atomic-machine.h
3392         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3393         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3394         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
3395         Remove conditional code.
3396         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3397         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3398         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
3399         Change conditional to [__ASSEMBLER__].
3400         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3401         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
3402         [!__ASSEMBLER__].
3403         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
3404         code.
3405         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
3406         conditional macro definitions.
3407         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
3408         (__arch_compare_and_exchange_val_16_acq): Likewise.
3409         (__arch_compare_and_exchange_val_32_acq): Likewise.
3410         (atomic_exchange_and_add): Likewise.
3411         (atomic_add): Likewise.
3412         (atomic_add_negative): Likewise.
3413         (atomic_add_zero): Likewise.
3414         (atomic_bit_set): Likewise.
3415         (atomic_bit_test_set): Likewise.
3416         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
3417         code unconditional.
3418         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3420         * math/test-math-errno.h: New file.
3421         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
3422         empty.
3423         (TEST_ERRNO): New macro.
3424         (TEST_EXCEPTIONS): Likewise.
3425         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
3426         (TEST_EXCEPTIONS): Likewise.
3427         * math/test-math-vector.h (TEST_ERRNO): Likewise.
3428         * math/test-double.c: Include "test-math-errno.h".
3429         * math/test-float.c: Likewise.
3430         * math/test-ldouble.c: Likewise.
3431         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
3432         code unconditional.
3433         (test_exceptions): Only run code if TEST_EXCEPTIONS.
3434         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
3435         unconditional.
3436         (test_errno): Only run code if TEST_ERRNO.
3437         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
3439 2015-11-04  Florian Weimer  <fweimer@redhat.com>
3441         * nptl/tst-once5.cc: Remove attribution.
3443 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
3445         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
3446         sqrt, tan, tanh, y0, y1 and yn.
3447         * math/auto-libm-test-out: Regenerated.
3448         * math/libm-test.inc (scalb_test_data): Add more tests.
3449         (scalbn_test_data): Likewise.
3450         (scalbln_test_data): Likewise.
3451         (signbit_test_data): Likewise.
3452         (sin_test_data): Likewise.
3453         (sincos_test_data): Likewise.
3454         (sinh_test_data): Likewise.
3455         (sqrt_test_data): Likewise.
3456         (tan_test_data): Likewise.
3457         (tanh_test_data): Likewise.
3458         (tgamma_test_data): Likewise.
3459         (y0_test_data): Likewise.
3460         (y1_test_data): Likewise.
3461         (yn_test_data): Likewise.
3462         (significand_test_data): Likewise.
3463         * sysdeps/i386/fpu/libm-test-ulps: Update.
3465 2015-11-03  David Kastrup  <dak@gnu.org>
3467         [BZ #18604]
3468         * assert/assert.h (assert): Don't macro-expand failed assertion
3469         expression in error message.
3470         * malloc/malloc.c (assert): Likewise.
3472 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
3474         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
3475         test.
3476         * configure: Regenerated.
3478 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
3480         * math/libm-test.inc (modf_test_data): Add more tests.
3481         (nearbyint_test_data): Likewise.
3482         (nextafter_test_data): Likewise.
3483         (nexttoward_test_data): Likewise.
3484         (pow_test_data): Likewise.
3485         (remainder_test_data): Likewise.
3486         (remquo_test_data): Likewise.
3487         (rint_test_data): Likewise.
3489         [BZ #19201]
3490         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3491         Check for zero remainder in case of large exponents and ensure
3492         correct sign of result in that case.
3493         * math/libm-test.inc (remainder_test_data): Add more tests.
3495         [BZ #6799]
3496         * math/s_nextafter.c: Include <errno.h>.
3497         (__nextafter): Set errno on overflow and underflow.
3498         * math/s_nexttowardf.c: Include <errno.h>.
3499         (__nexttowardf): Set errno on overflow and underflow.
3500         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
3501         (__nextafterl): Set errno on overflow and underflow.
3502         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
3503         (__nexttoward): Set errno on overflow and underflow.
3504         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
3505         (__nexttowardf): Set errno on overflow and underflow.
3506         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
3507         (__nextafterf): Set errno on overflow and underflow.
3508         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
3509         (__nextafterl): Set errno on overflow and underflow.
3510         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
3511         (__nexttoward): Set errno on overflow and underflow.
3512         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
3513         (__nexttowardf): Set errno on overflow and underflow.
3514         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
3515         (__nextafterl): Set errno on overflow and underflow.
3516         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
3517         (__nexttoward): Set errno on overflow and underflow.
3518         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
3519         (__nexttowardf): Set errno on overflow and underflow.
3520         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
3521         (__nexttoward): Set errno on overflow and underflow.
3522         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
3523         (__nexttowardf): Set errno on overflow and underflow.
3524         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
3525         (__nldbl_nexttowardf): Set errno on overflow and underflow.
3526         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
3527         (__nextafterl): Set errno on overflow and underflow.
3528         * math/libm-test.inc (nextafter_test_data): Do not allow errno
3529         setting to be missing on overflow.  Add more tests.
3530         (nexttoward_test_data): Likewise.
3532         * configure.ac (libc_cv_initfini_array): Remove configure test.
3533         * configure: Regenerated.
3535 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
3537         [BZ #19189]
3538         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
3539         non-finite argument handle arguments with negative sign.
3541         * math/libm-test.inc (j0_test_data): Do not test sign of zero
3542         result from infinite argument.
3543         (j1_test_data): Likewise.
3544         (jn_test_data): Likewise.
3545         (y0_test_data): Likewise.
3546         (y1_test_data): Likewise.
3547         (yn_test_data): Likewise.
3549         [BZ #16171]
3550         * math/w_remainder.c (drem): Define as weak alias of __remainder.
3551         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
3552         * math/w_remainderf.c (dremf): Define as weak alias of
3553         __remainderf.
3554         * math/w_remainderl.c (dreml): Define as weak alias of
3555         __remainderl.
3556         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
3557         __remainder.
3558         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
3559         __remainderf.
3560         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
3561         __remainderl.
3562         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
3563         weak alias of remainderl.
3564         * sysdeps/ieee754/ldbl-opt/w_remainder.c
3565         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
3566         alias of __remainder.
3567         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
3568         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
3569         strong alias of __remainderl.
3570         (dreml): Use long_double_symbol.
3571         * math/Makefile (libm-calls): Remove w_drem.
3572         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
3573         (CFLAGS-nldbl-drem.c): Remove variable.
3574         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
3575         * math/w_drem.c: Remove file.
3576         * math/w_dremf.c: Likewise.
3577         * math/w_dreml.c: Likewise.
3578         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
3579         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
3580         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
3582         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
3583         * sysdeps/i386/configure: Regenerated.
3584         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
3585         * sysdeps/x86_64/configure: Regenerated.
3587         * configure.ac (libc_cv_asm_protected_directive): Remove configure
3588         test.
3589         (libc_cv_visibility_attribute): Likewise.
3590         (libc_cv_protected_data): Test unconditionally.
3591         (libc_cv_broken_visibility_attribute): Remove configure test.
3592         (libc_cv_have_sdata_section): Test unconditionally.
3593         * configure: Regenerated.
3595         * include/libc-internal.h (libc_max_align_t): Remove typedef.
3596         * include/scratch_buffer.h: Include <stddef.h> instead of
3597         <libc-internal.h>.
3598         (struct scratch_buffer): Use max_align_t instead of
3599         libc_max_align_t.
3601 2015-10-29  Florian Weimer  <fweimer@redhat.com>
3603         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
3604         instead of extend_alloca.  Change control flow to avoid a goto.
3605         Remove assert which is trivially always true.
3607 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3609         [BZ #16068]
3610         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
3611         (FE_ALL_EXCEPT_X86): New macro.
3612         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
3613         FE_ALL_EXCEPT.  Ensure precision control is included in
3614         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
3615         handle "denormal operand exception" and clear FZ and DAZ bits.
3616         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
3617         (FE_ALL_EXCEPT_X86): New macro.
3618         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
3619         FE_ALL_EXCEPT.  Ensure precision control is included in
3620         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
3621         handle "denormal operand exception" and clear FZ and DAZ bits.
3622         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
3623         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
3624         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3625         test-fenv-x87 and test-fenv-sse-2.
3626         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
3628         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
3629         * math/test-double.h (BUILD_COMPLEX): New macro.
3630         * math/test-float.h (BUILD_COMPLEX): Likewise.
3631         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
3633         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
3634         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
3635         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
3636         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
3637         instead of DBL_DENORM_MIN in comment.
3638         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
3639         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3640         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
3641         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
3642         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
3643         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3645 2015-10-28  Florian Weimer  <fweimer@redhat.com>
3647         [BZ# 19048]
3648         * malloc/malloc.c (struct malloc_state): Update comment.  Add
3649         attached_threads member.
3650         (main_arena): Initialize attached_threads.
3651         * malloc/arena.c (list_lock): Update comment.
3652         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
3653         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
3654         (deattach_arena): New function.
3655         (_int_new_arena): Initialize arena reference count and deattach
3656         replaced arena.
3657         (get_free_list, reused_arena): Update reference count and deattach
3658         replaced arena.
3659         (arena_thread_freeres): Update arena reference count and only put
3660         unreferenced arenas on the free list.
3662 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3664         [BZ #19181]
3665         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
3666         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
3667         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
3668         * math/test-fenv-clear-main.c: New file.
3669         * math/test-fenv-clear.c: Likewise.
3670         * math/Makefile (tests): Add test-fenv-clear.
3671         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
3672         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3673         test-fenv-clear-sse.
3674         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
3676         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
3677         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
3678         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
3680 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3682         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
3683         static libc.
3685 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3687         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
3688         test.
3689         * sysdeps/i386/configure: Regenerated.
3690         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
3691         test.
3692         * sysdeps/x86_64/configure: Regenerated.
3693         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
3694         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3695         memset-avx2 unconditionally instead of conditionally on
3696         [$(config-cflags-avx2) = yes].
3697         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3698         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
3699         unconditional.
3700         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
3701         * sysdeps/x86_64/multiarch/memset_chk.S
3702         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
3703         to [IS_IN (libc) && SHARED].
3705 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3707         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
3708         configure test.
3709         * sysdeps/arm/configure: Regenerated.
3710         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
3711         Define variable if not already defined.
3713         [BZ #17404]
3714         * sysdeps/mips/atomic-machine.h
3715         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
3716         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
3717         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3719         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
3720         unconditional.
3721         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
3722         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3723         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
3724         unconditional.
3725         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3726         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
3727         unconditional.
3728         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3729         * stdlib/setenv.c
3730         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
3731         code unconditional.
3732         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
3733         Remove conditional code.
3734         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
3735         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
3736         unconditional.
3737         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3738         code.
3739         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
3740         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
3741         unconditional.
3742         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3743         code.
3744         * sysdeps/ieee754/ldbl-128/k_tanl.c
3745         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3746         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3747         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
3748         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3749         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3750         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
3751         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
3752         unconditional.
3753         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3754         code.
3755         * sysdeps/ieee754/ldbl-96/k_tanl.c
3756         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3757         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3759         * nptl/tst-initializers1-c11.c: New file.
3760         * nptl/tst-initializers1-gnu11.c: Likewise.
3761         * nptl/Makefile (tests): Add these new tests.
3762         (CFLAGS-tst-initializers1-c11.c): New variable.
3763         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
3765         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
3766         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
3767         instead of -std=gnu99.
3768         * configure.ac (systemtap): Test with -std=gnu11 instead of
3769         -std=gnu99.
3770         * configure: Regenerated.
3771         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
3772         in compilation command in comment.
3774         * sysdeps/nptl/configure.ac: Remove file.
3775         * sysdeps/nptl/configure: Remove generated file.
3776         * configure.ac (libc_cv_forced_unwind): Do not substitute.
3777         * configure: Regenerated.
3778         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
3779         * config.make.in (have-forced-unwind): Remove variable.
3780         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
3781         unconditional.
3782         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
3783         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
3784         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
3785         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
3786         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
3787         unconditional.
3789 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3791         [BZ #19174]
3792         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
3793         .skip_lock_out_of_tbegin_retries.
3794         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3795         (__lll_lock_elision): Likewise, and respect a value of
3796         try_tbegin <= 0.
3798 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3800         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
3801         statement.
3803 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3805         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
3806         variable.
3807         (test-xfail-ISO11/stdalign.h/conform): Likewise.
3808         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3810         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
3811         of -std=c1x -D_ISOC11_SOURCE.
3813         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
3814         * configure: Regenerated.
3815         * manual/install.texi (Tools for Compilation): Document
3816         requirement for GCC 4.7 or later.
3817         * INSTALL: Regenerated.
3819 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
3821         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
3822         on CNT to a conditional jump to 'puntdata'.
3824 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3826         * configure.ac (libc_cv_gcc___thread): Remove configure test.
3827         (libc_cv_gcc_tls_model_attr): Likewise.
3828         * configure: Regenerated.
3830         * configure.ac (libc_cv_need_minus_P): Remove configure test.
3831         * configure: Regenerated.
3832         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
3834 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
3836         * configure.ac (old_glibc_headers): Remove configure test.
3837         * configure: Regenerated.
3838         * config.make.in (old-glibc-headers): Remove variable.
3839         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
3840         (install): Remove dependency on remove-old-headers.
3841         (headers2_0): Remove variable.
3842         (remove-old-headers): Remove rule.
3844         * configure.ac (libc_cv_dot_text): Remove configure test.
3845         (libc_cv_asm_set_directive): Use .text instead of
3846         ${libc_cv_dot_text} in configure test.
3847         * configure: Regenerated.
3849 2015-10-26  Florian Weimer  <fweimer@redhat.com>
3851         [BZ #19168]
3852         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3854 2015-10-26  Florian Weimer  <fweimer@redhat.com>
3856         * configure.ac (CXX): Clear the variable if the C++ toolchain does
3857         not support static linking.
3858         * configure: Regenerate.
3860 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
3862         * math/libm-test.inc (check_float_internal): Do not special-case
3863         errors up to 0.5 ulp.
3865         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
3866         log2.
3867         * math/auto-libm-test-out: Regenerated.
3868         * math/libm-test.inc (MAX_EXP): New macro.
3869         (ilogb_test_data): Add more tests.
3870         (isfinite_test_data): Likewise.
3871         (isgreater_test_data): Likewise.
3872         (isgreaterequal_test_data): Likewise.
3873         (isinf_test_data): Likewise.
3874         (isless_test_data): Likewise.
3875         (islessequal_test_data): Likewise.
3876         (islessgreater_test_data): Likewise.
3877         (isnan_test_data): Likewise.
3878         (isnormal_test_data): Likewise.
3879         (issignaling_test_data): Likewise.
3880         (isunordered_test_data): Likewise.
3881         (j0_test_data): Likewise.
3882         (j1_test_data): Likewise.
3883         (jn_test_data): Likewise.
3884         (lgamma_test_data): Likewise.
3885         (log_test_data): Likewise.
3886         (log10_test_data): Likewise.
3887         (log1p_test_data): Likewise.
3888         (log2_test_data): Likewise.
3889         (logb_test_data): Likewise.
3890         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3892         [BZ #18611]
3893         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
3894         avoid excess range and precision on underflow.
3895         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3896         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
3897         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3898         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
3899         underflow.
3900         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3901         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3902         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3903         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3904         * math/auto-libm-test-in: Do not allow missing errno setting for
3905         tests of j1 and jn.
3906         * math/auto-libm-test-out: Regenerated.
3908 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
3910         [BZ #15491]
3911         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
3912         floating-point environment instead of clearing all exceptions.
3913         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3914         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
3915         merging in "invalid" exceptions from frndint.
3916         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3917         * math/test-nearbyint-except.c: New file.
3918         * math/Makefile (tests): Add test-nearbyint-except.
3920 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
3922         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
3924         * sysdeps/tile/libm-test-ulps: Regenerated.
3926 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
3929         (__NR_sync_file_range2): Assume it is always defined.
3930         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3931         (__NR_sync_file_range): Assume it is always defined.
3933 2015-10-22  Andreas Schwab  <schwab@suse.de>
3935         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
3936         INTERNAL_SYSCALL_ERRNO.
3937         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3938         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
3939         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3940         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
3941         Likewise.
3942         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3944 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3946         * io/tst-fcntl.c (fd): New static variable.
3947         (do_prepare): Open temporary file here....
3948         (do_test): ...not here.
3950         * io/ftwtest-sh: Also trap on exit to remove temporary files.
3952 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
3954         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
3955         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3956         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3957         Moved before "#ifdef __ASSEMBLER__".
3959 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3961         [BZ #19156]
3962         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
3963         arguments very close to 0.
3965 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
3967         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
3968         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
3970 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
3972         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3973         New.  Defined for GCC 5 and above when not compiling for
3974         profiling.
3975         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3977         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
3978         Renamed to ...
3979         (CFLAGS-epoll_pwait.o): This.
3980         (CFLAGS-mmap.c): Renamed to ...
3981         (CFLAGS-mmap.o): This.
3982         (CFLAGS-mmap64.c): Renamed to ...
3983         (CFLAGS-mmap64.o): This.
3984         (CFLAGS-epoll_pwait.os): New.
3985         (CFLAGS-mmap.os): Likewise.
3986         (CFLAGS-mmap64.os): Likewise.
3987         (CFLAGS-semtimedop.os): Likewise.
3988         (CFLAGS-semtimedop.c): Renamed to ...
3989         (CFLAGS-semtimedop.o): This.
3991 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3993         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
3994         warning message.
3996 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3998         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
3999         * Makefile ($(objpfx)c++-types-check.out): Filter out
4000         $(+gccwarn-c) instead of -Wstrict-prototypes.
4002         * io/fts.c (fts_open): Convert to prototype-style function
4003         definition.
4004         * malloc/mcheck.c (mcheck): Likewise.
4005         (mcheck_pedantic): Likewise.
4006         * posix/regexec.c (re_search_2_stub): Likewise.  Use
4007         internal_function.
4008         (re_search_internal): Likewise.
4009         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
4010         prototype-style function definition.
4011         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4012         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4013         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
4014         (xdr_utmpptr): Likewise.
4015         (xdr_utmparr): Likewise.
4016         (xdr_utmpidle): Likewise.
4017         (xdr_utmpidleptr): Likewise.
4018         (xdr_utmpidlearr): Likewise.
4020         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
4021         log, log10 and log2.
4022         * math/auto-libm-test-out: Regenerated.
4023         * math/libm-test.inc (fmod_test_data): Add more tests.
4024         (fpclassify_test_data): Likewise.
4025         (frexp_test_data): Likewise.
4026         (hypot_test_data): Likewise.
4027         (ilogb_test_data): Likewise.
4029 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
4031         * debug/fortify_fail.c (__fortify_fail): Convert to
4032         prototype-style function definition.  Use internal_function.
4033         * libio/genops.c (save_for_backup): Convert to prototype-style
4034         function definition.
4035         * libio/wgenops.c (save_for_wbackup): Likewise.
4036         * login/grantpt.c (grantpt): Likewise.
4037         * login/ptsname.c (ptsname): Likewise.
4038         (__ptsname_r): Likewise.
4039         * login/unlockpt.c (unlockpt): Likewise.
4040         * mach/msgserver.c (__mach_msg_server): Likewise.
4041         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
4042         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
4043         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
4044         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
4045         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
4046         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
4047         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
4048         Likewise.
4049         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
4050         internal_function.
4051         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
4052         prototype-style function definition.
4053         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
4054         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
4055         (__pthread_create_2_0): Likewise.
4056         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
4057         * nptl/register-atfork.c (__register_atfork): Likewise.
4058         * posix/glob.c (glob): Likewise.
4059         * posix/regcomp.c (re_comp): Likewise.
4060         * posix/regexec.c (re_exec): Likewise.
4061         * stdlib/add_n.c [__STDC__]: Make code unconditional.
4062         [!__STDC__]: Remove conditional code.
4063         * stdlib/cmp.c [__STDC__]: Make code unconditional.
4064         [!__STDC__]: Remove conditional code.
4065         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
4066         [!__STDC__]: Remove conditional code.
4067         * stdlib/divrem.c [__STDC__]: Make code unconditional.
4068         [!__STDC__]: Remove conditional code.
4069         * stdlib/lshift.c [__STDC__]: Make code unconditional.
4070         [!__STDC__]: Remove conditional code.
4071         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
4072         [!__STDC__]: Remove conditional code.
4073         * stdlib/mul.c [__STDC__]: Make code unconditional.
4074         [!__STDC__]: Remove conditional code.
4075         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
4076         [!__STDC__]: Remove conditional code.
4077         * stdlib/rshift.c [__STDC__]: Make code unconditional.
4078         [!__STDC__]: Remove conditional code.
4079         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
4080         function definition.
4081         (STRTOF): Likewise.
4082         * stdlib/strtod_l.c (__STRTOF): Likewise.
4083         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
4084         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
4085         (__strtol_l): Likewise.
4086         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
4087         [!__STDC__]: Remove conditional code.
4088         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
4089         definition.
4090         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4091         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4092         type.
4093         (__strcasecmp): Convert to prototype-style function definition.
4094         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
4095         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4096         type.
4097         (__strncasecmp): Convert to prototype-style function definition.
4098         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
4099         * sunrpc/xdr.c (xdr_union): Likewise.
4100         * sunrpc/xdr_array.c (xdr_array): Likewise.
4101         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
4102         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
4103         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
4104         Likewise.
4105         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
4106         Likewise.
4107         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
4108         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4109         Likewise.
4110         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
4111         (LOCALE_PARAM_PROTO): Likewise.
4112         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
4113         argument type.
4114         (ut_argument_spec): Remove macro.
4115         (ut_argument_spec_iso): Rename to ut_argument_spec.
4116         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
4117         prototype-style function definition.
4118         (memcpy_uppcase): Likewise.
4119         (__strftime_internal): Likewise.
4120         (my_strftime): Likewise.
4121         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
4122         (LOCALE_PARAM_DECL): Likewise.
4123         [_LIBC] (LOCALE_PARAM): Include argument type.
4124         (__strptime_internal): Convert to prototype-style function
4125         definition.
4126         (strptime): Likewise.
4127         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4128         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4129         type.
4130         (__wcscasecmp): Convert to prototype-style function definition.
4131         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
4132         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4133         type.
4134         (__wcsncasecmp): Convert to prototype-style function definition.
4136         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
4137         function definition.
4138         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4139         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4140         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
4141         * elf/dl-minimal.c (_itoa): Likewise.
4142         * hurd/hurdmalloc.c (malloc): Likewise.
4143         (free): Likewise.
4144         (realloc): Likewise.
4145         * inet/inet6_option.c (inet6_option_space): Likewise.
4146         (inet6_option_init): Likewise.
4147         (inet6_option_append): Likewise.
4148         (inet6_option_alloc): Likewise.
4149         (inet6_option_next): Likewise.
4150         (inet6_option_find): Likewise.
4151         * io/ftw.c (FTW_NAME): Likewise.
4152         (NFTW_NAME): Likewise.
4153         (NFTW_NEW_NAME): Likewise.
4154         (NFTW_OLD_NAME): Likewise.
4155         * libio/iofwide.c (_IO_fwide): Likewise.
4156         * libio/strops.c (_IO_str_init_static_internal): Likewise.
4157         (_IO_str_init_static): Likewise.
4158         (_IO_str_init_readonly): Likewise.
4159         (_IO_str_overflow): Likewise.
4160         (_IO_str_underflow): Likewise.
4161         (_IO_str_count): Likewise.
4162         (_IO_str_seekoff): Likewise.
4163         (_IO_str_pbackfail): Likewise.
4164         (_IO_str_finish): Likewise.
4165         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
4166         (_IO_wstr_overflow): Likewise.
4167         (_IO_wstr_underflow): Likewise.
4168         (_IO_wstr_count): Likewise.
4169         (_IO_wstr_seekoff): Likewise.
4170         (_IO_wstr_pbackfail): Likewise.
4171         (_IO_wstr_finish): Likewise.
4172         * locale/programs/localedef.c (normalize_codeset): Likewise.
4173         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
4174         (add_locales_to_archive): Likewise.
4175         (delete_locales_from_archive): Likewise.
4176         * malloc/malloc.c (__libc_mallinfo): Likewise.
4177         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
4178         * misc/tsearch.c (__tfind): Likewise.
4179         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
4180         * nptl/pthread_attr_getdetachstate.c
4181         (__pthread_attr_getdetachstate): Likewise.
4182         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
4183         Likewise.
4184         * nptl/pthread_attr_getinheritsched.c
4185         (__pthread_attr_getinheritsched): Likewise.
4186         * nptl/pthread_attr_getschedparam.c
4187         (__pthread_attr_getschedparam): Likewise.
4188         * nptl/pthread_attr_getschedpolicy.c
4189         (__pthread_attr_getschedpolicy): Likewise.
4190         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
4191         Likewise.
4192         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
4193         Likewise.
4194         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
4195         Likewise.
4196         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
4197         Likewise.
4198         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
4199         (__pthread_attr_init_2_0): Likewise.
4200         * nptl/pthread_attr_setdetachstate.c
4201         (__pthread_attr_setdetachstate): Likewise.
4202         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
4203         Likewise.
4204         * nptl/pthread_attr_setinheritsched.c
4205         (__pthread_attr_setinheritsched): Likewise.
4206         * nptl/pthread_attr_setschedparam.c
4207         (__pthread_attr_setschedparam): Likewise.
4208         * nptl/pthread_attr_setschedpolicy.c
4209         (__pthread_attr_setschedpolicy): Likewise.
4210         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
4211         Likewise.
4212         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
4213         Likewise.
4214         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
4215         Likewise.
4216         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
4217         Likewise.
4218         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
4219         Likewise.
4220         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
4221         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
4222         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
4223         use internal_function.
4224         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
4225         prototype-style function definition.
4226         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
4227         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
4228         internal_function.
4229         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
4230         Convert to prototype-style function definition.
4231         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4232         Likewise.
4233         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4234         Likewise.
4235         (__pthread_mutex_unlock): Likewise.
4236         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
4237         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
4238         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
4239         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
4240         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
4241         * nss/makedb.c (process_input): Likewise.
4242         * posix/fnmatch.c (__strchrnul): Likewise.
4243         (__wcschrnul): Likewise.
4244         (fnmatch): Likewise.
4245         * posix/fnmatch_loop.c (FCT): Likewise.
4246         * posix/glob.c (globfree): Likewise.
4247         (__glob_pattern_type): Likewise.
4248         (__glob_pattern_p): Likewise.
4249         * posix/regcomp.c (re_compile_pattern): Likewise.
4250         (re_set_syntax): Likewise.
4251         (re_compile_fastmap): Likewise.
4252         (regcomp): Likewise.
4253         (regerror): Likewise.
4254         (regfree): Likewise.
4255         * posix/regexec.c (regexec): Likewise.
4256         (re_match): Likewise.
4257         (re_search): Likewise.
4258         (re_match_2): Likewise.
4259         (re_search_2): Likewise.
4260         (re_search_stub): Likewise.  Use internal_function
4261         (re_copy_regs): Likewise.
4262         (re_set_registers): Convert to prototype-style function
4263         definition.
4264         (prune_impossible_nodes): Likewise.  Use internal_function.
4265         * resolv/inet_net_pton.c (inet_net_pton): Convert to
4266         prototype-style function definition.
4267         (inet_net_pton_ipv4): Likewise.
4268         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4269         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
4270         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
4271         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
4272         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4273         Make variadic.
4274         * time/strptime_l.c (localtime_r): Convert to prototype-style
4275         function definition.
4276         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4277         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4278         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4279         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4281         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
4282         definition.
4283         (_ufc_doit_r): Likewise.
4284         * crypt/crypt_util.c (_ufc_copymem): Likewise.
4285         (_ufc_output_conversion_r): Likewise.
4286         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
4287         * inet/rcmd.c (rcmd_af): Likewise.
4288         (rcmd): Likewise.
4289         (ruserok_af): Likewise.
4290         (ruserok): Likewise.
4291         (ruserok2_sa): Likewise.
4292         (ruserok_sa): Likewise.
4293         (iruserok_af): Likewise.
4294         (iruserok): Likewise.
4295         (__ivaliduser): Likewise.
4296         (__validuser2_sa): Likewise.
4297         * inet/rexec.c (rexec_af): Likewise.
4298         (rexec): Likewise.
4299         * inet/ruserpass.c (ruserpass): Likewise.
4300         * locale/programs/xmalloc.c (xcalloc): Likewise.
4301         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
4302         * math/w_drem.c (__drem): Likewise.
4303         * math/w_dremf.c (__dremf): Likewise.
4304         * math/w_dreml.c (__dreml): Likewise.
4305         * misc/daemon.c (daemon): Likewise.
4306         * resolv/res_debug.c (p_fqnname): Likewise.
4307         * stdlib/div.c (div): Likewise.
4308         * string/memcmp.c (memcmp_bytes): Likewise.
4309         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
4310         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
4312         * crypt/cert.c (main): Convert to prototype-style function
4313         definition.
4314         * io/pipe.c (__pipe): Likewise.
4315         * io/pipe2.c (__pipe2): Likewise.
4316         * misc/futimesat.c (futimesat): Likewise.
4317         * misc/utimes.c (__utimes): Likewise.
4318         * posix/execve.c (__execve): Likewise.
4319         * posix/execvp.c (execvp): Likewise.
4320         * posix/execvpe.c (__execvpe): Likewise.
4321         * posix/fexecve.c (fexecve): Likewise.
4322         * socket/socketpair.c (socketpair): Likewise.
4323         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4324         * stdlib/erand48.c (erand48): Likewise.
4325         * stdlib/erand48_r.c (__erand48_r): Likewise.
4326         * stdlib/jrand48.c (jrand48): Likewise.
4327         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
4328         * stdlib/lcong48.c (lcong48): Likewise.
4329         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
4330         * stdlib/nrand48.c (nrand48): Likewise.
4331         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
4332         * stdlib/seed48.c (seed48): Likewise.
4333         * stdlib/seed48_r.c (__seed48_r): Likewise.
4334         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
4335         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
4336         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
4338 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
4340         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
4341         * configure: Regenerated.
4342         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
4343         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
4344         unconditional.
4345         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4346         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4347         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4348         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
4349         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
4350         unconditional.
4351         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4353         * posix/Makefile (CFLAGS-regex.c): Remove variable.
4354         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
4356         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
4357         function definition.
4358         * crypt/crypt_util.c (__encrypt_r): Likewise.
4359         * libio/genops.c (_IO_no_init): Likewise.
4360         * libio/iofopncook.c (_IO_fopencookie): Likewise.
4361         (_IO_old_fopencookie): Likewise.
4362         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4363         * libio/iogetline.c (_IO_getline): Likewise.
4364         (_IO_getline_info): Likewise.
4365         * libio/iogetwline.c (_IO_getwline): Likewise.
4366         (_IO_getwline_info): Likewise.
4367         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4368         * libio/vswprintf.c (_IO_vswprintf): Likewise.
4369         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
4370         (find_entry): Likewise.
4371         (iterate_table): Likewise.
4372         (lookup): Likewise.
4373         * login/forkpty.c (forkpty): Likewise.
4374         * misc/hsearch_r.c (__hsearch_r): Likewise.
4375         * misc/select.c (__select): Likewise.
4376         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
4377         Likewise.
4378         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
4379         Likewise.
4380         * nptl/old_pthread_cond_timedwait.c
4381         (__pthread_cond_timedwait_2_0): Likewise.
4382         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
4383         * nptl/pthread_barrierattr_getpshared.c
4384         (pthread_barrierattr_getpshared): Likewise.
4385         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4386         Likewise.
4387         * nptl/pthread_mutex_setprioceiling.c
4388         (pthread_mutex_setprioceiling): Likewise.
4389         * nptl/pthread_mutexattr_getprioceiling.c
4390         (pthread_mutexattr_getprioceiling): Likewise.
4391         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
4392         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4393         Likewise.
4394         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4395         Likewise.
4396         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
4397         Likewise.
4398         * socket/recvfrom.c (__recvfrom): Likewise.
4399         * socket/sendto.c (__sendto): Likewise.
4400         * socket/setsockopt.c (__setsockopt): Likewise.
4401         * stdio-common/_itoa.c (_itoa): Likewise.
4402         * stdio-common/_itowa.c (_itowa): Likewise.
4403         * stdio-common/reg-printf.c (__register_printf_specifier):
4404         Likewise.
4405         (__register_printf_function): Likewise.
4406         * stdio-common/tempname.c (__path_search): Likewise.
4407         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
4408         * stdlib/mul_1.c (mpn_mul_1): Likewise.
4409         * stdlib/random_r.c (__initstate_r): Likewise.
4410         * stdlib/setenv.c (__add_to_environ): Likewise.
4411         * stdlib/submul_1.c (mpn_submul_1): Likewise.
4412         * streams/getpmsg.c (getpmsg): Likewise.
4413         * streams/putmsg.c (putmsg): Likewise.
4414         * streams/putpmsg.c (putpmsg): Likewise.
4415         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
4416         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4417         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
4418         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
4419         * sunrpc/pm_getport.c (pmap_getport): Likewise.
4420         * sunrpc/svc_udp.c (cache_get): Likewise.
4421         * sunrpc/xdr_array.c (xdr_vector): Likewise.
4422         * sysdeps/mach/hurd/getcwd.c
4423         (__canonicalize_directory_name_internal): Likewise.
4424         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
4425         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
4426         * sysdeps/mach/hurd/select.c (__select): Likewise.
4427         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4428         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
4429         * sysdeps/sparc/nptl/pthread_barrier_init.c
4430         (__pthread_barrier_init): Likewise.
4431         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
4432         (__pthread_cond_timedwait): Likewise.
4433         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
4434         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
4435         Likewise.
4436         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
4437         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
4438         Likewise.
4439         * sysvipc/semtimedop.c (semtimedop): Likewise.
4440         * time/setitimer.c (__setitimer): Likewise.
4441         * time/strftime_l.c (emacs_strftime): Likewise.
4443 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
4445         * config.make.in (have-ssp): Delete.
4446         (stack-protector): New variable.
4447         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
4448         cache test for -fstack-protector-strong.  Export stack_protector to
4449         the best ssp flag.
4450         * configure: Regenerated.
4451         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
4452         * nscd/Makefile (CFLAGS-nscd): Likewise.
4453         * resolv/Makefile (CFLAGS-libresolv): Likewise.
4455 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
4457         [BZ #19122]
4458         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
4459         attribute_hidden.
4461 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4463         [BZ #18743]
4464         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
4465         code to...
4466         (ELIDE_LOCK): ...here.
4467         (__get_new_count): New function with part of the code from
4468         __elide_lock that updates the value of adapt_count after a
4469         transaction abort.
4470         (__elided_trylock): Moved this code to...
4471         (ELIDE_TRYLOCK): ...here.
4473 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
4475         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
4476         * configure: Regenerate.
4477         * INSTALL: Regenerate.
4478         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
4479         and tweak grammar.
4481 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
4483         * login/programs/pt_chown.c: Include signal.h
4484         (main): Clear any signal mask from the parent process.
4486 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
4488         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
4489         * configure: Regenerated.
4490         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
4491         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
4492         $(gnu89-inline-CFLAGS).
4494         * configure.ac (libc_cv_asm_weak_directive): Remove configure
4495         test.
4496         (libc_cv_asm_weakext_directive): Likewise.
4497         * configure: Regenerated.
4498         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
4499         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
4500         * include/libc-symbols.h
4501         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
4502         #error.
4503         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
4504         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
4506         * sysdeps/arm/backtrace.c (__backtrace): Convert to
4507         prototype-style function definition.
4508         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
4509         * sysdeps/i386/ffs.c (__ffs): Likewise.
4510         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4511         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
4512         Likewise.
4513         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4514         Likewise.
4515         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4516         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4517         Likewise.
4518         * sysdeps/m68k/ffs.c (__ffs): Likewise.
4519         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
4520         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
4521         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
4522         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
4523         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
4524         * sysdeps/mach/hurd/access.c (__access): Likewise.
4525         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
4526         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
4527         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
4528         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
4529         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
4530         (cthread_getspecific): Likewise.
4531         (cthread_setspecific): Likewise.
4532         (__libc_getspecific): Likewise.
4533         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
4534         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
4535         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
4536         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
4537         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
4538         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
4539         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
4540         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
4541         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
4542         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
4543         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
4544         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
4545         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
4546         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
4547         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
4548         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
4549         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
4550         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
4551         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
4552         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
4553         * sysdeps/mach/hurd/link.c (__link): Likewise.
4554         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
4555         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
4556         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
4557         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
4558         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4559         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
4560         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
4561         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
4562         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4563         * sysdeps/mach/hurd/rename.c (rename): Likewise.
4564         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
4565         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
4566         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
4567         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
4568         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
4569         * sysdeps/mach/hurd/send.c (__send): Likewise.
4570         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
4571         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
4572         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
4573         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
4574         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
4575         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
4576         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
4577         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
4578         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
4579         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
4580         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
4581         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
4582         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
4583         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
4584         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
4585         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4586         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
4587         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
4588         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
4589         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4590         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
4591         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
4592         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
4593         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
4594         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
4595         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
4596         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
4597         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
4598         * sysdeps/posix/alarm.c (alarm): Likewise.
4599         * sysdeps/posix/cuserid.c (cuserid): Likewise.
4600         * sysdeps/posix/dirfd.c (dirfd): Likewise.
4601         * sysdeps/posix/dup.c (__dup): Likewise.
4602         * sysdeps/posix/dup2.c (__dup2): Likewise.
4603         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
4604         (main): Likewise.
4605         * sysdeps/posix/flock.c (__flock): Likewise.
4606         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
4607         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
4608         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
4609         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
4610         * sysdeps/posix/isatty.c (__isatty): Likewise.
4611         * sysdeps/posix/killpg.c (killpg): Likewise.
4612         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
4613         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
4614         * sysdeps/posix/raise.c (raise): Likewise.
4615         * sysdeps/posix/remove.c (remove): Likewise.
4616         * sysdeps/posix/rename.c (rename): Likewise.
4617         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
4618         * sysdeps/posix/seekdir.c (seekdir): Likewise.
4619         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4620         * sysdeps/posix/sigignore.c (sigignore): Likewise.
4621         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
4622         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
4623         * sysdeps/posix/sigset.c (sigset): Likewise.
4624         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
4625         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4626         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
4627         * sysdeps/posix/time.c (time): Likewise.
4628         * sysdeps/posix/ttyname.c (getttyname): Likewise.
4629         (ttyname): Likewise.
4630         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
4631         * sysdeps/posix/utime.c (utime): Likewise.
4632         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
4633         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
4634         Likewise.
4635         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
4636         (pthread_spin_trylock): Likewise.
4637         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
4638         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
4639         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
4640         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
4641         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
4642         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
4643         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
4644         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
4645         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
4646         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
4647         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
4648         * sysdeps/s390/ffs.c (__ffs): Likewise.
4649         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
4650         Likewise.
4651         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4652         Likewise.
4653         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
4654         Likewise.
4655         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
4656         (pthread_barrier_destroy): Likewise.
4657         * sysdeps/sparc/nptl/pthread_barrier_wait.c
4658         (__pthread_barrier_wait): Likewise.
4659         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
4660         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4661         (__pthread_barrier_wait): Likewise.
4662         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
4663         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
4664         (memcmp_not_common_alignment): Likewise.
4665         (MEMCMP): Likewise.
4666         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
4667         (_wordcopy_fwd_dest_aligned): Likewise.
4668         (_wordcopy_bwd_aligned): Likewise.
4669         (_wordcopy_bwd_dest_aligned): Likewise.
4670         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
4671         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
4672         * sysdeps/unix/bsd/stty.c (stty): Likewise.
4673         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
4674         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
4675         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
4676         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
4677         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
4678         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
4679         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
4680         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
4681         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4682         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
4683         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
4684         * sysdeps/unix/stime.c (stime): Likewise.
4685         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
4686         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
4687         Likewise.  Use internal_function.
4688         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
4689         Convert to prototype-style function definition.
4690         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4691         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4692         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
4693         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4694         Likewise.  Use internal_function.
4695         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
4696         prototype-style function definition
4697         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4698         Likewise.
4699         (__getlogin_r): Likewise.
4700         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
4701         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
4702         (__pthread_cond_broadcast): Likewise.
4703         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
4704         (__pthread_cond_destroy): Likewise.
4705         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
4706         (__pthread_cond_init): Likewise.
4707         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
4708         (__pthread_cond_signal): Likewise.
4709         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
4710         (__pthread_cond_wait): Likewise.
4711         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
4712         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
4713         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
4714         Likewise.
4715         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
4716         Likewise.
4717         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
4718         Likewise.
4719         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
4720         Likewise.
4721         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
4722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
4723         (__ftruncate64): Likewise.
4724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
4725         (truncate64): Likewise.
4726         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
4727         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
4728         (pthread_getcpuclockid): Likewise.
4729         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
4730         Likewise.
4731         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
4732         Likewise.
4733         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
4734         Likewise.
4735         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
4736         Likewise.
4737         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
4738         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
4739         (__libc_sigaction): Likewise.
4740         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
4741         Likewise.
4742         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
4743         (__sigprocmask): Likewise.
4744         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
4745         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
4746         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
4747         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
4748         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4749         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
4750         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4751         Likewise.
4752         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
4753         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
4754         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4755         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
4756         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
4757         Likewise.
4758         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
4759         (__sigprocmask): Likewise.
4760         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
4761         (cfgetispeed): Likewise.
4762         (cfsetospeed): Likewise.
4763         (cfsetispeed): Likewise.
4764         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
4765         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
4766         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4767         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
4768         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
4769         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
4770         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
4771         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
4772         Likewise.
4773         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
4774         Likewise.
4775         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
4776         Likewise.
4777         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
4778         Likewise.
4779         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
4781 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4783         sunrpc: Rewrite with explicit TLS access using __thread.
4784         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
4785         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
4786         directly.
4787         (__rpc_thread_variables): Access thread_rpc_vars directly.
4788         Eliminate redundant assignment of the tvp variable.
4790 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4792         malloc: Rewrite with explicit TLS access using __thread.
4793         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
4794         (tsd_setspecific, tsd_getspecific): Remove.
4795         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
4796         (tsd_setspecific, tsd_getspecific): Likewise.
4797         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
4798         (tsd_setspecific, tsd_getspecific): Likewise.
4799         * malloc/arena.c (thread_arena): New TLS variable.
4800         (arena_key): Remove variable.
4801         (arena_get): Use thread_arena.
4802         (arena_lookup): Remove macro.
4803         (malloc_atfork, free_atfork, ptmalloc_lock_all)
4804         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
4805         (_int_new_arena, get_free_list, reused_arena)
4806         (arena_thread_freeres): Use thread_arena.
4807         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
4808         tsd_getspecific, tsd_setspecific from safety annotations.
4809         (Allocating Cleared Space): Remove arena_lookup from safety
4810         annotations.
4812 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4814         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
4815         struct scratch_buffer instead of extend_alloca.
4817 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4819         * sysdeps/unix/sysv/linux/kernel-features.h
4820         (__ASSUME_SOCK_CLOEXEC): Remove.
4821         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
4822         (__have_paccept): Remove unused macro.
4823         * include/unistd.h (__have_sock_cloexec): Remove declaration.
4824         * misc/syslog.c (openlog_internal): Remove fallback code for
4825         !__ASSUME_SOCK_CLOEXEC.
4826         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
4827         missing SOCK_CLOEXEC.
4828         * nscd/connections.c (have_sock_cloexec): Remove definition.
4829         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
4830         * nscd/nscd_helper.c (open_socket): Remove fallback code for
4831         !__ASSUME_SOCK_CLOEXEC.
4832         * resolv/res_send.c (__have_o_nonblock): Remove definition.
4833         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
4834         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
4835         definition.
4836         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
4837         code for !__ASSUME_SOCK_CLOEXEC.
4839 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4841         [BZ #18982]
4842         * manual/stdio.texi (Variable Arguments Output): Add portability
4843         note, explaining that vfprintf clobbers the va_list pointer.
4845 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
4847         * math/libm-test.inc (fabs_test_data): Add more tests.
4848         (fdim_test_data): Likewise.
4849         (fma_test_data): Likewise.
4850         (fmax_test_data): Likewise.
4851         (fmin_test_data): Likewise.
4852         (fmod_test_data): Likewise.
4854 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
4856         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
4857         data.
4859 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
4861         * math/libm-test.inc (ceil_test_data): Add more tests and more
4862         expectations for "inexact".
4863         (floor_test_data): Add more tests.
4864         (round_test_data): Likewise.
4865         (trunc_test_data): Likewise.
4867         * crypt/cert.c (good_bye): Convert to prototype-style function
4868         definition.
4869         (get8): Likewise.
4870         (put8): Likewise.
4871         * crypt/crypt-entry.c (crypt): Likewise.
4872         (__fcrypt): Likewise.
4873         * crypt/crypt_util.c (_ufc_prbits): Likewise.
4874         (_ufc_set_bits): Likewise.
4875         (_ufc_clearmem): Likewise.
4876         (__init_des_r): Likewise.
4877         (shuffle_sb): Likewise.
4878         (shuffle_sb): Likewise.
4879         (_ufc_setup_salt_r): Likewise.
4880         (_ufc_mk_keytab_r): Likewise.
4881         (_ufc_dofinalperm_r): Likewise.
4882         (encrypt): Likewise.
4883         (__setkey_r): Likewise.
4884         (setkey): Likewise.
4885         * crypt/md5.c (md5_init_ctx): Likewise.
4886         (md5_read_ctx): Likewise.
4887         (md5_finish_ctx): Likewise.
4888         (md5_stream): Likewise.
4889         (md5_buffer): Likewise.
4890         (md5_process_bytes): Likewise.
4891         * crypt/sha256.c (__sha256_init_ctx): Likewise.
4892         (__sha256_finish_ctx): Likewise.
4893         (__sha256_process_bytes): Likewise.
4894         * crypt/sha512.c (__sha512_init_ctx): Likewise.
4895         (__sha512_finish_ctx): Likewise.
4896         (__sha512_process_bytes): Likewise.
4897         * ctype/isctype.c (__isctype): Likewise.
4898         * debug/backtrace.c (__backtrace): Likewise.
4899         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
4900         * debug/fgets_chk.c (__fgets_chk): Likewise.
4901         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
4902         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
4903         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4904         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4905         * debug/memset_chk.c (__memset_chk): Likewise.
4906         * debug/strcat_chk.c (__strcat_chk): Likewise.
4907         * debug/strncat_chk.c (__strncat_chk): Likewise.
4908         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
4909         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
4910         * dirent/dirfd.c (dirfd): Likewise.
4911         * dirent/getdents.c (__getdirentries): Likewise.
4912         * dirent/getdents64.c (getdirentries64): Likewise.
4913         * dirent/rewinddir.c (__rewinddir): Likewise.
4914         * dirent/seekdir.c (seekdir): Likewise.
4915         * dirent/telldir.c (telldir): Likewise.
4916         * elf/sln.c (makesymlinks): Likewise.
4917         (makesymlink): Likewise.
4918         * gmon/gmon.c (__moncontrol): Likewise.
4919         (__monstartup): Likewise.
4920         (write_hist): Likewise.
4921         (write_call_graph): Likewise.
4922         (write_bb_counts): Likewise.
4923         * grp/setgroups.c (setgroups): Likewise.
4924         * inet/inet_lnaof.c (inet_lnaof): Likewise.
4925         * inet/inet_net.c (inet_network): Likewise.
4926         * inet/inet_netof.c (inet_netof): Likewise.
4927         * inet/rcmd.c (rresvport_af): Likewise.
4928         (rresvport): Likewise.
4929         * io/access.c (__access): Likewise.
4930         * io/chdir.c (__chdir): Likewise.
4931         * io/chmod.c (__chmod): Likewise.
4932         * io/chown.c (__chown): Likewise.
4933         * io/close.c (__close): Likewise.
4934         * io/creat.c (creat): Likewise.
4935         * io/creat64.c (creat64): Likewise.
4936         * io/dup.c (__dup): Likewise.
4937         * io/dup2.c (__dup2): Likewise.
4938         * io/dup3.c (__dup3): Likewise.
4939         * io/euidaccess.c (__euidaccess): Likewise.
4940         * io/faccessat.c (faccessat): Likewise.
4941         * io/fchmod.c (__fchmod): Likewise.
4942         * io/fchmodat.c (fchmodat): Likewise.
4943         * io/fchown.c (__fchown): Likewise.
4944         * io/fchownat.c (fchownat): Likewise.
4945         * io/fcntl.c (__fcntl): Likewise.
4946         * io/flock.c (__flock): Likewise.
4947         * io/fts.c (fts_load): Likewise.
4948         (fts_close): Likewise.
4949         (fts_read): Likewise.
4950         (fts_set): Likewise.
4951         (fts_children): Likewise.
4952         (fts_build): Likewise.
4953         (fts_stat): Likewise.
4954         (fts_sort): Likewise.
4955         (fts_alloc): Likewise.
4956         (fts_lfree): Likewise.
4957         (fts_palloc): Likewise.
4958         (fts_padjust): Likewise.
4959         (fts_maxarglen): Likewise.
4960         (fts_safe_changedir): Likewise.
4961         * io/getwd.c (getwd): Likewise.
4962         * io/isatty.c (__isatty): Likewise.
4963         * io/lchown.c (__lchown): Likewise.
4964         * io/link.c (__link): Likewise.
4965         * io/linkat.c (linkat): Likewise.
4966         * io/lseek.c (__libc_lseek): Likewise.
4967         * io/mkdir.c (__mkdir): Likewise.
4968         * io/mkdirat.c (mkdirat): Likewise.
4969         * io/mkfifo.c (mkfifo): Likewise.
4970         * io/mkfifoat.c (mkfifoat): Likewise.
4971         * io/open.c (__libc_open): Likewise.
4972         * io/open64.c (__libc_open64): Likewise.
4973         * io/readlink.c (__readlink): Likewise.
4974         * io/readlinkat.c (readlinkat): Likewise.
4975         * io/rmdir.c (__rmdir): Likewise.
4976         * io/symlink.c (__symlink): Likewise.
4977         * io/symlinkat.c (symlinkat): Likewise.
4978         * io/ttyname.c (ttyname): Likewise.
4979         * io/ttyname_r.c (__ttyname_r): Likewise.
4980         * io/umask.c (__umask): Likewise.
4981         * io/unlink.c (__unlink): Likewise.
4982         * io/unlinkat.c (unlinkat): Likewise.
4983         * io/utime.c (utime): Likewise.
4984         * libio/clearerr.c (clearerr): Likewise.
4985         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
4986         * libio/feof.c (_IO_feof): Likewise.
4987         * libio/feof_u.c (feof_unlocked): Likewise.
4988         * libio/ferror.c (_IO_ferror): Likewise.
4989         * libio/ferror_u.c (ferror_unlocked): Likewise.
4990         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4991         * libio/fileno.c (__fileno): Likewise.
4992         * libio/fputc.c (fputc): Likewise.
4993         * libio/fputc_u.c (fputc_unlocked): Likewise.
4994         * libio/fputwc.c (fputwc): Likewise.
4995         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
4996         * libio/freopen.c (freopen): Likewise.
4997         * libio/freopen64.c (freopen64): Likewise.
4998         * libio/fseek.c (fseek): Likewise.
4999         * libio/fseeko.c (fseeko): Likewise.
5000         * libio/fseeko64.c (fseeko64): Likewise.
5001         * libio/ftello.c (__ftello): Likewise.
5002         * libio/ftello64.c (ftello64): Likewise.
5003         * libio/fwide.c (fwide): Likewise.
5004         * libio/genops.c (_IO_un_link): Likewise.
5005         (_IO_link_in): Likewise.
5006         (_IO_least_marker): Likewise.
5007         (_IO_switch_to_main_get_area): Likewise.
5008         (_IO_switch_to_backup_area): Likewise.
5009         (_IO_switch_to_get_mode): Likewise.
5010         (_IO_free_backup_area): Likewise.
5011         (_IO_switch_to_put_mode): Likewise.
5012         (__overflow): Likewise.
5013         (__underflow): Likewise.
5014         (__uflow): Likewise.
5015         (_IO_setb): Likewise.
5016         (_IO_doallocbuf): Likewise.
5017         (_IO_default_underflow): Likewise.
5018         (_IO_default_uflow): Likewise.
5019         (_IO_default_xsputn): Likewise.
5020         (_IO_sgetn): Likewise.
5021         (_IO_default_xsgetn): Likewise.
5022         (_IO_sync): Likewise.
5023         (_IO_default_setbuf): Likewise.
5024         (_IO_default_seekpos): Likewise.
5025         (_IO_default_doallocate): Likewise.
5026         (_IO_init): Likewise.
5027         (_IO_old_init): Likewise.
5028         (_IO_default_sync): Likewise.
5029         (_IO_default_finish): Likewise.
5030         (_IO_default_seekoff): Likewise.
5031         (_IO_sputbackc): Likewise.
5032         (_IO_sungetc): Likewise.
5033         (_IO_set_column): Likewise.
5034         (_IO_set_column): Likewise.
5035         (_IO_adjust_column): Likewise.
5036         (_IO_get_column): Likewise.
5037         (_IO_init_marker): Likewise.
5038         (_IO_remove_marker): Likewise.
5039         (_IO_marker_difference): Likewise.
5040         (_IO_marker_delta): Likewise.
5041         (_IO_seekmark): Likewise.
5042         (_IO_unsave_markers): Likewise.
5043         (_IO_nobackup_pbackfail): Likewise.
5044         (_IO_default_pbackfail): Likewise.
5045         (_IO_default_seek): Likewise.
5046         (_IO_default_stat): Likewise.
5047         (_IO_default_read): Likewise.
5048         (_IO_default_write): Likewise.
5049         (_IO_default_showmanyc): Likewise.
5050         (_IO_default_imbue): Likewise.
5051         (_IO_iter_next): Likewise.
5052         (_IO_iter_file): Likewise.
5053         * libio/getc.c (_IO_getc): Likewise.
5054         * libio/getwc.c (_IO_getwc): Likewise.
5055         * libio/iofclose.c (_IO_new_fclose): Likewise.
5056         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
5057         * libio/iofflush.c (_IO_fflush): Likewise.
5058         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
5059         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
5060         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
5061         * libio/iofgets.c (_IO_fgets): Likewise.
5062         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
5063         * libio/iofgetws.c (fgetws): Likewise.
5064         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5065         * libio/iofopen64.c (_IO_fopen64): Likewise.
5066         * libio/iofopncook.c (_IO_cookie_read): Likewise.
5067         (_IO_cookie_write): Likewise.
5068         (_IO_cookie_seek): Likewise.
5069         (_IO_cookie_close): Likewise.
5070         (_IO_cookie_seekoff): Likewise.
5071         (_IO_old_cookie_seek): Likewise.
5072         * libio/iofputs.c (_IO_fputs): Likewise.
5073         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
5074         * libio/iofputws.c (fputws): Likewise.
5075         * libio/iofputws_u.c (fputws_unlocked): Likewise.
5076         * libio/iofread.c (_IO_fread): Likewise.
5077         * libio/iofread_u.c (__fread_unlocked): Likewise.
5078         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
5079         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
5080         * libio/ioftell.c (_IO_ftell): Likewise.
5081         * libio/iofwrite.c (_IO_fwrite): Likewise.
5082         * libio/iogetdelim.c (_IO_getdelim): Likewise.
5083         * libio/iogets.c (_IO_gets): Likewise.
5084         * libio/iopadn.c (_IO_padn): Likewise.
5085         * libio/iopopen.c (_IO_new_proc_open): Likewise.
5086         (_IO_new_popen): Likewise.
5087         (_IO_new_proc_close): Likewise.
5088         * libio/ioputs.c (_IO_puts): Likewise.
5089         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
5090         (_IO_seekoff): Likewise.
5091         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
5092         (_IO_seekpos): Likewise.
5093         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
5094         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5095         * libio/ioungetc.c (_IO_ungetc): Likewise.
5096         * libio/ioungetwc.c (ungetwc): Likewise.
5097         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5098         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5099         * libio/iowpadn.c (_IO_wpadn): Likewise.
5100         * libio/libc_fatal.c (__libc_fatal): Likewise.
5101         * libio/memstream.c (__open_memstream): Likewise.
5102         (_IO_mem_sync): Likewise.
5103         (_IO_mem_finish): Likewise.
5104         * libio/oldfileops.c (_IO_old_file_init): Likewise.
5105         (_IO_old_file_close_it): Likewise.
5106         (_IO_old_file_finish): Likewise.
5107         (_IO_old_file_fopen): Likewise.
5108         (_IO_old_file_attach): Likewise.
5109         (_IO_old_file_setbuf): Likewise.
5110         (_IO_old_do_write): Likewise.
5111         (old_do_write): Likewise.
5112         (_IO_old_file_underflow): Likewise.
5113         (_IO_old_file_overflow): Likewise.
5114         (_IO_old_file_sync): Likewise.
5115         (_IO_old_file_seekoff): Likewise.
5116         (_IO_old_file_write): Likewise.
5117         (_IO_old_file_xsputn): Likewise.
5118         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5119         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5120         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
5121         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
5122         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5123         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
5124         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
5125         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
5126         (_IO_old_popen): Likewise.
5127         (_IO_old_proc_close): Likewise.
5128         * libio/oldpclose.c (__old_pclose): Likewise.
5129         * libio/pclose.c (__new_pclose): Likewise.
5130         * libio/peekc.c (_IO_peekc_locked): Likewise.
5131         * libio/putc.c (_IO_putc): Likewise.
5132         * libio/putc_u.c (putc_unlocked): Likewise.
5133         * libio/putchar.c (putchar): Likewise.
5134         * libio/putchar_u.c (putchar_unlocked): Likewise.
5135         * libio/putwc.c (putwc): Likewise.
5136         * libio/putwc_u.c (putwc_unlocked): Likewise.
5137         * libio/putwchar.c (putwchar): Likewise.
5138         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
5139         * libio/rewind.c (rewind): Likewise.
5140         * libio/setbuf.c (setbuf): Likewise.
5141         * libio/setlinebuf.c (setlinebuf): Likewise.
5142         * libio/vasprintf.c (_IO_vasprintf): Likewise.
5143         * libio/vscanf.c (_IO_vscanf): Likewise.
5144         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
5145         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
5146         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
5147         * libio/wgenops.c (_IO_least_wmarker): Likewise.
5148         (_IO_switch_to_main_wget_area): Likewise.
5149         (_IO_switch_to_wbackup_area): Likewise.
5150         (_IO_wsetb): Likewise.
5151         (_IO_wdefault_pbackfail): Likewise.
5152         (_IO_wdefault_finish): Likewise.
5153         (_IO_wdefault_uflow): Likewise.
5154         (__woverflow): Likewise.
5155         (__wuflow): Likewise.
5156         (__wunderflow): Likewise.
5157         (_IO_wdefault_xsputn): Likewise.
5158         (_IO_wdefault_xsgetn): Likewise.
5159         (_IO_wdoallocbuf): Likewise.
5160         (_IO_wdefault_doallocate): Likewise.
5161         (_IO_switch_to_wget_mode): Likewise.
5162         (_IO_free_wbackup_area): Likewise.
5163         (_IO_switch_to_wput_mode): Likewise.
5164         (_IO_sputbackwc): Likewise.
5165         (_IO_sungetwc): Likewise.
5166         (_IO_adjust_wcolumn): Likewise.
5167         (_IO_init_wmarker): Likewise.
5168         (_IO_wmarker_delta): Likewise.
5169         (_IO_seekwmark): Likewise.
5170         (_IO_unsave_wmarkers): Likewise.
5171         * libio/wmemstream.c (open_wmemstream): Likewise.
5172         (_IO_wmem_sync): Likewise.
5173         (_IO_wmem_finish): Likewise.
5174         * locale/nl_langinfo.c (nl_langinfo): Likewise.
5175         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
5176         * locale/programs/simple-hash.c (init_hash): Likewise.
5177         (delete_hash): Likewise.
5178         (insert_entry): Likewise.
5179         (set_entry): Likewise.
5180         (next_prime): Likewise.
5181         (is_prime): Likewise.
5182         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
5183         (xmalloc): Likewise.
5184         (xrealloc): Likewise.
5185         * locale/programs/xstrdup.c (xstrdup): Likewise.
5186         * localedata/collate-test.c (xstrcoll): Likewise.
5187         * localedata/xfrm-test.c (xstrcmp): Likewise.
5188         * login/getlogin_r.c (__getlogin_r): Likewise.
5189         * login/getpt.c (__posix_openpt): Likewise.
5190         * login/login_tty.c (login_tty): Likewise.
5191         * login/setlogin.c (setlogin): Likewise.
5192         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
5193         (mach_msg_destroy_port): Likewise.
5194         (mach_msg_destroy_memory): Likewise.
5195         * malloc/mcheck.c (flood): Likewise.
5196         * misc/acct.c (acct): Likewise.
5197         * misc/brk.c (__brk): Likewise.
5198         * misc/chflags.c (chflags): Likewise.
5199         * misc/chroot.c (chroot): Likewise.
5200         * misc/fchflags.c (fchflags): Likewise.
5201         * misc/fstab.c (getfsspec): Likewise.
5202         (getfsfile): Likewise.
5203         * misc/fsync.c (fsync): Likewise.
5204         * misc/ftruncate.c (__ftruncate): Likewise.
5205         * misc/ftruncate64.c (__ftruncate64): Likewise.
5206         * misc/getdomain.c (getdomainname): Likewise.
5207         (getdomainname): Likewise.
5208         * misc/gethostname.c (__gethostname): Likewise.
5209         * misc/getpass.c (getpass): Likewise.
5210         * misc/getttyent.c (skip): Likewise.
5211         (value): Likewise.
5212         * misc/gtty.c (gtty): Likewise.
5213         * misc/hsearch.c (hsearch): Likewise.
5214         (hcreate): Likewise.
5215         * misc/hsearch_r.c (__hcreate_r): Likewise.
5216         (__hdestroy_r): Likewise.
5217         * misc/ioctl.c (__ioctl): Likewise.
5218         * misc/mkdtemp.c (mkdtemp): Likewise.
5219         * misc/mkostemp.c (mkostemp): Likewise.
5220         * misc/mkostemp64.c (mkostemp64): Likewise.
5221         * misc/mkostemps.c (mkostemps): Likewise.
5222         * misc/mkostemps64.c (mkostemps64): Likewise.
5223         * misc/mkstemp.c (mkstemp): Likewise.
5224         * misc/mkstemp64.c (mkstemp64): Likewise.
5225         * misc/mkstemps.c (mkstemps): Likewise.
5226         * misc/mkstemps64.c (mkstemps64): Likewise.
5227         * misc/mktemp.c (__mktemp): Likewise.
5228         * misc/preadv.c (preadv): Likewise.
5229         * misc/preadv64.c (preadv64): Likewise.
5230         * misc/pwritev.c (pwritev): Likewise.
5231         * misc/pwritev64.c (pwritev64): Likewise.
5232         * misc/readv.c (__readv): Likewise.
5233         * misc/revoke.c (revoke): Likewise.
5234         * misc/setdomain.c (setdomainname): Likewise.
5235         * misc/setegid.c (setegid): Likewise.
5236         * misc/seteuid.c (seteuid): Likewise.
5237         * misc/sethostid.c (sethostid): Likewise.
5238         * misc/sethostname.c (sethostname): Likewise.
5239         * misc/setregid.c (__setregid): Likewise.
5240         * misc/setreuid.c (__setreuid): Likewise.
5241         * misc/sstk.c (sstk): Likewise.
5242         * misc/stty.c (stty): Likewise.
5243         * misc/syscall.c (syscall): Likewise.
5244         * misc/syslog.c (setlogmask): Likewise.
5245         * misc/truncate.c (__truncate): Likewise.
5246         * misc/truncate64.c (truncate64): Likewise.
5247         * misc/ualarm.c (ualarm): Likewise.
5248         * misc/usleep.c (usleep): Likewise.
5249         * misc/ustat.c (ustat): Likewise.
5250         * misc/writev.c (__writev): Likewise.
5251         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
5252         * nptl/old_pthread_cond_broadcast.c
5253         (__pthread_cond_broadcast_2_0): Likewise.
5254         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
5255         Likewise.
5256         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
5257         Likewise.
5258         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
5259         Likewise.
5260         * nptl/pt-raise.c (raise): Likewise.
5261         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
5262         Likewise.
5263         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
5264         * nptl/pthread_barrierattr_destroy.c
5265         (pthread_barrierattr_destroy): Likewise.
5266         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
5267         Likewise.
5268         * nptl/pthread_barrierattr_setpshared.c
5269         (pthread_barrierattr_setpshared): Likewise.
5270         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5271         Likewise.
5272         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5273         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5274         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5275         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
5276         Likewise.
5277         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
5278         Likewise.
5279         * nptl/pthread_condattr_getpshared.c
5280         (pthread_condattr_getpshared): Likewise.
5281         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
5282         Likewise.
5283         * nptl/pthread_condattr_setpshared.c
5284         (pthread_condattr_setpshared): Likewise.
5285         * nptl/pthread_detach.c (pthread_detach): Likewise.
5286         * nptl/pthread_equal.c (__pthread_equal): Likewise.
5287         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
5288         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
5289         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
5290         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
5291         Likewise.
5292         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5293         Likewise.
5294         * nptl/pthread_mutex_getprioceiling.c
5295         (pthread_mutex_getprioceiling): Likewise.
5296         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
5297         Likewise.
5298         * nptl/pthread_mutexattr_getprotocol.c
5299         (pthread_mutexattr_getprotocol): Likewise.
5300         * nptl/pthread_mutexattr_getpshared.c
5301         (pthread_mutexattr_getpshared): Likewise.
5302         * nptl/pthread_mutexattr_getrobust.c
5303         (pthread_mutexattr_getrobust): Likewise.
5304         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5305         Likewise.
5306         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
5307         Likewise.
5308         * nptl/pthread_mutexattr_setprioceiling.c
5309         (pthread_mutexattr_setprioceiling): Likewise.
5310         * nptl/pthread_mutexattr_setprotocol.c
5311         (pthread_mutexattr_setprotocol): Likewise.
5312         * nptl/pthread_mutexattr_setpshared.c
5313         (pthread_mutexattr_setpshared): Likewise.
5314         * nptl/pthread_mutexattr_setrobust.c
5315         (pthread_mutexattr_setrobust): Likewise.
5316         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
5317         Likewise.
5318         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
5319         Likewise.
5320         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
5321         Likewise.
5322         * nptl/pthread_rwlockattr_getkind_np.c
5323         (pthread_rwlockattr_getkind_np): Likewise.
5324         * nptl/pthread_rwlockattr_getpshared.c
5325         (pthread_rwlockattr_getpshared): Likewise.
5326         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
5327         Likewise.
5328         * nptl/pthread_rwlockattr_setkind_np.c
5329         (pthread_rwlockattr_setkind_np): Likewise.
5330         * nptl/pthread_rwlockattr_setpshared.c
5331         (pthread_rwlockattr_setpshared): Likewise.
5332         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
5333         Likewise.
5334         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
5335         Likewise.
5336         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
5337         Likewise.
5338         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
5339         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
5340         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
5341         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
5342         * nptl/sem_close.c (sem_close): Likewise.
5343         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
5344         * nptl/sem_init.c (__old_sem_init): Likewise.
5345         * nptl/sigaction.c (__sigaction): Likewise.
5346         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
5347         * posix/_exit.c (_exit): Likewise.
5348         * posix/alarm.c (alarm): Likewise.
5349         * posix/confstr.c (confstr): Likewise.
5350         * posix/fpathconf.c (__fpathconf): Likewise.
5351         * posix/getgroups.c (__getgroups): Likewise.
5352         * posix/getpgid.c (__getpgid): Likewise.
5353         * posix/group_member.c (__group_member): Likewise.
5354         * posix/pathconf.c (__pathconf): Likewise.
5355         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
5356         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
5357         * posix/setgid.c (__setgid): Likewise.
5358         * posix/setpgid.c (__setpgid): Likewise.
5359         * posix/setuid.c (__setuid): Likewise.
5360         * posix/sleep.c (__sleep): Likewise.
5361         * posix/sysconf.c (__sysconf): Likewise.
5362         * posix/times.c (__times): Likewise.
5363         * posix/uname.c (__uname): Likewise.
5364         * posix/waitid.c (__waitid): Likewise.
5365         * pwd/getpw.c (__getpw): Likewise.
5366         * resolv/base64.c (b64_pton): Likewise.
5367         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
5368         * resolv/gethnamaddr.c (Dprintf): Likewise.
5369         (gethostbyname): Likewise.
5370         (gethostbyname2): Likewise.
5371         (gethostbyaddr): Likewise.
5372         (_sethtent): Likewise.
5373         (_gethtbyname): Likewise.
5374         (_gethtbyname2): Likewise.
5375         (_gethtbyaddr): Likewise.
5376         (map_v4v6_address): Likewise.
5377         (map_v4v6_hostent): Likewise.
5378         (addrsort): Likewise.
5379         (ht_sethostent): Likewise.
5380         (ht_gethostbyname): Likewise.
5381         (ht_gethostbyaddr): Likewise.
5382         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
5383         (inet_net_ntop_ipv4): Likewise.
5384         * resolv/inet_neta.c (inet_neta): Likewise.
5385         * resolv/inet_ntop.c (inet_ntop): Likewise.
5386         (inet_ntop4): Likewise.
5387         (inet_ntop6): Likewise.
5388         * resolv/inet_pton.c (__inet_pton): Likewise.
5389         (inet_pton4): Likewise.
5390         (inet_pton6): Likewise.
5391         * resolv/res_debug.c (loc_aton): Likewise.
5392         (loc_ntoa): Likewise.
5393         * resource/getpriority.c (__getpriority): Likewise.
5394         * resource/getrusage.c (__getrusage): Likewise.
5395         * resource/nice.c (nice): Likewise.
5396         * resource/setpriority.c (__setpriority): Likewise.
5397         * resource/setrlimit64.c (setrlimit64): Likewise.
5398         * resource/vlimit.c (vlimit): Likewise.
5399         * resource/vtimes.c (vtimes): Likewise.
5400         * rt/aio_error.c (aio_error): Likewise.
5401         * rt/aio_return.c (aio_return): Likewise.
5402         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
5403         * signal/kill.c (__kill): Likewise.
5404         * signal/killpg.c (killpg): Likewise.
5405         * signal/raise.c (raise): Likewise.
5406         * signal/sigaction.c (__sigaction): Likewise.
5407         * signal/sigaddset.c (sigaddset): Likewise.
5408         * signal/sigaltstack.c (sigaltstack): Likewise.
5409         * signal/sigandset.c (sigandset): Likewise.
5410         * signal/sigblock.c (__sigblock): Likewise.
5411         * signal/sigdelset.c (sigdelset): Likewise.
5412         * signal/sigempty.c (sigemptyset): Likewise.
5413         * signal/sigfillset.c (sigfillset): Likewise.
5414         * signal/sighold.c (sighold): Likewise.
5415         * signal/sigignore.c (sigignore): Likewise.
5416         * signal/sigintr.c (siginterrupt): Likewise.
5417         * signal/sigisempty.c (sigisemptyset): Likewise.
5418         * signal/sigismem.c (sigismember): Likewise.
5419         * signal/signal.c (signal): Likewise.
5420         * signal/sigorset.c (sigorset): Likewise.
5421         * signal/sigpause.c (__sigpause): Likewise.
5422         * signal/sigpending.c (sigpending): Likewise.
5423         * signal/sigprocmask.c (__sigprocmask): Likewise.
5424         * signal/sigrelse.c (sigrelse): Likewise.
5425         * signal/sigreturn.c (__sigreturn): Likewise.
5426         * signal/sigset.c (sigset): Likewise.
5427         * signal/sigsetmask.c (__sigsetmask): Likewise.
5428         * signal/sigstack.c (sigstack): Likewise.
5429         * signal/sigsuspend.c (__sigsuspend): Likewise.
5430         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
5431         * signal/sysv_signal.c (__sysv_signal): Likewise.
5432         * socket/accept.c (accept): Likewise.
5433         * socket/accept4.c (__libc_accept4): Likewise.
5434         * socket/bind.c (__bind): Likewise.
5435         * socket/connect.c (__connect): Likewise.
5436         * socket/getpeername.c (getpeername): Likewise.
5437         * socket/getsockname.c (__getsockname): Likewise.
5438         * socket/getsockopt.c (getsockopt): Likewise.
5439         * socket/listen.c (__listen): Likewise.
5440         * socket/recv.c (__recv): Likewise.
5441         * socket/recvmsg.c (__recvmsg): Likewise.
5442         * socket/send.c (__send): Likewise.
5443         * socket/sendmsg.c (__sendmsg): Likewise.
5444         * socket/shutdown.c (shutdown): Likewise.
5445         * socket/sockatmark.c (sockatmark): Likewise.
5446         * socket/socket.c (__socket): Likewise.
5447         * stdio-common/ctermid.c (ctermid): Likewise.
5448         * stdio-common/cuserid.c (cuserid): Likewise.
5449         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
5450         * stdio-common/remove.c (remove): Likewise.
5451         * stdio-common/rename.c (rename): Likewise.
5452         * stdio-common/renameat.c (renameat): Likewise.
5453         * stdio-common/tempname.c (__gen_tempname): Likewise.
5454         * stdio-common/xbug.c (InitBuffer): Likewise.
5455         (AppendToBuffer): Likewise.
5456         (ReadFile): Likewise.
5457         * stdlib/a64l.c (a64l): Likewise.
5458         * stdlib/drand48_r.c (drand48_r): Likewise.
5459         * stdlib/getcontext.c (getcontext): Likewise.
5460         * stdlib/getenv.c (getenv): Likewise.
5461         * stdlib/l64a.c (l64a): Likewise.
5462         * stdlib/llabs.c (llabs): Likewise.
5463         * stdlib/lldiv.c (lldiv): Likewise.
5464         * stdlib/lrand48_r.c (lrand48_r): Likewise.
5465         * stdlib/mrand48_r.c (mrand48_r): Likewise.
5466         * stdlib/putenv.c (putenv): Likewise.
5467         * stdlib/random.c (__srandom): Likewise.
5468         (__initstate): Likewise.
5469         (__setstate): Likewise.
5470         * stdlib/random_r.c (__srandom_r): Likewise.
5471         (__setstate_r): Likewise.
5472         (__random_r): Likewise.
5473         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
5474         * stdlib/setcontext.c (setcontext): Likewise.
5475         * stdlib/setenv.c (setenv): Likewise.
5476         (unsetenv): Likewise.
5477         * stdlib/srand48.c (srand48): Likewise.
5478         * stdlib/srand48_r.c (__srand48_r): Likewise.
5479         * stdlib/swapcontext.c (swapcontext): Likewise.
5480         * stdlib/system.c (__libc_system): Likewise.
5481         * stdlib/tst-strtod.c (expand): Likewise.
5482         * stdlib/tst-strtol.c (expand): Likewise.
5483         * stdlib/tst-strtoll.c (expand): Likewise.
5484         * streams/fattach.c (fattach): Likewise.
5485         * streams/fdetach.c (fdetach): Likewise.
5486         * streams/getmsg.c (getmsg): Likewise.
5487         * streams/isastream.c (isastream): Likewise.
5488         * string/ffs.c (__ffs): Likewise.
5489         * string/ffsll.c (ffsll): Likewise.
5490         * string/memcmp.c (memcmp_common_alignment): Likewise.
5491         (memcmp_not_common_alignment): Likewise.
5492         (MEMCMP): Likewise.
5493         * string/memcpy.c (memcpy): Likewise.
5494         * string/memmove.c (MEMMOVE): Likewise.
5495         * string/memset.c (memset): Likewise.
5496         * string/rawmemchr.c (RAWMEMCHR): Likewise.
5497         * string/strchrnul.c (STRCHRNUL): Likewise.
5498         * string/strerror.c (strerror): Likewise.
5499         * string/strndup.c (__strndup): Likewise.
5500         * string/strverscmp.c (__strverscmp): Likewise.
5501         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
5502         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
5503         (clnttcp_freeres): Likewise.
5504         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
5505         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
5506         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
5507         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
5508         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
5509         (xdr_callhdr): Likewise.
5510         * sunrpc/rpcinfo.c (udpping): Likewise.
5511         (tcpping): Likewise.
5512         (pstatus): Likewise.
5513         (pmapdump): Likewise.
5514         (brdcst): Likewise.
5515         (deletereg): Likewise.
5516         (getprognum): Likewise.
5517         (getvers): Likewise.
5518         (get_inet_address): Likewise.
5519         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
5520         * sunrpc/svc_udp.c (svcudp_create): Likewise.
5521         (svcudp_stat): Likewise.
5522         (svcudp_recv): Likewise.
5523         (svcudp_reply): Likewise.
5524         (svcudp_getargs): Likewise.
5525         (svcudp_freeargs): Likewise.
5526         (svcudp_destroy): Likewise.
5527         * sunrpc/xdr.c (xdr_bytes): Likewise.
5528         (xdr_netobj): Likewise.
5529         (xdr_string): Likewise.
5530         (xdr_wrapstring): Likewise.
5531         * sunrpc/xdr_float.c (xdr_float): Likewise.
5532         (xdr_double): Likewise.
5533         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
5534         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
5535         * sysvipc/ftok.c (ftok): Likewise.
5536         * sysvipc/msgctl.c (msgctl): Likewise.
5537         * sysvipc/msgget.c (msgget): Likewise.
5538         * sysvipc/msgrcv.c (msgrcv): Likewise.
5539         * sysvipc/msgsnd.c (msgsnd): Likewise.
5540         * sysvipc/semget.c (semget): Likewise.
5541         * sysvipc/semop.c (semop): Likewise.
5542         * sysvipc/shmat.c (shmat): Likewise.
5543         * sysvipc/shmctl.c (shmctl): Likewise.
5544         * sysvipc/shmdt.c (shmdt): Likewise.
5545         * sysvipc/shmget.c (shmget): Likewise.
5546         * termios/cfmakeraw.c (cfmakeraw): Likewise.
5547         * termios/speed.c (cfgetospeed): Likewise.
5548         (cfgetispeed): Likewise.
5549         (cfsetospeed): Likewise.
5550         (cfsetispeed): Likewise.
5551         * termios/tcflow.c (tcflow): Likewise.
5552         * termios/tcflush.c (tcflush): Likewise.
5553         * termios/tcgetattr.c (__tcgetattr): Likewise.
5554         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
5555         * termios/tcgetsid.c (tcgetsid): Likewise.
5556         * termios/tcsendbrk.c (tcsendbreak): Likewise.
5557         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
5558         * time/adjtime.c (__adjtime): Likewise.
5559         * time/dysize.c (dysize): Likewise.
5560         * time/ftime.c (ftime): Likewise.
5561         * time/getitimer.c (__getitimer): Likewise.
5562         * time/gettimeofday.c (__gettimeofday): Likewise.
5563         * time/gmtime.c (__gmtime_r): Likewise.
5564         (gmtime): Likewise.
5565         * time/localtime.c (__localtime_r): Likewise.
5566         (localtime): Likewise.
5567         * time/offtime.c (__offtime): Likewise.
5568         * time/settimeofday.c (__settimeofday): Likewise.
5569         * time/stime.c (stime): Likewise.
5570         * time/strftime_l.c (tm_diff): Likewise.
5571         (iso_week_days): Likewise.
5572         * time/strptime.c (strptime): Likewise.
5573         * time/time.c (time): Likewise.
5574         * time/timespec_get.c (timespec_get): Likewise.
5575         * time/tzset.c (tzset_internal): Likewise.
5576         (compute_change): Likewise.
5577         (__tz_compute): Likewise.
5578         * wcsmbs/btowc.c (__btowc): Likewise.
5579         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
5580         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
5581         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
5582         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
5583         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
5584         * wcsmbs/wcscat.c (__wcscat): Likewise.
5585         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5586         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
5587         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
5588         * wcsmbs/wcscspn.c (wcscspn): Likewise.
5589         * wcsmbs/wcsdup.c (wcsdup): Likewise.
5590         * wcsmbs/wcslen.c (__wcslen): Likewise.
5591         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
5592         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
5593         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
5594         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
5595         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5596         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
5597         * wcsmbs/wcsspn.c (wcsspn): Likewise.
5598         * wcsmbs/wcsstr.c (wcsstr): Likewise.
5599         * wcsmbs/wcstok.c (wcstok): Likewise.
5600         * wcsmbs/wctob.c (wctob): Likewise.
5601         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
5602         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5603         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
5604         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
5605         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
5606         * wcsmbs/wmemset.c (__wmemset): Likewise.
5607         * wctype/wcfuncs.c (__towlower): Likewise.
5608         (__towupper): Likewise.
5610         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
5611         (lll_unlock_elision): Add adapt_count parameter.
5613 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
5615         * sysdeps/nptl/configure.ac: Do not give errors based on the
5616         results of top-level configure tests.
5617         * sysdeps/nptl/configure: Regenerated.
5619         * configure.ac (libc_cv_Bgroup): Remove configure test.
5620         * configure: Regenerated.
5621         * config.make.in (have-Bgroup): Remove variable.
5623         * configure.ac (sizeof_long_double): Remove configure test.
5624         * configure: Regenerated.
5625         * config.make.in (sizeof-long-double): Remove variable.
5627         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
5628         * configure: Regenerated.
5629         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
5630         variable.
5631         (exceptions): Likewise.
5632         * sysdeps/arm/configure: Regenerated.
5633         * config.make.in (exceptions): Remove variable.
5634         * Makeconfig (uses-callbacks): Use -fexceptions instead of
5635         $(exceptions).
5636         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
5637         (CFLAGS-vdprintf_chk.c): Likewise.
5638         (CFLAGS-printf_chk.c): Likewise.
5639         (CFLAGS-fprintf_chk.c): Likewise.
5640         (CFLAGS-vprintf_chk.c): Likewise.
5641         (CFLAGS-vfprintf_chk.c): Likewise.
5642         (CFLAGS-gets_chk.c): Likewise.
5643         (CFLAGS-fgets_chk.c): Likewise.
5644         (CFLAGS-fgets_u_chk.c): Likewise.
5645         (CFLAGS-fread_chk.c): Likewise.
5646         (CFLAGS-fread_u_chk.c): Likewise.
5647         (CFLAGS-wprintf_chk.c): Likewise.
5648         (CFLAGS-fwprintf_chk.c): Likewise.
5649         (CFLAGS-vwprintf_chk.c): Likewise.
5650         (CFLAGS-vfwprintf_chk.c): Likewise.
5651         (CFLAGS-fgetws_chk.c): Likewise.
5652         (CFLAGS-fgetws_u_chk.c): Likewise.
5653         * libio/Makefile (CFLAGS-fileops.c): Likewise.
5654         (CFLAGS-fputc.c): Likewise.
5655         (CFLAGS-fputwc.c): Likewise.
5656         (CFLAGS-freopen64.c): Likewise.
5657         (CFLAGS-freopen.c): Likewise.
5658         (CFLAGS-fseek.c): Likewise.
5659         (CFLAGS-fseeko64.c): Likewise.
5660         (CFLAGS-fseeko.c): Likewise.
5661         (CFLAGS-ftello64.c): Likewise.
5662         (CFLAGS-ftello.c): Likewise.
5663         (CFLAGS-fwide.c): Likewise.
5664         (CFLAGS-genops.c): Likewise.
5665         (CFLAGS-getc.c): Likewise.
5666         (CFLAGS-getchar.c): Likewise.
5667         (CFLAGS-getwc.c): Likewise.
5668         (CFLAGS-getwchar.c): Likewise.
5669         (CFLAGS-iofclose.c): Likewise.
5670         (CFLAGS-iofflush.c): Likewise.
5671         (CFLAGS-iofgetpos64.c): Likewise.
5672         (CFLAGS-iofgetpos.c): Likewise.
5673         (CFLAGS-iofgets.c): Likewise.
5674         (CFLAGS-iofgetws.c): Likewise.
5675         (CFLAGS-iofputs.c): Likewise.
5676         (CFLAGS-iofputws.c): Likewise.
5677         (CFLAGS-iofread.c): Likewise.
5678         (CFLAGS-iofsetpos64.c): Likewise.
5679         (CFLAGS-iofsetpos.c): Likewise.
5680         (CFLAGS-ioftell.c): Likewise.
5681         (CFLAGS-iofwrite.c): Likewise.
5682         (CFLAGS-iogetdelim.c): Likewise.
5683         (CFLAGS-iogetline.c): Likewise.
5684         (CFLAGS-iogets.c): Likewise.
5685         (CFLAGS-iogetwline.c): Likewise.
5686         (CFLAGS-ioputs.c): Likewise.
5687         (CFLAGS-ioseekoff.c): Likewise.
5688         (CFLAGS-ioseekpos.c): Likewise.
5689         (CFLAGS-iosetbuffer.c): Likewise.
5690         (CFLAGS-iosetvbuf.c): Likewise.
5691         (CFLAGS-ioungetc.c): Likewise.
5692         (CFLAGS-ioungetwc.c): Likewise.
5693         (CFLAGS-oldfileops.c): Likewise.
5694         (CFLAGS-oldiofclose.c): Likewise.
5695         (CFLAGS-oldiofgetpos64.c): Likewise.
5696         (CFLAGS-oldiofgetpos.c): Likewise.
5697         (CFLAGS-oldiofsetpos64.c): Likewise.
5698         (CFLAGS-oldiofsetpos.c): Likewise.
5699         (CFLAGS-peekc.c): Likewise.
5700         (CFLAGS-putc.c): Likewise.
5701         (CFLAGS-putchar.c): Likewise.
5702         (CFLAGS-putwc.c): Likewise.
5703         (CFLAGS-putwchar.c): Likewise.
5704         (CFLAGS-rewind.c): Likewise.
5705         (CFLAGS-wfileops.c): Likewise.
5706         (CFLAGS-wgenops.c): Likewise.
5707         (CFLAGS-oldiofopen.c): Likewise.
5708         (CFLAGS-iofopen.c): Likewise.
5709         (CFLAGS-iofopen64.c): Likewise.
5710         (CFLAGS-oldtmpfile.c): Likewise.
5711         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
5712         (CFLAGS-fprintf.c): Likewise.
5713         (CFLAGS-printf.c): Likewise.
5714         (CFLAGS-vfwprintf.c): Likewise.
5715         (CFLAGS-vfscanf.c): Likewise.
5716         (CFLAGS-vfwscanf.c): Likewise.
5717         (CFLAGS-fscanf.c): Likewise.
5718         (CFLAGS-scanf.c): Likewise.
5719         (CFLAGS-isoc99_vfscanf.c): Likewise.
5720         (CFLAGS-isoc99_vscanf.c): Likewise.
5721         (CFLAGS-isoc99_fscanf.c): Likewise.
5722         (CFLAGS-isoc99_scanf.c): Likewise.
5723         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
5724         (CFLAGS-isoc99_fwscanf.c): Likewise.
5725         (CFLAGS-isoc99_vwscanf.c): Likewise.
5726         (CFLAGS-isoc99_vfwscanf.c): Likewise.
5728         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
5729         after mkstemp64.
5730         * login/tst-utmp.c (do_prepare): Likewise.
5731         * rt/tst-aio.c (do_prepare): Likewise.
5732         * rt/tst-aio64.c (do_prepare): Likewise.
5734 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5736         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5737         (__lll_lock_elision): Remove adapt_count decrement...
5738         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5739         (__lll_trylock_elision): Likewise.
5740         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5741         (__lll_unlock_elision): ... to here. And utilize
5742         new adapt_count parameter.
5743         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
5744         (__lll_unlock_elision): Update to include adapt_count
5745         parameter.
5746         (lll_unlock_elision): Pass pointer to adapt_count
5747         variable.
5749 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5751         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
5752         Add elision adapt_count parameter to list of arguments.
5753         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
5754         (lll_unlock_elision): Update with new parameter list
5755         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
5756         (lll_unlock_elision): Likewise.
5757         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
5758         (lll_unlock_elision): Likewise.
5760 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5762         [BZ #19122]
5763         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
5764         attribute_hidden.
5766         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
5767         attribute_hidden.
5768         [IS_IN (rtld)] (__strdup): Likewise.
5769         [IS_IN (rtld)] (__strerror_r): Likewise.
5770         [IS_IN (rtld)] (__strsep_g): Likewise.
5771         [IS_IN (rtld)] (memchr): Likewise.
5772         [IS_IN (rtld)] (memcmp): Likewise.
5773         [IS_IN (rtld)] (memcpy): Likewise.
5774         [IS_IN (rtld)] (memmove): Likewise.
5775         [IS_IN (rtld)] (memset): Likewise.
5776         [IS_IN (rtld)] (rawmemchr): Likewise.
5777         [IS_IN (rtld)] (stpcpy): Likewise.
5778         [IS_IN (rtld)] (strchr): Likewise.
5779         [IS_IN (rtld)] (strcmp): Likewise.
5780         [IS_IN (rtld)] (strlen): Likewise.
5781         [IS_IN (rtld)] (strnlen): Likewise.
5782         [IS_IN (rtld)] (strsep): Likewise.
5784         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
5785         attribute_hidden.
5786         [IS_IN (rtld)] (__strtoul_internal): Likewise.
5788         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
5789         attribute_hidden.
5790         [IS_IN (rtld)] (__libc_sigaction): Likewise.
5792         * include/setjmp.h (__longjmp): Add attribute_hidden.
5793         [IS_IN (rtld)] (__sigsetjmp): Likewise.
5795         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
5796         Add attribute_hidden.
5798         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
5799         [IS_IN (rtld)] (__open): Likewise.
5800         [IS_IN (rtld)] (__fcntl): Likewise.
5802         * include/dirent.h (__opendirat): Add attribute_hidden.
5803         (__getdents): Likewise.
5804         (__getdents64): Likewise.
5805         (__alloc_dir): Likewise.
5806         [IS_IN (rtld)] (__closedir): Likewise.
5807         [IS_IN (rtld)] (__fdopendir): Likewise.
5808         [IS_IN (rtld)] (__readdir): Likewise.
5809         [IS_IN (rtld)] (__readdir64): Likewise.
5810         [IS_IN (rtld)] (__rewinddir): Likewise.
5812         * include/dlfcn.h (_dl_catch_error): Moved to ...
5813         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
5814         attribute_hidden.
5816         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
5817         (_itoa_word): Likewise.
5819         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
5820         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
5821         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
5822         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
5823         (_dl_higher_prime_number): Likewise.
5824         (_dl_debug_printf_c): Likewise.
5825         (_dl_signal_cerror): Likewise.
5826         (_dl_receive_error): Likewise.
5827         (_dl_reloc_bad_type): Likewise.
5828         (_dl_resolve_conflicts): Likewise.
5829         (_dl_check_all_versions): Likewise.
5830         (_dl_check_map_versions): Likewise.
5831         (_dl_sort_fini): Likewise.
5832         (_dl_debug_initialize): Likewise.
5833         (_dl_init_paths): Likewise.
5834         (_dl_show_auxv): Likewise.
5835         (_dl_next_ld_env_entry): Likewise.
5836         (_dl_important_hwcaps): Likewise.
5837         (_dl_load_cache_lookup): Likewise.
5838         (_dl_update_slotinfo): Likewise.
5839         (_dl_show_scope): Likewise.
5841         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
5842         attribute_hidden.
5843         (_wordcopy_fwd_dest_aligned): Likewise.
5844         (_wordcopy_bwd_aligned): Likewise.
5845         (_wordcopy_bwd_dest_aligned): Likewise.
5847         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
5848         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
5849         Likewise.
5850         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
5851         Likewise.
5852         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
5854 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5856         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
5857         GCC 5 requirement.
5859 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
5861         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
5862         test.
5863         * sysdeps/i386/configure: Regenerated.
5864         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
5865         code unconditional.
5867         * configure.ac (libc_cv_asm_previous_directive): Remove configure
5868         test.
5869         (libc_cv_asm_popsection_directive): Likewise.
5870         * configure: Regenerated.
5871         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
5872         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
5873         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
5874         (__make_section_unallocated): Make definition unconditional.
5875         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
5876         Remove conditional definition.
5877         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
5878         (__make_section_unallocated): Likewise.
5880         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
5881         * configure: Regenerated.
5882         * config.make.in (static-libgcc): Remove variable.
5883         * Makerules (build-shlib-helper): Use -static-libgcc instead of
5884         $(static-libgcc).
5885         (build-module-helper): Likewise.
5887         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
5888         * configure: Regenerated.
5890 2015-10-15  Florian Weimer  <fweimer@redhat.com>
5892         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
5893         (struct char_buffer): New type.
5894         (char_buffer_start, char_buffer_size, char_buffer_error)
5895         (char_buffer_rewind, char_buffer_add): New functions.
5896         (ADDW): Remove macro, replaced by the char_buffer_add function.
5897         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
5898         of extend_alloca.  Make control flow more explicit.
5900 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5902         [BZ #19137]
5903         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
5904         Add -fomit-frame-pointer.
5905         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
5907 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5909         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
5910         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
5911         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
5912         only if !__GNUC_PREREQ (5,0).
5913         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
5914         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
5915         (INTERNAL_SYSCALL_NCS): Likewise.
5916         (LOADREGS_0): New macro for GCC 5.
5917         (ASMARGS_0): Likewise.
5918         (LOADREGS_1): Likewise.
5919         (ASMARGS_1): Likewise.
5920         (LOADREGS_2): Likewise.
5921         (ASMARGS_2): Likewise.
5922         (LOADREGS_3): Likewise.
5923         (ASMARGS_3): Likewise.
5924         (LOADREGS_4): Likewise.
5925         (ASMARGS_4): Likewise.
5926         (LOADREGS_5): Likewise.
5927         (ASMARGS_5): Likewise.
5928         (LOADREGS_6): Likewise.
5929         (ASMARGS_6): Likewise.
5931 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5933         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
5934         -fomit-frame-pointer.
5935         (CFLAGS-mmap64.c): Likewise.
5936         (CFLAGS-semtimedop.c): Likewise.
5937         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
5938         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
5939         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5940         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5942 2015-10-15  Florian Weimer  <fweimer@redhat.com>
5944         [BZ #18928]
5945         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
5946         _dl_pointer_guard member.
5947         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
5948         initializer.
5949         (security_init): Always set up pointer guard.
5950         (process_envvars): Do not process LD_POINTER_GUARD.
5952 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
5954         [BZ #19134]
5955         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
5956         (.LC2): Likewise.
5957         (.LC3): Likewise.
5958         (__lround): Do not add 0.5 to integer or out-of-range arguments.
5960 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5962         [BZ #19129]
5963         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
5964         r0 and r1.
5966 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
5968         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
5970 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
5972         * include/stap-probe.h: Fix macro definition formatting.
5974 2015-10-14  Florian Weimer  <fweimer@redhat.com>
5976         [BZ #19074]
5977         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
5978         load and store num_ifs.
5980 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5982         [BZ #18822]
5983         * sysdeps/unix/sysv/linux/sched_getaffinity.c
5984         (__sched_getaffinity_new): Add libc_hidden_proto and
5985         libc_hidden_def.
5987 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5989         [BZ #19007]
5990         * scripts/localplt.awk: Also allow GOT references.
5991         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
5992         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
5993         with "+ REL R_386_GLOB_DAT".
5994         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
5995         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
5997 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5999         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
6000         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6001         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
6002         Likewise.
6003         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
6004         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
6005         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6006         INTERNAL_SYSCALLINTERNAL_SYSCALL and
6007         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6008         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6009         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6010         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6011         Likewise.
6012         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6014 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
6016         [BZ #19125]
6017         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
6018         <math_private.h> and <stdint.h>.
6019         (__llround): Avoid conversions to and from long long int, and
6020         subtractions, where those might raise spurious exceptions.
6021         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
6022         <math_private.h> and <stdint.h>.
6023         (__llroundf): Avoid conversions to and from long long int, and
6024         subtractions, where those might raise spurious exceptions.
6026 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6028         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
6029         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6030         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6031         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
6032         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6033         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6034         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
6035         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
6036         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
6037         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6038         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6039         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6040         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
6041         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6042         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6043         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
6044         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
6045         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6046         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
6047         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
6048         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6049         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
6050         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
6051         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6052         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
6053         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6054         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
6055         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6056         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6057         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
6058         (__xstat64_conv): Likewise.
6059         (__xstat32_conv): Likewise.
6061 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6063         * sysdeps/unix/sysv/linux/sysdep.h: New file.
6064         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
6065         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
6066         <sysdeps/unix/sysv/linux/sysdep.h>.
6067         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6068         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
6069         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
6070         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6071         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6072         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
6073         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
6074         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6075         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6078         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6079         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6080         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6081         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6082         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6083         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
6084         (sysdep-dl-routines): Add sysdep.
6085         [$(subdir) == nptl] (libpthread-routines): Likewise.
6086         [$(subdir) == rt] (librt-routines): Likewise.
6087         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
6088         PIC when branching to SYSCALL_ERROR_LABEL.
6089         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
6090         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
6091         <sysdeps/unix/sysv/linux/sysdep.h>.
6092         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
6093         (SYSCALL_ERROR_ERRNO): Removed.
6094         (SYSCALL_ERROR_HANDLER): Changed to empty.
6095         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
6096         (__syscall_error): New prototype.
6097         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
6098         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
6100 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6102         [BZ #19124]
6103         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
6104         (_dl_runtime_resolve_avx512): Make it a hidden alias of
6105         _dl_runtime_resolve_avx.
6106         (_dl_runtime_profile_avx512): Make it a hidden alias of
6107         _dl_runtime_profile_avx.
6109 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
6111         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
6112         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
6113         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
6114         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
6116         [BZ #16422]
6117         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
6118         New configure test.
6119         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
6120         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
6121         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
6122         <math_private.h> and <stdint.h>.
6123         (__llrint): Avoid conversions to long long int where those might
6124         raise spurious exceptions.
6125         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
6126         <math_private.h> and <stdint.h>.
6127         (__llrintf): Avoid conversions to long long int where those might
6128         raise spurious exceptions.
6130 2015-10-12  Andreas Schwab  <schwab@suse.de>
6132         [BZ #18969]
6133         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
6134         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
6135         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
6136         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
6137         $(gen-locales).
6138         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
6139         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
6140         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
6141         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
6142         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
6143         $(gen-locales).
6144         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
6145         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
6146         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
6147         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
6148         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
6149         ($(objpfx)tst-ftell-active-handler.out)
6150         ($(objpfx)tst-ftell-append.out)
6151         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
6152         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
6153         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
6154         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
6155         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
6156         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
6157         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
6158         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
6159         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
6160         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
6161         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
6162         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
6163         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
6164         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
6165         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
6166         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
6167         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
6168         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
6169         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
6170         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
6171         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
6172         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
6173         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
6174         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
6175         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
6176         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
6177         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
6178         $(gen-locales).
6179         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
6180         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
6181         $(gen-locales).
6182         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
6183         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
6184         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
6185         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
6186         $(gen-locales).
6187         * libio/tst_wprintf2.c (main): Use explicit locale.
6188         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
6190 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6192         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
6193         __msg_sig_post.
6194         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
6196 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
6198         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6199         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6201         * sysdeps/arm/libm-test-ulps: Regenerated.
6203         [BZ #15470]
6204         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
6206         [BZ #16399]
6207         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
6208         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
6209         and <fix-fp-int-convert-overflow.h>.
6210         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6211         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6212         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
6213         and <fix-fp-int-convert-overflow.h>.
6214         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
6215         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6216         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
6217         <fix-fp-int-convert-overflow.h>.
6218         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6219         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6220         * sysdeps/ieee754/dbl-64/s_lround.c: Include
6221         <fix-fp-int-convert-overflow.h>.
6222         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
6223         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6224         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
6225         and <fix-fp-int-convert-overflow.h>.
6226         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6227         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6228         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
6229         <limits.h> and <fix-fp-int-convert-overflow.h>.
6230         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6231         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6232         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
6233         and <fix-fp-int-convert-overflow.h>.
6234         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6235         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6236         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
6237         and <fix-fp-int-convert-overflow.h>.
6238         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6239         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6240         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
6242 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
6244         [BZ #18589]
6245         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
6246         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
6247         $(gen-locales).
6249 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6250             Phil Blundell <pb@pbcl.net>
6252         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
6253         * nptl/tst-cancel26.c: New file.
6254         * nptl/tst-cancel27.c: Likewise.
6256 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
6258         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
6259         __ILP32__ isn't defined.
6260         (lrint): Likewise.
6261         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
6262         (lrintf): Likewise.
6263         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
6264         (lrintl): Likewise.
6265         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
6266         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
6267         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
6269 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6271         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6272         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6274         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
6275         file.
6276         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
6277         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6279 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
6281         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
6282         configure test.
6283         * sysdeps/i386/configure: Regenerated.
6284         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
6285         configure test.
6286         * sysdeps/x86_64/configure: Regenerated.
6287         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
6288         Make code unconditional.
6290         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
6291         test.
6292         * sysdeps/i386/configure: Regenerated.
6293         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
6294         test.
6295         * sysdeps/x86_64/configure: Regenerated.
6296         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
6297         Make code unconditional.
6298         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6299         Likewise.
6300         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
6301         Likewise.
6302         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6303         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
6304         code unconditional.
6305         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6306         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
6307         code unconditional.
6308         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6309         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
6310         code unconditional.
6311         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
6312         code unconditional.
6313         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6314         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
6315         code unconditional.
6316         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6317         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
6318         code unconditional.
6319         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6320         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
6321         code unconditional.
6322         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6323         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
6324         code unconditional.
6325         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6326         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
6328         [BZ #19095]
6329         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
6330         mantissa to long int before shifting left.
6332 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6334         [BZ #19094]
6335         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
6336         <limits.h>.
6337         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6338         when result overflows but exception would not result from cast.
6339         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
6340         <limits.h>.
6341         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6342         when result overflows but exception would not result from cast.
6343         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
6344         <limits.h>.
6345         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6346         when result overflows but exception would not result from cast.
6347         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
6348         <limits.h>.
6349         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6350         when result overflows but exception would not result from cast.
6351         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
6352         <limits.h>.
6353         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6354         when result overflows but exception would not result from cast.
6355         * math/libm-test.inc (lrint_test_data): Add more tests.
6356         (llrint_test_data): Likewise.
6358 2015-10-08  Roland McGrath  <roland@hack.frob.com>
6360         [BZ #18872]
6361         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
6362         Move out from under [$(run-built-tests) = yes] conditional.
6363         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
6364         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
6366 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
6368         [BZ #18589]
6369         * string/Makefile (tests): Add bug-strcoll2.
6370         (LOCALES): Add cs_CZ.UTF-8.
6371         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
6373         [BZ #18589]
6374         * string/bug-strcoll2.c: New file.
6375         * locale/categories.def: Revert commit
6376         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
6377         * locale/langinfo.h: Likewise.
6378         * locale/localeinfo.h: Likewise.
6379         * locale/C-collate.c: Likewise.
6380         * locale/programs/ld-collate.c (collate_output): Likewise.
6381         * string/strcoll_l.c (STRDIFF): Likewise.
6382         (STRCOLL): Likewise.
6383         * wcsmbs/wcscoll_l.c: Likewise.
6385 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6387         * math/libm-test.inc (lround_test_data): Do not expect the absence
6388         of "inexact" for some tests with non-integer arguments.
6389         (llround_test_data): Likewise.
6391         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
6392         test.
6393         (libc_cv_cc_sse2avx): Likewise.
6394         * sysdeps/i386/configure: Regenerated.
6395         * sysdeps/i386/i686/multiarch/Makefile
6396         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
6397         [$(subdir) = math].
6398         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
6399         code unconditional.
6400         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6401         Likewise.
6402         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
6403         Likewise.
6404         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6405         Likewise.
6406         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
6407         test.
6408         (libc_cv_cc_sse2avx): Likewise.
6409         * sysdeps/x86_64/configure: Regenerated.
6410         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
6411         unconditional.
6412         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
6413         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
6414         unconditional.
6415         (_dl_runtime_profile)
6416         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
6417         conditional code.
6418         * sysdeps/x86_64/fpu/multiarch/Makefile
6419         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
6420         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6421         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6422         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6423         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6424         * sysdeps/x86_64/fpu/multiarch/e_log.c
6425         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6426         * sysdeps/x86_64/fpu/multiarch/s_atan.c
6427         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6428         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6429         Likewise.
6430         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6431         Likewise.
6432         * sysdeps/x86_64/fpu/multiarch/s_sin.c
6433         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6434         * sysdeps/x86_64/fpu/multiarch/s_tan.c
6435         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6436         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
6437         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
6438         (HAVE_SSE2AVX_SUPPORT): Likewise.
6440 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
6442         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
6443         instead of #pragma optimize.
6445 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
6447         [BZ #17195]
6448         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
6449         as is similarly done in systrim and _int_free already.
6451 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6453         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
6455 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6457         [BZ #19088]
6458         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
6459         <limits.h>.
6460         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6461         overflows but exception would not result from cast.
6462         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
6463         and <limits.h>.
6464         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6465         overflows but exception would not result from cast.
6466         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
6467         <limits.h>.
6468         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6469         overflows but exception would not result from cast.
6470         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
6471         <limits.h>.
6472         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6473         overflows but exception would not result from cast.
6474         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
6475         <limits.h>.
6476         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6477         overflows but exception would not result from cast.
6478         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
6479         <limits.h>.
6480         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6481         overflows but exception would not result from cast.
6482         * math/libm-test.inc (lround_test_data): Add more tests.
6483         (llround_test_data): Likewise.
6485 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
6487         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
6488         (CFLAGS-ialloc.c): Ditto.
6489         (CFLAGS-scheck.c): Ditto.
6491 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
6493         [BZ #19086]
6494         * manual/filesys.texi (Storage Allocation): Fix argument order for
6495         posix_fallocate64.
6497 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6499         [BZ #19085]
6500         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
6501         exponent below 48 inside case for non-overflowing exponent.
6502         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
6504 2015-10-07  Florian Weimer  <fweimer@redhat.com>
6506         * iconvdata/cp737.h (from_idx): Add const.
6507         * iconvdata/cp775.h (from_idx): Likewise.
6509 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6511         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
6512         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
6513         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
6515         [BZ #19079]
6516         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
6517         file, conditioned on [!_LP64].
6518         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
6519         [!_LP64] (__lround): Do not define as function or alias.
6520         [!_LP64] (lround): Likewise.
6521         [!_LP64] (__lroundl): Likewise.
6522         [!_LP64] (lroundl): Likewise.
6523         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
6524         macro.
6525         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6526         Likewise.
6528 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
6530         * math/libm-test.inc (lrint_test_data): Add more tests.
6531         (llrint_test_data): Likewise.
6532         (lround_test_data): Likewise.
6533         (llround_test_data): Likewise.
6535         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
6536         (llrint_test_data): Add tests used for lrint.
6538         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
6539         test.
6540         * sysdeps/i386/configure: Regenerated.
6541         * sysdeps/i386/i686/multiarch/Makefile
6542         [$(config-cflags-sse4) = yes]: Make code unconditional.
6543         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6544         Likewise.
6545         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
6546         Likewise.
6547         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
6548         test.
6549         * sysdeps/x86_64/configure: Regenerated.
6550         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
6551         Make code unconditional.
6552         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6553         Likewise.
6554         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
6555         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
6557         * scripts/rpm2dynsym.sh: Remove file.
6559 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6561         * configure.ac (libc_cv_cxx_thread_local): Define.
6562         * configure: Regenerate.
6563         * config.make.in (have-cxx-thread_local): Define.
6564         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
6565         (LDLIBS-tst-thread_local1): Define.
6566         (tests): Add tst-thread_local1.
6567         [have-cxx-thread_local != yes] (tests-unsupported): Add
6568         tst-thread_local1.
6569         * nptl/tst-thread_local1.cc: New file.
6571 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
6573         [BZ #19078]
6574         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
6575         (u_thres): Likewise.
6576         (__expl): Determine whether to call __kernel_standard_l based on
6577         value of result, not argument.
6579         * math/libm-test.inc (scalb_test_data): Add more expectations for
6580         the "inexact" exception.
6582         [BZ #19077]
6583         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
6584         0.0L for argument 1.0L.
6586         [BZ #19076]
6587         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
6588         constant 0.0L when computing infinite result.
6590 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6592         [BZ #10432]
6593         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
6594         malloc_usable_size.
6596 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6598         [BZ #19018]
6599         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6600         Mangle function pointer before storing it.
6601         (__call_tls_dtors): Demangle function pointer before calling it.
6603 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6605         [BZ #19012]
6606         * iconv/gconv_db.c (gen_steps): Check for additional errors.
6607         Clean up on failure.
6609 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
6611         [BZ #19071]
6612         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
6613         long int variable to store possibly incremented high part of
6614         mantissa.
6615         * math/libm-test.inc (lround_test_data): Add tests used for
6616         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
6617         for tests requiring 64-bit long.  Do not condition tests on
6618         [TEST_FLOAT] unnecessarily.
6619         (llround_test_data): Add tests used for lround.  Add another
6620         expectation for the "inexact" exception.  Do not condition tests
6621         on [TEST_FLOAT] unnecessarily.
6623         [BZ #887]
6624         [BZ #19049]
6625         [BZ #19050]
6626         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
6627         * sysdeps/ieee754/dbl-64/e_log10.c: Include
6628         <fix-int-fp-convert-zero.h>.
6629         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6630         * sysdeps/ieee754/dbl-64/e_log2.c: Include
6631         <fix-int-fp-convert-zero.h>.
6632         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6633         * sysdeps/ieee754/dbl-64/s_erf.c: Include
6634         <fix-int-fp-convert-zero.h>.
6635         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6636         * sysdeps/ieee754/dbl-64/s_logb.c: Include
6637         <fix-int-fp-convert-zero.h>.
6638         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6639         * sysdeps/ieee754/flt-32/e_log10f.c: Include
6640         <fix-int-fp-convert-zero.h>.
6641         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6642         * sysdeps/ieee754/flt-32/e_log2f.c: Include
6643         <fix-int-fp-convert-zero.h>.
6644         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6645         * sysdeps/ieee754/flt-32/s_erff.c: Include
6646         <fix-int-fp-convert-zero.h>.
6647         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6648         * sysdeps/ieee754/flt-32/s_logbf.c: Include
6649         <fix-int-fp-convert-zero.h>.
6650         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6651         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
6652         <fix-int-fp-convert-zero.h>.
6653         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6654         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
6655         <fix-int-fp-convert-zero.h>.
6656         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6657         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
6658         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
6659         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
6660         file.
6661         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
6663 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6665         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6667 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
6669         [BZ #19059]
6670         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
6671         overflowing computation.
6672         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6673         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6674         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6675         Likewise.
6676         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6677         Likewise.
6678         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
6679         Likewise.
6680         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6681         Likewise.
6682         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6683         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6684         Likewise.
6685         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6686         Likewise.
6687         * math/libm-test.inc (nexttoward_test_data): Add more tests.
6689         * nss/rewrite_field.c (__nss_rewrite_field): Use
6690         internal_function.
6691         * nss/valid_field.c (__nss_valid_field): Likewise.
6692         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
6694 2015-10-02  Florian Weimer  <fweimer@redhat.com>
6696         [BZ #18724]
6697         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
6698         (__nss_invalid_field_characters, __nss_valid_field)
6699         (__nss_valid_list_field, __nss_rewrite_field): Declare.
6700         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
6701         tst-field.c: New file.
6702         * nss/Makefile (routines): Add valid_field, rewrite_field.
6703         (tests-static): Define unconditionally.
6704         (tests): Include tests-static.
6705         [build-static-nss] (tests-static): Use append.
6706         [build-static-nss] (tests): Remove modification.
6707         * nss/getent.c (print_group): Call putgrent.  Report error.
6708         (print_gshadow): Call putsgent.  Report error.
6709         (print_passwd): Call putpwent.  Report error.
6710         (print_shadow): Call putspent.  Report error.
6711         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
6712         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
6713         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
6714         name, password, directory, shell fields for valid syntax.  Rewrite
6715         GECOS field to match syntax.
6716         * pwd/Makefile (tests): Add tst-putpwent.
6717         * pwd/tst-putpwent.c: New file.
6718         * grp/putgrent.c (putgrent): Convert to ISO function definition.
6719         Check grName, grpasswd, gr_mem fields for valid syntax.
6720         Change loop variable i to size_t.
6721         * grp/Makefile (tests): Add tst-putgrent.
6722         * grp/tst-putgrent.c: New file.
6723         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
6724         valid syntax.
6725         * shadow/Makefile (tests): Add tst-putspent.
6726         * shadow/tst-putspent.c: New file.
6727         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
6728         sg_mem fields for valid syntax.
6729         * gshadow/Makefile (tests): Add tst-putsgent.
6730         * gshadow/tst-putsgent.c: New file.
6732 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6734         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
6735         assembly instructions.
6737 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6739         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
6740         prefix from operands.
6742 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
6744         [BZ #16347]
6745         [BZ #19046]
6746         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
6747         <libc-internal.h>.
6748         (MAXLGM): Do not use diagnostic control macros.
6749         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
6750         threshold for ldbl-128ibm.
6751         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
6752         instead of multiplying by log then subtracting.
6753         * math/auto-libm-test-in: Add more tests of lgamma.
6754         * math/auto-libm-test-out: Regenerated.
6756         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
6757         (TYPE_HEX_DIG): Likewise.
6758         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
6759         precisions when printing floating-point numbers.
6760         (check_float_internal): Likewise.
6762 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
6764         [BZ #16620]
6765         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
6766         of log (10) rounded downward to 48 bits.
6767         (log10_low): Use corresponding low part of log (10).
6769         [BZ #19032]
6770         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
6771         compute result as (x - x) / (x - x) not as 0 / 0.
6772         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6773         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
6775         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6776         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
6777         and expm1.
6778         * math/auto-libm-test-out: Regenerated.
6779         * math/libm-test.inc (acos_test_data): Add more tests.
6780         (asin_test_data): Likewise.
6781         (asinh_test_data): Likewise.
6782         (atan_test_data): Likewise.
6783         (atanh_test_data): Likewise.
6784         (atan2_test_data): Likewise.
6785         (cbrt_test_data): Likewise.
6786         (ceil_test_data): Likewise.
6787         (copysign_test_data): Likewise.
6788         (cos_test_data): Likewise.
6789         (cosh_test_data): Likewise.
6790         (erf_test_data): Likewise.
6791         (erfc_test_data): Likewise.
6792         (exp_test_data): Likewise.
6793         (exp10_test_data): Likewise.
6794         (exp2_test_data): Likewise.
6795         (expm1_test_data): Likewise.
6796         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6798 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
6800         [BZ #19006]
6801         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
6802         to ...
6803         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
6804         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
6805         to ...
6806         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
6807         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
6808         to ...
6809         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
6810         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
6811         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
6812         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
6813         to ...
6814         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
6815         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6816         Moved to ...
6817         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
6818         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6819         Moved to ...
6820         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
6821         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
6822         to ...
6823         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
6824         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6825         Moved to ...
6826         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
6827         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
6828         to ...
6829         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
6830         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
6831         Removed.
6832         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
6833         Likewise.
6834         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
6835         Likewise.
6836         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
6837         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
6838         Likewise.
6839         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6840         Likewise.
6841         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6842         Likewise.
6843         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6844         Likewise.
6845         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6846         Likewise.
6847         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
6848         Likewise.
6849         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
6850         Likewise.
6851         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
6852         Likewise.
6853         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
6854         Likewise.
6855         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
6856         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
6857         Likewise.
6858         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6859         Likewise.
6860         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6861         Likewise.
6862         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6863         Likewise.
6864         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
6865         Likewise.
6866         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6867         Replace ../i486/pthread_cond_timedwait.S with
6868         ../pthread_cond_timedwait.S.
6870 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
6872         * math/libm-test.inc (acos_test_data): Refine expectations for
6873         errno and "inexact" exceptions.
6874         (acosh_test_data): Likewise.
6875         (asin_test_data): Likewise.
6876         (asinh_test_data): Likewise.
6877         (atan_test_data): Likewise.
6878         (atanh_test_data): Likewise.
6879         (atan2_test_data): Likewise.
6880         (cbrt_test_data): Likewise.
6881         (ceil_test_data): Likewise.
6882         (copysign_test_data): Likewise.
6883         (cosh_test_data): Likewise.
6884         (erf_test_data): Likewise.
6885         (erfc_test_data): Likewise.
6886         (exp_test_data): Likewise.
6887         (exp10_test_data): Likewise.
6888         (exp2_test_data): Likewise.
6889         (expm1_test_data): Likewise.
6890         (fabs_test_data): Likewise.
6891         (floor_test_data): Likewise.
6892         (fma_test_data): Likewise.
6893         (fmax_test_data): Likewise.
6894         (fmin_test_data): Likewise.
6895         (fmod_test_data): Likewise.
6896         (fpclassify_test_data): Likewise.
6897         (frexp_test_data): Likewise.
6898         (hypot_test_data): Likewise.
6899         (ilogb_test_data): Likewise.
6900         (isgreater_test_data): Likewise.
6901         (isgreaterequal_test_data): Likewise.
6902         (isinf_test_data): Likewise.
6903         (isless_test_data): Likewise.
6904         (islessequal_test_data): Likewise.
6905         (islessgreater_test_data): Likewise.
6906         (isnan_test_data): Likewise.
6907         (isnormal_test_data): Likewise.
6908         (issignaling_test_data): Likewise.
6909         (isunordered_test_data): Likewise.
6910         (j0_test_data): Likewise.
6911         (j1_test_data): Likewise.
6912         (jn_test_data): Likewise.
6913         (lgamma_test_data): Likewise.
6914         (lrint_test_data): Likewise.
6915         (llrint_test_data): Likewise.
6916         (log_test_data): Likewise.
6917         (log10_test_data): Likewise.
6918         (log1p_test_data): Likewise.
6919         (log2_test_data): Likewise.
6920         (logb_test_data): Likewise.
6921         (lround_test_data): Likewise.
6922         (llround_test_data): Likewise.
6923         (modf_test_data): Likewise.
6924         (nearbyint_test_data): Likewise.
6925         (nextafter_test_data): Likewise.
6926         (nexttoward_test_data): Likewise.
6927         (pow_test_data): Likewise.
6928         (remainder_test_data): Likewise.
6929         (remquo_test_data): Likewise.
6930         (rint_test_data): Likewise.
6931         (round_test_data): Likewise.
6932         (signbit_test_data): Likewise.
6933         (sinh_test_data): Likewise.
6934         (sqrt_test_data): Likewise.
6935         (tanh_test_data): Likewise.
6936         (tgamma_test_data): Likewise.
6937         (trunc_test_data): Likewise.
6938         (y0_test_data): Likewise.
6939         (y1_test_data): Likewise.
6940         (yn_test_data): Likewise.
6941         (significand_test_data): Likewise.
6943 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
6945         * manual/filesys.texi (Storage Allocation): Document that
6946         posix_fallocate emulation fails when fd is open with O_WRONLY.
6948 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
6950         [BZ #19016]
6951         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
6952         allow more cases with X^2 + Y^2 >= 0.5.
6953         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
6954         normal element in sum instead of special-casing based on values of
6955         arguments.
6956         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
6957         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
6958         -1 as normal element in sum instead of special-casing based on
6959         values of arguments.
6960         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
6961         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
6962         (__x2y2m1): Update comment.
6963         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
6964         as normal element in sum instead of special-casing based on values
6965         of arguments.
6966         * math/s_clog.c (__clog): Handle more cases using log1p without
6967         hypot.
6968         * math/s_clog10.c (__clog10): Likewise.
6969         * math/s_clog10f.c (__clog10f): Likewise.
6970         * math/s_clog10l.c (__clog10l): Likewise.
6971         * math/s_clogf.c (__clogf): Likewise.
6972         * math/s_clogl.c (__clogl): Likewise.
6973         * math/auto-libm-test-in: Add more tests of clog and clog10.
6974         * math/auto-libm-test-out: Regenerated.
6975         * sysdeps/i386/fpu/libm-test-ulps: Update.
6976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6978 2015-09-28  Martin Sebor  <msebor@redhat.com>
6980         [BZ #18969]
6981         * string/Makefile (LOCALES): Define.
6982         (gen-locales.mk): Include.
6983         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
6984         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
6985         * string/tst-strxfrm2.c (do_test): Print the name of the locale
6986         on setlocale failure.
6988 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6990         [BZ #18985]
6991         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
6992         (__strftime_internal): Likewise.
6993         * time/tst-strftime.c (do_bz18985): New test.
6994         (do_test): Call it.
6996 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
6998         [BZ #18956]
6999         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
7000         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
7001         extracting high part.
7002         * math/auto-libm-test-in: Add another test of pow.
7003         * math/auto-libm-test-out: Regenerated.
7004         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7006 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
7008         [BZ #18825]
7009         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
7010         New macro.
7011         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
7012         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7013         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
7014         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
7015         DBL_NARROW_EVAL, reloading the PIC register as needed.
7016         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
7017         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
7018         FLT_NARROW_EVAL.  Use separate return path for case when first
7019         argument is NaN.
7020         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
7021         DEFINE_LDBL_MIN.
7022         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
7023         PIC register.
7024         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
7025         math_check_force_underflow_nonneg.
7026         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
7027         underflow for subnormal result.
7028         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7029         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
7030         math_check_force_underflow_nonneg.
7031         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
7032         math_check_force_underflow.
7033         * sysdeps/x86_64/fpu/x86_64-math-asm.h
7034         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
7035         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
7036         DEFINE_LDBL_MIN.
7037         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
7038         * math/auto-libm-test-in: Add more tests of pow.
7039         * math/auto-libm-test-out: Regenerated.
7041 2015-09-25  Florian Weimer  <fweimer@redhat.com>
7043         * nss/bug17079.c (init_test_items): Add diagnostic for
7044         inconsistent entries.
7045         (test_buffer_size): Skip inconsistent entries.
7047 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
7049         [BZ #13304]
7050         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
7051         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
7052         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
7054         [BZ #13304]
7055         * sysdeps/microblaze/s_fma.c: New file.
7056         * sysdeps/microblaze/s_fmaf.c: Likewise.
7057         * sysdeps/microblaze/sfp-machine.h: Likewise.
7059 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
7061         [BZ #17250]
7062         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
7063         member.
7065 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
7067         [BZ #18803]
7068         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
7069         (MO): New macro.
7070         (__ieee754_hypot) [PIC]: Load PIC register.
7071         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
7072         DBL_NARROW_EVAL.
7073         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
7074         math_check_force_underflow_nonneg in case where result might be
7075         tiny.
7076         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7077         Likewise.
7078         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7079         Likewise.
7080         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7081         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
7082         * math/auto-libm-test-in: Add more tests of hypot.
7083         * math/auto-libm-test-out: Regenerated.
7085 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
7087         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
7089 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
7091         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
7092         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
7093         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7094         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7095         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
7096         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7097         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7099         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
7100         LOAD_PIC_REG.
7102         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
7103         (FLT_CHECK_FORCE_UFLOW): Likewise.
7104         (DBL_CHECK_FORCE_UFLOW): Likewise.
7105         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
7106         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
7107         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
7108         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7109         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7110         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7111         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7112         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7113         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
7114         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7115         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
7116         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
7117         (flt_min): Replace with use of DEFINE_FLT_MIN.
7118         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
7119         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
7120         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7121         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
7122         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
7123         (flt_min): Replace with use of DEFINE_FLT_MIN.
7124         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
7125         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
7126         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7127         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
7128         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
7129         (flt_min): Replace with use of DEFINE_FLT_MIN.
7130         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
7131         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
7132         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7133         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7134         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
7135         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7136         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7137         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
7138         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7139         (__atan): Use DBL_CHECK_FORCE_UFLOW.
7140         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
7141         (flt_min): Replace with use of DEFINE_FLT_MIN.
7142         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
7143         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
7144         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7145         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
7146         main computation.
7147         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
7148         (flt_min): Replace with use of DEFINE_FLT_MIN.
7149         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
7150         main computation.
7151         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
7152         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7153         (MO): New macro.
7154         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
7155         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
7156         (flt_min): Replace with use of DEFINE_FLT_MIN.
7157         (MO): New macro.
7158         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
7159         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
7160         (__log1pl): Use MO.
7162         [BZ #19003]
7163         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
7164         $(config-cflags-nofma).
7166 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7168         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7170 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
7172         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
7173         (TWO127): Likewise.
7175         * sysdeps/generic/math_private.h (fabs_tg): New macro.
7176         (min_of_type): Likewise.
7177         (math_check_force_underflow): Likewise.
7178         (math_check_force_underflow_nonneg): Likewise.
7179         (math_check_force_underflow_complex): Likewise.
7180         * math/e_exp2l.c (__ieee754_exp2l): Use
7181         math_check_force_underflow_nonneg.
7182         * math/k_casinh.c (__kernel_casinh): Likewise.
7183         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7184         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7185         * math/s_catan.c (__catan): Use
7186         math_check_force_underflow_complex.
7187         * math/s_catanf.c (__catanf): Likewise.
7188         * math/s_catanh.c (__catanh): Likewise.
7189         * math/s_catanhf.c (__catanhf): Likewise.
7190         * math/s_catanhl.c (__catanhl): Likewise.
7191         * math/s_catanl.c (__catanl): Likewise.
7192         * math/s_ccosh.c (__ccosh): Likewise.
7193         * math/s_ccoshf.c (__ccoshf): Likewise.
7194         * math/s_ccoshl.c (__ccoshl): Likewise.
7195         * math/s_cexp.c (__cexp): Likewise.
7196         * math/s_cexpf.c (__cexpf): Likewise.
7197         * math/s_cexpl.c (__cexpl): Likewise.
7198         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
7199         * math/s_clog10.c (__clog10): Likewise.
7200         * math/s_clog10f.c (__clog10f): Likewise.
7201         * math/s_clog10l.c (__clog10l): Likewise.
7202         * math/s_clogf.c (__clogf): Likewise.
7203         * math/s_clogl.c (__clogl): Likewise.
7204         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
7205         * math/s_csinf.c (__csinf): Likewise.
7206         * math/s_csinh.c (__csinh): Likewise.
7207         * math/s_csinhf.c (__csinhf): Likewise.
7208         * math/s_csinhl.c (__csinhl): Likewise.
7209         * math/s_csinl.c (__csinl): Likewise.
7210         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
7211         * math/s_csqrtf.c (__csqrtf): Likewise.
7212         * math/s_csqrtl.c (__csqrtl): Likewise.
7213         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
7214         * math/s_ctanf.c (__ctanf): Likewise.
7215         * math/s_ctanh.c (__ctanh): Likewise.
7216         * math/s_ctanhf.c (__ctanhf): Likewise.
7217         * math/s_ctanhl.c (__ctanhl): Likewise.
7218         * math/s_ctanl.c (__ctanl): Likewise.
7219         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
7220         instead of volatile.
7221         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
7222         math_check_force_underflow.
7223         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7224         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
7225         volatile when forcing underflow.
7226         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7227         math_check_force_underflow_nonneg.
7228         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7229         Likewise.
7230         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
7231         math_check_force_underflow.
7232         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7233         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7234         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7235         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
7236         math_check_force_underflow_nonneg.
7237         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
7238         math_check_force_underflow.
7239         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
7240         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
7241         instead of volatile.
7242         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
7243         math_check_force_underflow.
7244         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7245         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7246         math_check_force_underflow_nonneg.
7247         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
7248         math_check_force_underflow.
7249         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
7250         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7251         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
7252         math_check_force_underflow_nonneg.
7253         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7254         Likewise.
7255         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
7256         math_check_force_underflow.
7257         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7258         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7259         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7260         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
7261         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7262         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
7263         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
7264         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
7265         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7266         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
7267         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
7268         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
7269         Likewise.
7270         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
7271         math_check_force_underflow_nonneg.
7272         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7273         Likewise.
7274         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
7275         math_check_force_underflow.
7276         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7277         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
7278         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7279         Likewise.
7280         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
7281         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
7282         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
7283         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
7284         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
7285         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7286         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
7287         instead of volatile.
7288         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
7289         math_check_force_underflow.
7290         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
7291         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
7292         math_check_force_underflow.
7293         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
7294         Likewise.
7295         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7296         Use math_check_force_underflow_nonneg.
7297         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
7298         math_check_force_underflow.
7299         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7300         Likewise.
7301         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7302         Likewise.
7303         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7304         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7305         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7306         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7307         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
7308         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7309         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
7310         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
7311         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
7312         math_check_force_underflow_nonneg.
7313         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
7314         math_check_force_underflow.
7315         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7316         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
7317         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
7318         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
7319         math_check_force_underflow_nonneg.
7320         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
7321         math_check_force_underflow.
7322         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
7323         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
7324         instead of volatile.
7325         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
7326         math_check_force_underflow.
7328         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
7329         * stdlib/strtod_l.c: Include <math_private.h>.
7330         (overflow_value): Use math_narrow_eval.
7331         (underflow_value): Likewise.
7332         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7333         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7334         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
7335         (__ieee754_gamma_r): Likewise.
7336         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
7337         Likewise.
7338         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7339         Likewise.
7340         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7341         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
7342         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7343         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7344         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7345         (__ieee754_gammaf_r): Likewise.
7346         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7347         Likewise.
7348         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7349         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
7350         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
7351         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
7352         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
7353         volatile.
7354         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
7355         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
7356         math_narrow_eval.
7357         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7358         Likewise.
7359         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7360         Likewise.
7361         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
7362         Likewise.
7363         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
7364         volatile.
7365         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
7366         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
7367         math_narrow_eval.
7368         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7369         Likewise.
7370         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7371         Likewise.
7373 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
7375         * nptl/Versions: Remove ignored symbols.
7377 2015-09-22  Florian Weimer  <fweimer@redhat.com>
7379         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
7380         * nss/Makefile (tests): Update.
7382 2015-09-22  Florian Weimer  <fweimer@redhat.com>
7384         * nss/bug18287.c: New file.
7385         * nss/Makefile (tests): Add bug18287.
7387 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7389         * mach/Versions (__mach_host_self_): Add symbol.
7391 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7393         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
7394         vm_page_size.
7396 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7398         Really fix sysdeps/i386/fpu/s_scalbn.S build
7400         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
7401         (libc: GLIBC_2_22): Remove unused version set.
7403 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
7405         * config.make.in (enable-timezone-tools): New variable.
7406         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
7407         (enable_timezone_tools): Export to generated files.
7408         * configure: Regenerate.
7409         * INSTALL: Regenerate.
7410         * manual/install.texi (--disable-timezone-tools): Document new flag.
7411         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
7412         ifeq ($(enable-timezone-tools),yes) check.
7414 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7416         * timezone/Makefile: Revert previous change.
7418         [BZ #18980]
7419         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
7420         (DEFINE_DBL_MIN): Likewise.
7421         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7422         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7423         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7424         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7425         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
7426         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7427         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7428         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
7429         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
7430         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7431         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7432         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
7433         (flt_min): Replace with use of DEFINE_FLT_MIN.
7434         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7435         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
7436         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7437         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7438         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
7439         (flt_min): Replace with use of DEFINE_FLT_MIN.
7440         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7441         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
7442         (flt_min): Replace with use of DEFINE_FLT_MIN.
7443         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7444         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
7445         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
7446         (__ieee754_hypot): Use DBL_NARROW_EVAL.
7447         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
7448         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
7449         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
7450         (__ieee754_pow): Use DBL_NARROW_EVAL.
7451         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
7452         (__ieee754_powf): Use FLT_NARROW_EVAL.
7453         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
7454         (__ieee754_expf_sse2): Convert double-precision result to single
7455         precision.
7456         * sysdeps/i386/fpu/libm-test-ulps: Update.
7458 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7460         * timezone/Makefile: Ignore unused variable errors due to private.h
7461         (time_t_min) and (time_t_max).
7462         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
7463         Likewise.
7465 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7467         [BZ #18981]
7468         * sysdeps/i386/fpu/i386-math-asm.h: New file.
7469         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
7470         (__ieee754_scalb): Use DBL_NARROW_EVAL.
7471         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
7472         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
7473         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
7474         (__scalbn): Use DBL_NARROW_EVAL.
7475         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
7476         (__scalbnf): Use FLT_NARROW_EVAL.
7478 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7480         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
7481         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
7482         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
7483         * stdio-common/printf_fp.c (___printf_fp):
7484         Use signbit to get the sign. Use isinf macro to allow inlining.
7485         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
7486         * stdio-common/printf_size.c (__printf_size): Likewise.
7488 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
7490         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
7492 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7494         [BZ #18980]
7495         * sysdeps/generic/math_private.h: Include <float.h>.
7496         (math_narrow_eval): New macro.
7497         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
7498         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
7499         math_narrow_eval on overflowing return value.
7500         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
7501         Likewise.
7502         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7503         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
7504         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
7505         Likewise.
7506         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7508 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7510         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
7511         * math/Makefile: Remove isinf_ns.c.
7512         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
7513         * math/multc3.c (__multc3): Likewise.
7514         * math/s_casin.c (__casin): Likewise.
7515         * math/s_casinf.c (__casinf): Likewise.
7516         * math/s_casinl.c (__casinl): Likewise.
7517         * math/s_cproj.c (__cproj): Likewise.
7518         * math/s_cprojf.c (__cprojf): Likewise.
7519         * math/s_cprojl.c (__cprofl): Likewise.
7520         * math/s_ctan.c (__ctan): Likewise.
7521         * math/s_ctanf.c (__ctanf): Likewise.
7522         * math/s_ctanh.c (__ctanh): Likewise.
7523         * math/s_ctanhf.c (__ctanhf): Likewise.
7524         * math/s_ctanhl.c (__ctanhl): Likewise.
7525         * math/s_ctanl.c (__ctanl): Likewise.
7526         * math/w_fmod.c (__fmod): Likewise.
7527         * math/w_fmodf.c (__fmodf): Likewise.
7528         * math/w_fmodl.c (_fmodl): Likewise.
7529         * math/w_remainder.c (__remainder): Likewise.
7530         * math/w_remainderf.c (__remainderf): Likewise.
7531         * math/w_remainderl.c (__remainderl): Likewise.
7532         * math/w_scalb.c (__scalb): Likewise.
7533         * math/w_scalbf.c (__scalbf): Likewise.
7534         * math/w_scalbl.c (__scalbl): Likewise.
7535         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
7536         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
7537         with isinf.
7538         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
7539         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
7540         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
7541         __isinf_nsf with isinf.
7542         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
7543         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
7544         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
7545         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
7546         with isinf.
7547         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
7548         __isinf_nsl with isinf.
7549         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
7550         with isinf.
7551         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
7552         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
7553         __isinf_nsl with isinf.
7554         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
7555         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
7556         with isinf.
7558 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7560         * resolv/base64.c (rcsid): Remove unused static.
7561         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
7562         static.  (tqpi1): Likewise.
7563         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
7564         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
7565         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
7566         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
7567         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
7568         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
7569         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
7570         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
7571         Likewise.
7573 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
7575         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
7576         <nptl/pthreadP.h>.
7577         (_longjmp_unwind): Use __libc_ptf_call.
7578         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
7580 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
7582         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
7583         * sysdeps/arm/__longjmp.S: Likewise.
7585 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7587         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
7588         Use __builtin_signbit.
7589         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
7590         Use __builtin_signbitf.
7591         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
7592         Use __builtin_signbitl.
7593         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
7594         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
7596 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7598         [BZ #15367]
7599         [BZ #17441]
7601         * math/Makefile: Build test-snan.c with -fsignaling-nans.
7602         * math/math.h (fpclassify): Use __builtin_fpclassify when
7603         available.  (signbit): Use __builtin_signbit(f/l).
7604         (isfinite): Use__builtin_isfinite.  (isnormal): Use
7605         __builtin_isnormal.  (isnan): Use __builtin_isnan.
7606         (isinf): Use __builtin_isinf_sign.
7608 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7610         * benchtests/Makefile: Add bench-math-inlines, link with libm.
7611         * benchtests/bench-math-inlines.c: New benchmark.
7612         * benchtests/bench-util.h: New file.
7613         * benchtests/bench-util.c: New file.
7614         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
7616 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
7618         * elf/tst-dlmopen1.c: Define TEST_SO.
7619         (do_test): Use TEST_SO.
7621         * elf/dl-load.c: Include libc-internal.h.
7622         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
7624 2015-09-18  Vincent Bernat  <vincent@bernat.im>
7626         [BZ #17887]
7627         * time/strptime_l.c (__strptime_internal): Make %z accept
7628         [+-]HH:MM time zones.
7630 2015-09-18  Vincent Bernat  <vincent@bernat.im>
7632         [BZ #17886]
7633         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
7634         valid time zone.
7636 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
7638         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
7639         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
7640         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7641         (__ASSUME_FDATASYNC): Delete.
7643 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7645         * conform/linknamespace.pl: Require weak undefined symbols to be
7646         in the standard namespace.
7647         (%strong_syms): Rename to %seen_syms.
7648         (%strong_seen): Rename to %seen_where.
7650 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
7652         [BZ #18970]
7653         * misc/error.c (error): Replace pthread_setcancelstate with
7654         __pthread_setcancelstate.
7655         (error_at_line): Likewise.
7656         * posix/wordexp.c (parse_comm): Likewise.
7657         * stdlib/fmtmsg.c (fmtmsg): Likewise.
7658         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
7659         (__pthread_setcancelstate): This.
7660         (pthread_setcancelstate): Add an alias.
7661         * nptl/nptl-init.c (pthread_functions): Replace
7662         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
7663         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
7664         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
7665         hidden_proto.
7666         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
7667         it with hidden_def.
7668         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
7669         (pthread_setcancelstate): Renamed to ...
7670         (__pthread_setcancelstate): This.
7671         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
7672         __libc_ptf_call with __pthread_setcancelstate.
7674 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7675             Andreas Schwab  <schwab@suse.de>
7677         [BZ #17118]
7678         * math/s_ctan.c (__ctan): Determine sign of zero real part of
7679         result when imaginary part of argument is infinite using sine and
7680         cosine.
7681         * math/s_ctanf.c (__ctanf): Likewise.
7682         * math/s_ctanl.c (__ctanl): Likewise.
7683         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
7684         of result when real part of argument is infinite using sine and
7685         cosine.
7686         * math/s_ctanhf.c (__ctanhf): Likewise.
7687         * math/s_ctanhl.c (__ctanhl): Likewise.
7688         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
7689         (ctanh_test_data): Add more tests of ctanh.
7691 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7693         [BZ #15384]
7694         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
7695         bit-mask as in subtraction.
7696         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
7697         Likewise.
7698         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
7699         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
7700         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
7702         [BZ #18951]
7703         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
7704         underflow exception for small results.
7705         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7706         Likewise.
7707         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7708         Likewise.
7709         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7710         Likewise.
7711         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7712         Likewise.
7713         * math/auto-libm-test-in: Add more tests of tgamma.
7714         * math/auto-libm-test-out: Regenerated.
7716 2015-09-17  Andreas Schwab  <schwab@suse.de>
7718         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
7720 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
7722         [BZ #18977]
7723         * math/bits/mathcalls.h
7724         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
7725         not declare.
7726         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
7727         Likewise.
7728         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
7729         Likewise.
7730         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
7731         Likewise.
7732         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
7733         Likewise.
7734         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
7735         Likewise.
7736         * conform/data/math.h-data
7737         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
7738         function.
7739         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
7740         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
7741         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
7742         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
7743         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
7744         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
7745         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
7746         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
7747         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
7748         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
7749         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
7751         [BZ #6803]
7752         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
7753         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
7754         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
7755         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
7756         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
7757         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
7758         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
7759         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
7760         [NO_LONG_DOUBLE] (scalbnl): Likewise.
7761         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
7762         Likewise.
7763         [NO_LONG_DOUBLE] (scalbnl): Likewise.
7764         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
7765         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
7766         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
7767         long_double_symbol calls.
7768         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
7769         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
7770         strong alias of __ldexpl.
7771         (scalbnl): Define using long_double_symbol.
7772         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
7773         Remove alias.
7774         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
7775         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
7776         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
7777         (scalbln_test_data): Add more errno expectations.
7779 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
7781         Cache the host port like we cache the task port.  This way we do not
7782         need to call the kernel just to get the port.  Furthermore, we no
7783         longer increase the reference count on every invocation of
7784         `mach_host_self'.
7786         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
7787         Protect declarations against the macro expansion.
7788         * mach/mach_init.c (__mach_host_self_): New variable.
7789         (mach_init): Initialize `__mach_host_self_'.
7790         * mach/mach_init.h (__mach_host_self_): New declaration.
7791         (__mach_host_self, mach_host_self): New macros.
7792         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
7793         Release reference.
7795 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
7797         [BZ #4404]
7798         * po/de.po: Update from Translation Project.
7800         [BZ #16415]
7801         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
7802         (__expm1l): Remove code to handle positive infinity and overflow.
7803         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
7804         variable.
7805         (__expm1l): Remove code to handle positive infinity and overflow.
7807 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
7808             Paul Pluzhnikov  <ppluzhnikov@google.com>
7810         [BZ #18872]
7811         * stdio-common/Makefile (tst-printf-bz18872): New test.
7812         (tst-printf-bz18872-mem.out): Likewise.
7813         * stdio-common/tst-printf-bz18872.sh: Generate new test.
7814         * stdio-common/vfprintf.c: Fix memory leaks.
7816 2015-09-16  Andreas Schwab  <schwab@suse.de>
7818         [BZ #17244]
7819         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
7820         Remove extra va_start/va_end calls.
7822         [BZ #17243]
7823         * posix/execl.c (execl): Add missing va_end.
7824         * posix/execle.c (execle): Likewise.
7825         * posix/execlp.c (execlp): Likewise.
7827 2015-09-15  Roland McGrath  <roland@hack.frob.com>
7829         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
7830         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
7832 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
7834         [BZ #18967]
7835         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
7836         undefine around includes of <bits/mathcalls.h>.
7837         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
7838         not declare function.
7839         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
7840         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
7841         (scalb): Likewise.
7842         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
7843         not define macro.
7844         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
7845         variable.
7846         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7847         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7848         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7850         [BZ #18857]
7851         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
7852         return non-finite argument without doing ordered comparisons on
7853         it.
7855         [BZ #16296]
7856         * math/fenv.h (fegetround): Use __attribute_pure__.
7857         * include/fenv.h (__fegetround): Likewise.
7859         [BZ #18595]
7860         * math/s_ctan.c (__ctan): Force underflow exception for results
7861         whose real or imaginary part has small absolute value.
7862         * math/s_ctanf.c (__ctanf): Likewise.
7863         * math/s_ctanh.c (__ctanh): Likewise.
7864         * math/s_ctanhf.c (__ctanhf): Likewise.
7865         * math/s_ctanhl.c (__ctanhl): Likewise.
7866         * math/s_ctanl.c (__ctanl): Likewise.
7867         * math/auto-libm-test-in: Do not allow missing underflow for ctan
7868         and ctanh.  Add more tests of ctan and ctanh.
7870         [BZ #15918]
7871         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
7872         handling of cases where one argument is an infinity.
7874         [BZ #18875]
7875         [BZ #18966]
7876         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
7877         (MO): New macro.
7878         (__ieee754_exp10): For small results, force underflow exception
7879         and remove excess range and precision from return value.
7880         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
7881         (MO): New macro.
7882         (__ieee754_exp10f): For small results, force underflow exception
7883         and remove excess range and precision from return value.
7884         * math/auto-libm-test-in: Add more tests of exp10.
7885         * math/auto-libm-test-out: Regenerated.
7887 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
7889         [BZ #18875]
7890         [BZ #18961]
7891         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
7892         (MO): New macro.
7893         (__ieee754_exp): For small results, force underflow exception and
7894         remove excess range and precision from return value.
7895         (__exp_finite): Likewise.
7896         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
7897         (MO): New macro.
7898         (__ieee754_expf): For small results, force underflow exception and
7899         remove excess range and precision from return value.
7900         (__expf_finite): Likewise.
7901         * math/auto-libm-test-in: Add more tests of exp.
7902         * math/auto-libm-test-out: Regenerated.
7904         [BZ #16521]
7905         [BZ #18875]
7906         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
7907         small results.
7908         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
7909         (MO): New macro.
7910         (__ieee754_exp2): For small results, force underflow exception and
7911         remove excess range and precision from return value.
7912         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
7913         (MO): New macro.
7914         (__ieee754_exp2f): For small results, force underflow exception
7915         and remove excess range and precision from return value.
7916         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
7917         (MO): New macro.
7918         (__ieee754_exp2l): Force underflow exception for small results.
7919         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7920         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7921         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
7922         (MO): New macro.
7923         (__ieee754_exp2l): Force underflow exception for small results.
7924         * math/auto-libm-test-in: Add more tests or exp2.
7925         * math/auto-libm-test-out: Regenerated.
7927 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
7929         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
7931         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
7932         /dev/null.
7934 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7936         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7937         io fs process)): Drop spurious backslash.
7939 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7941         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
7942         Use sysinfo system call instead of parsing /proc/meminfo.
7943         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
7944         Likewise.
7946 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
7948         [BZ #16985]
7949         * programs/localedef.c (main): Display argv[remaining] when
7950         output_path is NULL.
7952 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
7954         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7955         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
7956         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
7957         tanh.
7958         * math/auto-libm-test-out: Regenerated.
7959         * sysdeps/i386/fpu/libm-test-ulps: Update.
7960         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7961         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7964 2015-09-11  Roland McGrath  <roland@hack.frob.com>
7966         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
7967         Use 'override' keyword to freeze the value here, preventing
7968         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
7970 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
7972         [BZ #14912]
7973         * sysdeps/aarch64/bits/atomic.h: Move to ...
7974         * sysdeps/aarch64/atomic-machine.h: ...here.
7975         (_AARCH64_BITS_ATOMIC_H): Rename macro to
7976         _AARCH64_ATOMIC_MACHINE_H.
7977         * sysdeps/alpha/bits/atomic.h: Move to ...
7978         * sysdeps/alpha/atomic-machine.h: ...here.
7979         * sysdeps/arm/bits/atomic.h: Move to ...
7980         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
7981         * bits/atomic.h: Move to ...
7982         * sysdeps/generic/atomic-machine.h: ...here.
7983         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7984         * sysdeps/i386/bits/atomic.h: Move to ...
7985         * sysdeps/i386/atomic-machine.h: ...here.
7986         * sysdeps/ia64/bits/atomic.h: Move to ...
7987         * sysdeps/ia64/atomic-machine.h: ...here.
7988         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
7989         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
7990         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7991         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
7992         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
7993         * sysdeps/microblaze/bits/atomic.h: Move to ...
7994         * sysdeps/microblaze/atomic-machine.h: ...here.
7995         * sysdeps/mips/bits/atomic.h: Move to ...
7996         * sysdeps/mips/atomic-machine.h: ...here.
7997         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
7998         * sysdeps/powerpc/bits/atomic.h: Move to ...
7999         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
8000         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
8001         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
8002         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
8003         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
8004         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
8005         <atomic-machine.h> instead of <bits/atomic.h>.
8006         * sysdeps/s390/bits/atomic.h: Move to ...
8007         * sysdeps/s390/atomic-machine.h: ...here.
8008         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
8009         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
8010         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8011         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
8012         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
8013         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
8014         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
8015         * sysdeps/tile/bits/atomic.h: Move to ...
8016         * sysdeps/tile/atomic-machine.h: ...here.
8017         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
8018         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
8019         <sysdeps/tile/atomic-machine.h> instead of
8020         <sysdeps/tile/bits/atomic.h>.
8021         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8022         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
8023         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
8024         <sysdeps/tile/atomic-machine.h> instead of
8025         <sysdeps/tile/bits/atomic.h>.
8026         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8027         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
8028         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
8029         <sysdeps/arm/atomic-machine.h> instead of
8030         <sysdeps/arm/bits/atomic.h>.
8031         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
8032         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
8033         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8034         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
8035         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
8036         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8037         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
8038         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
8039         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
8040         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
8041         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
8042         * sysdeps/x86_64/bits/atomic.h: Move to ...
8043         * sysdeps/x86_64/atomic-machine.h: ...here.
8044         * include/atomic.h: Include <atomic-machine.h> instead of
8045         <bits/atomic.h>.
8047         * sysdeps/mips/mips32/libm-test-ulps: Update.
8048         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8050         [BZ #18952]
8051         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
8052         not convert non-integer negative arguments to int to determine the
8053         value of signgam.
8054         * math/auto-libm-test-in: Add more tests of lgamma.
8055         * math/auto-libm-test-out: Regenerated.
8057         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
8058         cosh, csqrt, erfc, expm1 and lgamma.
8059         * math/auto-libm-test-out: Regenerated.
8060         * sysdeps/i386/fpu/libm-test-ulps: Update.
8061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8063 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
8065         [BZ #2542]
8066         [BZ #2543]
8067         [BZ #2558]
8068         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
8069         __lgamma_neg for arguments from -28.0 to -2.0.
8070         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
8071         __lgamma_negf for arguments from -15.0 to -2.0.
8072         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8073         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
8074         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
8075         Call __lgamma_negl for arguments from -33.0 to -2.0.
8076         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
8077         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
8078         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8079         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
8080         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8081         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8082         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8083         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
8084         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8085         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
8086         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
8087         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
8088         (__lgamma_neg): Likewise.
8089         (__lgamma_negl): Likewise.
8090         (__lgamma_product): Likewise.
8091         (__lgamma_productl): Likewise.
8092         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
8093         * math/auto-libm-test-in: Add more tests of lgamma.
8094         * math/auto-libm-test-out: Regenerated.
8095         * sysdeps/i386/fpu/libm-test-ulps: Update.
8096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8098 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
8100         [BZ #18675]
8101         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
8103 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
8105         [BZ #14912]
8106         * bits/libc-lock.h: Move to ...
8107         * sysdeps/generic/libc-lock.h: ...here.
8108         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8109         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
8110         * sysdeps/mach/hurd/libc-lock.h: ...here.
8111         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8112         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
8113         * sysdeps/mach/bits/libc-lock.h: Move to ...
8114         * sysdeps/mach/libc-lock.h: ...here.
8115         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8116         * sysdeps/nptl/bits/libc-lock.h: Move to ...
8117         * sysdeps/nptl/libc-lock.h: ...here.
8118         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8119         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
8120         * sysdeps/nptl/libc-lockP.h: ...here.
8121         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
8122         * crypt/crypt_util.c: Include <libc-lock.h> instead of
8123         <bits/libc-lock.h>.
8124         * dirent/scandir-tail.c: Likewise.
8125         * dlfcn/dlerror.c: Likewise.
8126         * elf/dl-close.c: Likewise.
8127         * elf/dl-iteratephdr.c: Likewise.
8128         * elf/dl-lookup.c: Likewise.
8129         * elf/dl-open.c: Likewise.
8130         * elf/dl-support.c: Likewise.
8131         * elf/dl-writev.h: Likewise.
8132         * elf/rtld.c: Likewise.
8133         * grp/fgetgrent.c: Likewise.
8134         * gshadow/fgetsgent.c: Likewise.
8135         * gshadow/sgetsgent.c: Likewise.
8136         * iconv/gconv_conf.c: Likewise.
8137         * iconv/gconv_db.c: Likewise.
8138         * iconv/gconv_dl.c: Likewise.
8139         * iconv/gconv_int.h: Likewise.
8140         * iconv/gconv_trans.c: Likewise.
8141         * include/link.h: Likewise.
8142         * inet/getnameinfo.c: Likewise.
8143         * inet/getnetgrent.c: Likewise.
8144         * inet/getnetgrent_r.c: Likewise.
8145         * intl/bindtextdom.c: Likewise.
8146         * intl/dcigettext.c: Likewise.
8147         * intl/finddomain.c: Likewise.
8148         * intl/gettextP.h: Likewise.
8149         * intl/loadmsgcat.c: Likewise.
8150         * intl/localealias.c: Likewise.
8151         * intl/textdomain.c: Likewise.
8152         * libidn/idn-stub.c: Likewise.
8153         * libio/libioP.h: Likewise.
8154         * locale/duplocale.c: Likewise.
8155         * locale/freelocale.c: Likewise.
8156         * locale/newlocale.c: Likewise.
8157         * locale/setlocale.c: Likewise.
8158         * login/getutent_r.c: Likewise.
8159         * login/getutid_r.c: Likewise.
8160         * login/getutline_r.c: Likewise.
8161         * login/utmp-private.h: Likewise.
8162         * login/utmpname.c: Likewise.
8163         * malloc/mtrace.c: Likewise.
8164         * misc/efgcvt.c: Likewise.
8165         * misc/error.c: Likewise.
8166         * misc/fstab.c: Likewise.
8167         * misc/getpass.c: Likewise.
8168         * misc/mntent.c: Likewise.
8169         * misc/syslog.c: Likewise.
8170         * nis/nis_call.c: Likewise.
8171         * nis/nis_callback.c: Likewise.
8172         * nis/nss-default.c: Likewise.
8173         * nis/nss_compat/compat-grp.c: Likewise.
8174         * nis/nss_compat/compat-initgroups.c: Likewise.
8175         * nis/nss_compat/compat-pwd.c: Likewise.
8176         * nis/nss_compat/compat-spwd.c: Likewise.
8177         * nis/nss_nis/nis-alias.c: Likewise.
8178         * nis/nss_nis/nis-ethers.c: Likewise.
8179         * nis/nss_nis/nis-grp.c: Likewise.
8180         * nis/nss_nis/nis-hosts.c: Likewise.
8181         * nis/nss_nis/nis-network.c: Likewise.
8182         * nis/nss_nis/nis-proto.c: Likewise.
8183         * nis/nss_nis/nis-pwd.c: Likewise.
8184         * nis/nss_nis/nis-rpc.c: Likewise.
8185         * nis/nss_nis/nis-service.c: Likewise.
8186         * nis/nss_nis/nis-spwd.c: Likewise.
8187         * nis/nss_nisplus/nisplus-alias.c: Likewise.
8188         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
8189         * nis/nss_nisplus/nisplus-grp.c: Likewise.
8190         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
8191         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
8192         * nis/nss_nisplus/nisplus-network.c: Likewise.
8193         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8194         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
8195         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8196         * nis/nss_nisplus/nisplus-service.c: Likewise.
8197         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
8198         * nis/ypclnt.c: Likewise.
8199         * nptl/libc_pthread_init.c: Likewise.
8200         * nss/getXXbyYY.c: Likewise.
8201         * nss/getXXent.c: Likewise.
8202         * nss/getXXent_r.c: Likewise.
8203         * nss/nss_db/db-XXX.c: Likewise.
8204         * nss/nss_db/db-netgrp.c: Likewise.
8205         * nss/nss_db/nss_db.h: Likewise.
8206         * nss/nss_files/files-XXX.c: Likewise.
8207         * nss/nss_files/files-alias.c: Likewise.
8208         * nss/nsswitch.c: Likewise.
8209         * posix/regex_internal.h: Likewise.
8210         * posix/wordexp.c: Likewise.
8211         * pwd/fgetpwent.c: Likewise.
8212         * resolv/res_hconf.c: Likewise.
8213         * resolv/res_libc.c: Likewise.
8214         * shadow/fgetspent.c: Likewise.
8215         * shadow/lckpwdf.c: Likewise.
8216         * shadow/sgetspent.c: Likewise.
8217         * socket/opensock.c: Likewise.
8218         * stdio-common/reg-modifier.c: Likewise.
8219         * stdio-common/reg-printf.c: Likewise.
8220         * stdio-common/reg-type.c: Likewise.
8221         * stdio-common/vfprintf.c: Likewise.
8222         * stdio-common/vfscanf.c: Likewise.
8223         * stdlib/abort.c: Likewise.
8224         * stdlib/cxa_atexit.c: Likewise.
8225         * stdlib/fmtmsg.c: Likewise.
8226         * stdlib/random.c: Likewise.
8227         * stdlib/setenv.c: Likewise.
8228         * string/strsignal.c: Likewise.
8229         * sunrpc/auth_none.c: Likewise.
8230         * sunrpc/bindrsvprt.c: Likewise.
8231         * sunrpc/create_xid.c: Likewise.
8232         * sunrpc/key_call.c: Likewise.
8233         * sunrpc/rpc_thread.c: Likewise.
8234         * sysdeps/arm/backtrace.c: Likewise.
8235         * sysdeps/generic/ldsodefs.h: Likewise.
8236         * sysdeps/generic/stdio-lock.h: Likewise.
8237         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
8238         * sysdeps/i386/backtrace.c: Likewise.
8239         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8240         * sysdeps/m68k/backtrace.c: Likewise.
8241         * sysdeps/mach/hurd/cthreads.c: Likewise.
8242         * sysdeps/mach/hurd/dirstream.h: Likewise.
8243         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8244         * sysdeps/nptl/malloc-machine.h: Likewise.
8245         * sysdeps/nptl/stdio-lock.h: Likewise.
8246         * sysdeps/posix/dirstream.h: Likewise.
8247         * sysdeps/posix/getaddrinfo.c: Likewise.
8248         * sysdeps/posix/system.c: Likewise.
8249         * sysdeps/pthread/aio_suspend.c: Likewise.
8250         * sysdeps/s390/s390-32/backtrace.c: Likewise.
8251         * sysdeps/s390/s390-64/backtrace.c: Likewise.
8252         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8253         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8254         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
8255         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
8256         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
8257         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8258         * sysdeps/unix/sysv/linux/system.c: Likewise.
8259         * sysdeps/x86_64/backtrace.c: Likewise.
8260         * time/alt_digit.c: Likewise.
8261         * time/era.c: Likewise.
8262         * time/tzset.c: Likewise.
8263         * wcsmbs/wcsmbsload.c: Likewise.
8264         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
8265         instead of <bits/libc-lock.h> in comment.
8267 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
8269         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
8270         Only use .set mips2 if the current ISA is below mips2.
8271         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
8272         Likewise.
8273         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
8274         mips32r2 if the current ISA is below mips32r2.
8275         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
8276         (TLS_IE): Updated to use the TLD_RDHWR macro.
8277         (TLS_LE): Likewise.
8278         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
8279         __ASSEMBLER__ condition.
8281 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8283         Fix parallel build of before-compile targets.
8285         * sysdeps/mach/Makefile ($(patsubst
8286         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
8287         mach-before-compile target.
8288         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8289         io fs process)): Move rule to dedicated hurd-before-compile target.
8291 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8293         Fix rules generating headers in hurd/ and mach/ when initial make call
8294         has subdir= explicitly set.
8296         * sysdeps/mach/Makefile ($(patsubst
8297         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
8298         calling $(MAKE).
8299         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8300         io fs process)): Force subdir to hurd when calling $(MAKE).
8301         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
8302         subdir to mach when calling $(MAKE).
8304 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
8306         Check sysheaders when looking for Mach and Hurd headers
8308         * sysdeps/mach/configure.ac: Add sysheaders check.
8309         * sysdeps/mach/configure: Regenerate.
8310         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
8311         * sysdeps/mach/hurd/configure: Regenerate.
8313 2015-09-04  Roland McGrath  <roland@hack.frob.com>
8315         [BZ #18921]
8316         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
8317         Fix inverted sense of test of 'o_directory_works' value.
8318         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
8319         Bernhard Voelker <mail@bernhard-voelker.de>.
8321 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8323         [BZ #14912]
8324         * bits/linkmap.h: Move to ...
8325         * sysdeps/generic/linkmap.h: ...here.
8326         * sysdeps/aarch64/bits/linkmap.h: Move to ...
8327         * sysdeps/aarch64/linkmap.h: ...here.
8328         * sysdeps/arm/bits/linkmap.h: Move to ...
8329         * sysdeps/arm/linkmap.h: ...here.
8330         * sysdeps/hppa/bits/linkmap.h: Move to ...
8331         * sysdeps/hppa/linkmap.h: ...here.
8332         * sysdeps/ia64/bits/linkmap.h: Move to ...
8333         * sysdeps/ia64/linkmap.h: ...here.
8334         * sysdeps/mips/bits/linkmap.h: Move to ...
8335         * sysdeps/mips/linkmap.h: ...here.
8336         * sysdeps/s390/bits/linkmap.h: Move to ...
8337         * sysdeps/s390/linkmap.h: ...here.
8338         * sysdeps/sh/bits/linkmap.h: Move to ...
8339         * sysdeps/sh/linkmap.h: ...here.
8340         * sysdeps/x86/bits/linkmap.h: Move to ...
8341         * sysdeps/x86/linkmap.h: ...here.
8342         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
8344 2015-09-04  Andreas Schwab  <schwab@suse.de>
8346         [BZ #18635]
8347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
8348         (__makecontext): Terminate FDE before return label.
8349         (__novec_makecontext): Likewise.
8351 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8353         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
8354         first member of struct sv in syscall macro.
8356 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8358         [BZ #14912]
8359         * bits/stdio-lock.h: Move to ...
8360         * sysdeps/generic/stdio-lock.h: ...here.
8361         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8362         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
8363         * sysdeps/nptl/stdio-lock.h: ...here.
8364         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8365         * include/libio.h: Include <stdio-lock.h> instead of
8366         <bits/stdio-lock.h>.
8367         * sysdeps/nptl/fork.c: Likewise.
8368         * sysdeps/pthread/flockfile.c: Likewise.
8369         * sysdeps/pthread/ftrylockfile.c: Likewise.
8370         * sysdeps/pthread/funlockfile.c: Likewise.
8372         [BZ #14912]
8373         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
8374         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
8375         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
8376         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
8377         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
8378         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8379         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
8381 2015-09-03  Roland McGrath  <roland@hack.frob.com>
8383         * elf/Makefile (test-xfail-tst-protected1a): New variable.
8384         (test-xfail-tst-protected1b): New variable.
8386 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
8388         [BZ #14912]
8389         * bits/libc-tsd.h: Move to ...
8390         * sysdeps/generic/libc-tsd.h: ...here.
8391         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
8392         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
8393         * sysdeps/mach/hurd/libc-tsd.h: ...here.
8394         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
8395         * include/ctype.h: Include <libc-tsd.h> instead of
8396         <bits/libc-tsd.h>.
8397         * include/rpc/rpc.h: Likewise.
8398         * locale/localeinfo.h: Likewise.
8399         * sunrpc/rpc_thread.c: Likewise.
8400         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8401         * sysdeps/nptl/malloc-machine.h: Likewise.
8403         * Makefile (headers): Remove bits/libc-lock.h.
8404         * libio/Makefile (headers): Remove bits/stdio-lock.h.
8406         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
8407         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
8408         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
8409         <bits/stdio-lock.h>.
8410         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
8411         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
8413 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
8415         [BZ #18757]
8416         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
8417         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
8418         BZ #18757.
8420 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
8422         * malloc/mtrace.pl: Filter out NULL entries.
8424 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
8426         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
8427         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
8428         macro.
8430         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
8431         (TCP_CC_INFO): Likewise.
8432         (TCP_SAVE_SYN): Likewise.
8433         (TCP_SAVED_SYN): Likewise.
8435 2015-08-31  Brett Neumeier <brett@neumeier.us>
8437         [BZ #18870]
8438         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
8440 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
8442         [BZ #18873]
8443         Fix broken overflow check in posix_fallocate
8444         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
8445         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
8446         Fix parenthesization typo.
8448 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
8450         [BZ #18887]
8451         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
8452         tst-mntent-blank-passno.
8453         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
8454         * misc/tst-mntent-blank-corrupt.c: New test.
8455         * misc/tst-mntent-blank-passno.c: New test ripped from ...
8456         * misc/tst-mntent.c (do_test): ... here.
8458 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
8460         [BZ #4404]
8461         * po/de.po: Fix SIGALRM typo.
8463 2015-08-28  James Perkins  <james@loowit.net>
8465         * time/tst-strptime2.c (tests): Replace short list of test
8466         strings for strptime %z specifier with code which exhaustively
8467         tests every combination of sign and 0 to 5 digits. Tests for
8468         rejection of invalid strings.
8470 2015-08-28  James Perkins  <james@loowit.net>
8472         [BZ #16141]
8473         * time/strptime_l.c (__strptime_internal): Fix %z minutes
8474         calculation, removing incorrect decimal time rounding, so that
8475         all minute values result in a valid seconds value.
8476         * time/strptime_l.c (__strptime_internal): Extend %z time zone
8477         offset range limits to UTC-99:59 through UTC+99:59 to parse
8478         current and historical use cases.
8479         * time/tst-strptime2.c (tests): Modify and add tests for the
8480         strptime %z input field descriptor, specifically conversion of
8481         minutes to seconds and validating an offset range of -9959 to
8482         +9959.
8484 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8485             Dmitry V. Levin  <ldv@altlinux.org>
8487         [BZ #18877]
8488         * posix/Makefile (tests): Add tst-mmap-offset.
8489         * posix/tst-mmap.c: New file.
8490         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
8491         offset calculation for negative values.
8493 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8495         * sysdeps/i386/init-arch.h: New file.
8496         * sysdeps/i386/i586/init-arch.h: Likewise.
8497         * sysdeps/i386/i686/init-arch.h: Likewise.
8498         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
8499         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
8500         * sysdeps/x86/cpu-features.h (bit_I586): New.
8501         (bit_I686): Likewise.
8502         (bit_CX8): Likewise.
8503         (bit_CMOV): Likewise.
8504         (index_CX8): Likewise.
8505         (index_CMOV): Likewise.
8506         (index_I586): Likewise.
8507         (index_I686): Likewise.
8508         (reg_CX8): Likewise.
8509         (reg_CMOV): Likewise.
8510         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
8511         available at compile-time.
8512         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
8513         available at compile-time.
8514         * sysdeps/x86/init-arch.h (USE_I586): New macro.
8515         (USE_I686): Likewise.
8517 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8519         * sysdeps/i386/bcopy.S: New file.
8520         * sysdeps/i386/bzero.S: Likewise.
8521         * sysdeps/i386/memcpy.S: Likewise.
8522         * sysdeps/i386/memmove.S: Likewise.
8523         * sysdeps/i386/mempcpy.S: Likewise.
8524         * sysdeps/i386/memset.S: Likewise.
8525         * sysdeps/i386/bzero.c: Removed.
8526         * sysdeps/i386/memset.c: Likewise.
8527         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
8528         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
8529         * sysdeps/i386/i586/memset_chk.S: Likewise.
8530         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
8531         * sysdeps/i386/memcpy_chk.S: Here.
8532         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
8533         * sysdeps/i386/memmove_chk.S: Here.
8534         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
8535         * sysdeps/i386/mempcpy_chk.S: Likewise.
8536         * sysdeps/i386/i686/memset_chk.S: Moved to ...
8537         * sysdeps/i386/memset_chk.S: Likewise.
8539 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
8541         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
8542         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
8543         file, move DIAG_POP_NEEDS_COMMENT to end of file.
8544         * soft-fp/fmadf4.c: Ditto.
8545         * soft-fp/fmatf4.c: Ditto.
8547 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8549         * sysdeps/i386/i586/Implies: Removed.
8550         * sysdeps/i386/i686/Implies: Likewise.
8552 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8554         * sysdeps/i386/i486/strlen.S: Moved to ...
8555         * sysdeps/i386/strlen.S: Here.
8557 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8559         * sysdeps/i386/i486/strcat.S: Moved to ...
8560         * sysdeps/i386/strcat.S: Here.
8562 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8564         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
8565         * sysdeps/i386/pthread_spin_trylock.S: Here.
8566         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
8567         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
8569 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8571         * sysdeps/i386/i486/string-inlines.c: Moved to ...
8572         * sysdeps/i386/string-inlines.c: Here.
8574 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8576         * sysdeps/i386/i486/htonl.S: Moved ...
8577         * sysdeps/i386/htonl.S: here.
8579 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8581         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
8582         * sysdeps/i386/bits/atomic.h: Here.
8584 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8586         * sysdeps/i386/i486/Versions: Removed.
8588 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8590         [BZ #2898]
8591         * misc/mktemp.c: Add mkdtemp to the link_warning message.
8592         Based on patch by Aurelien Jarno.
8594 2015-08-26  Stan Shebs  <stanshebs@google.com>
8596         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
8597         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
8599 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8601         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
8602         * sysdeps/powerpc/dl-procinfo.c:
8603         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
8604         feature so it shows when LD_SHOW_AUXV=1.
8606 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8608         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8609         (__arch_compare_and_exchange_val_32_acq): Remove and use common
8610         definition.  ISA 2.07B no longer requires full sync.
8612 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
8614         [BZ #18863]
8615         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
8616         (si_call_addr): Define.
8617         (si_syscall): Define.
8618         (si_arch): Define.
8620 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
8622         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
8623         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
8624         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
8625         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8626         (__memset_zero_constant_len_parameter): New.
8627         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
8628         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8629         (__memset_zero_constant_len_parameter): Don't define if
8630         __memset_chk or USE_AS_BZERO are defined.
8632         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
8633         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
8634         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
8636         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
8637         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
8638         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
8639         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
8640         comments.
8641         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
8642         -mno-mmx for $(all-rtld-routines).
8643         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
8644         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
8645         i386.
8647 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8649         * sysdeps/generic/unwind.h
8650         (_Unwind_Word): Use __mode__(__unwind_word__)
8651         instead of __mode__(__word__).
8652         (_Unwind_Sword): Likewise.
8654         * sysdeps/s390/s390-64/utf8-utf16-z9.c
8655         (MAX_NEEDED_INPUT): New define.
8656         (MAX_NEEDED_OUTPUT): New define.
8658         * NEWS: New item for IBM z13 string optimizations.
8660         * sysdeps/s390/multiarch/memrchr-c.c: New File.
8661         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
8662         * sysdeps/s390/multiarch/memrchr.c: Likewise.
8663         * sysdeps/s390/multiarch/Makefile
8664         (sysdep_routines): Add memrchr functions.
8665         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8666         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
8668         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
8669         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
8670         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
8671         * sysdeps/s390/multiarch/Makefile
8672         (sysdep_routines): Add wmemcmp functions.
8673         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8674         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
8675         * benchtests/bench-wmemcmp.c: New File.
8676         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
8678         * sysdeps/s390/multiarch/wmemset-c.c: New File.
8679         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
8680         * sysdeps/s390/multiarch/wmemset.c: Likewise.
8681         * sysdeps/s390/multiarch/Makefile
8682         (sysdep_routines): Add wmemset functions.
8683         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8684         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
8685         * wcsmbs/wmemset.c: Use WMEMSET if defined.
8686         * string/test-memset.c: Add wmemset support.
8687         * wcsmbs/test-wmemset.c: New File.
8688         * wcsmbs/Makefile (strop-tests): Add wmemset.
8689         * benchtests/bench-memset.c: Add wmemset support.
8690         * benchtests/bench-wmemset.c: New File.
8691         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
8693         * sysdeps/s390/multiarch/memccpy-c.c: New File.
8694         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
8695         * sysdeps/s390/multiarch/memccpy.c: Likewise.
8696         * sysdeps/s390/multiarch/Makefile
8697         (sysdep_routines): Add memccpy functions.
8698         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8699         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
8700         * string/memccpy.c: Use MEMCCPY if defined.
8702         * sysdeps/s390/multiarch/memchr-vx.S: New File.
8703         * sysdeps/s390/multiarch/memchr.c: Likewise.
8704         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
8705         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
8706         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
8707         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
8708         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
8709         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
8710         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
8711         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8712         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
8713         and rawmemchr functions.
8714         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8715         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
8716         and wmemchr.
8717         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
8718         * string/test-memchr.c: Add wmemchr support.
8719         * wcsmbs/test-wmemchr.c: New File.
8720         * wcsmbs/Makefile (strop-tests): Add wmemchr.
8721         * benchtests/bench-memchr.c: Add wmemchr support.
8722         * benchtests/bench-wmemchr.c: New File.
8723         * benchtests/Makefile (wcsmbs-bench): wmemchr.
8725         * sysdeps/s390/multiarch/strcspn-c.c: New File.
8726         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
8727         * sysdeps/s390/multiarch/strcspn.c: Likewise.
8728         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
8729         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
8730         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
8731         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
8732         wcscspn functions.
8733         * sysdeps/s390/multiarch/ifunc-impl-list.c
8734         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
8735         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
8736         * string/test-strcspn.c: Add wcscspn support.
8737         * wcsmbs/test-wcscspn.c: New File.
8738         * wcsmbs/Makefile (strop-tests): Add wcscspn.
8739         * benchtests/bench-strcspn.c: Add wcscspn support.
8740         * benchtests/bench-wcscspn.c: New File.
8741         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
8743         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
8744         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
8745         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
8746         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
8747         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
8748         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
8749         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
8750         wcspbrk functions.
8751         * sysdeps/s390/multiarch/ifunc-impl-list.c
8752         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
8753         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
8754         * string/test-strpbrk.c: Add wcspbrk support.
8755         * wcsmbs/test-wcspbrk.c: New File.
8756         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
8757         * benchtests/bench-strpbrk.c: Add wcspbrk support.
8758         * benchtests/bench-wcspbrk.c: New File.
8759         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
8761         * sysdeps/s390/multiarch/strspn-c.c: New File.
8762         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
8763         * sysdeps/s390/multiarch/strspn.c: Likewise.
8764         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
8765         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
8766         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
8767         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
8768         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
8769         wcsspn functions.
8770         * sysdeps/s390/multiarch/ifunc-impl-list.c
8771         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
8772         * string/test-strspn.c: Add wcsspn support.
8773         * wcsmbs/test-wcsspn.c: New File.
8774         * wcsmbs/Makefile (strop-tests): Add wcsspn.
8775         * benchtests/bench-strspn.c: Add wcsspn support.
8776         * benchtests/bench-wcsspn.c: New File.
8777         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
8779         * sysdeps/s390/multiarch/strrchr-c.c: New File.
8780         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
8781         * sysdeps/s390/multiarch/strrchr.c: Likewise.
8782         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
8783         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
8784         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
8785         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
8786         wcsrchr functions.
8787         * sysdeps/s390/multiarch/ifunc-impl-list.c
8788         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
8789         * benchtests/bench-wcsrchr.c: New File.
8790         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
8792         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
8793         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
8794         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
8795         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
8796         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
8797         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
8798         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
8799         wcschrnul functions.
8800         * sysdeps/s390/multiarch/ifunc-impl-list.c
8801         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
8802         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
8803         * string/test-strchr.c: Add wcschrnul support.
8804         * wcsmbs/test-wcschrnul.c: New File.
8805         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
8806         * benchtests/bench-strchr.c: Add wcschrnul support.
8807         * benchtests/bench-wcschrnul.c: New File.
8808         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
8810         * sysdeps/s390/multiarch/strchr-c.c: New File.
8811         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
8812         * sysdeps/s390/multiarch/strchr.c: Likewise.
8813         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
8814         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
8815         * sysdeps/s390/multiarch/wcschr.c: Likewise.
8816         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
8817         wcschr functions.
8818         * sysdeps/s390/multiarch/ifunc-impl-list.c
8819         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
8820         * string/strchr.c (STRCHR): Define and use macro.
8821         * benchtests/bench-wcschr.c: New File.
8822         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
8824         * sysdeps/s390/multiarch/strncmp-c.c: New File.
8825         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
8826         * sysdeps/s390/multiarch/strncmp.c: Likewise.
8827         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
8828         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
8829         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
8830         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
8831         wcsncmp functions.
8832         * sysdeps/s390/multiarch/ifunc-impl-list.c
8833         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
8834         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
8835         * benchtests/bench-strncmp.c: Add wcsncmp support.
8836         * benchtests/bench-wcsncmp.c: New File.
8837         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
8839         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
8840         * sysdeps/s390/multiarch/strcmp.c: Likewise.
8841         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
8842         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
8843         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
8844         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
8845         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8846         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
8847         wcscmp functions.
8848         * sysdeps/s390/multiarch/ifunc-impl-list.c
8849         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
8850         * string/strcmp.c (STRCMP): Define and use macro.
8851         * benchtests/bench-wcscmp.c: New File.
8852         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
8853         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
8854         instead of _HAVE_STRING_ARCH_memchr.
8856         * sysdeps/s390/multiarch/strncat-c.c: New File.
8857         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
8858         * sysdeps/s390/multiarch/strncat.c: Likewise.
8859         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
8860         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
8861         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
8862         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
8863         wcsncat functions.
8864         * sysdeps/s390/multiarch/ifunc-impl-list.c
8865         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
8866         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
8867         * string/test-strncat.c: Add wcsncat support.
8868         * wcsmbs/test-wcsncat.c: New File.
8869         * wcsmbs/Makefile (strop-tests): Add wcsncat.
8870         * benchtests/bench-strncat.c: Add wcsncat support.
8871         * benchtests/bench-wcsncat.c: New File.
8872         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
8874         * sysdeps/s390/multiarch/strcat-c.c: New File.
8875         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
8876         * sysdeps/s390/multiarch/strcat.c: Likewise.
8877         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
8878         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
8879         * sysdeps/s390/multiarch/wcscat.c: Likewise.
8880         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
8881         wcscat functions.
8882         * sysdeps/s390/multiarch/ifunc-impl-list.c
8883         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
8884         * string/strcat.c (STRCAT): Define and use macro.
8885         * wcsmbs/wcscat.c: Use WCSCAT if defined.
8886         * string/test-strcat.c: Add wcscat support.
8887         * wcsmbs/test-wcscat.c: New File.
8888         * wcsmbs/Makefile (strop-tests): Add wcscat.
8889         * benchtests/bench-strcat.c: Add wcscat support.
8890         * benchtests/bench-wcscat.c: New File.
8891         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
8893         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
8894         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
8895         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8896         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
8897         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
8898         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
8899         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
8900         wcpncpy functions.
8901         * sysdeps/s390/multiarch/ifunc-impl-list.c
8902         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
8903         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
8904         * string/test-stpncpy.c: Add wcpncpy support.
8905         * wcsmbs/test-wcpncpy.c: New File.
8906         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
8907         * benchtests/bench-stpncpy.c: Add wcpncpy support.
8908         * benchtests/bench-wcpncpy.c: New File.
8909         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
8911         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
8912         * sysdeps/s390/multiarch/strncpy.c: Likewise.
8913         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
8914         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
8915         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
8916         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
8917         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8918         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
8919         wcsncpy functions.
8920         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
8921         * sysdeps/s390/multiarch/ifunc-impl-list.c
8922         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
8923         * string/test-strncpy.c: Add wcsncpy support.
8924         * wcsmbs/test-wcsncpy.c: New File.
8925         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
8926         * benchtests/bench-strncpy.c: Add wcsncpy support.
8927         * benchtests/bench-wcsncpy.c: New File.
8928         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
8930         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
8931         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
8932         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8933         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
8934         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
8935         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
8936         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
8937         wcpcpy functions.
8938         * string/stpcpy.c: Use STPCPY if defined.
8939         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
8940         * sysdeps/s390/multiarch/ifunc-impl-list.c
8941         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
8942         * string/test-stpcpy.c: Add wcpcpy support.
8943         * wcsmbs/test-wcpcpy.c: New File.
8944         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
8945         * benchtests/bench-stpcpy.c: Add wcpcpy support.
8946         * benchtests/bench-wcpcpy.c: New File.
8947         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
8949         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
8950         * sysdeps/s390/multiarch/strcpy.c: Likewise.
8951         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
8952         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
8953         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
8954         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
8955         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8956         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
8957         wcscpy functions.
8958         * sysdeps/s390/multiarch/ifunc-impl-list.c
8959         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
8960         * benchtests/bench-wcscpy.c: New File.
8961         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
8963         * sysdeps/s390/multiarch/strnlen-c.c: New File.
8964         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
8965         * sysdeps/s390/multiarch/strnlen.c: Likewise.
8966         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
8967         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
8968         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
8969         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
8970         wcsnlen functions.
8971         * sysdeps/s390/multiarch/ifunc-impl-list.c
8972         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
8973         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
8974         * string/test-strnlen.c: Add wcsnlen support.
8975         * wcsmbs/test-wcsnlen.c: New File.
8976         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
8977         * benchtests/bench-strnlen.c: Add wcsnlen support.
8978         * benchtests/bench-wcsnlen.c: New File.
8979         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
8981         * sysdeps/s390/multiarch/Makefile: New File.
8982         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
8983         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
8984         * sysdeps/s390/multiarch/strlen.c: Likewise.
8985         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
8986         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
8987         * sysdeps/s390/multiarch/wcslen.c: Likewise.
8988         * string/strlen.c (STRLEN): Define and use macro.
8989         * sysdeps/s390/multiarch/ifunc-impl-list.c
8990         (IFUNC_VX_IMPL): New macro function.
8991         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
8992         * benchtests/Makefile (wcsmbs-bench): New variable.
8993         (string-bench-all): Added wcsmbs-bench.
8994         * benchtests/bench-wcslen.c: New File.
8996         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
8997         s390_vx_libc_ifunc2): New macro function.
8999         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
9000         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
9001         assembler support.
9002         * sysdeps/s390/configure: Regenerated.
9004         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
9005         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
9007         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
9008         * sysdeps/s390/dl-procinfo.h: Add vector capability.
9009         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
9011         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9012         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
9013         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
9014         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
9015         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
9016         (memcmp, bcmp): Use __memcmp_default as alias source.
9017         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
9018         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
9019         Rename to __memcmp_default.
9020         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
9021         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
9022         (memcpy): Use __memcpy_default as alias source.
9023         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
9024         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
9025         Rename to __memcpy_default.
9026         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
9027         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
9028         (memset): Use __memset_default as alias source.
9029         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
9030         * sysdeps/s390/s390-32/memset.S (__memset_g5):
9031         Rename to __memset_default.
9032         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
9033         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
9034         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
9035         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
9036         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
9037         (memcmp, bcmp): Use __memcmp_default as alias source.
9038         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
9039         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
9040         Rename to __memcmp_default.
9041         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
9042         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
9043         (memcpy): Use __memcpy_default as alias source.
9044         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
9045         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
9046         Rename to __memcpy_default.
9047         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
9048         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
9049         (memset): Use __memset_default as alias source.
9050         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
9051         * sysdeps/s390/s390-64/memset.S (__memset_z900):
9052         Rename to __memset_default.
9053         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
9054         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
9056         [BZ #18610]
9057         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
9058         __ieee_instruction_pointer to __unused.
9059         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
9060         __ieee_instruction_pointer.
9061         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
9062         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
9063         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9064         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9065         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
9066         Mark dxc-field as reserved.
9068 2015-08-25  Roland McGrath  <roland@hack.frob.com>
9070         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
9071         if the weak reference is not null.
9073 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9075         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
9077         [BZ #11214]
9078         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
9080 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9082         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
9083         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
9084         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
9085         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
9086         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
9087         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
9088         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
9089         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
9090         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
9091         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
9092         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
9093         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
9094         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
9095         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
9096         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
9097         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
9098         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
9099         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
9101 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9103         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
9104         register other than r0 for tabort, it has special meaning.
9105         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
9106         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
9107         transaction before starting syscall.
9109 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9111         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
9113 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9115         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
9117         * sysdeps/x86_64/rtld-memcmp.c: Removed.
9118         * sysdeps/x86_64/rtld-memset.S: Likewise.
9119         * sysdeps/x86_64/rtld-strchr.S: Likewise.
9120         * sysdeps/x86_64/rtld-strlen.S: Likewise.
9121         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
9122         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9124         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
9126 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
9128         * debug/strcpy_chk.c: Improve performance.
9129         * debug/stpcpy_chk.c: Likewise.
9130         * sysdeps/x86_64/strcpy_chk.S: Remove.
9131         * sysdeps/x86_64/stpcpy_chk.S: Remove.
9133         [BZ #18240]
9134         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
9136 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9138         [BZ #15128]
9139         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
9140         ifuncmain8.
9141         (modules-names): Add ifuncmod8.
9142         ($(objpfx)ifuncmain8): New rule.
9143         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
9144         <cpuid.h>.
9145         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
9146         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
9147         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
9148         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
9149         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
9150         * sysdeps/x86_64/dl-trampoline.h: Likewise.
9151         * sysdeps/x86_64/ifuncmain8.c: New file.
9152         * sysdeps/x86_64/ifuncmod8.c: Likewise.
9153         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
9154         Removed.
9155         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
9156         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
9157         Change rtld_savespace_sse to __glibc_unused2.
9158         (RTLD_CHECK_FOREIGN_CALL): Removed.
9159         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
9160         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
9161         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
9163 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
9165         * sysdeps/aarch64/bzero.S (__bzero): Remove.
9167 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
9169         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
9170         Unconditionally set __fpcr to avoid uninialized warning.
9171         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
9173 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9175         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
9176         is corrupt.
9178         * malloc/arena.c (arena_get2): Drop unused argument.
9179         (arena_lock): Adjust.
9180         (arena_get_retry): Likewise.
9182 2015-08-24  Andreas Schwab  <schwab@suse.de>
9184         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
9185         Don't define.
9186         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9187         (__ASSUME_IPC64): Don't undef.
9188         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
9189         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9190         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9191         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
9192         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
9193         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
9194         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
9195         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
9196         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
9197         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
9198         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
9199         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
9200         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
9201         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
9202         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
9203         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
9204         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
9205         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
9206         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
9207         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
9208         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
9210 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
9212         * manual/Makefile (install): Only build manual when perl is available.
9214 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9216         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
9217         '#undef memcpy' by '#undef memchr'.
9219 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9221         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
9222         memchr not point to the internal __GI_memchr implementation.
9224 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
9226         * timezone/Makefile (CFLAGS-zdump.c): Remove
9227         -Wno-strict-prototypes.
9228         (CFLAGS-zic.c): Likewise.
9229         (CFLAGS-ialloc.c): Likewise.
9230         (CFLAGS-scheck.c): Likewise.
9232         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
9233         -Wno-error=undef.
9235 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9237         * i386/i686/multiarch/strcasestr-c.c: Removed.
9238         * x86_64/multiarch/strcasestr.c: Likewise.
9239         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9240         Remove strcasestr.
9242 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
9244         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
9246         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
9247         variables for high and low parts before possibly modifying them.
9249 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9251         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
9252         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
9253         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
9254         of "multiarch/init-arch.h".
9255         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
9256         * sysdeps/x86/init-arch.h: This.
9258 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9260         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
9261         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
9263 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
9265         [BZ #17787]
9266         * manual/macros.texi: Add twoexp macro.
9267         * manual/filesys.texi: Fix exponents.
9268         * manual/llio.texi: Likewise.
9269         * manual/stdio.texi: Likewise.
9271 2015-08-20  Florian Weimer  <fweimer@redhat.com>
9273         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
9274         incorrect use.
9276 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
9278         [BZ #18370]
9279         * math/s_csqrt.c (__csqrt): Force underflow exception for results
9280         whose real or imaginary part has small absolute value.
9281         * math/s_csqrtf.c (__csqrtf): Likewise.
9282         * math/s_csqrtl.c (__csqrtl): Likewise.
9283         * math/auto-libm-test-in: Add more tests of csqrt.
9284         * math/auto-libm-test-out: Regenerated.
9285         * sysdeps/i386/fpu/libm-test-ulps: Update.
9287 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9289         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
9290         __ppc_set_ppr_very_low): New functions.
9291         * manual/platform.texi: Add documentation about
9292         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
9294 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
9296         * string/stpncpy.c (stpncpy): Improve performance using
9297         __strnlen/memcpy/memset.
9299 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9301         [BZ #18796]
9302         * scripts/test-installation.pl: Don't add -lmvec to build options if
9303         libmvec wasn't built.
9305 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9307         [BZ #14341]
9308         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
9309         case when there is a gap between DT_REL and DT_JMPREL sections.
9310         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
9311         (LDFLAGS-tst-split-dynreloc): New.
9312         (tst-split-dynreloc-ENV): Likewise.
9313         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
9314         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
9316 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9318         [BZ #18822]
9319         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
9320         attribute_hidden.
9321         (__xstat64_conv): Likewise.
9322         (__xstat32_conv): Likewise.
9324 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9326         [BZ #18822]
9327         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
9328         Don't load %ebx when calling __setcontext.  Call __setcontext
9329         with HIDDEN_JUMPTARGET.
9330         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
9331         libc_hidden_def.
9333 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9335         * sysdeps/i386/i686/Makefile
9336         [$(subdir) == string] (sysdep_routines): Moved to ...
9337         * sysdeps/i386/Makefile: Here.
9338         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
9339         * sysdeps/i386/cacheinfo.c: Here.
9340         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
9341         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
9342         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
9343         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
9345 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9347         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
9348         __i586__ is defined.
9349         (HAS_I686): Defined to 1 if __i686__ is defined.
9351 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
9353         * elf/Makefile [$(have-z-execstack) = yes]
9354         (CPPFLAGS-tst-execstack.c): New variable.
9356         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
9357         conditional to [defined UTMPX || _HAVE_UT_TYPE].
9358         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
9359         UTMPX || _HAVE_UT_TV].
9360         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
9361         UTMPX || _HAVE_UT_TV - 0].
9363 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
9365         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
9366         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
9367         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
9369 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9371         * sysdeps/powerpc/dl-procinfo.c:
9372         (_dl_powerpc_cap_flags): Added missing strings for some
9373         hwcap features.
9374         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
9376 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
9378         Port the 0x7efe...feff pattern to GCC 6.
9379         See Steve Ellcey's bug report in:
9380         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
9381         * string/memrchr.c (MEMRCHR):
9382         * string/rawmemchr.c (RAWMEMCHR):
9383         * string/strchr.c (strchr):
9384         * string/strchrnul.c (STRCHRNUL):
9385         Rewrite code to avoid issues with signed shift overflow.
9387 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
9389         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
9390         whether cpuid is available only if HAS_CPUID is 0.
9391         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
9392         (HAS_I586): Likewise.
9393         (HAS_I686): Likewise.
9395 2015-08-18  Zack Weinberg  <zackw@panix.com>
9397         * misc/Versions (libc): Add GLIBC_2.23.
9399 2015-08-18  Alan Modra  <amodra@gmail.com>
9401         [BZ #18421]
9402         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
9403         .Lp__global.
9404         (_start): Load %dp via .Lp__global.
9405         [!SHARED]: Use .section .rodata.
9407 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9409         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
9410         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
9412 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9414         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
9415         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
9417 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9419         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
9420         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
9422 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9424         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
9425         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
9427 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9429         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
9430         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
9432 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9434         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
9435         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
9437 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9439         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
9441 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9443         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
9444         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
9445         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9446         (__ASSUME_LWS_CAS): Delete.
9448 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9450         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
9451         * sysdeps/hppa/configure: Regenerated.
9452         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
9453         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
9454         * sysdeps/hppa/nptl/tls.h: Likewise.
9456 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
9458         [BZ #18823]
9459         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
9460         for scaling up small arguments.
9461         * math/s_csqrtf.c (__csqrtf): Likewise.
9462         * math/s_csqrtl.c (__csqrtl): Likewise.
9463         * math/auto-libm-test-in: Add more tests of csqrt.
9464         * math/auto-libm-test-out: Regenerated.
9466 2015-08-17  Andreas Schwab  <schwab@suse.de>
9468         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
9469         version set GLIBC_2.19.
9471 2015-08-16  Zack Weinberg  <zackw@panix.com>
9473         [BZ #18681]
9474         * misc/regexp.h: This interface is no longer supported.
9475         Remove all contents, leaving only an #error directive.
9476         * misc/regexp.c (loc1, loc2, locs, step, advance):
9477         Demote to compatibility symbols.
9479 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
9481         [BZ #18084]
9482         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
9483         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
9484         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9485         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
9486         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
9487         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
9488         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
9489         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
9490         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9492 2015-08-15  Zack Weinberg  <zackw@panix.com>
9494         [BZ #18795]
9495         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
9496         buffer length is known to be too large, not if it's known to be
9497         small enough.
9498         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
9499         overflow at runtime, involving a length parameter, twice: once
9500         with a compile-time constant length parameter, once without.
9502 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
9504         [BZ #18824]
9505         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
9506         scaling x * y up instead of down.
9507         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9508         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9509         * math/auto-libm-test-in: Add more tests of fma.
9510         * math/auto-libm-test-out: Regenerated.
9512 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
9514         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9516 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9518         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
9519         unnecessary movq.
9520         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
9521         Likewise.
9523 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
9525         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9526         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
9527         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
9528         and tgamma.
9529         * math/auto-libm-test-out: Regenerated.
9530         * sysdeps/i386/fpu/libm-test-ulps: Update.
9531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9533         [BZ #16520]
9534         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
9535         (__tanh): Force underflow exception for arguments with small
9536         absolute value.
9537         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
9538         (__tanhf): Force underflow exception for arguments with small
9539         absolute value.
9540         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
9541         (__tanhl): Force underflow exception for arguments with small
9542         absolute value.
9543         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
9544         (__tanhl): Force underflow exception for arguments with small
9545         absolute value.
9546         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
9547         (__tanhl): Force underflow exception for arguments with small
9548         absolute value.
9549         * math/auto-libm-test-in: Add more tests of tanh.
9550         * math/auto-libm-test-out: Regenerated.
9551         * sysdeps/i386/fpu/libm-test-ulps: Update.
9553 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9555         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
9556         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
9558 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9560         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
9561         <cpuid.h>.
9563 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9565         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
9566         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
9568 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9570         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
9571         Remove $(objpfx)init-arch.o.
9572         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
9573         init-arch.
9574         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
9575         (INIT_ARCH_EXT): Defined as empty.
9576         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
9577         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
9578         __init_cpu_features call.  Replace HAS_XXX with
9579         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9580         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
9581         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
9582         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
9583         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
9584         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9585         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
9586         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
9587         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9588         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
9589         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
9590         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
9591         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
9592         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
9593         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
9594         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
9595         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
9596         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
9597         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
9598         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
9599         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
9600         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
9601         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
9602         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
9603         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
9604         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
9605         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
9606         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
9607         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
9608         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
9609         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
9610         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
9611         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
9612         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
9613         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
9614         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
9616 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9618         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
9619         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9620         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9621         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9622         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
9623         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
9624         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
9625         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
9626         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
9627         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
9628         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
9629         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
9630         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9631         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9632         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9633         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9634         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9635         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9636         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9637         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9638         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9639         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9640         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9641         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9642         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9643         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9644         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9645         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9646         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9647         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9648         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9649         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9650         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9651         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9652         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9653         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9654         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9655         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9656         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9657         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9658         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9659         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9660         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9662 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9664         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
9665         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9666         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9667         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9668         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9669         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
9670         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9671         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
9672         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9673         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9674         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9675         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
9676         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
9677         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
9678         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
9679         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
9680         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
9681         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
9682         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
9683         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
9684         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
9685         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
9686         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
9687         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9688         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9689         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
9690         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
9691         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
9692         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9693         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9694         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9695         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9696         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9697         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9698         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9699         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9700         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9701         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9702         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9703         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9704         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9705         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9706         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9708 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9710         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
9711         (dl_platform_init): Call init_cpu_features.
9712         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
9713         * sysdeps/i386/i686/cacheinfo.c
9714         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
9715         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
9716         * sysdeps/i386/i686/multiarch/Versions: Removed.
9717         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
9718         Removed.
9719         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
9720         * sysdeps/unix/sysv/linux/x86/Makefile
9721         (libpthread-sysdep_routines): Remove init-arch.
9722         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
9723         <sysdeps/x86_64/dl-procinfo.c> instead of
9724         sysdeps/generic/dl-procinfo.c>.
9725         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
9726         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
9727         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
9728         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
9729         [$(subdir) == elf] (tests-static): Add
9730         tst-get-cpu-features-static.
9731         * sysdeps/x86/Versions: New file.
9732         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
9733         * sysdeps/x86/cpu-features.c: Likewise.
9734         * sysdeps/x86/cpu-features.h: Likewise.
9735         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
9736         * sysdeps/x86/libc-start.c: Likewise.
9737         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
9738         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
9739         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
9740         * sysdeps/x86_64/dl-procinfo.c: Likewise.
9741         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
9742         Assume USE_MULTIARCH is defined and don't check it.
9743         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
9744         (is_amd): Likewise.
9745         (max_cpuid): Likewise.
9746         (intel_check_word): Likewise.
9747         (__cache_sysconf): Don't call __init_cpu_features.
9748         (__x86_preferred_memory_instruction): Removed.
9749         (init_cacheinfo): Don't call __init_cpu_features. Replace
9750         __cpu_features with GLRO(dl_x86_cpu_features).
9751         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
9752         (dl_platform_init): Call init_cpu_features.
9753         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
9754         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
9755         * sysdeps/x86_64/multiarch/Versions: Removed.
9756         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
9757         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
9758         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
9759         Removed.
9760         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
9762 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9764         [BZ #18820]
9765         * libio/Makefile (test-fmemopen-mem): New test.
9766         * libio/test-fmemopen.c (do_bz18820): New test.
9767         * libio/fmemopen.c (__fmemopen): Fix memory leak.
9768         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
9770 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9772         [BZ #16734]
9773         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
9774         (FREE_BUF): Delete.
9775         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
9776         * libio/genops.c (_IO_setb): Use malloc and free directly.
9777         (_IO_default_doallocate, _IO_default_finish): Likewise.
9778         ( _IO_unbuffer_all): Likewise.
9779         ( libc_freeres_fn): Likewise.
9780         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9781         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9782         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
9783         (_IO_wdefault_doallocate): Likewise.
9785 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9787         [BZ #18086]
9788         * sysdeps/posix/nice.c (nice): Restore old errno.
9789         * posix/tst-nice.c (do_test): Add test for BZ #18086.
9791 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
9793         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
9795 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9797         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
9798         __bcopy and add a weak_alias to bcopy.
9799         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
9800         for static build.
9802         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
9803         cleanup macro usage.
9804         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
9805         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
9806         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9807         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
9808         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9809         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
9810         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
9811         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9812         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9813         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
9814         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9815         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
9816         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9817         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
9818         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9819         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
9820         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
9821         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
9822         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9824         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
9825         libc_hidden_def.
9826         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
9828         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
9829         (sysdep_routines): Add strstr-ppc64.
9830         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
9832 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
9834         [BZ #18778]
9835         * elf/Makefile (tests): Add Add tst-nodelete2.
9836         (modules-names): Add tst-nodelete2mod.
9837         (tst-nodelete2mod.so-no-z-defs): New.
9838         ($(objpfx)tst-nodelete2): Likewise.
9839         ($(objpfx)tst-nodelete2.out): Likewise.
9840         (LDFLAGS-tst-nodelete2): Likewise.
9841         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
9842         out of loop through all loaded libraries.
9843         * elf/tst-nodelete2.c: New file.
9844         * elf/tst-nodelete2mod.c: Likewise.
9845         * elf/tst-znodelete-zlib.cc: Delete.
9847 2015-08-11  Andreas Schwab  <schwab@suse.de>
9849         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
9850         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
9851         (__openat64_nocancel): Likewise.
9853 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
9855         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
9856         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
9857         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
9858         * math/auto-libm-test-out: Regenerated.
9859         * sysdeps/i386/fpu/libm-test-ulps: Update.
9860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9862 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
9864         [BZ #18790]
9865         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
9866         threshold for returning +/- 1.
9867         * math/auto-libm-test-in: Add more tests of tanh.
9868         * math/auto-libm-test-out: Regenerated.
9869         * sysdeps/i386/fpu/libm-test-ulps: Update.
9871 2015-08-10  Andreas Schwab  <schwab@suse.de>
9873         [BZ #18781]
9874         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
9875         MORE_OFLAGS to oflag.
9876         * io/test-lfs.c (do_test): Test openat64.
9878 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
9880         [BZ #18789]
9881         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
9882         smaller threshold for returning the argument.
9883         * math/auto-libm-test-in: Add more tests of sinh.
9884         * math/auto-libm-test-out: Regenerated.
9885         * sysdeps/i386/fpu/libm-test-ulps: Update.
9887 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
9889         [BZ #18674]
9890         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
9891         break.
9893 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
9895         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
9896         (generated): Don't add $(addprefix z.,$(tzfiles)).
9898 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9900         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
9901         * scripts/sysd-rules.awk: Likewise.
9903 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9905         * iconvdata/tst-tables.sh: Change echo -n to printf.
9906         * nss/db-Makefile: Likewise.
9907         * posix/tst-getconf.sh: Likewise.
9908         * stdio-common/tst-unbputc.sh: Likewise.
9910 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9912         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
9913         MADV_*_PAGES defines behind this feature check.
9915 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
9917         [BZ #18480]
9918         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
9919         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
9920         Define.
9921         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
9922         LOAD_REGS_5, LOAD_REGS_6): Update.
9923         (INTERNAL_SYSCALL): Update using new LOAD defines.
9924         (INTERNAL_SYSCALL_NCS): Likewise.
9925         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
9927 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9929         [BZ #16734]
9930         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
9932 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9934         [BZ #17905]
9935         * catgets/Makefile (tst-catgets-mem): New test.
9936         * catgets/catgets.c (catopen): Don't use unbounded alloca.
9937         * catgets/open_catalog.c (__open_catalog): Likewise.
9938         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
9940 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
9942         [BZ #18787]
9943         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
9944         clobber registers.
9945         (atomic_compare_and_exchange_val_acq): Use register asms to assign
9946         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
9947         Cast return to __typeof (oldval).
9949 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
9951         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
9952         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
9953         and delete sys/syscall.h include.
9955 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
9957         [BZ #16517]
9958         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
9959         (tan): Force underflow exception for arguments with small absolute
9960         value.
9961         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
9962         (__kernel_tanf): Force underflow exception for arguments with
9963         small absolute value.
9964         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
9965         (__kernel_tanl): Force underflow exception for arguments with
9966         small absolute value.
9967         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
9968         (__kernel_tanl): Force underflow exception for arguments with
9969         small absolute value.
9970         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
9971         (__kernel_tanl): Force underflow exception for arguments with
9972         small absolute value.
9973         * math/auto-libm-test-in: Add more tests of tan.
9974         * math/auto-libm-test-out: Regenerated.
9976 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9978         Fix sysdeps/i386/fpu/s_scalbn.S build
9980         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
9982 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
9984         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9986 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9988         Fix gcrt0.o compilation
9990         When static-start-installed-name is different from
9991         start-installed-name, we must not use the shared objects.
9993         * csu/Makefile
9994         (extra-objs): Add gmon-start.o when building shared library and
9995         $(static-start-installed-name) is different from
9996         $(start-installed-name).
9997         $(objpfx)g$(static-start-installed-name): When building shared
9998         library and $(static-start-installed-name) is different from
9999         $(static-start-installed-name), revert to non-shared rule,
10000         i.e. using $(objpfx)% and gmon-start.o.
10002 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
10004         [BZ #16519]
10005         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
10006         (__ieee754_sinh): Force underflow exception for arguments with
10007         small absolute value.
10008         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
10009         (__ieee754_sinhf): Force underflow exception for arguments with
10010         small absolute value.
10011         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
10012         (__ieee754_sinhl): Force underflow exception for arguments with
10013         small absolute value.
10014         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
10015         (__ieee754_sinhl): Force underflow exception for arguments with
10016         small absolute value.
10017         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
10018         (__ieee754_sinhl): Force underflow exception for arguments with
10019         small absolute value.
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-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10026         * libio/oldfileops.c: Include unistd.h.
10028 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
10030         * stdlib/isomac.c: Include ctype.h.
10032 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
10034         * dirent/tst-seekdir.c (main): Converted to ...
10035         (do_test): ... this.
10036         (TEST_FUNCTION): New macro.
10037         Include test-skeleton.c.
10038         * elf/tst-dlmodcount.c (main): Converted to ...
10039         (do_test): ... this.
10040         (TEST_FUNCTION): New macro.
10041         Include test-skeleton.c.
10042         * elf/tst-order-main.c (main): Converted to ...
10043         (do_test): ... this.
10044         (TEST_FUNCTION): New macro.
10045         Include test-skeleton.c.
10046         * elf/tst-pie2.c (main): Converted to ...
10047         (do_test): ... this.
10048         (TEST_FUNCTION): New macro.
10049         Include test-skeleton.c.
10050         * inet/tst-ether_aton.c (main): Converted to ...
10051         (do_test): ... this.
10052         (TEST_FUNCTION): New macro.
10053         Include test-skeleton.c.
10054         * misc/tst-mntent.c (main): Converted to ...
10055         (do_test): ... this.
10056         (TEST_FUNCTION): New macro.
10057         Include test-skeleton.c.
10058         * misc/tst-tsearch.c (main): Converted to ...
10059         (do_test): ... this.
10060         (TEST_FUNCTION): New macro.
10061         Include test-skeleton.c.
10062         * posix/tst-regexloc.c (main): Converted to ...
10063         (do_test): ... this.
10064         (TEST_FUNCTION): New macro.
10065         Include test-skeleton.c.
10066         * resolv/tst-aton.c (main): Converted to ...
10067         (do_test): ... this.
10068         (TEST_FUNCTION): New macro.
10069         Include test-skeleton.c.
10070         * stdio-common/test-fwrite.c (main): Converted to ...
10071         (do_test): ... this.
10072         (TEST_FUNCTION): New macro.
10073         Include test-skeleton.c.
10074         * stdio-common/tst-ferror.c (main): Converted to ...
10075         (do_test): ... this.
10076         (TEST_FUNCTION): New macro.
10077         Include test-skeleton.c.
10078         * stdio-common/tst-printf.c (main): Converted to ...
10079         (do_test): ... this.
10080         (TEST_FUNCTION): New macro.
10081         Include test-skeleton.c.
10082         * stdio-common/tst-printfsz.c (main): Converted to ...
10083         (do_test): ... this.
10084         (TEST_FUNCTION): New macro.
10085         Include test-skeleton.c.
10086         * stdlib/tst-strtod.c (main): Converted to ...
10087         (do_test): ... this.
10088         (TEST_FUNCTION): New macro.
10089         Include test-skeleton.c.
10090         * string/tst-strlen.c (main): Converted to ...
10091         (do_test): ... this.
10092         (TEST_FUNCTION): New macro.
10093         Include test-skeleton.c.
10094         * string/tst-svc.c (main): Converted to ...
10095         (do_test): ... this.
10096         (TEST_FUNCTION): New macro.
10097         Include test-skeleton.c.
10098         * time/tst-strptime.c (main): Converted to ...
10099         (do_test): ... this.
10100         (TEST_FUNCTION): New macro.
10101         Include test-skeleton.c.
10102         * timezone/tst-timezone.c (main): Converted to ...
10103         (do_test): ... this.
10104         (TEST_FUNCTION): New macro.
10105         Include test-skeleton.c.
10107 2015-08-05  Zack Weinberg  <zackw@panix.com>
10109         * misc/regexp.h: Update comments.
10111 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
10113         [BZ #18635]
10114         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
10115         before return label.
10117 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10119         [BZ #18661]
10120         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
10121         when calling __errno_location.
10122         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
10123         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
10125 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10127         [BZ #18661]
10128         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
10129         (__lll_timedwait_tid): Align stack to 16 bytes when calling
10130         __gettimeofday.
10132 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10134         [BZ #18661]
10135         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10136         (__start_context): Don't use pop to restore %rdi so that stack
10137         is aligned to 16 bytes when calling __setcontext.
10139 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10141         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
10142         only for libc.
10143         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10145 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10147         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
10148         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
10149         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
10151 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10153         * string/memccpy.c (memccpy):
10154         Improve performance by using memchr/memcpy/__mempcpy.
10156 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10158         * string/strncpy.c (strncpy):
10159         Improve performance by using __strnlen/memcpy.
10161 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10163         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10164         Optimize to avoid an unnecessary FPCR read.
10166 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10168         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10169         Optimize to reduce FPCR/FPSR accesses.
10171 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10173         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
10174         dead->data[category] != NULL.
10176 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
10178         [BZ #18647]
10179         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
10180         and |x| close to 1, use absolute value of x when computing log.
10181         * math/auto-libm-test-in: Add more tests of pow.
10182         * math/auto-libm-test-out: Regenerated.
10184 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10186         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
10187         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
10188         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
10190 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
10192         [BZ #18525]
10193         * locales/km_KH: Remove timezone definition.
10194         * locales/lo_LA: Likewise.
10195         * locales/my_MM: Likewise.
10196         * locales/nan_TW@latin: Likewise.
10197         * locales/th_TH: Likewise.
10198         * locales/uk_UA: Likewise.
10200 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
10202         [BZ #18265]
10203         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
10204         (wcsncat): Likewise.
10205         (wcscmp): Likewise.
10206         (wcsncmp): Likewise.
10208 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10210         * test-skeleton.c (usage): New function.
10211         (main): Call usage when opt is '?'.
10213 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10215         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
10216         before first use.
10218 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10220         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
10221         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
10222         in there too.
10224 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
10226         * version.h (RELEASE): Set to "development".
10227         (VERSION): Set to "2.22.90"
10229         * version.h (RELEASE): Set to "stable".
10230         (VERSION): Set to "2.22"
10231         * include/features.h (__GLIBC_MINOR__): Set to 22.
10233 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
10235         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
10236         Restructure macro to avoid "value computed is not used" warning.
10237         (atomic_compare_and_exchange_val_acq): Likewise.
10239 2015-08-04  Andreas Schwab  <schwab@suse.de>
10241         [BZ #18635]
10242         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
10243         ret.
10244         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
10246 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
10248         * po/pl.po: Updated translation.
10249         * po/uk.po: Likewise.
10250         * po/fi.po: Likewise.
10251         * po/ko.po: Likewise.
10252         * po/ru.po: Likewise.
10253         * po/vi.po: Likewise.
10255 2015-07-31  Zack Weinberg  <zackw@panix.com>
10257         [BZ #18681]
10258         * regexp.h: Add unconditional #warning stating that this header
10259         will be removed soon.  Revise banner comment to match.
10260         (compile): Consistently use ERROR instead of RETURN to report
10261         errors (partial fix for bz#18681).
10262         * regexp.c: Don't include regexp.h. Remove some unnecessary
10263         declarations.
10265 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
10267         * po/libc.pot: Regenerated.
10269 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
10271         [BZ #18740]
10272         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
10273         float-vlen4-arch-ext-cflags): Removed.
10274         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
10275         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
10277 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10279         [BZ #14113]
10280         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
10281         aligned to __aligned__.
10282         (pthread_cond_t, pthread_rwlock_t): Likewise.
10284 2015-07-30  Torvald Riegel  <triegel@redhat.com>
10286         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
10288 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10290         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
10291         (struct sigaction): Change sa_flags from a long to an int, and add
10292         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
10294 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10296         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
10297         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
10298         sysdeps/generic/sysdep.h include.
10299         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
10300         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
10301         sysdeps/hppa/sysdep.h.
10302         (ENTRY, PSEUDO): Undefine before defining.
10304 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10306         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
10307         from scratch to use INTERNAL_SYSCALL.
10309 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
10311         [BZ #18078]
10312         * scripts/check-localplt.awk: Support alternate relocations.
10313         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
10314         sections.
10315         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
10316         malloc entries with + REL R_386_GLOB_DAT.
10317         * sysdeps/x86_64/localplt.data: New file.
10319 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
10321         [BZ #18731]
10322         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
10323         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10324         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10326 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10328         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
10330 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10332         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
10333         directly in terms of __sync_fetch_and_add and delete (int) cast.
10335 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10337         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
10338         the -D_ASM_IA64_CURRENT_H flag.
10340 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10342         [BZ #18641]
10343         * pwd/pwd.h (putpwent): Delete __nonnull markings.
10345 2015-07-27  Andreas Schwab  <schwab@suse.de>
10347         * conform/conformtest.pl (checknamespace): Filter out string
10348         literals while tokenizing.
10350 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10352         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10353         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
10354         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10356 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10358         * nptl/tst-join7mod.c: Add #include <string.h>.
10360 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
10362         * sysdeps/nios2/libm-test-ulps: Update.
10364 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
10366         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
10367         Fix order of arguments to the rt_sigprocmask syscall.
10368         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
10369         Likewise.
10371 2015-07-24  Roland McGrath  <roland@hack.frob.com>
10373         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
10375 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10377         [BZ #18457]
10378         * nptl/Makefile (tests): New test case tst-join7.
10379         (modules-names): New test case module tst-join7mod.
10380         * nptl/tst-join7.c: New file.
10381         * nptl/tst-join7mod.c: New file.
10382         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
10383         all translation units in libc.so, libpthread.so and rtld.
10385 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10389 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
10391         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
10392         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10393         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10394         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10395         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10396         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10397         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10398         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10399         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10400         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10401         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10402         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10403         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
10404         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
10405         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
10406         implementation.
10408 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10410         [BZ #17711]
10411         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10412         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
10413         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10414         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10415         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
10416         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10418 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10420         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
10421         instead of just saying load lock in the comments.
10423 2015-07-23  Roland McGrath  <roland@hack.frob.com>
10425         * sysdeps/unix/Subdirs: Moved ...
10426         * sysdeps/posix/Subdirs: ... here.
10427         * login/pty.h (struct termios, struct winsize): Add forward decls.
10428         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
10429         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
10430         * sysdeps/arm/nacl/libc.abilist: Updated.
10431         * sysdeps/nacl/libutil.abilist: New file.
10433         * bits/signum.h: Update comments to mention 1003.1-2013 too.
10434         (SIGWINCH): New macro.
10436         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
10437         * sysdeps/arm/nacl/libc.abilist: Add it.
10439 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
10441         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
10443 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
10445         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10446         Swap __glibc_reserved0 and sa_flags order.
10448 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10450         [BZ #18657]
10451         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
10452         are pending TLS destructor calls.
10453         * include/link.h (struct link_map): Add concurrency note for
10454         L_TLS_DTOR_COUNT.
10455         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10456         Don't touch the link map flag.  Atomically increment
10457         l_tls_dtor_count.
10458         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
10459         Avoid taking the load lock and don't touch the link map flag.
10460         * stdlib/tst-tls-atexit-nodelete.c: New test case.
10461         * stdlib/Makefile (tests): Use it.
10462         * stdlib/tst-tls-atexit.c (do_test): dlopen
10463         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
10464         to allow tst-tls-atexit-nodelete test case to use it.
10466 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10468         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
10469         to bits/types.h.
10470         (msgqnum_t): New typedef.
10471         (msglen_t): Likewise.
10472         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
10473         and msg_qbytes type to msglen_t.
10475 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10477         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
10478         pad0 to __glibc_reserved0.
10479         (struct stat64): Likewise.
10481 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10483         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10484         Change sa_flags from a long to an int and add __glibc_reserved0 before
10485         it for padding.
10487 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10489         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
10490         anonymous by deleting "siginfo" name.
10492 2015-07-21  Roland McGrath  <roland@hack.frob.com>
10494         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
10495         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
10496         rather than __nacl_irt_filename.
10497         * sysdeps/nacl/xstat.c (__xstat): Likewise.
10499         * NEWS: New item for arm-nacl port.
10500         * sysdeps/arm/nacl/libc.abilist: New file.
10501         * sysdeps/nacl/ld.abilist: New file.
10502         * sysdeps/nacl/libBrokenLocale.abilist: New file.
10503         * sysdeps/nacl/libanl.abilist: New file.
10504         * sysdeps/nacl/libcrypt.abilist: New file.
10505         * sysdeps/nacl/libdl.abilist: New file.
10506         * sysdeps/nacl/libm.abilist: New file.
10507         * sysdeps/nacl/libpthread.abilist: New file.
10508         * sysdeps/nacl/libresolv.abilist: New file.
10509         * sysdeps/nacl/librt.abilist: New file.
10511 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
10513         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
10514         __startcontext to initialize the new context.
10515         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
10516         up CFI directive to forbid further backtracing.
10518 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
10520         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
10521         reference.
10522         * charmaps/ANSI_X3.4-1968: Likewise.
10523         * charmaps/BS_4730: Likewise.
10524         * charmaps/BS_VIEWDATA: Likewise.
10525         * charmaps/CP1250: Likewise.
10526         * charmaps/CP1251: Likewise.
10527         * charmaps/CP1252: Likewise.
10528         * charmaps/CP1253: Likewise.
10529         * charmaps/CP1254: Likewise.
10530         * charmaps/CP1255: Likewise.
10531         * charmaps/CP1256: Likewise.
10532         * charmaps/CSN_369103: Likewise.
10533         * charmaps/EBCDIC-DK-NO: Likewise.
10534         * charmaps/GB_1988-80: Likewise.
10535         * charmaps/GREEK-CCITT: Likewise.
10536         * charmaps/GREEK7: Likewise.
10537         * charmaps/INIS-8: Likewise.
10538         * charmaps/ISIRI-3342: Likewise.
10539         * charmaps/ISO_2033-1983: Likewise.
10540         * charmaps/ISO_5427-EXT: Likewise.
10541         * locales/POSIX: Likewise.
10542         * locales/ar_SA: Likewise.
10543         * locales/be_BY: Likewise.
10544         * locales/be_BY@latin: Likewise.
10545         * locales/ca_ES: Likewise.
10546         * locales/cs_CZ: Likewise.
10547         * locales/da_DK: Likewise.
10548         * locales/de_BE: Likewise.
10549         * locales/de_CH: Likewise.
10550         * locales/de_LU: Likewise.
10551         * locales/en_AU: Likewise.
10552         * locales/en_BW: Likewise.
10553         * locales/en_CA: Likewise.
10554         * locales/en_DK: Likewise.
10555         * locales/en_GB: Likewise.
10556         * locales/en_IE: Likewise.
10557         * locales/en_NZ: Likewise.
10558         * locales/en_ZA: Likewise.
10559         * locales/en_ZW: Likewise.
10560         * locales/es_AR: Likewise.
10561         * locales/es_BO: Likewise.
10562         * locales/es_CL: Likewise.
10563         * locales/es_CO: Likewise.
10564         * locales/es_DO: Likewise.
10565         * locales/es_EC: Likewise.
10566         * locales/es_ES: Likewise.
10567         * locales/es_HN: Likewise.
10568         * locales/es_MX: Likewise.
10569         * locales/es_PA: Likewise.
10570         * locales/es_PE: Likewise.
10571         * locales/es_PY: Likewise.
10572         * locales/es_SV: Likewise.
10573         * locales/es_US: Likewise.
10574         * locales/es_UY: Likewise.
10575         * locales/es_VE: Likewise.
10576         * locales/et_EE: Likewise.
10577         * locales/fa_IR: Likewise.
10578         * locales/fo_FO: Likewise.
10579         * locales/fr_CA: Likewise.
10580         * locales/fr_CH: Likewise.
10581         * locales/gv_GB: Likewise.
10582         * locales/he_IL: Likewise.
10583         * locales/hr_HR: Likewise.
10584         * locales/id_ID: Likewise.
10585         * locales/is_IS: Likewise.
10586         * locales/it_CH: Likewise.
10587         * locales/iw_IL: Likewise.
10588         * locales/kl_GL: Likewise.
10589         * locales/ko_KR: Likewise.
10590         * locales/kw_GB: Likewise.
10591         * locales/lg_UG: Likewise.
10592         * locales/lt_LT: Likewise.
10593         * locales/lv_LV: Likewise.
10594         * locales/mi_NZ: Likewise.
10595         * locales/nhn_MX: Likewise.
10596         * locales/nl_BE: Likewise.
10597         * locales/pl_PL: Likewise.
10598         * locales/sk_SK: Likewise.
10599         * locales/sl_SI: Likewise.
10600         * locales/sv_FI: Likewise.
10601         * locales/tl_PH: Likewise.
10602         * locales/tr_TR: Likewise.
10603         * locales/vi_VN: Likewise.
10605 2015-07-21  Khem Raj  <raj.khem@gmail.com>
10607         [BZ #17475]
10608         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
10609         of tu_IN and bh_IN.
10611 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
10613         [BZ #18694]
10614         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
10615         bits/wordsize.h.
10616         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
10618 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10620         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
10621         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
10622         (spawn_thread): New function.
10623         (load): Rename to reg_dtor_and_close.  Move dlopen to...
10624         (do_test): ... here.  Use IS_LOADED to test for its
10625         availability.
10627 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
10629         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10631 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
10633         [BZ #18696]
10634         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
10635         si_addr_bnd.
10636         (si_lower): New.
10637         (si_upper): Likewise.
10639 2015-07-16  David S. Miller  <davem@davemloft.net>
10641         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
10643 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10645         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
10646         buffer.
10647         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
10648         fail output information.
10650 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
10653         and strstr-ppc64..
10654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10655         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
10656         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
10657         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
10658         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
10660 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
10662         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10663         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10664         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10665         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10667 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
10669         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10670         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
10671         rtld_hidden_proto.
10672         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
10674 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10676         * tst-nodelete-opened.c (do_test): Add comment to clarify how
10677         the test can fail.
10679         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
10681         [BZ #18676]
10682         * elf/tst-nodelete-opened.c: New test case.
10683         * elf/tst-nodelete-opened-lib.c: New test case module.
10684         * elf/Makefile (tests, modules-names): Use them.
10685         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
10686         early.
10688 2015-07-15  David S. Miller  <davem@davemloft.net>
10690         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
10691         futex-intenal.h
10692         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
10693         * sysdeps/sparc/sparc64/Makefile: Likewise.
10694         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10695         Remove space from macro define.
10696         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
10698 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
10700         [BZ #17475]
10701         * locale/iso-639.def: Update Bhili and Tulu language codes as
10702         per iso639-3.
10704 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
10706         * elf/tst-leaks1.c (main): Converted to ...
10707         (do_test): ... this.
10708         (TEST_FUNCTION): New macro.
10709         Include test-skeleton.c.
10710         * localedata/tst-langinfo.c (main): Converted to ...
10711         (do_test): ... this.
10712         (TEST_FUNCTION): New macro.
10713         Include test-skeleton.c.
10714         * math/test-fpucw.c (main): Converted to ...
10715         (do_test): ... this.
10716         (TEST_FUNCTION): New macro.
10717         Include test-skeleton.c.
10718         * math/test-tgmath.c (main): Converted to ...
10719         (do_test): ... this.
10720         (TEST_FUNCTION): New macro.
10721         Include test-skeleton.c.
10722         * math/test-tgmath2.c (main): Converted to ...
10723         (do_test): ... this.
10724         (TEST_FUNCTION): New macro.
10725         Include test-skeleton.c.
10726         * setjmp/tst-setjmp.c (main): Converted to ...
10727         (do_test): ... this.
10728         (TEST_FUNCTION): New macro.
10729         Include test-skeleton.c.
10730         * stdio-common/tst-sscanf.c (main): Converted to ...
10731         (do_test): ... this.
10732         (TEST_FUNCTION): New macro.
10733         Include test-skeleton.c.
10734         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
10735         (do_test): ... this.
10736         (TEST_FUNCTION): New macro.
10737         Include test-skeleton.c.
10739         * elf/tst-audit9.c (main): Converted to ...
10740         (do_test): ... this.
10741         (TEST_FUNCTION): New macro.
10742         Include test-skeleton.c.
10744 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
10746         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
10748 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10750         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
10751         New variable.
10753 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10755         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10757 2015-07-14  Roland McGrath  <roland@hack.frob.com>
10759         * sysdeps/generic/dl-fileid.h: New file.
10760         * sysdeps/posix/dl-fileid.h: New file.
10761         * sysdeps/nacl/dl-fileid.h: New file.
10762         * include/link.h: Include <dl-fileid.h>.
10763         (struct link_map): Replace l_dev and l_ino with l_file_id.
10764         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
10765         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
10766         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
10768 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10770         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
10772 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10774         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
10775         Add iff $CXX is set.
10776         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
10777         Likewise.
10778         (tst-nodelete-zmodiff): Likewise.
10779         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
10781 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10783         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
10785 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
10787         * sysdeps/aarch64/fpu/math_private.h
10788         (define math_opt_barrier): Add AArch64 version.
10789         (math_force_eval): Likewise.
10791 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
10793         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
10795 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
10797         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
10798         %ld with %jd and cast to intmax_t.
10799         (do_test_length_zero): Likewise.
10801 2015-07-10  Roland McGrath  <roland@hack.frob.com>
10803         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
10805 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
10807         * sysdeps/tile/libm-test-ulps: Regenerated.
10809         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
10810         Comment out the whole function, not just its body.
10812 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10814         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
10815         locks.
10817         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
10819 2015-07-10  Torvald Riegel  <triegel@redhat.com>
10821         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
10822         (sem_assume_only_signals_cause_futex_EINTR): Remove.
10824 2015-07-10  Torvald Riegel  <triegel@redhat.com>
10826         * sysdeps/nptl/futex-internal.h: New file.
10827         * sysdeps/nacl/futex-internal.h: New file.
10828         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
10829         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
10830         error checking.
10831         (setxid_unmark_thread): Likewise.
10832         (__nptl_setxid): Likewise.
10833         (__wait_lookup_done): Likewise.
10834         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
10835         * nptl/nptl-init.c (sighandler_setxid): Likewise.
10836         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
10837         * nptl/pthread_once.c (clear_once_control): Likewise.
10838         (__pthread_once_slow): Likewise.
10839         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10840         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
10841         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
10842         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
10843         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
10844         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
10845         Likewise.
10846         (__pthread_rwlock_rdlock): Likewise.
10847         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10848         Likewise.
10849         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10850         Likewise.
10851         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
10852         Likewise.
10853         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
10854         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
10855         Likewise.
10856         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
10857         __ASSUME_PRIVATE_FUTEX check.
10858         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
10859         Check that shared futexes are supported.
10860         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
10861         wrappers with error checking.
10862         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
10863         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
10864         * nptl/pthread_barrierattr_setpshared.c
10865         (pthread_barrierattr_setpshared): Check that shared futexes are
10866         supported.
10867         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
10868         Likewise.
10869         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
10870         Likewise.
10871         * nptl/sem_init.c (futex_private_if_supported): Remove.
10872         (__new_sem_init): Adapt and check that shared futexes are supported.
10873         * nptl/sem_open.c (sem_open): Likewise.
10874         * nptl/sem_post.c (futex_wake): Remove.
10875         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
10876         (do_futex_wait): Use futex wrappers with error checking.
10877         * nptl/sem_wait.c: Include lowlevellock.h.
10878         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
10879         Use futex_supports_pshared.
10880         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
10881         Use futex wrappers with error checking.
10882         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
10883         Likewise.
10884         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
10885         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
10886         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
10887         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
10888         (futex_wake): Likewise.
10889         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
10890         (do_futex_wait): Use futex wrappers with error checking.
10891         (__new_sem_wait_slow): Update EINTR handling.
10892         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
10894 2015-07-09  Martin Sebor  <msebor@redhat.com>
10896         [BZ #18435]
10897         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10898         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
10899         * nptl/Makefile (test-xfail-tst-once5): Define.
10901 2015-07-09  Roland McGrath  <roland@hack.frob.com>
10903         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
10904         * elf/dl-minimal.c: For readability, reorder some definitions and
10905         introduce more page breaks.  Include <stdio.h>.
10906         (__libc_fatal): New function.
10908         * include/unistd.h: Add rtld_hidden_proto for _exit.
10909         * posix/_exit.c: Add rtld_hidden_def.
10910         * sysdeps/mach/hurd/_exit.c: Likewise.
10911         * sysdeps/nacl/_exit.c: Likewise.
10912         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
10913         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
10915 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
10917         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
10918         bndmov encoding with zero displacement.
10920 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
10921             H.J. Lu  <hongjiu.lu@intel.com>
10923         [BZ #18134]
10924         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
10925         * sysdeps/i386/configure: Regenerated.
10926         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
10927         (_dl_runtime_profile): Save and restore Intel MPX return bound
10928         registers when calling _dl_call_pltexit.  Add
10929         PRESERVE_BND_REGS_PREFIX before return.
10930         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
10931         (LRV_BND1_OFFSET): Likewise.
10932         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
10933         lrv_bnd1.
10934         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
10935         typo in bndmov encoding.
10936         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
10937         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
10938         branch instructions to preserve bounds.
10940 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10943         [GLIBC_2.22]: Add fmemopen.
10945 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10947         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
10948         returns an error, also try to use host port from __mach_host_self for
10949         the __vm_wire call.
10950         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
10952 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10954         [BZ #18400]
10955         [BZ #18648]
10956         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
10957         Fix pr_uid and pr_gid members.
10958         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
10959         definition to elf_greg_t.
10961 2015-07-08  Roland McGrath  <roland@hack.frob.com>
10963         [BZ #18383]
10964         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
10965         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
10966         * sysdeps/arm/configure: Regenerated.
10967         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
10968         (test-xfail-tst-tlsalign-static): Variable removed.
10970         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
10971         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
10972         rather than explicit 'ln -s'.
10974         * resolv/rpc/netdb.h: New file.
10975         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
10977 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10979         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
10980         length buffers.
10981         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10982         test-skeleton.c.
10984         [BZ #6544]
10985         [BZ #11216]
10986         [BZ #12836]
10987         [BZ #13151]
10988         [BZ #13152]
10989         [BZ #14292]
10990         * include/stdio.h (fmemopen): Remove hidden prototype.
10991         (__fmemopen): Add new hidden prototype.
10992         * libio/Makefile: Add oldfmemopen object.
10993         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
10994         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
10995         compliance.
10996         * libio/oldfmemopen.c: New file: old fmemopen implementation for
10997         symbol compatibility.
10998         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
10999         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
11000         fmemopen.
11001         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
11002         on append and read mode.
11003         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
11004         fmemopen.
11005         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
11006         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
11007         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
11008         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
11009         Likewise.
11010         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11011         [GLIBC_2.22]: Likewise.
11012         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
11013         Likewise.
11014         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
11015         Likewise.
11016         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11017         [GLIBC_2.22]: Likewise.
11018         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11019         [GLIBC_2.22]: Likewise.
11020         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11021         [GLIBC_2.22]: Likewise.
11022         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11023         [GLIBC_2.22]: Likewise.
11024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11025         [GLIBC_2.22]: Likewise.
11026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11027         [GLIBC_2.22]: Likewise.
11028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11029         [GLIBC_2.22]: Likewise.
11030         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
11031         Likewise.
11032         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
11033         Likewise.
11034         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
11035         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11036         [GLIBC_2.22]: Likewise.
11037         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11038         [GLIBC_2.22]: Likewise.
11039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11040         [GLIBC_2.22]: Likewise.
11041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11042         [GLIBC_2.22]: Likewise.
11043         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
11044         Likewise.
11045         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
11046         Likewise.
11047         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
11048         Likewise.
11049         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
11050         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
11052 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
11054         [BZ #18643]
11055         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
11056         IPV6_PATHMTU, and IPV6_DONTFRAG.
11058 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
11060         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
11061         and _IO_UNBUFFERED.
11062         * libio/oldfileops.c: Likewise.
11063         * libio/wfileops.c: Likewise.
11065 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
11067         * nscd/selinux.c: Delete selinux/flask.h include.
11069 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
11071         [BZ #18641]
11072         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
11073         (putpwent): Likewise.
11074         (getpwnam): Likewise.
11075         (getpwent_r): Likewise.
11076         (getpwuid_r): Likewise.
11077         (getpwnam_r): Likewise.
11078         (fgetpwent_r): Likewise.
11080 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
11082         [BZ #18557]
11083         * inet/rcmd.c (__validuser2_sa): Check user first to
11084         short-circuit host check.
11086 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
11087             Mikhail Ilin  <m.ilin@samsung.com>
11089         [BZ #17833]
11090         * elf/Makefile (tests): Add tst-nodelete.
11091         (modules-names): Add tst-nodelete-uniquemod.
11092         (tst-nodelete-uniquemod.so-no-z-defs): New.
11093         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
11094         (tst-nodelete-zmod.so-no-z-defs): Likewise.
11095         ($(objpfx)tst-nodelete): Likewise.
11096         ($(objpfx)tst-nodelete.out): Likewise.
11097         (LDFLAGS-tst-nodelete): Likewise.
11098         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
11099         * elf/dl-close.c (_dl_close_worker): Add a parameter to
11100         implement forced object deletion.
11101         (_dl_close): Pass false to _dl_close_worker.
11102         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
11103         * elf/tst-nodelete.cc: New file.
11104         * elf/tst-nodeletelib.cc: Likewise.
11105         * elf/tst-znodeletelib.cc: Likewise.
11106         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
11108 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11110         [BZ #18508]
11111         * stdlib/Makefile ($(objpfx)tst-makecontext3):
11112         Depend on $(libdl).
11113         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
11114         is not called infinitely times.
11115         (backtrace_helper): New function.
11116         (trace_arg): New struct.
11117         (st1): Enlarge stack size.
11118         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11119         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
11120         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11121         Likewise.
11123 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11125         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11127 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11129         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
11130         Include sys/types.h instead of bits/types.h.
11131         Remove inclusion of bits/wordsize.h.
11133 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11135         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
11136         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
11137         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
11138         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
11139         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
11140         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
11142 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11144         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
11145         link-defines.sym.
11146         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
11147         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
11148         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
11149         and LR_SIZE.
11150         * sysdeps/i386/link-defines.sym: New file.
11152 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11154         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
11155         (modules-names): Add tst-auditmod3a tst-auditmod3b.
11156         ($(objpfx)tst-audit3): New rule.
11157         ($(objpfx)tst-audit3.out): Likewise.
11158         * sysdeps/i386/tst-audit3.c: New file.
11159         * sysdeps/i386/tst-audit3.h: Likewise.
11160         * sysdeps/i386/tst-auditmod3a.c: Likewise.
11161         * sysdeps/i386/tst-auditmod3b.c: Likewise.
11163 2015-07-07  Torvald Riegel  <triegel@redhat.com>
11165         [BZ #18633]
11166         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
11167         pointer in C code.
11168         (__strcat_c): Likewise.
11169         (__strcat_g): Likewise.
11171 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
11173         [BZ #18592]
11174         * misc/sbrk.c: Set errno to ENOMEM on overflow.
11176 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
11178         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
11179         New function.  (__ieee754_sqrtf): New function.
11180         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
11181         New function.
11182         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
11183         New function.
11185 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
11187         * sysdeps/ieee754/support.c: Remove unused file.
11189 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11191         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
11192         registers instead of d ones so the layout is kernel abi compatible.
11193         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
11194         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
11195         Likewise.
11197 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11199         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11201 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
11203         [BZ #18619]
11204         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
11205         and return argument in case of subnormal argument.
11207 2015-07-01  Martin Sebor  <msebor@redhat.com>
11209         [BZ #18435]
11210         * nptl/Makefile: Add tst-once5.cc.
11211         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11212         Remove macro redefinitions.
11213         * nptl/tst-once5.cc: New test.
11215 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
11217         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11219         * sysdeps/arm/libm-test-ulps: Regenerated.
11221         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11222         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11224 2015-06-30  Torvald Riegel  <triegel@redhat.com>
11226         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
11227         lll_lock_wait_private and lll_futex_wake probes.
11229         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11230         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
11231         Likewise.
11232         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
11233         atomic_spin_nop.
11234         * sysdeps/x86_64/bits/atomic.h: Likewise.
11235         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
11236         to atomic_spin_nop and move ...
11237         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11238         ... here and ...
11239         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
11240         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
11241         atomic_spin_nop instead of BUSY_WAIT_NOP.
11242         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
11243         Likewise.
11244         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
11245         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11246         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
11247         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
11248         instead of atomic_delay.
11250 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
11252         [BZ #18613]
11253         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
11254         X_ADJ not X when adjusting exponent.
11255         (__ieee754_gamma_r): Do intermediate computations in
11256         round-to-nearest then adjust overflowing and underflowing results
11257         as needed.
11258         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
11259         of X_ADJ not X when adjusting exponent.
11260         (__ieee754_gammaf_r): Do intermediate computations in
11261         round-to-nearest then adjust overflowing and underflowing results
11262         as needed.
11263         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
11264         log of X_ADJ not X when adjusting exponent.
11265         (__ieee754_gammal_r): Do intermediate computations in
11266         round-to-nearest then adjust overflowing and underflowing results
11267         as needed.  Use 1.0L not 1.0f as numerator of division.
11268         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
11269         log of X_ADJ not X when adjusting exponent.
11270         (__ieee754_gammal_r): Do intermediate computations in
11271         round-to-nearest then adjust overflowing and underflowing results
11272         as needed.  Use 1.0L not 1.0f as numerator of division.
11273         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
11274         of X_ADJ not X when adjusting exponent.
11275         (__ieee754_gammal_r): Do intermediate computations in
11276         round-to-nearest then adjust overflowing and underflowing results
11277         as needed.  Use 1.0L not 1.0f as numerator of division.
11278         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
11279         to auto-libm-test-in.
11280         (tgamma_test): Use ALL_RM_TEST.
11281         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
11282         tests of tgamma with spurious-overflow.
11283         * math/auto-libm-test-out: Regenerated.
11284         * math/gen-libm-have-vector-test.sh: Do not check for START.
11285         * sysdeps/i386/fpu/libm-test-ulps: Update.
11286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11288         [BZ #18612]
11289         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
11290         arguments, just return 0.5 times the argument, with underflow
11291         forced as needed.
11292         * math/auto-libm-test-in: Add more tests of j1.
11293         * math/auto-libm-test-out: Regenerated.
11295         [BZ #16559]
11296         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
11297         (__ieee754_j1): Force underflow exception for small results.
11298         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11299         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
11300         (__ieee754_j1f): Force underflow exception for small results.
11301         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11302         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11303         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11304         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
11305         (__ieee754_j1l): Force underflow exception for small results.
11306         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11307         * math/auto-libm-test-in: Add more tests of j1 and jn.
11308         * math/auto-libm-test-out: Regenerated.
11310         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
11311         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
11312         (PF_MPLS): Likewise.
11313         (AF_IB): Likewise.
11314         (AF_MPLS): Likewise.
11315         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
11316         value and macro.
11317         (MS_RMT_MASK): Include MS_LAZYTIME.
11319 2015-06-26  Mel Gorman  <mgorman@suse.de>
11321         [BZ #18502]
11322         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
11323         already minimal.
11325 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
11327         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
11328         (DT_MIPS_NUM): Update.
11329         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
11330         DT_MIPS_RLD_MAP_REL.
11332 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
11334         [BZ #16559]
11335         [BZ #18602]
11336         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
11337         round-to-nearest internally then recompute results that
11338         underflowed to zero in the original rounding mode.
11339         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11340         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11341         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11342         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11343         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
11344         * sysdeps/i386/fpu/libm-test-ulps: Update.
11345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11347 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11349         * NEWS: Fixed description of link with vector math library.
11351 2015-06-25  Andreas Schwab  <schwab@suse.de>
11353         [BZ #18549]
11354         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
11355         * libio/test-fmemopen.c (do_test): Add test for it.
11357 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
11359         [BZ #17841]
11360         * Makeconfig (no-pie-ldflag): New.
11361         (+link): Set to $(+link-pie) if default to PIE.
11362         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
11363         * config.make.in (build-pie-default): New.
11364         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
11365         is default.  AC_SUBST.
11366         * configure: Regenerated.
11367         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
11369 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11371         * nptl/descr.h (struct pthread): Change type of field setxid_futex
11372         to 'unsigned int'.
11374         * resolv/gai_misc.h (struct waitlist): Change type of field
11375         counterp to 'volatile unsigned int *'.
11376         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
11377         FUTEXADDR and OLDVAL.
11378         * resolv/getaddrinfo_a.c (getaddrinfo_a):
11379         Give local variable TOTAL type 'volatile unsigned int'.
11380         (struct async_waitlist): Change type of field counter to 'unsigned int'.
11381         * resolv/gai_suspend.c (gai_suspend):
11382         Give local variable CNTR type 'unsigned int'.
11384         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
11385         counterp to 'volatile unsigned int *'.
11386         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
11387         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
11388         (aio_suspend): Give local variable CNTR type 'unsigned int'.
11389         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
11390         Give local variable TOTAL type 'volatile unsigned int'.
11391         (struct async_waitlist): Change type of field counter to 'unsigned int'.
11393 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11395         [BZ #18383]
11396         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
11397         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
11398         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
11399         comment for i386/x86-64.
11400         (test-xfail-tst-tlsalign-extern-static): Removed.
11402 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11404         * math/test-double.h: New file.
11405         * math/test-float.h: Likewise.
11406         * math/test-ldouble.h: Likewise.
11407         * math/test-math-inline.h: Likewise.
11408         * math/test-math-no-inline.h: Likewise.
11409         * math/test-math-scalar.h: Likewise.
11410         * math/test-math-vector.h: Likewise.
11411         * math/test-vec-loop.h: Remove file.  Contents moved into
11412         test-math-vector.h.
11413         * math/libm-test.inc (MATHCONST): Do not document macro.
11414         * math/test-double.c: Include test-double.h, test-math-no-inline.h
11415         and test-math-scalar.h.
11416         (FUNC): Remove macro.
11417         (FUNC_TEST): Likewise.
11418         (FLOAT): Likewise.
11419         (MATHCONST): Likewise.
11420         (PRINTF_EXPR): Likewise.
11421         (PRINTF_XEXPR): Likewise.
11422         (PRINTF_NEXPR): Likewise.
11423         (TEST_DOUBLE): Likewise.
11424         (TEST_MATHVEC): Likewise.
11425         (__NO_MATH_INLINES): Likewise.
11426         * math/test-float.c: Include test-float.h, test-math-no-inline.h
11427         and test-math-scalar.h.
11428         (FUNC): Remove macro.
11429         (FUNC_TEST): Likewise.
11430         (FLOAT): Likewise.
11431         (MATHCONST): Likewise.
11432         (PRINTF_EXPR): Likewise.
11433         (PRINTF_XEXPR): Likewise.
11434         (PRINTF_NEXPR): Likewise.
11435         (TEST_FLOAT): Likewise.
11436         (TEST_MATHVEC): Likewise.
11437         (__NO_MATH_INLINES): Likewise.
11438         * math/test-idouble.c: Include test-double.h, test-math-inline.h
11439         and test-math-scalar.h.
11440         (FUNC): Remove macro.
11441         (FUNC_TEST): Likewise.
11442         (FLOAT): Likewise.
11443         (MATHCONST): Likewise.
11444         (PRINTF_EXPR): Likewise.
11445         (PRINTF_XEXPR): Likewise.
11446         (PRINTF_NEXPR): Likewise.
11447         (TEST_DOUBLE): Likewise.
11448         (TEST_MATHVEC): Likewise.
11449         (TEST_INLINE): Likewise.
11450         (__NO_MATH_INLINES): Likewise.
11451         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
11452         test-math-scalar.h.
11453         (FUNC): Remove macro.
11454         (FUNC_TEST): Likewise.
11455         (FLOAT): Likewise.
11456         (MATHCONST): Likewise.
11457         (PRINTF_EXPR): Likewise.
11458         (PRINTF_XEXPR): Likewise.
11459         (PRINTF_NEXPR): Likewise.
11460         (TEST_FLOAT): Likewise.
11461         (TEST_MATHVEC): Likewise.
11462         (TEST_INLINE): Likewise.
11463         (__NO_MATH_INLINES): Likewise.
11464         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
11465         and test-math-scalar.h.
11466         (FUNC): Remove macro.
11467         (FUNC_TEST): Likewise.
11468         (FLOAT): Likewise.
11469         (MATHCONST): Likewise.
11470         (PRINTF_EXPR): Likewise.
11471         (PRINTF_XEXPR): Likewise.
11472         (PRINTF_NEXPR): Likewise.
11473         (TEST_LDOUBLE): Likewise.
11474         (TEST_MATHVEC): Likewise.
11475         (TEST_INLINE): Likewise.
11476         (__NO_MATH_INLINES): Likewise.
11477         * math/test-ldouble.c: Include test-ldouble.h,
11478         test-math-no-inline.h and test-math-scalar.h.
11479         (FUNC): Remove macro.
11480         (FUNC_TEST): Likewise.
11481         (FLOAT): Likewise.
11482         (MATHCONST): Likewise.
11483         (PRINTF_EXPR): Likewise.
11484         (PRINTF_XEXPR): Likewise.
11485         (PRINTF_NEXPR): Likewise.
11486         (TEST_LDOUBLE): Likewise.
11487         (TEST_MATHVEC): Likewise.
11488         (__NO_MATH_INLINES): Likewise.
11489         * math/test-double-vlen2.h: Include test-double.h,
11490         test-math-no-inline.h and test-math-vector.h.
11491         (FLOAT): Remove macro.
11492         (FUNC): Likewise.
11493         (MATHCONST): Likewise.
11494         (PRINTF_EXPR): Likewise.
11495         (PRINTF_XEXPR): Likewise.
11496         (PRINTF_NEXPR): Likewise.
11497         (TEST_DOUBLE): Likewise.
11498         (TEST_MATHVEC): Likewise.
11499         (__NO_MATH_INLINES): Likewise.
11500         (CNCT): Likewise.
11501         (CONCAT): Likewise.
11502         (WRAPPER_NAME): Likewise.
11503         (WRAPPER_DECL): Likewise.
11504         (WRAPPER_DECL_ff): Likewise.
11505         (WRAPPER_DECL_fFF): Likewise.
11506         (VECTOR_WRAPPER): Likewise.
11507         (VECTOR_WRAPPER_ff): Likewise.
11508         (VECTOR_WRAPPER_fFF): Likewise.
11509         (VEC_LEN): New macro.
11510         * math/test-double-vlen4.h: Include test-double.h,
11511         test-math-no-inline.h and test-math-vector.h.
11512         (FLOAT): Remove macro.
11513         (FUNC): Likewise.
11514         (MATHCONST): Likewise.
11515         (PRINTF_EXPR): Likewise.
11516         (PRINTF_XEXPR): Likewise.
11517         (PRINTF_NEXPR): Likewise.
11518         (TEST_DOUBLE): Likewise.
11519         (TEST_MATHVEC): Likewise.
11520         (__NO_MATH_INLINES): Likewise.
11521         (CNCT): Likewise.
11522         (CONCAT): Likewise.
11523         (WRAPPER_NAME): Likewise.
11524         (WRAPPER_DECL): Likewise.
11525         (WRAPPER_DECL_ff): Likewise.
11526         (WRAPPER_DECL_fFF): Likewise.
11527         (VECTOR_WRAPPER): Likewise.
11528         (VECTOR_WRAPPER_ff): Likewise.
11529         (VECTOR_WRAPPER_fFF): Likewise.
11530         (VEC_LEN): New macro.
11531         * math/test-double-vlen8.h: Include test-double.h,
11532         test-math-no-inline.h and test-math-vector.h.
11533         (FLOAT): Remove macro.
11534         (FUNC): Likewise.
11535         (MATHCONST): Likewise.
11536         (PRINTF_EXPR): Likewise.
11537         (PRINTF_XEXPR): Likewise.
11538         (PRINTF_NEXPR): Likewise.
11539         (TEST_DOUBLE): Likewise.
11540         (TEST_MATHVEC): Likewise.
11541         (__NO_MATH_INLINES): Likewise.
11542         (CNCT): Likewise.
11543         (CONCAT): Likewise.
11544         (WRAPPER_NAME): Likewise.
11545         (WRAPPER_DECL): Likewise.
11546         (WRAPPER_DECL_ff): Likewise.
11547         (WRAPPER_DECL_fFF): Likewise.
11548         (VECTOR_WRAPPER): Likewise.
11549         (VECTOR_WRAPPER_ff): Likewise.
11550         (VECTOR_WRAPPER_fFF): Likewise.
11551         (VEC_LEN): New macro.
11552         * math/test-float-vlen4.h: Include test-float.h,
11553         test-math-no-inline.h and test-math-vector.h.
11554         (FLOAT): Remove macro.
11555         (FUNC): Likewise.
11556         (MATHCONST): Likewise.
11557         (PRINTF_EXPR): Likewise.
11558         (PRINTF_XEXPR): Likewise.
11559         (PRINTF_NEXPR): Likewise.
11560         (TEST_FLOAT): Likewise.
11561         (TEST_MATHVEC): Likewise.
11562         (__NO_MATH_INLINES): Likewise.
11563         (CNCT): Likewise.
11564         (CONCAT): Likewise.
11565         (WRAPPER_NAME): Likewise.
11566         (WRAPPER_DECL): Likewise.
11567         (WRAPPER_DECL_ff): Likewise.
11568         (WRAPPER_DECL_fFF): Likewise.
11569         (VECTOR_WRAPPER): Likewise.
11570         (VECTOR_WRAPPER_ff): Likewise.
11571         (VECTOR_WRAPPER_fFF): Likewise.
11572         (VEC_LEN): New macro.
11573         * math/test-float-vlen8.h: Include test-float.h,
11574         test-math-no-inline.h and test-math-vector.h.
11575         (FLOAT): Remove macro.
11576         (FUNC): Likewise.
11577         (MATHCONST): Likewise.
11578         (PRINTF_EXPR): Likewise.
11579         (PRINTF_XEXPR): Likewise.
11580         (PRINTF_NEXPR): Likewise.
11581         (TEST_FLOAT): Likewise.
11582         (TEST_MATHVEC): Likewise.
11583         (__NO_MATH_INLINES): Likewise.
11584         (CNCT): Likewise.
11585         (CONCAT): Likewise.
11586         (WRAPPER_NAME): Likewise.
11587         (WRAPPER_DECL): Likewise.
11588         (WRAPPER_DECL_ff): Likewise.
11589         (WRAPPER_DECL_fFF): Likewise.
11590         (VECTOR_WRAPPER): Likewise.
11591         (VECTOR_WRAPPER_ff): Likewise.
11592         (VECTOR_WRAPPER_fFF): Likewise.
11593         (VEC_LEN): New macro.
11594         * math/test-float-vlen16.h: Include test-float.h,
11595         test-math-no-inline.h and test-math-vector.h.
11596         (FLOAT): Remove macro.
11597         (FUNC): Likewise.
11598         (MATHCONST): Likewise.
11599         (PRINTF_EXPR): Likewise.
11600         (PRINTF_XEXPR): Likewise.
11601         (PRINTF_NEXPR): Likewise.
11602         (TEST_FLOAT): Likewise.
11603         (TEST_MATHVEC): Likewise.
11604         (__NO_MATH_INLINES): Likewise.
11605         (CNCT): Likewise.
11606         (CONCAT): Likewise.
11607         (WRAPPER_NAME): Likewise.
11608         (WRAPPER_DECL): Likewise.
11609         (WRAPPER_DECL_ff): Likewise.
11610         (WRAPPER_DECL_fFF): Likewise.
11611         (VECTOR_WRAPPER): Likewise.
11612         (VECTOR_WRAPPER_ff): Likewise.
11613         (VECTOR_WRAPPER_fFF): Likewise.
11614         (VEC_LEN): New macro.
11615         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
11616         test-vec-loop.h.
11617         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11618         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11619         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11620         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11621         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11622         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11623         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11625 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11627         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
11628         (__getlogin_r): ... this.
11630 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11632         [BZ #18594]
11633         * math/s_ccosh.c (__ccosh): Compare with least normal value
11634         instead of comparing class with FP_SUBNORMAL.
11635         * math/s_ccoshf.c (__ccoshf): Likewise.
11636         * math/s_ccoshl.c (__ccoshl): Likewise.
11637         * math/s_cexp.c (__cexp): Likewise.
11638         * math/s_cexpf.c (__cexpf): Likewise.
11639         * math/s_cexpl.c (__cexpl): Likewise.
11640         * math/s_csin.c (__csin): Likewise.
11641         * math/s_csinf.c (__csinf): Likewise.
11642         * math/s_csinh.c (__csinh): Likewise.
11643         * math/s_csinhf.c (__csinhf): Likewise.
11644         * math/s_csinhl.c (__csinhl): Likewise.
11645         * math/s_csinl.c (__csinl): Likewise.
11646         * math/s_ctan.c (__ctan): Likewise.
11647         * math/s_ctanf.c (__ctanf): Likewise.
11648         * math/s_ctanh.c (__ctanh): Likewise.
11649         * math/s_ctanhf.c (__ctanhf): Likewise.
11650         * math/s_ctanhl.c (__ctanhl): Likewise.
11651         * math/s_ctanl.c (__ctanl): Likewise.
11652         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
11653         csin, csinh, ctan and ctanh.
11654         * math/auto-libm-test-out: Regenerated.
11655         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
11656         * sysdeps/i386/fpu/libm-test-ulps: Update.
11657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11659 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11661         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
11662         return value is wrong, print the expected value too.
11664 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11666         [BZ #18585]
11667         * elf/readlib.c (is_gdb_python_file): New.
11668         (process_file): Don't issue errors on filenames with -gdb.py
11669         suffix.
11671 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11673         * math/auto-libm-test-in: Add more tests of csin and csinh.
11674         * math/auto-libm-test-out: Regenerated.
11675         * math/libm-test.inc (csin_test_data): Remove tests moved to
11676         auto-libm-test-in.
11677         (csinh_test_data): Likewise.
11679         [BZ #18593]
11680         * math/s_csin.c (__csin): Negate before rather than after possibly
11681         overflowing multiplication.
11682         * math/s_csinf.c (__csinf): Likewise.
11683         * math/s_csinh.c (__csinh): Likewise.
11684         * math/s_csinhf.c (__csinhf): Likewise.
11685         * math/s_csinhl.c (__csinhl): Likewise.
11686         * math/s_csinl.c (__csinl): Likewise.
11687         * math/auto-libm-test-in: Add some tests of csin and csinh.
11688         * math/auto-libm-test-out: Regenerated.
11689         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
11690         (csinh_test_data): Likewise.
11691         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11693         [BZ #18586]
11694         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
11695         underflow exception for small results.
11697 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
11699         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
11700         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
11701         variable and included header.
11702         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
11703         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
11704         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
11705         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
11706         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
11707         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
11708         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
11709         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
11710         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
11711         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
11712         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
11713         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
11714         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
11715         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
11716         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
11717         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
11719 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11721         [BZ #16526]
11722         [BZ #16538]
11723         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
11724         (__sin): Force underflow exception for arguments with small
11725         absolute value.
11726         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
11727         (__kernel_sinf): Force underflow exception for arguments with
11728         small absolute value.
11729         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
11730         (__kernel_sincosl): Force underflow exception for arguments with
11731         small absolute value.
11732         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
11733         (__kernel_sinl): Force underflow exception for arguments with
11734         small absolute value.
11735         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
11736         (__kernel_sincosl): Force underflow exception for arguments with
11737         small absolute value.
11738         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
11739         (__kernel_sinl): Force underflow exception for arguments with
11740         small absolute value.
11741         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
11742         (__kernel_sinl): Force underflow exception for arguments with
11743         small absolute value.
11744         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
11745         (__kernel_sinf): Force underflow exception for arguments with
11746         small absolute value.
11747         * math/auto-libm-test-in: Add more tests of sin and sincos.
11748         * math/auto-libm-test-out: Regenerated.
11750         [BZ #18245]
11751         [BZ #18583]
11752         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
11753         (__kernel_standard_l): Use feholdexcept and fesetenv around
11754         conversion to double instead of special-casing overflow and
11755         underflow.
11756         * math/libm-test.inc (fmod_test_data): Add more tests.
11757         (remainder_test_data): Likewise.
11758         (sqrt_test_data): Likewise.
11760 2015-06-23  Torvald Riegel  <triegel@redhat.com>
11762         [BZ #17403]
11763         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
11764         atomic_read_barrier, atomic_write_barrier): Define.
11765         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
11766         atomic_read_barrier, atomic_write_barrier): Define.
11768 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11770         * math/Makefile [$(PERL) != no]
11771         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
11772         dependency on libm-test.stmp below the inclusion of Rules.
11774 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
11776         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
11777         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
11778         and included header.
11779         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
11780         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
11781         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
11782         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
11783         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
11784         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
11785         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
11786         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
11787         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
11788         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
11789         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
11790         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
11791         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
11792         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
11793         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
11794         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
11795         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
11796         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
11797         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
11799 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11801         [BZ #18371]
11802         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
11803         intermediate but not final result might underflow.
11804         * math/s_csqrtf.c (__csqrtf): Likewise.
11805         * math/s_csqrtl.c (__csqrtl): Likewise.
11806         * math/auto-libm-test-in: Add more tests of csqrt.
11807         * math/auto-libm-test-out: Regenerated.
11808         * sysdeps/i386/fpu/libm-test-ulps: Update.
11810         [BZ #18219]
11811         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
11812         threshold on absolute value of exponent for which scaling is used.
11813         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11814         * math/auto-libm-test-in: Add more tests of exp2.
11815         * math/auto-libm-test-out: Regenerated.
11817 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
11819         [BZ #17977]
11820         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
11821         when initializing interface list, based on the bug analysis
11822         and the patch proposed by Eric Newton.
11823         * resolv/tst-res_hconf_reorder.c: New test.
11824         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
11825         tst-res_hconf_reorder.
11826         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
11827         and $(shared-thread-library).
11828         (tst-res_hconf_reorder-ENV): New variable.
11830         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
11831         in comment.
11833 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
11835         [BZ #16353]
11836         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
11837         (__expm1): Force underflow exception for arguments with small
11838         absolute value.
11839         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
11840         (__expm1f): Force underflow exception for arguments with small
11841         absolute value.
11842         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
11843         (__expm1): Force underflow exception for arguments with small
11844         absolute value.
11845         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
11846         (__expm1f): Force underflow exception for arguments with small
11847         absolute value.
11848         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11849         Check for small arguments before calling __expm1.
11850         * math/auto-libm-test-in: Do not mark underflow exceptions as
11851         possibly missing for bug 16353.
11852         * math/auto-libm-test-out: Regenerated.
11854 2015-06-22  Andreas Schwab  <schwab@suse.de>
11856         [BZ #18513]
11857         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
11858         PTR queries.
11860 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
11862         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
11864         * string/strcoll_l.c: Remove unused struct element idxnow.
11866 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
11868         [BZ #18569]
11869         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
11870         underflow and return argument in case of subnormal argument.
11871         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11872         Likewise.
11873         * math/auto-libm-test-in: Add more tests of expm1.
11874         * math/auto-libm-test-out: Regenerated.
11876         [BZ #16361]
11877         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
11878         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
11879         tiny results.
11880         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
11881         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
11882         tiny results.
11883         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
11884         mark underflow exceptions as possibly missing for bug 16361.
11885         * math/auto-libm-test-out: Regenerated.
11887 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
11889         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
11890         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
11891         Remove variable.
11892         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11893         (test-xfail-XOPEN2K8/utmpx.h/conform).
11895         * conform/conformtest.pl ($xerrors): New variable.
11896         (note_error): New function.
11897         (compiletest): New argument $xfail.  Use not_error.
11898         (runtest): Likewise.
11899         (top level): Handle xfail- lines.  Update calls to compiletest and
11900         runtest.  Handle xfail- and optional- in headers listed with
11901         allow-header.
11902         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
11903         (O_EXEC): Likewise.
11904         (O_SEARCH): Likewise.
11905         * conform/data/stropts.h-data (ioctl): Likewise.
11906         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
11907         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
11908         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
11909         (msghdr.msg_controllen): Likewise.
11910         (cmsghdr.cmsg_len): Likewise.
11911         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
11912         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
11913         variable.
11914         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11915         (test-xfail-XPG4/stropts.h/conform): Likewise.
11916         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11917         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11918         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11919         (test-xfail-UNIX98/stropts.h/conform): Likewise.
11920         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11921         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11922         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11923         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11924         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11925         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11926         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11927         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11928         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11929         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11930         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11931         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11932         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11933         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11934         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11936 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11938         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
11939         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
11940         definitions for proper unfolding of __MATHDECL_VEC.
11942 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11944         * benchtests/bench-strcoll.c:
11945         Include string.h.
11946         (main): Remove unused variable res.
11948 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11950         * timezone/Makefile (%/UTC %/Universal):
11951         Generate test-result files for UTC and Universal.
11953 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11955         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11957 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
11959         [BZ #16350]
11960         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
11961         for arguments with small absolute value.
11962         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
11963         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
11964         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
11965         (__asinh): Force underflow exception for arguments with small
11966         absolute value.
11967         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
11968         (__asinhf): Force underflow exception for arguments with small
11969         absolute value.
11970         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
11971         (__asinhl): Force underflow exception for arguments with small
11972         absolute value.
11973         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
11974         (__asinhl): Force underflow exception for arguments with small
11975         absolute value.
11976         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
11977         (__asinhl): Force underflow exception for arguments with small
11978         absolute value.
11979         * math/auto-libm-test-in: Do not mark underflow exceptions as
11980         possibly missing for bug 16350.
11981         * math/auto-libm-test-out: Regenerated.
11983         * include/bits/ipc.h: Remove file.
11984         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
11985         variable.
11986         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11987         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11988         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11989         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11990         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11991         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11992         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11993         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11994         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11996         * math/auto-libm-test-in: Remove spurious underflow allowance for
11997         tests of cexp.
11998         * math/auto-libm-test-out: Regenerated.
12000         [BZ #18558]
12001         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
12002         unconditional definition.
12003         (MCAST_BLOCK_SOURCE): Likewise.
12004         (MCAST_UNBLOCK_SOURCE): Likewise.
12005         (MCAST_LEAVE_GROUP): Likewise.
12006         (MCAST_JOIN_SOURCE_GROUP): Likewise.
12007         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12008         (MCAST_MSFILTER): Likewise.
12009         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
12010         Remove variable.
12011         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12012         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12013         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12014         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12015         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12017 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
12019         * NEWS: Mention addition of x86_64 vector sincosf.
12020         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
12021         * math/test-float-vlen4.h: Likewise.
12022         * math/test-float-vlen8.h: Likewise.
12023         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12024         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
12025         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12026         * sysdeps/x86_64/fpu/Versions: New versions added.
12027         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12028         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12029         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12030         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
12031         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12032         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
12033         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12034         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
12035         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12036         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
12037         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
12038         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
12039         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
12040         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
12041         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
12042         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
12043         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
12044         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12045         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12046         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12047         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12048         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12049         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12050         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12052         * NEWS: Mention addition of x86_64 vector sincos.
12053         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
12054         * math/math.h (__MATHDECL_VEC): New macro.
12055         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
12056         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
12057         declaration under condition.
12058         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
12059         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
12060         TEST_VEC_LOOP change.
12061         * math/test-double-vlen4.h: Likewise.
12062         * math/test-double-vlen8.h: Likewise.
12063         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
12064         * math/test-float-vlen4.h: Likewise.
12065         * math/test-float-vlen8.h: Likewise.
12066         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12067         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
12068         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12069         * sysdeps/x86_64/fpu/Versions: New versions added.
12070         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12071         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12072         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12073         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
12074         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
12075         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
12076         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
12077         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
12078         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
12079         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
12080         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
12081         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
12082         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
12083         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
12084         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
12085         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
12086         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
12087         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12088         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12089         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12090         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12091         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12092         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12093         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12095         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12096         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12097         redirections for powf.
12098         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12099         * sysdeps/x86_64/fpu/Versions: New versions added.
12100         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12101         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12102         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12103         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
12104         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
12105         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
12106         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
12107         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
12108         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
12109         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
12110         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
12111         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
12112         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
12113         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
12114         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
12115         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
12116         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
12117         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12118         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12119         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12120         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12121         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12122         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12123         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12124         * math/test-float-vlen16.h: Fixed 2 argument macro.
12125         * math/test-float-vlen4.h: Likewise.
12126         * math/test-float-vlen8.h: Likewise.
12127         * NEWS: Mention addition of x86_64 vector powf.
12129 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
12131         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12132         and redefine.
12133         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12134         and redefine.
12135         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
12136         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12137         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12139         [BZ #18553]
12140         * resource/getpriority.c (getpriority): Rename to __getpriority
12141         and define as weak alias of __getpriority.
12142         * resource/setpriority.c (setpriority): Rename to __setpriority
12143         and define as weak alias of __setpriority.
12144         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
12145         __getpriority and define as weak alias of __getpriority.
12146         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
12147         __setpriority and define as weak alias of __setpriority.
12148         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
12149         strong name.
12150         (setpriority): Use __setpriority as strong name.
12151         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
12152         __getpriority and define as weak alias of __getpriority.
12153         * include/sys/resource.h (__getpriority): Declare.  Use
12154         libc_hidden_proto.
12155         (__setpriority): Likewise.
12156         (getpriority): Don't use libc_hidden_proto.
12157         (setpriority): Likewise.
12158         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
12159         getpriority.  Call __setpriority instead of setpriority.
12160         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
12161         Remove variable.
12163         [BZ #18547]
12164         * misc/getttyent.c (getttynam): Rename to __getttynam and define
12165         as weak alias of __getttynam.  Use prototype function definition.
12166         Call __setttyent, __getttyent and __endttyent instead of
12167         setttyent, getttyent and endttyent.
12168         (getttyent): Rename to __getttyent and define as weak alias of
12169         __getttyent.  Call __setttyent instead of setttyent.  Call
12170         __fgets_unlocked instead of fgets_unlocked.
12171         (setttyent): Rename to __setttyent and define as weak alias of
12172         __setttyent.
12173         (endttyent): Rename to __endttyent and define as weak alias of
12174         __endttyent.
12175         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
12176         (__setttyent): Likewise.
12177         (__endttyent): Likewise.
12178         (getttyent): Don't use libc_hidden_proto.
12179         (setttyent): Likewise.
12180         (endttyent): Likewise.
12181         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
12182         __endttyent instead of setttyent, getttyent and endttyent.
12183         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
12184         Remove variable.
12186         [BZ #18546]
12187         * socket/recv.c (__recv): Use libc_hidden_def.
12188         * socket/socket.c (__socket): Likewise.
12189         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12190         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12191         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
12192         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
12193         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
12194         libc_hidden_def.
12195         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
12196         libc_hidden_weak.
12197         * include/sys/socket.h (__socket): Do not use attribute_hidden.
12198         Use libc_hidden_proto.
12199         (__recv): Likewise.
12200         * socket/Versions (libc): Export __recv and __socket at version
12201         GLIBC_PRIVATE.
12202         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
12203         instead of recv.
12204         (init_mq_netlink): Call __socket instead of socket.
12205         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
12206         Remove variable.
12208         [BZ #18545]
12209         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
12210         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
12211         hidden_weak.
12212         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
12213         define as alias of __mq_timedsend.  Use hidden_weak.
12214         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
12215         __mq_timedsend as strong name.
12216         (mq_timedreceive): Use __mq_timedreceive as strong name.
12217         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
12218         (__mq_timedreceive): Likewise.
12219         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
12220         __mq_timedreceive instead of mq_timedreceive.
12221         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
12222         instead of mq_timedsend.
12223         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
12224         Remove variable.
12226         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
12227         hidden_def and hidden_weak instead of libc_hidden_def and
12228         libc_hidden_weak.
12229         (top level): Refer to hidden_def in comment.
12230         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
12231         macro.  Use it instead of libc_hidden_def.
12232         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
12233         specify __GI_* name explicitly.
12234         (mq_timedreceive): Likewise.
12235         (mq_setattr): Likewise.
12237         [BZ #18544]
12238         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
12239         __pthread_barrier_init and define as weak alias of
12240         __pthread_barrier_init.
12241         * sysdeps/sparc/nptl/pthread_barrier_init.c
12242         (pthread_barrier_init): Likewise.
12243         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
12244         __pthread_barrier_wait and define as weak alias of
12245         __pthread_barrier_wait.
12246         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12247         (pthread_barrier_wait): Likewise.
12248         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12249         (pthread_barrier_wait): Likewise.
12250         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
12251         (pthread_barrier_wait): Likewise.
12252         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
12253         (pthread_barrier_wait): Likewise.
12254         * nptl/Versions (libpthread): Export __pthread_barrier_init and
12255         __pthread_barrier_wait at version GLIBC_PRIVATE.
12256         * include/pthread.h (__pthread_barrier_init): Declare.
12257         (__pthread_barrier_wait): Likewise.
12258         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
12259         Call __pthread_barrier_wait instead of pthread_barrier_wait.
12260         (helper_thread): Likewise.
12261         (init_mq_netlink): Call __pthread_barrier_init instead of
12262         pthread_barrier_init.
12264         [BZ #18542]
12265         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
12266         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
12267         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
12268         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
12269         vswscanf.
12270         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
12271         Remove variable.
12273         [BZ #18540]
12274         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
12275         strong alias of _IO_fflush.  Use libc_hidden_def.
12276         * libio/iofflush_u.c (fflush_unlocked): Rename to
12277         __fflush_unlocked and define as weak alias of __fflush_unlocked.
12278         Use libc_hidden_weak.
12279         * include/stdio.h (__fflush_unlocked): Declare.  Use
12280         libc_hidden_proto.
12281         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
12282         fflush_unlocked.
12283         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
12284         Remove variable.
12286         [BZ #18539]
12287         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
12288         define as weak alias of __addseverity.
12289         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
12290         Remove variable.
12291         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12292         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12293         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12295         [BZ #18536]
12296         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
12297         (__tfind): Likewise.
12298         (__tdelete): Likewise.
12299         (__twalk): Likewise.
12300         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
12301         __twalk to GLIBC_PRIVATE.
12302         * include/search.h (__tsearch): Use libc_hidden_proto.
12303         (__tfind): Likewise.
12304         (__tdelete): Likewise.
12305         (__twalk): Likewise.
12306         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
12307         Call __tdelete instead of tdelete.
12308         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
12309         tfind.  Call __tsearch instead of tsearch.
12310         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
12311         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
12312         Remove variable.
12313         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12315         [BZ #18534]
12316         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
12317         (dprintf): Define as a weak alias of __dprintf, not a strong
12318         alias.
12319         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
12320         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
12321         dprintf.
12322         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
12323         Remove variable.
12324         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12325         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12327         [BZ #18533]
12328         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
12329         not a strong alias.
12330         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
12331         Remove variable.
12333         [BZ #18532]
12334         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
12335         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
12336         (in6addr_loopback): Rename to __in6addr_loopback and define as
12337         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
12338         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
12339         libc_hidden_proto.
12340         (__in6addr_any): Likewise.
12341         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
12342         in6addr_any.
12343         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
12344         variable.
12345         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12347 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
12349         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
12350         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
12351         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12352         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12353         redirections for pow.
12354         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12355         * sysdeps/x86_64/fpu/Versions: New versions added.
12356         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12357         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12358         build of SSE, AVX2 and AVX512 IFUNC versions.
12359         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
12360         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
12361         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
12362         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
12363         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
12364         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
12365         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
12366         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
12367         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
12368         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
12369         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
12370         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
12371         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
12372         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
12373         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12374         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12375         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12376         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12377         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12378         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12379         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12380         * NEWS: Mention addition of x86_64 vector pow.
12382         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12383         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12384         redirections for expf.
12385         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12386         * sysdeps/x86_64/fpu/Versions: New versions added.
12387         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12388         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12389         build of SSE, AVX2 and AVX512 IFUNC versions.
12390         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
12391         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
12392         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
12393         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
12394         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
12395         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
12396         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
12397         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
12398         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
12399         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
12400         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
12401         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
12402         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
12403         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12404         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12405         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12406         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12407         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12408         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12409         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12410         * NEWS: Mention addition of x86_64 vector expf.
12412         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
12413         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
12414         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12415         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12416         redirections for exp.
12417         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12418         * sysdeps/x86_64/fpu/Versions: New versions added.
12419         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12420         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12421         build of SSE, AVX2 and AVX512 IFUNC versions.
12422         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
12423         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
12424         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
12425         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
12426         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
12427         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
12428         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
12429         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
12430         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
12431         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
12432         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
12433         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
12434         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
12435         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12436         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12437         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12438         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12439         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12440         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12441         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12442         * NEWS: Mention addition of x86_64 vector exp.
12444         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12445         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12446         redirections for logf.
12447         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12448         * sysdeps/x86_64/fpu/Versions: New versions added.
12449         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12450         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12451         build of SSE, AVX2 and AVX512 IFUNC versions.
12452         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
12453         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
12454         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
12455         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
12456         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
12457         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
12458         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
12459         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
12460         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
12461         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
12462         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
12463         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
12464         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
12465         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12466         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12467         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12468         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12469         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12470         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12471         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12472         * NEWS: Mention addition of x86_64 vector logf.
12474         * bits/libm-simd-decl-stubs.h: Added stubs for log.
12475         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
12476         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12477         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12478         redirections for log.
12479         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12480         * sysdeps/x86_64/fpu/Versions: New versions added.
12481         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12482         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12483         build of SSE, AVX2 and AVX512 IFUNC versions.
12484         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
12485         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
12486         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
12487         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
12488         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
12489         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
12490         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
12491         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
12492         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
12493         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
12494         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
12495         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
12496         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
12497         test.
12498         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12499         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12500         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12501         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12502         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12503         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12504         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12505         * NEWS: Mention addition of x86_64 vector log.
12507 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12509         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
12510         cfi_adjust_cfa_offset argument.
12511         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
12512         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
12514         [BZ #18034]
12515         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
12516         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
12517         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
12518         ordering using ldar.
12519         (_dl_tlsdesc_dynamic): Likewise.
12520         (_dl_tlsdesc_return_lazy): Likewise.
12521         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
12522         relaxed atomics instead of volatile and synchronize with release store.
12523         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
12524         volatile.
12525         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12527 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
12529         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12530         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
12531         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12532         * sysdeps/x86_64/fpu/Versions: New versions added.
12533         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12534         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12535         build of SSE, AVX2 and AVX512 IFUNC versions.
12536         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
12537         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
12538         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
12539         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
12540         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
12541         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
12542         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
12543         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
12544         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
12545         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
12546         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
12547         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
12548         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
12549         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12550         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12551         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12552         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12553         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12554         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12555         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12556         * NEWS: Mention addition of x86_64 vector sinf.
12558 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
12560         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
12561         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
12562         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
12563         Remove variable.
12564         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12565         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12567 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
12569         [BZ #18530]
12570         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
12571         strong alias of _IO_fputs.  Use libc_hidden_def.
12572         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
12573         and define as weak alias of __fputs_unlocked.  Use
12574         libc_hidden_weak.
12575         * include/stdio.h (__fputs_unlocked): Declare.  Use
12576         libc_hidden_proto.
12577         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
12578         fputs_unlocked.
12580         [BZ #18529]
12581         * resolv/netdb.h [__USE_POSIX]: Change condition to
12582         [__USE_XOPEN2K].
12583         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
12584         not expect.
12585         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
12586         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
12587         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
12588         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
12589         [XPG4 || UNIX98] (AI_ALL): Likewise.
12590         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
12591         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
12592         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
12593         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
12594         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
12595         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
12596         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
12597         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
12598         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
12599         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
12600         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
12601         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
12602         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
12603         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
12604         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
12605         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
12606         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
12607         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
12608         [XPG4 || UNIX98] (gai_strerror): Likewise.
12609         [XPG4 || UNIX98] (getaddrinfo): Likewise.
12610         [XPG4 || UNIX98] (getnameinfo): Likewise.
12612         [BZ #18528]
12613         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
12614         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
12615         __USE_XOPEN2K8].
12616         (getgrent): Likewise.
12617         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
12618         expect.
12619         [XPG3 || POSIX2008] (endgrent): Likewise.
12620         [XPG3] (setgrent): Likewise.
12621         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
12622         variable.
12623         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12625         [BZ #18527]
12626         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
12627         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
12628         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
12629         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
12630         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
12631         * include/unistd.h (__getlogin_r): Declare.  Use
12632         libc_hidden_proto.
12633         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
12634         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
12635         variable.
12636         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12637         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12638         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12640 2015-06-12  Martin Sebor  <msebor@redhat.com>
12642         [BZ #18512]
12643         * Makerules (check-install-supported): New target.
12644         (install): Add check-install-supported as a dependency.
12645         * manual/install.texi (Installing the C Library): Document
12646         that overriding prefix and exec_prefix is not supported.
12647         Mention DESTDIR.
12648         * INSTALL: Regenerate from the above.
12650 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
12652         [BZ #18519]
12653         * posix/Versions (libc): Export __libc_pread at version
12654         GLIBC_PRIVATE.
12655         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
12656         instead of pread.
12657         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
12658         variable.
12660         [BZ #18522]
12661         * misc/efgcvt_r.c
12662         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
12663         (cvt_symbol): Use weak_alias instead of strong_alias.
12664         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
12665         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
12666         Remove variable.
12667         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12668         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12670         [BZ #18520]
12671         * inet/herrno.c (h_errno): Rename to __h_errno.
12672         (__libc_h_errno): Define as alias of __h_errno not h_errno.
12673         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
12674         to __h_errno instead of h_errno.
12675         * nptl/herrno.c (h_errno): Rename to __h_errno.
12676         (__h_errno_location): Refer to __h_errno not h_errno.
12677         * resolv/Versions (h_errno): Rename to __h_errno.
12678         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
12679         Remove variable.
12680         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12682 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
12684         * configure.ac: More strict check for AVX512 assembler support.
12685         * configure: Regenerated.
12687         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
12688         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
12689         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12690         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
12691         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12692         * sysdeps/x86_64/fpu/Versions: New versions added.
12693         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12694         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12695         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12696         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
12697         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
12698         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
12699         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
12700         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
12701         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
12702         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
12703         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
12704         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
12705         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
12706         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
12707         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
12708         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
12709         test.
12710         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12711         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12712         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12713         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12714         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12715         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12716         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12717         * NEWS: Mention addition of x86_64 vector sin.
12719 2015-06-11  Florian Weimer  <fweimer@redhat.com>
12721         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
12722         comment.
12724 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12726         [BZ #18479]
12727         * nptl/pt-interp.c: New file.
12728         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
12729         Add pt-interp.
12730         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
12731         $(common-objpfx)runtime-linker.h.
12733 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
12735         * Makeconfig (+interp): Remove unused variable.
12736         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
12737         only.  Depend on $(common-objpfx)runtime-linker.h instead of
12738         $(elf-objpfx)runtime-linker.h.
12739         ($(elf-objpfx)runtime-linker.h): Rename to
12740         $(common-objpfx)runtime-linker.h and move ...
12741         * Makerules [$(build-shared) = yes]: ... here.
12742         * elf/interp.c: Include <runtime-linker.h> instead of
12743         <elf/runtime-linker.h>.
12745 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12747         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
12748         (__gettimeofday_syscall): Remove vsyscall fallback.
12749         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
12750         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
12751         Add syscall fallback function.
12752         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
12753         if vDSO is not present.
12754         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
12755         fallback function.
12756         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
12757         present.
12758         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
12759         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12761 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
12763         [BZ #18497]
12764         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
12765         of wcscmp.
12766         (wcscmp): Define as weak alias of WCSCMP.
12767         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
12768         wcscoll.
12769         (USE_HIDDEN_DEF): Define.
12770         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
12771         __wcscoll.  Don't use libc_hidden_weak.
12772         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
12773         wcscmp.
12774         * sysdeps/i386/i686/multiarch/wcscmp-c.c
12775         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
12776         __GI_wcscmp.
12777         (weak_alias): Undefine and redefine.
12778         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
12779         __wcscmp and define as weak alias of __wcscmp.
12780         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
12781         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
12782         (__wcscoll): Likewise.
12783         (wcscmp): Don't use libc_hidden_proto.
12784         (wcscoll): Likewise.
12785         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
12786         wcscoll.
12787         * posix/regexec.c (check_node_accept_bytes): Likewise.
12788         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
12789         variable.
12790         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12791         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12793         [BZ #18507]
12794         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
12795         __fstatvfs and define as weak alias of __fstatvfs.  Use
12796         libc_hidden_weak.
12797         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
12798         and define as weak alias of __statvfs.  Use libc_hidden_weak.
12799         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
12800         Define as alias of __fstatvfs, not fstatvfs.
12801         (fstatvfs64): Likewise.
12802         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
12803         Define as alias of __statvfs, not statvfs.
12804         (statvfs64): Likewise.
12805         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
12806         Remove variable.
12808 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12811         (HAVE_GETCPU_VSYSCALL): Define.
12812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12813         (HAVE_GETCPU_VSYSCALL): Likewise.
12814         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
12815         * sysdeps/unix/sysv/linux/sched_getcpu.c
12816         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
12817         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
12818         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
12819         prototype.
12820         * sysdeps/unix/sysv/linux/x86_64/init-first.c
12821         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
12822         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
12823         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
12824         Define.
12825         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
12826         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12827         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
12828         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12830 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
12832         * sysdeps/x86_64/fpu/Makefile: New file.
12833         * sysdeps/x86_64/fpu/Versions: New file.
12834         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
12835         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
12836         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
12837         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
12838         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
12839         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
12840         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
12841         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
12842         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
12843         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
12844         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
12845         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
12846         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
12847         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12848         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12849         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
12850         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
12851         * sysdeps/x86_64/configure.ac: Options for libmvec build.
12852         * sysdeps/x86_64/configure: Regenerated.
12853         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
12854         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
12855         * manual/install.texi (Configuring and compiling): Document
12856         --disable-mathvec.
12857         * INSTALL: Regenerated.
12858         * NEWS: Mention addition of libmvec and x86_64 vector cos.
12860         * math/Makefile: Added rules for vector tests.
12861         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
12862         declaration under condition.
12863         * math/test-double-vlen2.h: New file.
12864         * math/test-double-vlen4.h: New file.
12865         * math/test-double-vlen8.h: New file.
12866         * math/test-vec-loop.h: Added initialization macro.
12867         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
12868         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
12869         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
12870         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
12871         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
12872         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
12873         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
12874         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
12875         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
12876         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
12877         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
12879         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12880         * sysdeps/x86_64/fpu/Versions: New versions added.
12881         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
12882         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
12883         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
12884         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
12885         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
12886         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
12887         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
12888         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
12889         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
12890         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
12891         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
12892         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
12893         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
12894         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12895         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12896         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12897         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
12898         * NEWS: Mention addition of x86_64 vector cosf.
12900         * math/Makefile: Added CFLAGS for new tests.
12901         * math/test-float-vlen16.h: New file.
12902         * math/test-float-vlen4.h: New file.
12903         * math/test-float-vlen8.h: New file.
12904         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
12905         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
12906         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12907         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
12908         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
12909         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
12910         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
12911         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
12912         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
12913         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
12914         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
12916 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
12918         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
12919         * locale/programs/ld-ctype.c: Likewise.
12921 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
12923         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
12924         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
12925         bit_ZMM16_31_state): New macro.
12926         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12927         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
12929 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
12931         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
12933 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
12935         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
12937 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
12939         [BZ #18498]
12940         * libio/memstream.c (open_memstream): Rename to __open_memstream
12941         and define as weak alias of __open_memstream.
12942         * include/stdio.h (__open_memstream): Declare.  Use
12943         libc_hidden_proto.
12944         (open_memstream): Don't use libc_hidden_proto.
12945         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
12946         open_memstream.
12947         * posix/getopt.c (_getopt_internal_r): Likewise.
12948         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
12949         variable.
12950         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12951         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12952         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12954         [BZ #18496]
12955         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
12956         instead of wcrtomb.
12958         [BZ #18483]
12959         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
12960         [__USE_XOPEN2K8].  Remove redundant #endif.
12961         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
12962         Remove redundant #if.
12963         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
12964         Remove variable.
12965         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12966         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12968         [BZ #18495]
12969         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
12970         (__iswlower): Likewise.
12971         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
12972         (__iswlower): Likewise.
12973         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
12974         instead of towlower.
12975         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
12976         instead of iswlower.  Call __towupper instead of towupper.
12977         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
12978         instead of iswalnum.
12980 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12982         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
12983         errors to stderr.
12985 2015-06-05  Florian Weimer  <fweimer@redhat.com>
12987         [BZ #15661]
12988         [BZ #17322]
12989         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12990         Check for overflow properly.  Check for O_APPEND.  Ignore large
12991         file system block sizes.  Add comments about problems.
12992         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
12993         * manual/filesys.texi (Storage Allocation): New node.
12995 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12997         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
12998         cancellable syscalls.
12999         (SYS_ify): Add guard to no redefine it.
13000         (INLINE_SYSCALL): Likewise.
13001         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
13002         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
13003         SYSCALL_CANCEL instead.
13004         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
13005         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
13006         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
13007         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
13008         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
13009         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
13010         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
13011         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
13012         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13013         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13014         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
13015         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
13016         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
13017         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
13018         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
13019         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
13020         Likewise.
13021         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
13022         (__libc_pread64): Likewise.
13023         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
13024         (__libc_preadv): Likewise.
13025         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
13026         (__libc_readv64): Likewise.
13027         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
13028         (__libc_pwrite): Likewise.
13029         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
13030         (__libc_pwrite64): Likewise.
13031         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
13032         (__libc_pwritev): Likewise.
13033         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
13034         (__libc_pwritev64): Likewise.
13035         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
13036         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
13037         (sync_file_range): Likewise.
13038         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
13039         Likewise.
13040         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
13041         Likewise.
13042         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
13043         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
13044         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
13045         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
13046         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
13047         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
13048         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13049         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
13050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
13051         Likewise.
13052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13053         (__libc_read64): Likewise.
13054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
13055         Likewise.
13056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
13057         Likewise.
13058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
13059         Likewise.
13060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
13061         Likewise.
13062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13063         (__libc_pread64): Likewise.
13064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
13065         Likewise.
13066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13067         (__libc_pwrite64): Likewise.
13068         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
13069         (sync_file_range): Likewise.
13070         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
13071         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
13072         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
13073         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
13074         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
13075         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13076         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13077         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
13078         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
13079         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13080         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13081         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
13082         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
13083         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
13084         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
13085         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
13086         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
13087         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
13088         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
13089         Likewise.
13090         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
13091         Likewise.
13092         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
13093         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
13094         Likewise.
13095         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
13096         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
13097         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
13098         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
13099         Likewise.
13100         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
13101         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
13102         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
13103         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
13104         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
13106 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
13108         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
13109         Include dl-vdso.
13110         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
13111         Use VDSO routines for gettimeofday, clock_gettime if
13112         available.
13113         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
13114         Declare VDSO symbols.
13115         * sysdeps/unix/sysv/linux/arm/sysdep.h:
13116         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
13117         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13118         * sysdeps/unix/sysv/linux/arm/Versions: Add
13119         __vdso_clock_gettime.
13121 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13123         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
13124         be an inline implementation regardless of library is built within.
13125         (open_not_cancel_2): Likewise.
13126         (__read_nocancel): Likewise.
13127         (__write_nocancel): Likewise.
13128         (openat_not_cancel): Likewise.
13129         (openat_not_cancel_3): Likewise.
13130         (openat64_not_cancel): Likewise.
13131         (openat64_not_cancel_3): Likewise.
13132         (__close_nocancel): Likewise.
13133         (pause_not_cancel): Likewise.
13134         (nanosleep_not_cancel): Likewise.
13135         (sigsuspend_not_cancel): Likewise.
13137 2015-06-04  Torvald Riegel  <triegel@redhat.com>
13139         [BZ #14958]
13140         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
13141         wake-up.
13142         (__pthread_rwlock_rdlock_slow): Likewise.
13143         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13144         Likewise.
13145         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
13146         Likewise.
13147         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
13148         * nptl/tst-rwlock16.c: New file.
13149         * nptl/Makefile (tests): Add new test.
13151 2015-06-04  Torvald Riegel  <triegel@redhat.com>
13153         [BZ #18324]
13154         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
13155         missing wake-up of readers.
13156         * nptl/tst-rwlock15.c: New file.
13157         * nptl/Makefile (tests): Add new test.
13159 2015-06-03  Roland McGrath  <roland@hack.frob.com>
13161         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
13162         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
13163         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
13164         and __nacl_supply_interface_rtld.
13165         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
13166         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
13167         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
13168         Add __nacl_supply_interface_rtld.
13169         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
13171 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
13173         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
13174         isfinite.
13175         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13176         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
13178 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
13180         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
13181         __signbit* with standard C99 macros.
13182         * math/e_exp10l.c: Likewise.
13183         * math/e_exp2l.c: Likewise.
13184         * math/e_scalb.c: Likewise.
13185         * math/e_scalbf.c: Likewise.
13186         * math/e_scalbl.c: Likewise.
13187         * math/s_ldexp.c: Likewise.
13188         * math/s_ldexpf.c: Likewise.
13189         * math/s_ldexpl.c: Likewise.
13190         * math/w_atan2.c: Likewise.
13191         * math/w_atan2f.c: Likewise.
13192         * math/w_atan2l.c: Likewise.
13193         * math/w_cosh.c: Likewise.
13194         * math/w_coshf.c: Likewise.
13195         * math/w_coshl.c: Likewise.
13196         * math/w_exp10.c: Likewise.
13197         * math/w_exp10f.c: Likewise.
13198         * math/w_exp10l.c: Likewise.
13199         * math/w_exp2.c: Likewise.
13200         * math/w_exp2f.c: Likewise.
13201         * math/w_exp2l.c: Likewise.
13202         * math/w_fmod.c: Likewise.
13203         * math/w_fmodf.c: Likewise.
13204         * math/w_fmodl.c: Likewise.
13205         * math/w_hypot.c: Likewise.
13206         * math/w_hypotf.c: Likewise.
13207         * math/w_hypotl.c: Likewise.
13208         * math/w_jnl.c: Likewise.
13209         * math/w_lgamma.c: Likewise.
13210         * math/w_lgamma_r.c: Likewise.
13211         * math/w_lgammaf.c: Likewise.
13212         * math/w_lgammaf_r.c: Likewise.
13213         * math/w_lgammal.c: Likewise.
13214         * math/w_lgammal_r.c: Likewise.
13215         * math/w_pow.c: Likewise.
13216         * math/w_powf.c: Likewise.
13217         * math/w_powl.c: Likewise.
13218         * math/w_remainder.c: Likewise.
13219         * math/w_remainderf.c: Likewise.
13220         * math/w_remainderl.c: Likewise.
13221         * math/w_scalb.c: Likewise.
13222         * math/w_scalbf.c: Likewise.
13223         * math/w_scalbl.c: Likewise.
13224         * math/w_scalbln.c: Likewise.
13225         * math/w_scalblnf.c: Likewise.
13226         * math/w_scalblnl.c: Likewise.
13227         * math/w_sinh.c: Likewise.
13228         * math/w_sinhf.c: Likewise.
13229         * math/w_sinhl.c: Likewise.
13230         * math/w_tgamma.c: Likewise.
13231         * math/w_tgammaf.c: Likewise.
13232         * math/w_tgammal.c: Likewise.
13233         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13234         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
13235         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13236         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13237         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13238         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13239         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13240         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13241         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13242         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13243         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13244         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13245         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13246         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13247         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13248         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13249         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13250         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13251         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13252         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13253         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13254         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13255         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13256         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13257         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13258         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13259         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
13260         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13261         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13262         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13263         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
13264         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
13265         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
13266         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
13267         * stdio-common/printf_fp.c: Likewise.
13268         * stdio-common/printf_fphex.c: Likewise.
13269         * stdio-common/printf_size.c: Likewise.
13271 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
13273         [BZ #18470]
13274         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
13275         strnlen.
13276         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
13277         Remove variable.
13278         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13279         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13280         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13281         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13282         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13283         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13284         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13285         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13286         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13287         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13289         [BZ #18468]
13290         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
13291         weak alias of __wmemchr.  Use libc_hidden_weak.
13292         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
13293         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
13294         instead of wmemchr.
13296 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13298         [BZ #18383]
13299         * elf/tst-tlsalign-extern.c: New file.
13300         * elf/tst-tlsalign-extern-static.c: New file.
13301         * elf/tst-tlsalign-vars.c: New file.
13302         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
13303         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
13304         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
13305         ($(objpfx)tst-tlsalign-extern-static): Likewise.
13306         (test-xfail-tst-tlsalign-extern-static): New variable.
13308 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
13310         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
13311         Use variable name _sc_err instead of err.
13312         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
13313         instead of ret.
13314         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
13315         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
13316         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
13317         (INLINE_SYSCALL): Likewise.
13319         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
13320         * include/string.h (__strnlen): Use libc_hidden_proto.
13321         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
13322         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
13323         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
13324         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
13325         (libc_hidden_def): Undefine and redefine.
13326         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
13327         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
13328         __GI_strnlen.
13329         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
13330         libc_hidden_def.
13331         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
13333         [BZ #18469]
13334         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
13335         weak alias of __towlower.  Use libc_hidden_weak.
13336         (towupper): Rename to __towupper and define as weak alias of
13337         __towupper.  Use libc_hidden_weak.
13338         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
13339         (__towupper): Likewise.
13340         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
13341         __towlower instead of towlower.
13343 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13345         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
13346         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
13348 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13350         * sysdeps/aarch64/libm-test-ulps: Update.
13352 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13354         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
13355         Define.
13356         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13357         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13358         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13359         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13360         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
13361         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
13362         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
13364 2015-06-01  Martin Sebor  <msebor@redhat.com>
13366         [BZ #18116]
13367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13368         (__setcontext): Use extended four-operand version of mtsf whenever
13369         possible.
13370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13371         (__novec_swapcontext): Likewise.
13373 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13375         * benchtests/scripts/compare_bench.py: New file.
13376         * benchtests/scripts/import_bench.py (mean): New function.
13377         (split_list): Likewise.
13378         (do_for_all_timings): Likewise.
13379         (compress_timings): Likewise.
13381         * benchtests/scripts/import_bench.py: New file.
13382         * benchtests/scripts/validate_benchout.py: Import import_bench
13383         instead of jsonschema.
13384         (validate_bench): Remove function.
13385         (main): Use import_bench.
13387 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
13389         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
13390         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
13392 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13396 2015-05-28  Roland McGrath  <roland@hack.frob.com>
13398         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
13399         set THREAD_SELF->tid to a magic value and futex-wake it.
13400         Pass its address to the thread_exit system call.
13401         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
13402         bit is clear.
13403         * sysdeps/nacl/lowlevellock.h: New file.
13404         * sysdeps/nacl/lll_timedwait_tid.c: New file.
13406         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
13407         Add TIMEOUT to current time, don't subtract it.
13409 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
13411         [BZ #2981]
13412         [BZ #18422]
13413         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
13414         ($(objpfx)tst-audit2.out): Also depend on
13415         $(objpfx)tst-auditmod9b.so.
13416         * elf/tst-audit2.c: Include <dlfcn.h>.
13417         (calloc_called): New.
13418         (calloc): Allow to be called more than once.
13419         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
13421 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
13423         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
13424         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
13426 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
13428         * stdlib/monetary.h: Fix comment.
13430 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
13432         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
13433         Avoid using variables in #defines that might cause shadowing.
13434         (INTERNAL_VSYSCALL_CALL): Likewise.
13436 2015-05-26  Roland McGrath  <roland@hack.frob.com>
13438         * sysdeps/nacl/lll_timedlock_wait.c: New file.
13440         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
13441         * nptl/lll_timedlock_wait.c: ... to this new file.
13442         * nptl/Makefile (libpthread-routines): Add it.
13443         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
13444         * nptl/lll_timedwait_tid.c: ... to this new file.
13445         * nptl/Makefile (libpthread-routines): Add it.
13446         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
13447         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
13448         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
13449         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
13450         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
13451         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
13452         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
13453         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
13454         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
13455         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
13457 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13459         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
13460         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13461         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13462         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
13463         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
13464         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13465         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13466         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13467         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13468         * sysdeps/unix/sysv/linux/tile/sysdep.h
13469         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13470         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
13471         using vDSO syscall macro.
13473 2015-05-26  Andriy Rysin  <arysin@gmail.com>
13475         [BZ #17293]
13476         * uk_UA: Fix sorting order for Ukrainian locale
13478 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
13480         * stdlib/monetary.h: Fix comment.
13482 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13484         [BZ #18234]
13485         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
13486         st_mtim and st_ctim members.
13487         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
13488         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
13489         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
13490         (struct stat64): Likewise.
13491         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
13492         (struct stat64): Likewise.
13493         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
13494         (struct stat64): Likewise.
13496 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13498         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
13499         Define and include sysdep-vdso.h.
13500         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
13501         Likewise.
13502         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
13503         Likewise.
13504         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
13505         Define with VDSO_SYMBOL and use PTR_MANGLE.
13506         (__vdso_clock_gettime): Likewise.
13507         (__vdso_clock_getres): Likewise.
13508         (_libc_vdso_platform_setup): Likewise.
13509         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
13510         Likewise.
13511         (_libc_vdso_platform_setup): Likewise.
13512         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
13513         Likewise.
13514         (__vdso_clock_gettime): Likewise.
13515         (__vdso_clock_getres): Likewise.
13516         (__vdso_get_tbfreq): Likewise.
13517         (__vdso_getcpu): Likewise.
13518         (__vdso_time): Likewise.
13519         (__vdso_sigtramp_rt64): Likewise.
13520         (__vdso_signtramp32): Likewise.
13521         (__vdso_sigtramp_rt32): Likewise.
13522         (_libc_vdso_platform_setup): Likewise.
13523         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
13524         Likewise.
13525         (__vdso_clock_gettime): Likewise.
13526         (__vdso_clock_getres): Likewise.
13527         (_libc_vdso_platform_setup): Likewise.
13528         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
13529         Likewise.
13530         (__vdso_clock_gettime): Likewise.
13531         (_libc_vdso_platform_setup): Likewise.
13532         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13533         Likewise.
13534         (__vdso_getcpu): Likewise.
13535         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
13536         Use VDSO_SYMBOL macro to define.
13537         (__vdso_clock_gettime): Likewise.
13538         (__vdso_clock_getres): Likewise.
13539         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
13540         Likewise.
13541         (__vdso_clock_gettime): Likewise.
13542         (__vdso_clock_getres): Likewise.
13543         (__vdso_get_tbfreq): Likewise.
13544         (__vdso_getcpu): Likewise.
13545         (__vdso_time): Likewise.
13546         (__vdso_sigtramp_rt64): Likewise.
13547         (__vdso_signtramp32): Likewise.
13548         (__vdso_sigtramp_rt32): Likewise.
13549         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
13550         Likewise.
13551         (__vdso_clock_gettime): Likewise.
13552         (__vdso_clock_getres): Likewise.
13553         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
13554         Likewise.
13555         (__vdso_clock_gettime): Likewise.
13556         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
13557         Likewise.
13558         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
13559         macro.
13560         (INTERNAL_VSYSCALL): Likewise.
13561         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
13562         Remove macro.
13563         (INTERNAL_VSYSCALL): Likewise.
13564         (INTERNAL_VSYSCALL_NCS): Likewise.
13565         (INTERNAL_VSYSCALL_CALL): New macro.
13566         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13567         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
13568         Likewise.
13569         (INTERNAL_VSYSCALL): Likewise.
13570         (INTERNAL_VSYSCALL_NCS): Likewise.
13571         (INTERNAL_VSYSCALL_CALL): New macro.
13572         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13574         (INLINE_VSYSCALL): Remove macro.
13575         (INTERNAL_VSYSCALL): Remove macro.
13576         (INTERNAL_VSYSCALL_NCS): Remove macro.
13577         (INTERNAL_VSYSCALL_CALL): New macro.
13578         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
13579         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
13580         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13581         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
13582         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13584         (INLINE_VSYSCALL): Remove macro.
13585         (INTERNAL_VSYSCALL): Likewise.
13586         (INTERNAL_VSYSCALL_NCS): Likewise.
13587         (INTERNAL_VSYSCALL_CALL): New macro.
13588         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
13589         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
13590         PTR_DEMANGLE on vDSO pointer.
13591         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13592         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
13593         macro.
13594         (INTERNAL_SYSCALL): Likewise.
13595         (INTERNAL_VSYSCALL_NCS): Remove macro.
13596         (INTERNAL_VSYSCALL_CALL): New macro.
13597         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
13598         Remove macro.
13599         (INTERNAL_VSYSCALL): Likewise.
13600         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
13601         sysdep-vdso.h instead of libc-vdso.h.
13602         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
13603         definition.
13604         (INLINE_VSYSCALL): Likewise.
13605         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
13606         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
13607         definition.
13608         (INLINE_VSYSCALL): Likewise.
13609         (INTERNAL_VSYSCALL): Likewise.
13610         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13611         * sysdeps/unix/sysv/linux/timespec_get.c
13612         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13613         (timespec_get): Use ANSI prototype.
13614         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
13615         and definition for Linux.
13617 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
13619         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
13620         * include/libc-symbols.h: libmvec_hidden_* macro series added.
13622 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13624         [BZ #2981]
13625         [BZ #18410]
13626         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
13627         for missing DT_PLTRELSZ.
13629 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
13631         Remove obsolete aliases that broke 'locale -a'
13632         [BZ #18412]
13633         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
13634         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
13635         breaking some applications that use 'locale -a' output.
13636         Change the encoding of this file from Latin-1 to ASCII to avoid
13637         other potential problems with people grepping this file.
13639 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13641         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
13642         -fasynchronous-unwind-tables.
13643         (CFLAGS-sendto.c): Likewise.
13644         (CFLAGS-sendmsg.c): Likewise.
13645         (CFLAGS-connect.c): Likewise.
13646         (CFLAGS-recvmsg.c): Likewise.
13647         (CFLAGS-recvfrom.c): Likewise.
13648         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
13649         (SOCKETCALL): New macro: non-cancellable socketcall.
13650         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
13651         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
13652         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
13653         * sysdeps/unix/sysv/linux/accept.c: New file.
13654         * sysdeps/unix/sysv/linux/bind.c: Likewise.
13655         * sysdeps/unix/sysv/linux/connect.c: Likewise.
13656         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
13657         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
13658         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
13659         * sysdeps/unix/sysv/linux/listen.c: Likewise.
13660         * sysdeps/unix/sysv/linux/recv.c: Likewise.
13661         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
13662         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
13663         * sysdeps/unix/sysv/linux/send.c: Likewise.
13664         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
13665         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
13666         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
13667         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
13668         * sysdeps/unix/sysv/linux/socket.c: Likewise.
13669         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
13670         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
13671         prototype.
13672         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
13673         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13674         instead of __internal_xxx function.
13675         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
13676         prototype.
13677         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
13678         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13679         instead of __internal_xxx function.
13680         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
13681         prototype.
13682         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
13683         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13684         instead of __internal_xxx function.
13685         * sysdeps/unix/sysv/linux/accept.S: Remove file.
13686         * sysdeps/unix/sysv/linux/bind.S: Likewise.
13687         * sysdeps/unix/sysv/linux/connect.S: Likewise.
13688         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
13689         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
13690         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
13691         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
13692         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
13693         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
13694         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
13695         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
13696         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13697         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
13698         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
13699         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
13700         * sysdeps/unix/sysv/linux/listen.S: Likewise.
13701         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
13702         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
13703         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
13704         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
13705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
13706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
13707         * sysdeps/unix/sysv/linux/recv.S: Likewise.
13708         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
13709         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
13710         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
13711         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13712         * sysdeps/unix/sysv/linux/send.S: Likewise.
13713         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
13714         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
13715         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
13716         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
13717         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
13718         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
13719         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
13720         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
13721         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
13722         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
13723         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
13724         socketcall is implemented in GLIBC.
13726 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
13728         * soft-fp/fmadf4.c: Include <libc-internal.h>.
13729         (__fma): Ignore uninitialized warnings around packing.
13730         * soft-fp/fmasf4.c: Include <libc-internal.h>.
13731         (__fmaf): Ignore uninitialized warnings around packing.
13732         * soft-fp/fmatf4.c: Include <libc-internal.h>.
13733         (__fmal): Ignore uninitialized warnings around packing.
13735         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
13736         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13737         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
13738         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13740         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
13741         switch statement into default case.
13742         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
13744         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
13745         a conditional in forcing "inexact".
13746         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13747         Likewise.
13749 2015-05-22  Roland McGrath  <roland@hack.frob.com>
13751         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13752         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
13753         for each INTERNAL_SYSCALL use.
13755 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
13757         [BZ #438]
13758         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
13759         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
13760         variable.
13762         [BZ #18444]
13763         * string/basename.c (basename): Rename to __basename and define as
13764         weak alias of __basename.  Use libc_hidden_weak.
13765         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
13766         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
13767         __basename instead of basename.
13768         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
13769         Remove variable.
13770         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13772 2015-05-18  Florian Weimer  <fweimer@redhat.com>
13774         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
13775         (_IO_JUMPS_FILE_plus): New.
13776         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
13777         _IO_CAST_FIELD_ACCESS.
13778         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
13779         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
13780         * libio/freopen.c (freopen): Likewise.
13781         * libio/freopen64.c (freopen64): Likewise.
13782         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
13783         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
13784         * libio/iofwide.c (_IO_fwide): Likewise.
13785         * libio/memstream.c (open_memstream): Likewise.
13786         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13787         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13788         * libio/oldiopopen.c (_IO_old_popen): Likewise.
13790 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
13792         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
13793         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
13794         NADJ.
13795         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
13796         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
13797         NADJ.
13798         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
13799         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
13800         NADJ.
13802         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
13803         (p == 4) case.
13805         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
13806         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
13807         Remove variable.
13808         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13809         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13810         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13812 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13814         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
13815         Adjust jump table label generation macros.
13817 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13819         * stdio-common/vfprintf.c (vfprintf): Move local variables
13820         args_malloced, specs, specs_malloced, and the code after
13821         do_positional to the printf_positional function.
13822         (printf_positional): New function.
13824 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13826         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
13827         function.
13828         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
13829         STEP4_TABLE, process_arg): Move macro definitions
13830         out of the vfprintf function.  (Cosmetic change only.)
13832 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
13834         * benchtests/Makefile (stdio-common-bench): Define.
13835         (benchset): Add stdio-common-bench.
13836         * sprintf-inputs: New file.
13837         * sprintf-source.c: New file.
13839 2015-05-21  Andreas Schwab  <schwab@suse.de>
13841         [BZ #13028]
13842         [BZ #17053]
13843         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
13844         of struct __res_state.
13845         * resolv/res_send.c (__libc_res_nsend): Likewise.
13846         (get_nsaddr): New function.
13847         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
13848         statp directly.
13850 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
13852         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
13853         -D_POSIX_C_SOURCE=199506L.
13855         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
13857         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
13858         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
13859         Do not mention otherwise.
13860         [POSIX] (_XOPEN_VERSION): Do not expect.
13861         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
13862         [POSIX] (_POSIX2_C_BIND): Likewise.
13863         [POSIX] (_POSIX2_VERSION): Likewise.
13864         [POSIX] (_XOPEN_XPG2): Likewise.
13865         [POSIX] (_XOPEN_XPG3): Likewise.
13866         [POSIX] (_XOPEN_XPG4): Likewise.
13867         [POSIX] (_XOPEN_UNIX): Likewise.
13868         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
13869         [POSIX] (_POSIX_BARRIERS): Likewise.
13870         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
13871         [POSIX] (_POSIX_CPUTIME): Likewise.
13872         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
13873         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
13874         [POSIX] (_POSIX_SHELL): Likewise.
13875         [POSIX] (_POSIX_SPAWN): Likewise.
13876         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
13877         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
13878         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
13879         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
13880         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
13881         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
13882         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
13883         [POSIX] (_XBS5_LP64_OFF64): Likewise.
13884         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
13885         [POSIX] (_POSIX_TIMEOUTS): Likewise.
13886         [POSIX] (_POSIX2_PBS): Likewise.
13887         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
13888         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
13889         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
13890         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
13891         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
13892         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
13893         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
13894         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
13895         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
13896         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
13897         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
13898         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
13899         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
13900         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
13901         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
13902         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
13903         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
13904         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
13905         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
13906         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
13907         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
13908         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
13909         [POSIX] (_SC_2_C_BIND): Likewise.
13910         [POSIX] (_SC_2_C_VERSION): Likewise.
13911         [POSIX] (_SC_2_PBS): Likewise.
13912         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
13913         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
13914         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
13915         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
13916         [POSIX] (_SC_2_PBS_TRACK): Likewise.
13917         [POSIX] (_SC_ATEXIT_MAX): Likewise.
13918         [POSIX] (_SC_BARRIERS): Likewise.
13919         [POSIX] (_SC_BASE): Likewise.
13920         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
13921         [POSIX] (_SC_DEVICE_IO): Likewise.
13922         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
13923         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
13924         [POSIX] (_SC_FD_MGMT): Likewise.
13925         [POSIX] (_SC_FIFO): Likewise.
13926         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
13927         [POSIX] (_SC_FILE_LOCKING): Likewise.
13928         [POSIX] (_SC_FILE_SYSTEM): Likewise.
13929         [POSIX] (_SC_IOV_MAX): Likewise.
13930         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
13931         [POSIX] (_SC_NETWORKING): Likewise.
13932         [POSIX] (_SC_PAGE_SIZE): Likewise.
13933         [POSIX] (_SC_PASS_MAX): Likewise.
13934         [POSIX] (_SC_PIPE): Likewise.
13935         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
13936         [POSIX] (_SC_REGEXP): Likewise.
13937         [POSIX] (_SC_SHELL): Likewise.
13938         [POSIX] (_SC_SIGNALS): Likewise.
13939         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
13940         [POSIX] (_SC_SPIN_LOCKS): Likewise.
13941         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
13942         [POSIX] (_SC_USER_GROUPS): Likewise.
13943         [POSIX] (_SC_USER_GROUPS_R): Likewise.
13944         [POSIX] (_SC_STREAMS): Likewise.
13945         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
13946         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
13947         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
13948         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
13949         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
13950         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
13951         [POSIX] (_PC_FILESIZEBITS): Likewise.
13952         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
13953         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
13954         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
13955         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
13956         [POSIX] (uid_t): Likewise.
13957         [POSIX] (gid_t): Likewise.
13958         [POSIX] (off_t): Likewise.
13959         [POSIX] (pid_t): Likewise.
13960         [POSIX] (cuserid): Allow.
13961         (_SC_2_CHAR_TERM): Require constant.
13962         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
13963         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
13964         variable.
13966 2015-05-20  Roland McGrath  <roland@hack.frob.com>
13968         * sysdeps/nacl/pthread-pids.h: New file.
13969         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
13970         (create_thread): Use __nacl_get_tid to initialize PD->tid.
13972         * nptl/pthread-pids.h: New file.
13973         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
13974         * nptl/nptl-init.c: Include <pthread-pids.h>.
13975         (__pthread_initialize_minimal_internal):
13976         Call __pthread_initialize_pids instead of set_tid_address syscall.
13978         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
13979         * sysdeps/posix/usleep.c: ... here.
13981 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13983         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
13984         call_pselect6 object.
13985         [$(subdir) = io]: Remove call_sync_file_range object.
13986         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
13987         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
13988         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
13989         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
13991 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
13993         * math/s_cproj.c: Add include "math_private.h".
13994         * math/s_cprojf.c: Likewise.
13995         * math/s_cprojl.c: Likewise.
13997 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
13999         [BZ #18244]
14000         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
14001         high mantissa bit when testing whether P is a NaN.
14002         * math/libm-test.inc (remainder_test_data): Add more tests.
14003         (remquo_test_data): Likewise.
14005         [BZ #18049]
14006         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
14007         below -32, return the argument, with underflow if subnormal.
14008         * math/auto-libm-test-in: Add more tests of atanh.
14009         * math/auto-libm-test-out: Regenerated.
14011 2015-05-19  Roland McGrath  <roland@hack.frob.com>
14013         [BZ #18434]
14014         * nptl/tst-sem15.c: New file.
14015         * nptl/Makefile (tests): Add it.
14016         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
14017         s/<</>>/ to fix typo in EOVERFLOW check.
14018         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
14020 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14022         * manual/strings.texi (envz_remove): Fix typo in safety
14023         annotations.
14025 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
14026             Steve Ellcey  <sellcey@imgtec.com>
14028         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
14029         in order to avoid strict alias warnings.
14030         (iruserok_af): Ditto for ra.
14032 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
14034         [BZ #17581]
14035         * malloc/hooks.c
14036         (magicbyte): Convert to a function and avoid returning 0x01.
14037         (mem2mem_check): Avoid using a length byte equal to the magic byte.
14038         (mem2chunk_check): Fix unsigned comparisons to zero.
14039         Hoist defs of sz and magic.
14041 2015-05-19  Richard Henderson  <rth@redhat.com>
14043         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
14045         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14047 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14049         [BZ #16159]
14050         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
14051         * malloc/arena.c (arena_lock): Check if arena is corrupt.
14052         (reused_arena): Find a non-corrupt arena.
14053         (heap_trim): Pass arena to unlink.
14054         * malloc/hooks.c (malloc_check_get_size): Pass arena to
14055         malloc_printerr.
14056         (top_check): Likewise.
14057         (free_check): Likewise.
14058         (realloc_check): Likewise.
14059         * malloc/malloc.c (malloc_printerr): Add arena argument.
14060         (unlink): Likewise.
14061         (munmap_chunk): Adjust.
14062         (ARENA_CORRUPTION_BIT): New macro.
14063         (arena_is_corrupt): Likewise.
14064         (set_arena_corrupt): Likewise.
14065         (sysmalloc): Use mmap if there are no usable arenas.
14066         (_int_malloc): Likewise.
14067         (__libc_malloc): Don't fail if arena_get returns NULL.
14068         (_mid_memalign): Likewise.
14069         (__libc_calloc): Likewise.
14070         (__libc_realloc): Adjust for additional argument to
14071         malloc_printerr.
14072         (_int_free): Likewise.
14073         (malloc_consolidate): Likewise.
14074         (_int_realloc): Likewise.
14075         (_int_memalign): Don't touch corrupt arenas.
14076         * malloc/tst-malloc-backtrace.c: New test case.
14078         * Makefile (summarize-tests): Fix return value on success.
14080         * manual/string.texi (Envz Functions): Add envz_remove.
14082 2015-05-18  Roland McGrath  <roland@hack.frob.com>
14084         * sysdeps/posix/opendir.c: Include <stdbool.h>.
14085         (invalid_name): New function, broken out of ...
14086         (__opendirat): ... here.  Call it.
14087         (need_isdir_precheck): New function, broken out of ...
14088         (__opendirat): ... here.  Call it.
14089         Use __fxstatat64, not __xstatat64.
14090         (opendir_oflags): New function, broken out of ...
14091         (__opendirat): ... here.  Call it.
14092         (opendir_tail): New function, broken out of ...
14093         (__opendirat): ... here.  Call it.
14094         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
14095         opendir_tail, rather than punting to __opendirat.
14096         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
14098 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14100         * .gitignore: Ignore generated *.pyc.
14102 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
14104         * include/stdio.h: Define __need_wint_t.
14105         * test-skeleton.c: Avoid `for' loop initial declaration.
14106         * nptl/tst-initializers1.c: Use test-skeleton.c.
14108 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14110         [BZ #18418]
14111         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
14113 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
14115         [BZ #16352]
14116         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
14117         (__ieee754_atanh): Force underflow exception for results with
14118         small absolute value.
14119         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
14120         (__ieee754_atanhf): Force underflow exception for results with
14121         small absolute value.
14122         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
14123         (__ieee754_atanh): Force underflow exception for results with
14124         small absolute value.
14125         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
14126         (__ieee754_atanhf): Force underflow exception for results with
14127         small absolute value.
14128         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
14129         (__ieee754_atanhl): Force underflow exception for results with
14130         small absolute value.
14131         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
14132         (__ieee754_atanhl): Force underflow exception for results with
14133         small absolute value.
14134         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
14135         (__ieee754_atanhl): Force underflow exception for results with
14136         small absolute value.
14137         * math/auto-libm-test-in: Do not allow missing underflow
14138         exceptions from atanh.
14139         * math/auto-libm-test-out: Regenerated.
14141         [BZ #18221]
14142         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
14143         2**-28 as threshold for returning x or +/- 1/x.
14144         * math/auto-libm-test-in: Add more tests of tan.
14145         * math/auto-libm-test-out: Regenerated.
14147         [BZ #18220]
14148         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14149         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
14150         * math/auto-libm-test-in: Add another test of lgamma.
14151         * math/auto-libm-test-out: Regenerated.
14153 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
14155         * stdio-common/printf_fp.c (___printf_fp): Use abs.
14156         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
14157         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
14158         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
14159         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
14160         (ADD2A): Use fabs.  (SUB2A): Use fabs.
14161         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
14162         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
14163         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
14164         (log1): Use fabs.  (my_log2): Use fabs.
14165         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
14166         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
14167         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
14168         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
14169         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
14170         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
14171         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
14172         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
14173         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
14174         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
14175         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
14177 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
14179         [BZ #18217]
14180         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
14181         as threshold for returning 1 - x.
14182         * math/auto-libm-test-in: Add more tests of erfc.
14183         * math/auto-libm-test-out: Regenerated.
14185 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
14187         [BZ #18196]
14188         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
14189         threshold for large arguments.
14190         * math/auto-libm-test-in: Add another test of atan.
14191         * math/auto-libm-test-out: Regenerated.
14193         [BZ #16339]
14194         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
14195         (__log1p): Force underflow exception for results with small
14196         absolute value.
14197         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
14198         (__log1pf): Force underflow exception for results with small
14199         absolute value.
14200         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
14201         (__log1p): Force underflow exception for results with small
14202         absolute value.
14203         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
14204         (__log1pf): Force underflow exception for results with small
14205         absolute value.
14206         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
14207         (__log1pl): Force underflow exception for results with small
14208         absolute value.
14209         * math/auto-libm-test-in: Do not allow missing underflow
14210         exceptions from log1p.
14211         * math/auto-libm-test-out: Regenerated.
14213 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
14214             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14216         [BZ #16704]
14217         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
14219 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
14221         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
14222         (libmvec): New variable.
14223         * configure.ac: Added option for mathvec build.
14224         * configure: Regenerated.
14225         * mathvec/Depend: New file.
14226         * mathvec/Makefile: New file.
14227         * shlib-versions: Added libmvec.
14228         * math/Makefile: Added rule for libm.so installation.
14230         * bits/math-vector.h: New file.
14231         * bits/libm-simd-decl-stubs.h: New header.
14232         * math/Makefile (headers): Added new header
14233         libm-simd-decl-stubs.h.
14234         * math/math.h (__MATHCALL_VEC): New macro.
14236         * math/gen-libm-have-vector-test.sh: Script generates series of macros
14237         for conditions in testing functions.
14238         * math/Makefile: Added call of libm-have-vector-test.sh.
14239         * math/libm-test.inc (HAVE_VECTOR): New macros.
14241         * math/libm-test.inc: START refactored.
14242         * math/test-double.c (TEST_MATHVEC): Add define.
14243         * math/test-float.c: Likewise.
14244         * math/test-idouble.c: Likewise.
14245         * math/test-ifloat.c: Likewise.
14246         * math/test-ildoubl.c: Likewise.
14247         * math/test-ldouble.c: Likewise.
14248         * sysdeps/generic/math-tests-arch.h
14249         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
14250         architecture check.
14252         * math/test-double.c (FUNC_TEST): New macro.
14253         * math/test-float.c: Likewise.
14254         * math/test-idouble.c: Likewise.
14255         * math/test-ifloat.c: Likewise.
14256         * math/test-ildoubl.c: Likewise.
14257         * math/test-ldouble.c: Likewise.
14258         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
14260 2015-05-13  Roland McGrath  <roland@hack.frob.com>
14262         * sysdeps/nacl/fdopendir.c: New file.
14264         * dirent/scandir-tail.c: New file.
14265         * dirent/scandir64-tail.c: New file.
14266         * dirent/Makefile (routines): Add them.
14267         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
14268         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
14269         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
14270         [!SCANDIR] (SCANDIR_TAIL): New macro.
14271         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
14272         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
14273         (SCANDIRAT): Macro removed.
14274         (SCANDIR_TAIL): New macro.
14275         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
14276         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
14277         (SCANDIRAT): Just call __opendirat and __scandir_tail.
14278         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
14279         (READDIR): Macro removed.
14280         (SCANDIR_TAIL): New macro.
14281         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
14282         (SCANDIR_TAIL): New macro.
14284         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
14285         * dirent/scandir-cancel.c: ... to this new file.
14286         * dirent/Makefile (routines): Add it.
14287         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
14288         * sysdeps/unix/sysv/linux/i386/scandir64.c
14289         (SKIP_SCANDIR_CANCEL): Macro removed.
14290         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
14292         * dirent/tst-scandir.c: New file.
14293         * dirent/tst-scandir64.c: New file.
14294         * dirent/Makefile (tests): Add them.
14296 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14298         [BZ #18409]
14299         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
14301 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14303         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
14304         list.
14306 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
14308         * benchtests/bench-strcoll.c: New benchmark.
14309         * benchtests/Makefile: Generate locales and run benchmark.
14310         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
14311         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
14312         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
14313         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
14314         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
14315         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
14316         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
14317         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
14318         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
14319         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
14320         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
14321         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
14322         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
14323         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
14324         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
14325         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
14326         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
14327         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
14328         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
14329         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
14330         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
14331         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
14332         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
14333         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
14335 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
14337         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
14338         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14340 2015-05-12  Roland McGrath  <roland@hack.frob.com>
14342         * posix/uname-values.h: New file.
14343         * posix/uname.c: Include that instead of <config-name.h>.
14344         * sysdeps/nacl/uname-values.h: New file.
14345         * sysdeps/arm/nacl/uname-values.h: New file.
14347 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
14349         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
14350         splitting into fields.
14352 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
14354         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
14355         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
14356         * locale/localeinfo.h: Add enum collation_encoding_type.
14357         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
14358         * programs/ld-collate.c (collate_output): Add encoding type info.
14359         * string/strcoll_l.c (STRDIFF): New function.
14360         * (STRCOLL): Use STRDIFF to skip over equal prefix.
14361         * wcsmbs/wcscoll_l.c: Define STRDIFF.
14363 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
14365         [BZ #18397]
14366         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
14367         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
14368         <fpu_control.h> instead of <math/fpu_control.c>.
14369         * sysdeps/mips/mips32/fpu/Makefile: New file.
14371 2015-05-11  Andreas Schwab  <schwab@suse.de>
14373         [BZ #18007]
14374         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
14375         nss_endgrent.
14376         (_nss_compat_endgrent): Call nss_endgrent.
14377         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
14378         nss_endpwent.
14379         (_nss_compat_endpwent): Call nss_endpwent.
14380         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
14381         needent, call nss_setspent only if non-zero.
14382         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
14383         (internal_endspent): Don't call nss_endspent.
14384         (_nss_compat_endspent): Call nss_endspent.
14385         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
14386         Remove.  All uses removed.
14387         (internal_setent): Remove parameter stayopen, add parameter
14388         stream.  Use it instead of global variable.
14389         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
14390         (internal_endent, internal_getent): Add parameter stream.  Use it
14391         instead of global variable.
14392         (CONCAT(_nss_files_end,ENTNAME))
14393         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
14394         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
14395         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
14396         uses removed.
14397         (internal_setent, internal_endent): Add parameter stream.  Use it
14398         instead of global variable.
14399         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
14400         stream.
14401         (get_next_alias): Add parameter stream.
14402         (_nss_files_getaliasent_r): Pass global stream.
14403         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
14404         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
14405         (_nss_files_gethostbyname4_r): Pass local stream to
14406         internal_setent, internal_getent and internal_endent.  Remove
14407         locking.
14409 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14411         * tst-strfmon1.c (tests): Update expected currency symbol.
14413 2015-05-08  Roland McGrath  <roland@hack.frob.com>
14415         * sysdeps/nacl/gethostname.c: New file.
14417 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
14419         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
14420         and sinh.
14421         * math/auto-libm-test-out: Regenerated.
14422         * sysdeps/i386/fpu/libm-test-ulps: Update.
14423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14425 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
14427         [BZ #18125]
14428         * stdlib/tst-setcontext3.c: New file.
14429         * stdlib/tst-setcontext3.sh: New file.
14430         * stdlib/Makefile (tests): Add tst-setcontext3.
14431         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
14432         to verify test program created output file.
14433         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
14434         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
14435         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
14436         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
14438 2015-05-06  Roland McGrath  <roland@hack.frob.com>
14440         [BZ #18383]
14441         * elf/tst-tlsalign.c: New file.
14442         * elf/tst-tlsalign-static.c: New file.
14443         * elf/tst-tlsalign-lib.c: New file.
14444         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
14445         (tests-static): Add tst-tlsalign-static.
14446         (modules-names): Add tst-tlsalign-lib.
14447         (test-xfail-tst-tlsalign): New variable.
14448         (test-xfail-tst-tlsalign-static): New variable.
14450         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
14451         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
14453 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
14455         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
14456         csqrt, erfc, sin and sincos.
14457         * math/auto-libm-test-out: Regenerated.
14458         * sysdeps/i386/fpu/libm-test-ulps: Update.
14459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14461 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14463         * sysdeps/aarch64/libm-test-ulps: Update.
14465 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
14467         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
14468         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
14469         * math/auto-libm-test-out: Regenerated.
14470         * sysdeps/i386/fpu/libm-test-ulps: Update.
14471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14473 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14475         [BZ #18265]
14476         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
14477         (wcsncpy): Likewise.
14479 2015-05-05  Florian Weimer  <fweimer@redhat.com>
14481         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14482         Assume __ASSUME_FALLOCATE is always true.
14483         * sysdeps/unix/sysv/linux/posix_fallocate64.c
14484         (__posix_fallocate64_l64): Likweise.
14485         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
14486         (posix_fallocate): Likewise.
14487         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
14488         (__posix_fallocate64_l64): Likewise.
14489         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14490         [!__ASSUME_FALLOCATE]: Add comment.
14492 2015-05-05  Florian Weimer  <fweimer@redhat.com>
14494         * sysdeps/unix/sysv/linux/i386/Makefile
14495         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
14496         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
14497         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
14498         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14499         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14500         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
14501         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
14503 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
14505         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
14506         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
14507         tgamma.
14508         * math/auto-libm-test-out: Regenerated.
14509         * sysdeps/i386/fpu/libm-test-ulps: Update.
14510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14512 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
14514         * math/auto-libm-test-in: Add more tests of tgamma.
14515         * math/auto-libm-test-out: Regenerated.
14516         * sysdeps/i386/fpu/libm-test-ulps: Update.
14517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14519         * math/auto-libm-test-in: Add more tests of tanh.
14520         * math/auto-libm-test-out: Regenerated.
14521         * sysdeps/i386/fpu/libm-test-ulps: Update.
14522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14524         * math/auto-libm-test-in: Add more tests of tan.
14525         * math/auto-libm-test-out: Regenerated.
14526         * sysdeps/i386/fpu/libm-test-ulps: Update.
14527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14529         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
14530         * math/auto-libm-test-out: Regenerated.
14531         * sysdeps/i386/fpu/libm-test-ulps: Update.
14532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14534         * math/auto-libm-test-in: Add another test of pow.
14535         * math/auto-libm-test-out: Regenerated.
14536         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14538         * math/auto-libm-test-in: Add more tests of lgamma.
14539         * math/auto-libm-test-out: Regenerated.
14540         * sysdeps/i386/fpu/libm-test-ulps: Update.
14541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14543         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
14544         log1p.
14545         * math/auto-libm-test-out: Regenerated.
14546         * sysdeps/i386/fpu/libm-test-ulps: Update.
14547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14549 2015-05-01  Mark Wielaard  <mjw@redhat.com>
14551         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
14552         Elf64_Chdr structs and ELFCOMPRESS constants.
14554 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
14556         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
14557         expm1.
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         * math/auto-libm-test-in: Add more tests of erf and erfc.
14563         * math/auto-libm-test-out: Regenerated.
14564         * sysdeps/i386/fpu/libm-test-ulps: Update.
14565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14567 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14569         * config.h.in (HAVE_AARCH64_BE): Add.
14571 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
14573         * math/auto-libm-test-in: Add more tests of csqrt.
14574         * math/auto-libm-test-out: Regenerated.
14575         * sysdeps/i386/fpu/libm-test-ulps: Update.
14576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14578         * math/auto-libm-test-in: Add more tests of cosh and sinh.
14579         * math/auto-libm-test-out: Regenerated.
14580         * sysdeps/i386/fpu/libm-test-ulps: Update.
14581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14583         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
14585 2015-04-29  Roland McGrath  <roland@hack.frob.com>
14587         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
14588         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
14590         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
14591         (euidaccess, eaccess): Define as weak aliases.
14593         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
14594         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
14595         but __suseconds_t is often 'long int' so some sources assume that
14596         type is being used (e.g. they use %ld to print tv_usec).
14598 2015-04-29  Florian Weimer  <fweimer@redhat.com>
14600         [BZ #18007]
14601         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
14602         (CVE-2014-8121)
14603         * nss/tst-nss-getpwent.c: New file.
14604         * nss/Makefile (tests): Add new test.
14606 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
14608         [BZ #18346]
14609         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
14610         exponents less than 48 as cases where high part of mantissa needs
14611         examining to determine whether argument is integral.
14612         * math/libm-test.inc (round_test_data): Add more tests.
14614 2015-04-28  Mark Wielaard  <mjw@redhat.com>
14616         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
14618 2015-04-27  David S. Miller  <davem@davemloft.net>
14620         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
14621         __tls_get_addr.
14622         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14624 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
14626         [BZ#18333]
14627         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
14629 2015-04-27  Florian Weimer  <fweimer@redhat.com>
14631         [BZ#18333]
14632         * time/tzset.c (parse_tzname): Return error on memory allocation
14633         failure.
14634         * test-skeleton.c (struct temp_name_list): Change type of name
14635         member to non-const.
14636         (add_temp_file): Create a copy of the file name.
14637         (delete_temp_files): Deallocate memory.
14638         (create_temp_file): Add comment.
14640 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14642         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
14643         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
14645 2015-04-24  Roland McGrath  <roland@hack.frob.com>
14647         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
14648         * sysdeps/arm/configure: Regenerated.
14650 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14652         [BZ #17715]
14653         * time/tzfile.c (__tzfile_read): Check for large values of
14654         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
14655         * time/tzset.c (__tzstring_len): New function, based on the old
14656         __tzstring function.
14657         (__tzstring): Call __tzstring_len.
14658         (parse_tzname): New helper function extracted from
14659         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
14660         the input string.
14661         (parse_offset): New helper function extracted from
14662         __tzset_parse_tz.  Replace switch with fallthrough with
14663         initialization before sscanf.
14664         (parse_rule): Likewise.
14665         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
14666         new-style function definition.
14667         * timezone/Makefile (tests): Add tst-tzset.
14668         (tst-tzset.out): Dependencies on time zone files.
14669         (tst-tzset-ENV): Set TZDIR.
14670         (testdata/XT%): Copy crafted time zone files.
14671         * timezone/README: Mention crafted time zone files.
14672         * timezone/testdata/XT1, timezone/testdata/XT2,
14673         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
14674         files.
14675         * timezone/tst-tzset.c: New test.
14677 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14679         * Makeconfig (+gccwarn): Remove -Winline.
14681 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14683         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
14685 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14687         * NEWS: Mention sysconf() cache information support for s390.
14688         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
14690 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
14692         * math/k_casinh.c (__kernel_casinh): Use __copysign.
14693         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
14694         (__nearbyint): Likewise.
14695         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
14696         (copysignl): Likewise.
14698 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
14700         [BZ #18287]
14701         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
14702         based on padding.  (CVE-2015-1781)
14704 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14706         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
14707         libc-vdso.h.
14708         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
14709         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
14710         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
14711         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14712         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14713         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
14714         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
14715         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
14716         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14717         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
14718         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14719         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14720         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
14721         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
14722         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14723         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
14724         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
14725         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
14726         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
14727         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
14728         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
14729         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
14730         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
14732 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
14734         * stdlib/setenv.c (__add_to_environ):
14735         Dump core quickly if setenv (..., NULL, ...) is called.
14736         This time, do it the right way, and pacify GCC with a pragma.
14738 2015-04-17  Roland McGrath  <roland@hack.frob.com>
14740         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
14741         IMAP->l_prev cannot be null, and #if out the code for the contrary
14742         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
14743         believe that NS (&_dl_ns[NSID]) could point outside the array.
14745         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
14746         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
14747         before using NSID as an index.
14749 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
14751         [BZ #17825]
14752         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
14753         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
14754         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14756 2015-04-17  Roland McGrath  <roland@hack.frob.com>
14758         Add preliminary port to Google Native Client on ARM.
14759         * abi-tags (.*-.*-nacl.*): New entry.
14760         * sysdeps/arm/nacl: New directory.
14761         * sysdeps/nacl: New directory.
14763 2015-04-16  David S. Miller  <davem@davemloft.net>
14765         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
14766         lowlevellock-futex.h
14768 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
14770         * sysdeps/tile/configure.ac: New file.
14771         * sysdeps/tile/configure: Regenerated.
14773 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14775         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
14776         conditionals for weak_alias and libc_hidden_weak.
14777         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
14778         libc_hidden_weak and weak_alias.
14779         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
14780         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
14781         and weak_alias for static one.
14783 2015-04-15  David S. Miller  <davem@davemloft.net>
14785         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14787 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14789         [BZ #18206]
14790         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
14791           Use signed comparision instead of substraction to avoid
14792           overflow bug.
14793         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
14794           Take the sign of ret.
14795         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
14796           Do not expect precise return values. Only the sign matters.
14797         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
14798         * wcsmbs/test-wcsncmp.c: New File.
14799         * string/test-strncmp.c: Add wcsncmp support.
14801 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14803         [BZ #6792]
14804         * math/w_log1p.c: New file.
14805         * math/w_log1pf.c: Likewise.
14806         * math/w_log1pl.c: Likewise.
14807         * math/Makefile (libm-calls): Add w_log1p.
14808         * math/s_log1pl.c (log1pl): Remove weak_alias.
14809         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
14810         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
14811         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
14812         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
14813         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
14814         [NO_LONG_DOUBLE] (log1pl): Likewise.
14815         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
14816         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
14817         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
14818         (log1p): Remove long_double_symbol.
14819         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
14820         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
14821         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
14822         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
14823         remove weak_alias for corresponding log1p function.
14824         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
14825         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14826         * sysdeps/ia64/fpu/w_log1p.c: New file.
14827         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
14828         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
14829         * math/libm-test.inc (log1p_test_data): Add errno expectations.
14831 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
14833         [BZ #18247]
14834         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
14835         decimal exponent by 1.
14836         * stdlib/tst-strtod-round-data: Add more tests.
14837         * stdlib/tst-strtod-round.c (tests): Regenerated.
14839 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
14841         * math/auto-libm-test-in: Add more tests of clog and clog10.
14842         * math/auto-libm-test-out: Regenerated.
14843         * sysdeps/i386/fpu/libm-test-ulps: Update.
14844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14846 2015-04-09  Roland McGrath  <roland@hack.frob.com>
14848         * Makeconfig (module-cppflags): Exclude all .v.i files.
14849         (skip-module-cppflags): Variable removed.
14851         * configure.ac (libc_config_ok): Initialize before reading
14852         preconfigure scripts, not after.
14853         * configure: Regenerated.
14855         * test-skeleton.c (TIMEOUT): Move #define to top level.
14856         (main): Grok environment variable TEST_DIRECT.  If set, print
14857         test expectation details into that file and then behave as if
14858         given --direct.
14860 2015-04-09  Florian Weimer  <fweimer@redhat.com>
14862         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
14863         warning on 32-bit.
14865 2015-04-08  David S. Miller  <davem@davemloft.net>
14867         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14869 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
14871         * math/auto-libm-test-in: Add more tests of atanh.
14872         * math/auto-libm-test-out: Regenerated.
14873         * sysdeps/i386/fpu/libm-test-ulps: Update.
14874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14876         * math/auto-libm-test-in: Add more tests of atan.
14877         * math/auto-libm-test-out: Regenerated.
14878         * sysdeps/i386/fpu/libm-test-ulps: Update.
14879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14881 2015-04-08  Florian Weimer  <fweimer@redhat.com>
14883         * elf/pldd.c (main): Rewrite to use struct
14884         scratch_buffer instead of extend_alloca.
14885         * elf/pldd-xx.c (find_maps): Likewise.
14886         * grp/initgroups.c: Include <scratch_buffer.h> instead of
14887         <alloca.h>.
14888         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
14889         scratch_buffer instead of extend_alloca.
14890         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
14891         grp/compat-initgroups.c.
14892         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
14893         Rewrite to use struct scratch_buffer instead of extend_alloca.
14894         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
14895         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14897 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
14899         * math/auto-libm-test-in: Add more tests of cbrt.
14900         * math/auto-libm-test-out: Regenerated.
14901         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14903         * math/auto-libm-test-in: Add more tests of cabs.
14904         * math/auto-libm-test-out: Regenerated.
14905         * sysdeps/i386/fpu/libm-test-ulps: Update.
14906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14908         [BZ #18210]
14909         [BZ #18211]
14910         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
14911         (__ieee754_atan2): Set FE_TONEAREST mode for internal
14912         computations.
14913         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
14914         clog10.
14915         * math/auto-libm-test-out: Regenerated.
14916         * sysdeps/i386/fpu/libm-test-ulps: Update.
14917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14919         [BZ #18197]
14920         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
14921         (atan): Set FE_TONEAREST mode for internal computations.
14922         * math/auto-libm-test-in: Add more tests of atan.
14923         * math/auto-libm-test-out: Regenerated.
14925 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
14927         [BZ #17930]
14928         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
14930 2015-04-07  Florian Weimer  <fweimer@redhat.com>
14932         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
14934 2015-04-07  Florian Weimer  <fweimer@redhat.com>
14936         * include/scratch_buffer.h: New file.
14937         * malloc/scratch_buffer_grow.c: Likewise.
14938         * malloc/scratch_buffer_grow_preserve.c: Likewise.
14939         * malloc/scratch_buffer_set_array_size.c: Likewise.
14940         * malloc/tst-scratch_buffer.c: Likewise.
14941         * malloc/Makefile (routines): Add scratch_buffer_grow.
14942         (tests): Add test case.
14943         * malloc/Versions (GLIBC_PRIVATE): Export
14944         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
14945         __libc_scratch_buffer_set_array_size.
14947 2015-04-06  Richard Henderson  <rth@redhat.com>
14949         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
14950         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14952         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
14953         unsigned int before printing.
14955 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14957         [BZ #17596]
14958         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
14959         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14961 2015-04-02  Florian Weimer  <fweimer@redhat.com>
14963         * include/libc-internal.h (libc_max_align_t): Define.
14965 2015-04-02  Andreas Schwab  <schwab@suse.de>
14967         [BZ #16850]
14968         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
14970 2015-04-02  Mel Gorman  <mgorman@suse.de>
14972         [BZ #17195]
14973         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
14974         as well as the main arena.
14976 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14978         [BZ #18185]
14979         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
14980         sharing L2 cache to 2 for Silvermont/Knights Landing.
14982 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14984         [BZ #17711]
14985         * config.make.in (have-protected-data): New.
14986         * configure.ac: Check linker support for protected data symbol.
14987         * configure: Regenerated.
14988         * elf/Makefile (modules-names): Add tst-protected1moda and
14989         tst-protected1modb if $(have-protected-data) is yes.
14990         (tests): Add tst-protected1a and tst-protected1b if
14991         $(have-protected-data) is yes.
14992         ($(objpfx)tst-protected1a): New.
14993         ($(objpfx)tst-protected1b): Likewise.
14994         (tst-protected1modb.so-no-z-defs): Likewise.
14995         * elf/tst-protected1a.c: New file.
14996         * elf/tst-protected1b.c: Likewise.
14997         * elf/tst-protected1mod.h: Likewise.
14998         * elf/tst-protected1moda.c: Likewise.
14999         * elf/tst-protected1modb.c: Likewise.
15001 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15003         [BZ #17711]
15004         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
15005         indicates it is called from do_lookup_x on relocation against
15006         protected data, skip the data definion in the executable from
15007         copy reloc.
15008         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
15009         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
15010         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
15011         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
15012         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
15013         otherwise to 0.
15014         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15015         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
15016         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
15017         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15018         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
15019         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
15021 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
15023         * sysdeps/nptl/pthread.h: Remove duplicate definition of
15024         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
15026 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
15028         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
15029         THREAD_SETMEM_NC.
15030         * sysdeps/x86_64/nptl/tls.h: Ditto.
15032 2015-03-27  Roland McGrath  <roland@hack.frob.com>
15034         * dlfcn/tststatic.c (main): Converted to ...
15035         (do_test): ... this.
15036         (TEST_FUNCTION): New macro.
15037         Include test-skeleton.c.
15039 2015-03-26  Alan Modra  <amodra@gmail.com>
15041         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
15042         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
15043         zero for undefined weak.
15044         (elf_machine_plt_conflict): Similarly.
15046 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
15048         * math/auto-libm-test-in: Add more tests of acosh, asinh and
15049         atanh.
15050         * math/auto-libm-test-out: Regenerated.
15051         * sysdeps/i386/fpu/libm-test-ulps: Update.
15052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15054         * math/auto-libm-test-in: Add another test of asin.
15055         * math/auto-libm-test-out: Regenerated.
15056         * sysdeps/i386/fpu/libm-test-ulps: Update.
15057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15059         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
15060         Remove macro.
15061         (LLL_EBX_REG): Likewise.
15062         (LLL_ENTER_KERNEL): Likewise.
15064         * math/auto-libm-test-in: Add more tests of asin.
15065         * math/auto-libm-test-out: Regenerated.
15066         * sysdeps/i386/fpu/libm-test-ulps: Update.
15067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15069         [BZ #18138]
15070         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
15071         libc_do_syscall_args): New structure.
15072         (INTERNAL_SYSCALL_MAIN_0): New macro.
15073         (INTERNAL_SYSCALL_MAIN_1): Likewise.
15074         (INTERNAL_SYSCALL_MAIN_2): Likewise.
15075         (INTERNAL_SYSCALL_MAIN_3): Likewise.
15076         (INTERNAL_SYSCALL_MAIN_4): Likewise.
15077         (INTERNAL_SYSCALL_MAIN_5): Likewise.
15078         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
15079         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
15080         Replace conditional definitions by conditional definitions of ....
15081         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
15082         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
15083         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
15084         (libpthread-sysdep_routines): Add libc-do-syscall.
15085         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
15086         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
15087         to __NR_futex not 240.
15089 2015-03-25  Alan Modra  <amodra@gmail.com>
15091         * NEWS: Advertise TLS optimization.
15092         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
15093         (DT_PPC_NUM): Increment.
15094         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
15095         (CHECK_STATIC_TLS): Use here.
15096         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
15097         TLS descriptors.
15098         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15099         * sysdeps/powerpc/dl-tls.c: New file.
15100         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
15101         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
15102         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
15103         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
15104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
15105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15108 2015-03-25  Alan Modra  <amodra@gmail.com>
15110         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
15111         for overlapping .opd entries" to "support...".
15112         * sysdeps/powerpc/powerpc64/configure: Regenerate
15114 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
15116         * math/auto-libm-test-in: Add more tests of acos.
15117         * math/auto-libm-test-out: Regenerated.
15118         * sysdeps/i386/fpu/libm-test-ulps: Update.
15119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15121         * math/auto-libm-test-in: Add more tests of expm1.
15122         * math/auto-libm-test-out: Regenerated.
15123         * sysdeps/i386/fpu/libm-test-ulps: Update.
15124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15126 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
15128         * math/auto-libm-test-in: Add more tests of cosh and sinh.
15129         * math/auto-libm-test-out: Regenerated.
15130         * sysdeps/i386/fpu/libm-test-ulps: Update.
15131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15133         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15136         * math/auto-libm-test-in: Add more tests of log2.
15137         * math/auto-libm-test-out: Regenerated.
15138         * sysdeps/i386/fpu/libm-test-ulps: Update.
15139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15141 2015-03-23  Roland McGrath  <roland@hack.frob.com>
15143         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
15144         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
15145         _IO_IS_APPENDING bit in READ_WRITE instead.
15147 2015-03-23  Florian Weimer  <fweimer@redhat.com>
15149         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15150         (__determine_cpumask_size): Replace extend_alloca with a
15151         variable-length array.  Do not treat res == 0 as an error.
15153 2015-03-23  Florian Weimer  <fweimer@redhat.com>
15155         [BZ #18100]
15156         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
15157         and integer overflow.
15158         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
15159         (main): Add integer overflow tests.
15160         * manual/pattern.texi (Calling Wordexp): Document additional use
15161         for WRDE_SYNTAX.
15163 2015-03-23  Alan Modra  <amodra@gmail.com>
15165         * config.h.in: Remove HAVE_ASM_PPC_REL16.
15166         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
15167         and false branch of conditional.
15168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15169         Likewise.
15171 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
15173         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
15174         libc-modules.h
15175         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
15176         unused declaration of _hurd_intr_rpc_msg_in_trap.
15177         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
15178         defined instead of whether it is non-zero.
15179         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
15180         input constraint instead of both input and output constraint.  Use ecx
15181         clobber instead of %ecx.
15182         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
15183         mutex_unlock): Use a statement expression instead of an expression list.
15184         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
15185         type to vm_size_t instead of vm_address_t.
15186         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
15187         defined instead of whether it is non-zero.
15188         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
15189         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
15190         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
15191         comparisons with mapaddr.
15192         * nscd/nscd-client.h: Include <time.h>.
15193         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
15194         9th parameter to __vm_region instead of int.
15195         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
15196         * scripts/check-local-headers.sh (exclude): Add device/,
15197         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
15198         cthreads.h.
15200 2015-03-19  Roland McGrath  <roland@hack.frob.com>
15202         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
15203         to account for alignment padding.
15204         * sysdeps/arm/memmove.S: Likewise.
15206 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
15208         * sysdeps/unix/sysv/linux/generic/README: New file.
15210 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
15212         [BZ #18138]
15213         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
15214         (futex_abstimed_wait)
15215         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
15216         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
15217         of lll_futex_timed_wait.
15219 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
15221         [BZ #17542]
15222         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
15224 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
15226         [BZ #17090]
15227         [BZ #17620]
15228         [BZ #17621]
15229         [BZ #17628]
15230         * NEWS: Update.
15231         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
15232         entries with Static TLS too.  Skip entries past the end of the
15233         allocated DTV, from Alan Modra.
15234         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
15235         Static TLS DTV entry set up from...
15236         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
15237         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
15238         * nptl/allocatestack.c (init_one_static_tls): ... and here...
15239         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
15240         for Static TLS.
15241         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
15242         that the slot we find is associated with the given map before
15243         using its generation count.
15244         * nptl_db/db_info.c: Include ldsodefs.h.
15245         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
15246         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
15247         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
15248         (link_map::l_tls_offset): New struct field.
15249         (dtv_t::counter): Likewise.
15250         (rtld_global): New struct.
15251         (_rtld_global): New rtld variable.
15252         (dl_tls_dtv_slotinfo_list): New rtld global field.
15253         (dtv_slotinfo_list): New struct.
15254         (dtv_slotinfo): Likewise.
15255         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
15256         (td_lookup): Rename to...
15257         (td_mod_lookup): ... this.  Use new mod parameter instead of
15258         LIBPTHREAD_SO.
15259         * nptl_db/td_thr_tlsbase.c: Include link.h.
15260         (dtv_slotinfo_list, dtv_slotinfo): New functions.
15261         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
15262         addresses even if the DTV is out of date or missing them.
15263         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
15264         index zero-length arrays.
15265         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
15266         (td_lookup): Make it a macro implemented in terms of...
15267         (td_mod_lookup): ... this declaration.
15268         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
15269         (DB_MAIN_VARIABLE): Likewise.
15271 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15273         [BZ #18134]
15274         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15276 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
15278         * stdlib/setenv.c (__add_to_environ): Revert previous change.
15280 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
15282         [BZ #18128]
15283         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
15284         (atomic_add, atomic_increment_and_test)
15285         (atomic_decrement_and_test): Fix 64-bit arithmetic.
15287 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
15289         * stdlib/setenv.c (__add_to_environ):
15290         Dump core quickly if setenv (..., NULL, ...) is called.
15292 2015-03-13  Roland McGrath  <roland@hack.frob.com>
15294         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
15295         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
15296         all the necessary asm magic in one place.
15297         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
15298         using those.
15300 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
15302         [BZ #14906]
15303         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
15304         traced file mtime. Use consistent log message.
15305         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
15306         (register_traced_file): Call install_watches. Always set mtime.
15307         (invalidate_cache): Iterate over all trace files. Call install_watches.
15308         (inotify_check_files): Don't inline. Handle watching parent
15309         directories and configuration file movement in and out.
15310         (handle_inotify_events): New function.
15311         (main_loop_poll): Call handle_inotify_events.
15312         (main_loop_epoll): Likewise.
15313         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
15314         (struct traced_file): Use array of inotify fds. Add parent directory,
15315         and basename.
15316         (struct database_dyn): Remove unused file_mtime.
15317         (init_traced_file): New inline function.
15318         (define_traced_file): New macro.
15319         * nss/nss_db/db-init.c: Use define_traced_file.
15320         (_nss_db_init): Use init_traced_file.
15321         * nss/nss_files/files-init.c: Use define_traced_file.
15322         (_nss_files_init): Use init_traced_file.
15324 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
15326         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
15327         [_LIBC]: Do not include <stdlib.h>.
15328         [!_LIBC] (abort): Remove declaration.
15329         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
15330         _FP_STATIC_ASSERT instead of conditionally calling abort.
15331         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
15332         (_FP_EXTEND_CNAN): Likewise.
15333         (FP_TRUNC): Likewise.
15334         (__FP_CLZ): Likewise.
15335         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
15337 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
15339         * manual/string.texi (XPG basename): Fix prototype.
15341 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15343         [BZ #18080]
15344         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
15345         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15346         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
15347         (__setcontext): Likewise.
15348         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
15349         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15350         Call rt_sigprocmask syscall one time to set new signal mask
15351         and retrieve the current signal mask instead of two calls.
15352         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
15353         (__swapcontext): Likewise.
15354         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
15355         * stdlib/tst-setcontext2.c: New file.
15357 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15359         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15361 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
15363         [BZ #18093]
15364         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
15365         the wrong size.
15367 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15369         [BZ #18043]
15370         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
15372 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15374         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
15375         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
15376         Remove define.
15377         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
15378         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
15379         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
15380         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
15381         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
15382         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
15383         define.
15384         * nptl_db/td_symbol_list.c (td_lookup): Remove
15385         HAVE_ASM_GLOBAL_DOT_NAME code.
15386         * sysdeps/powerpc/powerpc64/configure.ac: Remove
15387         HAVE_ASM_GLOBAL_DOT_NAME check.
15388         * sysdeps/powerpc/powerpc64/configure: Regenerate.
15389         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
15390         (DOT_LABEL): Remove define.
15391         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
15392         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
15393         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
15394         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
15395         (__TLS_GET_ADDR): Likewise.
15396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
15397         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
15399 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
15401         [BZ #18111]
15402         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
15403         (_FPU_SETCW): Initialize cw from fpsr before storing.
15404         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
15405         (fesetexceptflag): Rewrite using fpu_control.h.
15406         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
15408 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
15410         [BZ #18110]
15411         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
15412         asms.
15413         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15415 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
15417         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
15418         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
15419         abort.
15420         (_FP_FMA): Likewise.
15421         (_FP_DIV): Likewise.
15423 2015-03-10  Roland McGrath  <roland@hack.frob.com>
15425         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
15426         with 0 in that case.
15427         * Makefile (summarize-tests): New canned sequence, factored out of
15428         commands for targets tests and xtests.  Display summary lines that
15429         don't start with PASS: or XFAIL: rather than ones that do start with
15430         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
15431         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
15432         do start with ERROR: or FAIL:.
15433         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
15434         (except for [$(build-shared) = yes]).
15435         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
15436         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
15437         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
15438         * nptl/Makefile: Revert 2015-03-04 changes.
15439         [$(CXX) empty] (tests-unsupported): New variable.
15440         * debug/Makefile: Likewise.
15442         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
15443         gnulib file.  Replace __attribute with __attribute__ throughout.
15445 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
15447         * sysdeps/hppa/fpu/libm-test-ulps: Update.
15449 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
15451         [BZ #18104]
15452         * math/auto-libm-test-in: Add another test of pow.
15453         * math/auto-libm-test-out: Regenerated.
15455 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15457         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
15458         $(config-cflags-nofma).
15460 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
15462         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
15463         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
15464         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
15465         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
15466         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
15467         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
15468         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
15469         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
15470         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
15471         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
15472         Add comment on closing #endif.
15474 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15476         * posix/wordexp.c (CHAR_IN_SET): New macro.
15477         (parse_param): Use it.
15479 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15481         * sysdeps/powerpc/fpu/libm-test-ulps: update.
15483 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15485         [BZ #18043]
15486         * posix/wordexp.c (parse_param): Fix buffer overflow.
15487         * posix/wordexp-test.c (test_case): Add test case.
15489 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15491         [BZ #18042]
15492         * posix/wordexp.c (parse_backtick): Fix off-by-one.
15493         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
15495 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15497         [BZ #18043]
15498         * posix/wordexp-test.c (test_case): Add test for BZ #18043
15499         (do_bz18043): Delete.
15500         (at_page_end): New.
15501         (testit): Refactor to have words at the edge of unreadable page.
15503 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15505         [BZ #16734]
15506         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
15507         Cleanup read-only streams as well.
15508         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
15510 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15512         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
15513         <bits/libc-lockP.h>
15515 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
15517         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
15518         on [__KERNEL__].
15519         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
15520         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
15521         * soft-fp/op-common.h (_FP_DECL): Likewise.
15523 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15525         * elf/ifuncdep2.c (global): Replace
15526         __attribute__((visibility("protected"))) with
15527         asm (".protected global").
15528         * elf/ifuncmod1.c (global): Likewise.
15529         * elf/ifuncmod5.c (global): Likewise.
15531 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
15533         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
15534         <asm/sfp-machine.h> instead of <sfp-machine.h>.
15536 2015-03-06  Roland McGrath  <roland@hack.frob.com>
15538         * manual/install.texi (Configuring and compiling):
15539         Document test-wrapper-env-only.
15540         * INSTALL: Regenerated.
15542 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15544         [BZ #18043]
15545         * posix/wordexp.c (parse_param): Fix buffer overflow.
15546         * posix/wordexp-test.c (do_bz18043): Add test case.
15548 2015-03-06  Vincent Bernat  <vincent@bernat.im>
15550         * time/tst-strptime2.c (do_test): Ensure failing tests are
15551         reported correctly.
15552         * time/tst-strptime3.c (do_test): Likewise.
15554 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
15556         Fix aio_error thread-safety.
15557         * sysdeps/pthread/aio_error.c: New file
15558         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
15559         synchronization.
15561 2015-03-06  Florian Weimer  <fweimer@redhat.com>
15563         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
15564         (group_number, vfprintf): Use it.
15565         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
15566         (JUMP, REF): Use it.
15567         (WORK_BUFFER_SIZE): New enum constant.
15568         (process_arg, vfprintf): Use it.
15570 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
15572         * manual/errno.texi (Error Messages): Complete example function
15573         by adding missing #define.
15574         (program_invocation_name): Add statement indicating GNU
15575         extension and reference which header file declares the variable.
15576         (program_invocation_short_name): Likewise.
15578 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
15580         * manual/errno.texi (Error Messages): Delete strerror ISO C89
15581         compatibility note.
15583 2015-03-05  Roland McGrath  <roland@hack.frob.com>
15585         * Makeconfig (test-wrapper-env-only): New variable.
15586         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
15587         then use that with $(test-wrapper-env-only) rather than using
15588         $(test-wrapper-env) $(run-program-env) $($*-ENV).
15590 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
15592         [BZ #18082]
15593         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
15594         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
15595         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
15596         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
15597         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
15598         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
15599         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
15600         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
15601         Likewise.
15602         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
15603         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
15604         Likewise.
15605         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
15606         Likewise.
15607         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
15608         Likewise.
15609         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
15610         Likewise.
15611         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
15612         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
15613         Likewise.
15614         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
15615         Likewise.
15616         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
15617         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
15619 2015-03-04  Roland McGrath  <roland@hack.frob.com>
15621         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
15622         (ETH_ALEN): New macro.
15623         (struct ether_addr): Use it for length of ether_addr_octet.
15625         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
15626         (setdb): Don't call __nss_configure_lookup for "rpc".
15627         (do_test): Don't call test_rpc.
15628         (output_rpcent, test_rpc): Functions moved ...
15629         * sunrpc/test-rpcent.c: ... to this new file.
15630         * sunrpc/Makefile (tests): Add it.
15632         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
15633         __xpg_sigpause.
15634         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
15635         * nptl/tst-signal6.c: Likewise.
15636         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
15637         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
15639         * configure.ac (libc_cv_cxx_link_ok): New check.
15640         Reset CXX to empty if it fails to link.
15641         * configure: Regenerated.
15642         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
15643         bug-atexit3-lib only if $(CXX) is nonempty.
15644         * nptl/Makefile (tests): Likewise for tst-cancel24.
15645         (tests, tests-static): Likewise for tst-cancel24-static.
15646         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
15647         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
15648         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
15649         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
15651 2015-03-04  Andreas Schwab  <schwab@suse.de>
15653         [BZ #17631]
15654         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
15655         for non-GCC compilers.
15656         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15657         Likewise.
15659 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15661         [BZ #17776]
15662         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
15663         integer before bitwise and assembly operations.
15664         (feclearexcept): Likewise.
15665         * math/test-fenvinline.c: New file.
15666         * math/Makefile: Add test-fenvinline test.
15668 2015-03-03  Alan Modra  <amodra@gmail.com>
15670         [BZ #16512]
15671         * scripts/localplt.awk: Strip off symbol version.
15672         * NEWS: Mention bug fix.
15674 2015-03-02  Roland McGrath  <roland@hack.frob.com>
15676         * sysdeps/pthread/timer_routines.c
15677         (timer_free_list, thread_free_list, thread_active_list): Make static.
15679 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
15681         [BZ #17779]
15682         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15683         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15684         Undefine.
15685         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15686         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15687         Likewise.
15688         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15689         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15690         Likewise.
15692 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
15694         [BZ #18036]
15695         * posix/fnmatch_loop.c (END): Detect invalid pattern.
15696         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
15698 2015-03-02  Andreas Schwab  <schwab@suse.de>
15700         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
15701         variable name.
15703 2015-03-02  Florian Weimer  <fweimer@redhat.com>
15705         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
15706         Return error status.
15708 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
15710         [BZ #15969]
15711         * locale/findlocale.c (_nl_find_locale): Introduce const
15712         version of loc_name and drop unsafe type casts.
15714 2015-02-27  Roland McGrath  <roland@hack.frob.com>
15716         * dlfcn/tststatic2.c (main): Converted to ...
15717         (do_test): ... this.
15718         (TEST_FUNCTION): New macro.
15719         Include test-skeleton.c.
15721 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
15723         [BZ #17711]
15724         * elf/Makefile (tests): Add vismain only if PIE is enabled.
15725         (tests-pie): Add vismain.
15726         (CFLAGS-vismain.c): New.
15727         * elf/vismain.c: Add comments for PIE requirement.
15729 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
15731         [BZ #18046]
15732         [BZ #18047]
15733         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
15734         0x1p-56L as threshold for just returning the argument.
15735         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
15736         0x1p-32L as threshold for just returning the argument.
15737         * math/auto-libm-test-in: Add more tests of atanh.
15738         * math/auto-libm-test-out: Regenerated.
15739         * sysdeps/i386/fpu/libm-test-ulps: Update.
15740         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
15742 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
15744         * string/bcopy.c (bcopy): Call memmove for performance.
15746 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
15748         * string/bzero.c (__bzero): Call memset for performance.
15750 2015-02-27  John David Anglin  <dave.anglin@bell.net>
15752         [BZ #18068]
15753         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
15754         to 00100000.
15756 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
15758         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
15760 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
15762         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
15763         (__kernel_standard): Use CSTR macro when setting exc.name.
15764         * sysdeps/ieee754/Makefile [$(subdir) = math]
15765         (CFLAGS-k_standard.c): Remove variable.
15767         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
15768         setting p and q from "else if" to "else".
15769         (qzero): Likewise.
15770         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
15771         (qone): Likewise.
15772         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
15773         (qzerof): Likewise.
15774         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
15775         (qonef): Likewise.
15776         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
15777         (qzero): Likewise.
15778         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
15779         (qone): Likewise.
15781         [BZ #18038]
15782         [BZ #18039]
15783         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
15784         return pi/2 for arguments below 0x1p-113L.
15785         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
15786         return pi/2 for arguments below 0x1p-106L.
15787         * math/auto-libm-test-in: Add more tests of acos.
15788         * math/auto-libm-test-out: Regenerated.
15790         [BZ #16351]
15791         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
15792         (MO): New macro.
15793         (__ieee754_asin): Force underflow exception for results with small
15794         absolute value.
15795         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
15796         (MO): New macro.
15797         (__ieee754_asinf): Force underflow exception for results with
15798         small absolute value.
15799         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
15800         (__ieee754_asin): Force underflow exception for results with small
15801         absolute value.
15802         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
15803         (__ieee754_asinf): Force underflow exception for results with
15804         small absolute value.
15805         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
15806         (__ieee754_asinl): Force underflow exception for results with
15807         small absolute value.
15808         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
15809         (__ieee754_asinl): Force underflow exception for results with
15810         small absolute value.
15811         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
15812         (__ieee754_asinl): Force underflow exception for results with
15813         small absolute value.
15814         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15815         Include <math.h>.
15816         * math/auto-libm-test-in: Do not mark underflow exceptions as
15817         possibly missing for bug 16351.
15818         * math/auto-libm-test-out: Regenerated.
15820         [BZ #18030]
15821         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
15822         of power of 2 down when low part has opposite sign.
15823         * math/libm-test.inc (logb_test_data): Add more tests.
15825 2015-02-26  Andreas Schwab  <schwab@suse.de>
15827         [BZ #18032]
15828         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
15829         over collating symbol inside a bracket expression.  Minor cleanup.
15830         * posix/tst-fnmatch3.c (do_test): Add test case.
15832 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
15834         [BZ #18029]
15835         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
15836         Adjust exponent of power of 2 down when low part has opposite
15837         sign.
15838         * math/libm-test.inc (ilogb_test_data): Add more tests.
15840 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
15842         [BZ #15969]
15843         * locale/findlocale.c (_nl_find_locale): Fix constness error in
15844         the previous change.
15846         [BZ #15969]
15847         * locale/findlocale.c (_nl_find_locale): Retry archive search
15848         after alias expansion.
15850 2015-02-25  Roland McGrath  <roland@hack.frob.com>
15852         * iconv/tst-iconv3.c (main): Converted to ...
15853         (do_test): ... this.
15854         (TEST_FUNCTION): New macro.
15855         Include test-skeleton.c.
15857         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
15858         (convert): Make function static.
15859         (test_unalign): Likewise.  Add const to argument pointee types.
15860         (main): Replace with static function do_test.
15861         Print "Succeeded." only if RET is zero.
15862         (TEST_FUNCTION): New macro.
15863         Include test-skeleton.c.
15865         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
15866         returns a null pointer.
15868 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15870         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
15871         to __memcpy_ppc only for static builds.
15873 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
15875         [BZ #18020]
15876         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
15877         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
15878         * math/auto-libm-test-in: Add more tests of asinh.
15879         * math/auto-libm-test-out: Regenerated.
15880         * sysdeps/i386/fpu/libm-test-ulps: Update.
15881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15883 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
15885         [BZ #15850]
15886         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
15887         and ip6_mtuinfo definitions here.
15888         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
15889         in this define too.  Update comment.
15891 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
15893         * elf/sprof.c (load_shobj): Tweak error message to match others.
15895 2015-02-24  Kevin Easton  <kevin@guarana.org>
15897         [BZ #16145] (partial fix)
15898         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
15899         to reduce lock contention.
15901 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
15903         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
15904         (struct timex): Update time comment.
15905         (ADJ_SETOFFSET): Define.
15907 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
15909         [BZ #18019]
15910         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15911         2**56 not 2**28 as threshold for log (2x) formula.
15912         * math/auto-libm-test-in: Add more tests of acosh.
15913         * math/auto-libm-test-out: Regenerated.
15914         * sysdeps/i386/fpu/libm-test-ulps: Update.
15915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15917 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
15919         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
15920         parenthesis around the buf assignment.
15921         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
15923 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
15925         [BZ #16783]
15926         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
15927         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
15928         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
15929         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15930         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15931         * math/libm-test.inc (scalb_test_data): Add more tests.
15933 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15935         [BZ #17916]
15936         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
15937         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
15939 2015-02-24  Eric Rannaud  <e@nanocritical.com>
15941         [BZ #17523]
15942         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
15943         * io/bits/fcntl2.h (open): Use it.
15944         (openat): Likewise.
15945         * io/open.c (__libc_open): Likewise.
15946         * io/open64.c (__libc_open64): Likewise.
15947         * io/open64_2.c (__open64_2): Likewise.
15948         * io/open_2.c (__open_2): Likewise.
15949         * io/openat.c (__openat): Likewise.
15950         * io/openat64.c (__openat64): Likewise.
15951         * io/openat64_2.c (__openat64_2): Likewise.
15952         * io/openat_2.c (__openat_2): Likewise.
15953         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
15954         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
15955         * sysdeps/posix/open64.c (__libc_open64): Likewise.
15956         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15957         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15958         (__open_nocancel): Likewise.
15959         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15960         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15961         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
15963 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15965         [BZ #14841]
15966         * resolv/gethnamaddr.c (getanswer): Skip logging if
15967         RES_USE_DNSSEC is set.
15968         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15970 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
15972         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
15974 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
15976         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
15977         201304L, for Unicode 7.
15979 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
15981         [BZ #17836]
15982         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
15983         shared library.  Add gmon-start.os otherwise.
15984         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
15985         $(objpfx)gmon-start.os if builing shared library.
15986         ($(objpfx)g$(static-start-installed-name)): Likewise.
15988 2015-02-23  Andreas Schwab  <schwab@suse.de>
15990         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
15992 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
15994         [BZ #17269]
15995         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
15996         (enlarge_userbuf): Likewise.
15998 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
16000         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
16001         * math/atest-exp.c (TIMEOUT): Adjust to 200.
16002         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
16003         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
16005 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
16007         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
16008         expression inside statement expression.
16010 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16012         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
16013         <sysdeps/nptl/lowlevellock.h> and remove macros and
16014         functions that are now defined there.
16015         (SYS_futex): Remove.
16016         (lll_compare_and_swap): Remove.
16017         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
16019 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
16021         [BZ #17999]
16022         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
16023         instead of scandirat.
16024         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
16025         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
16026         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
16027         __scandirat.
16028         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
16029         (__scandirat): Declare.  Use libc_hidden_proto.
16030         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
16031         Remove variable.
16032         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
16034 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
16036         [BZ #15319]
16037         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
16038         (MO): New macro.
16039         (__ieee754_atan2): For results with small absolute value, force
16040         underflow exception and remove excess range and precision from
16041         return value.
16042         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
16043         (MO): New macro.
16044         (__ieee754_atan2f): For results with small absolute value, force
16045         underflow exception and remove excess range and precision from
16046         return value.
16047         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
16048         (MO): New macro.
16049         (__atan): For results with small absolute value, force underflow
16050         exception and remove excess range and precision from return value.
16051         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
16052         (MO): New macro.
16053         (__atanf): For results with small absolute value, force underflow
16054         exception and remove excess range and precision from return value.
16055         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
16056         <math.h>.
16057         (__ieee754_atan2): Force underflow exception for results with
16058         small absolute value.
16059         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
16060         <math_private.h>.
16061         (atan): Force underflow exception for results with small absolute
16062         value.
16063         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
16064         (__atanf): Force underflow exception for results with small
16065         absolute value.
16066         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
16067         <math.h>.
16068         (__atanl): Force underflow exception for results with small
16069         absolute value.
16070         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
16071         (__atanl): Force underflow exception for results with small
16072         absolute value.
16073         * sysdeps/x86/fpu/bits/mathinline.h
16074         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
16075         (__ieee754_atan2): Only define inline for long double.
16076         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16077         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
16078         * math/auto-libm-test-in: Do not mark underflow exceptions as
16079         possibly missing for bug 15319.  Add more tests of atan2.
16080         * math/auto-libm-test-out: Regenerated.
16081         * math/libm-test.inc (casin_test_data): Do not mark underflow
16082         exceptions as possibly missing for bug 15319.
16083         (casinh_test_data): Likewise.
16084         * sysdeps/i386/fpu/libm-test-ulps: Update.
16086 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
16088         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
16089         * sysdeps/mips/bits/endian.h: Fix comments.
16091 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
16093         [BZ #17996]
16094         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
16095         (hdestroy_r): Likewise.
16096         (hsearch_r): Likewise.
16097         (__hcreate_r): Declare and use libc_hidden_proto.
16098         (__hdestroy_r): Likewise.
16099         (__hsearch_r): Likewise.
16100         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
16101         (hcreate): Call __hcreate_r instead of hcreate_r.
16102         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
16103         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
16104         as weak alias of __hcreate_r.
16105         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
16106         __hdestroy_r.
16107         (hsearch_r): Rename to __hsearch_r and define as weak alias of
16108         __hsearch_r.
16109         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
16110         Remove variable.
16111         (test-xfail-XPG4/search.h/linknamespace): Likewise.
16112         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
16113         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
16114         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
16116 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16118         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
16119         arena_lock into a single arena_get.
16121 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
16123         * dl-reloc.c: Inlucde libc-internal.h.
16124         (_dl_try_allocate_static_tls): Call ALIGN_UP.
16125         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
16126         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
16127         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
16128         (grow_heap): Likewise.
16129         * malloc/malloc.c: Include libc-internal.h.
16130         (do_check_malloc): Call powerof2.
16131         (sysmalloc): Use pagesize. Call ALIGN_UP.
16132         (systrim): Use pagesize.
16133         (mremap_chunk): Use pagesize. Call ALIGN_UP.
16134         (__libc_valloc): Use pagesize.
16135         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
16137 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
16139         [BZ #17991]
16140         * include/sys/resource.h (__getrlimit64): Declare.  Use
16141         libc_hidden_proto.
16142         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
16143         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
16144         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
16145         getrlimit64.
16146         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
16147         __getrlimit64.
16148         [!getrlimit64] (getrlimit64): Define as weak alias of
16149         __getrlimit64.  Use libc_hidden_weak.
16150         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
16151         using __getrlimit64 not __new_getrlimit64.
16152         (__GI_getrlimit64): Likewise.
16153         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
16154         Likewise.
16155         (__GI_getrlimit64): Likewise.
16156         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
16157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
16158         (getrlimit): Add __getrlimit64 alias.
16159         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
16160         Likewise.
16161         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
16162         Remove variable.
16163         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
16164         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
16166 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
16168         * libio/fileops.c: Add missing sys/mman.h
16169         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
16171 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
16173         * manual/math.texi (Errors in Math Functions): Clarify goals
16174         regarding inexact and underflow exceptions.
16176 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
16178         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
16179         * sysdeps/mips/memset.S: Ditto.
16181 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
16183         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
16185 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16187         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
16188         (__v1longjmp): Remove versioned symbol.
16189         (__v1siglongjmp): Remove alias and versioned symbol.
16190         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
16191         (__v2siglongjmp): Likewise.
16193 2015-02-16  Torvald Riegel  <triegel@redhat.com>
16195         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
16197 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
16199         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
16201 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
16203         [BZ #17987]
16204         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
16205         zero result does not depend on the sign resulting from
16206         subtraction.
16207         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16208         Likewise.
16209         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16210         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16211         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16212         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16213         * math/libm-test.inc (remquo_test_data): Add more tests.
16215 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
16217         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
16218         Problem reported by J William Piggott.
16220 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
16222         [BZ #17978]
16223         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
16224         products 4 * y and 2 * y where those would overflow.
16225         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16226         Likewise.
16227         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16228         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16229         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16230         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16231         * math/libm-test.inc (remquo_test_data): Add more tests.
16233         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
16235         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
16236         [defined _COMPILING_NEWLIB].
16237         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
16238         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
16240         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
16241         [!defined __mips_isa_rev || __mips_isa_rev < 6].
16243 2015-02-16  Torvald Riegel  <triegel@redhat.com>
16245         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
16246         acquired.
16248 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
16250         [BZ #17792]
16251         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
16252         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
16253         HOST_STACK_END_ADDR): Likewise.
16255 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
16257         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
16258         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
16259         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
16261 2015-02-13  Roland McGrath  <roland@hack.frob.com>
16263         * sysdeps/generic/c++-types.data: New file.
16264         * sysdeps/generic/ld.abilist: New file.
16265         * sysdeps/generic/libBrokenLocale.abilist: New file.
16266         * sysdeps/generic/libanl.abilist: New file.
16267         * sysdeps/generic/libc.abilist: New file.
16268         * sysdeps/generic/libcrypt.abilist: New file.
16269         * sysdeps/generic/libdl.abilist: New file.
16270         * sysdeps/generic/libm.abilist: New file.
16271         * sysdeps/generic/libpthread.abilist: New file.
16272         * sysdeps/generic/libresolv.abilist: New file.
16273         * sysdeps/generic/librt.abilist: New file.
16275 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
16277         [BZ #17569]
16278         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16279         Compute absolute value of x as modified by fmod, not original
16280         value of x.
16281         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
16282         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
16283         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
16284         RUN_TEST_ffI_f1_mod8.
16285         (remquo_test_data): Add more tests.
16287 2015-02-13  Roland McGrath  <roland@hack.frob.com>
16289         * sysdeps/init_array/pt-crti.S: New file.
16291 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
16293         [BZ #17967]
16294         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
16295         __builtin_fmaf instead of relying on contraction of a * b + c.
16297 2015-02-12  J William Piggott  <elseifthen@gmx.com>
16299         [BZ #17969]
16300         * manual/time.texi: correct the zoneinfo path in the TZ Variable
16301         node.
16303 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16305         [BZ #17964]
16306         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
16307         __builtin_fma instead of relying on contraction of a * b + c.
16309 2015-02-12  Roland McGrath  <roland@hack.frob.com>
16311         * Makeconfig (ASFLAGS): Add -Werror=undef.
16312         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
16313         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
16314         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
16316         * Makeconfig (after-link): New variable.
16317         (+link-pie, +link-pie-tests): Use it.
16318         (+link-static, +link-static-tests): Likewise.
16319         (+link, +link-tests): Likewise.
16320         * Makerules (build-module, build-module-asneeded): Likewise.
16321         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
16322         Likewise.
16323         * elf/Makefile ($(objpfx)ld.so): Likewise.
16325 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
16327         [BZ #17965]
16328         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
16329         both struct timeval and struct timespec.
16331 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16333         [BZ #16560]
16334         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16335         and redefine.
16336         (__ieee754_exp2l): Do not multiply small fractional parts by
16337         M_LN2l.
16338         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
16339         small argument.
16340         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16341         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16342         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
16343         * math/auto-libm-test-in: Add more tests of exp2.
16344         * math/auto-libm-test-out: Regenerated.
16346 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16348         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
16349         unaligned path.
16351 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16353         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
16354         little endian.
16356 2015-02-12  Andreas Schwab  <schwab@suse.de>
16358         [BZ #15790]
16359         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
16360         Filter out elision flags from value returned in kind.
16361         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
16362         * nptl/tst-pthread-mutexattr.c: New file.
16364 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16366         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
16367         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
16368         into gnu-gnu, and update comment to refer to abi-tags.
16370 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
16372         [BZ #15467]
16373         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
16374         (__sincos): Set errno to EDOM for infinite argument.
16375         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
16376         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
16377         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
16378         (__sincosl): Set errno to EDOM for infinite argument.
16379         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
16380         (__sincosl): Set errno to EDOM for infinite argument.
16381         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
16382         (__sincosl): Set errno to EDOM for infinite argument.
16383         * math/libm-test.inc (sincos_test_data): Test errno setting.
16385 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
16387         * string/strxfrm_l.c: Remove #define STRCMP.
16388         * string/strcoll_l.c: Remove #define STRLEN.
16389         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
16390         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
16392 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
16394         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
16395         * sysdeps/mips/mips32/sfp-machine.h: ... here.
16396         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
16397         * sysdeps/mips/mips64/Makefile: ... here.
16398         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
16399         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
16400         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
16401         * sysdeps/mips/mips64/sfp-machine.h: ... here.
16402         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
16403         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
16404         * sysdeps/mips/mips64/n64/Implies: Likewise.
16406 2015-02-10  Roland McGrath  <roland@hack.frob.com>
16408         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
16409         <sys/time.h>, <string.h>, and <errno.h>.
16410         (dest_offset, dest_address, value, zero): Remove unused variables.
16411         (ldouble): Remove typedef.
16412         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
16413         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
16414         1).  Fix code style.
16415         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
16416         (check): Function removed.
16417         (CHECK): New macro.
16418         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
16419         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
16420         Don't call set_sigaction_FP and remove_sigaction_FP here.
16421         (ldouble_test): Just use 'long double' as macro argument, no need for
16422         the 'ldouble' typedef.
16423         (do_test): Set up SIGFPE handler at start, using plain signal rather
16424         than sigaction.  Fix code style.
16426 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
16428         [BZ #17949]
16429         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
16430         jump label.
16432 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16434         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
16435         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16437         * sysdeps/powerpc/configure.ac: Remove file.
16438         * sysdeps/powerpc/configure: Likewise.
16440         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16441         [sysdep_routines]: Remove wordcopy-power6 object.
16442         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16443         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
16444         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
16445         (__memmove_ppc32): Likewise.
16446         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
16447         file.
16448         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
16449         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
16450         Remove preprocessor.
16452         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16453         [sysdep_routines]: Remove wide chars objects.
16454         [wcsmbs]: New rule for wide char objects.
16456         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16457         Remove wordcopy-power6 obejct.
16458         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
16459         Use local call for wordcopy and memcpy symbols.
16460         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
16461         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
16462         implementation for loader.
16463         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
16465         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16466         Remove wordcopy-power7 object.
16467         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
16468         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
16469         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
16470         (_wordcopy_fwd_dest_aligned): Likewise.
16471         (_wordcopy_bwd_aligned): Likewise.
16472         (_wordcopy_bwd_dest_aligned): Likewise.
16474         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
16475         Rewrite to call __memmove_ppc instead of include default
16476         implementation.
16478         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16479         Remove wide chars objects.
16480         [wcsmbs]: New rule for wide char objects.
16482 2015-02-09  Andreas Schwab  <schwab@suse.de>
16484         [BZ #17912]
16485         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16486         in terms of __O_DIRECTORY.
16488 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16490         * time/getdate.c: Include <stdbool.h>.
16491         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
16492         call PTR_MANGLE.
16493         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
16494         PTR_DEMANGLE.
16496 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
16498         Add ersatz _Static_assert on older C hosts
16499         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
16500         pre-C11 C platform that is not known to support _Static_assert.
16502 2015-02-07  Richard Braun  <rbraun@sceen.net>
16504         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
16505         sigstate.
16506         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
16508 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16510         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
16511         priority against unexistent AIO_PRIO_DELTA_MAX.
16512         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
16513         instead of int.
16514         * misc/fchflags.c (fchflags): Likewise.
16515         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
16516         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
16517         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
16518         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
16519         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
16520         Declare macros.
16521         [__USE_MISC] (chflags, fchflags): Declare functions.
16522         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
16523         EINVAL when nfds is greater than FD_SETSIZE.
16524         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
16525         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
16526         45.
16527         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
16528         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
16529         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
16530         MACH_RCV_TIMED_OUT.
16531         * hurd/hurd/signal.h (_hurd_self_sigstate,
16532         _hurd_critical_section_lock, _hurd_critical_section_unlock):
16533         Explicit casts from void *.
16534         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
16535         * abi-tags: Rename gnu-gnu os into gnu.
16537         [BZ #4719]
16538         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
16539         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
16540         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
16541         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
16542         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
16543         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
16545         [BZ #17944]
16546         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
16547         duplicates ADDR->sun_path with sockaddr LEN limitation.
16548         * sysdeps/mach/hurd/connect.c: Include <string.h>
16549         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
16550         * sysdeps/mach/hurd/sendmsg.c: Likewise.
16551         * sysdeps/mach/hurd/sendto.c: Likewise.
16552         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
16553         implementing it by hand.
16555 2015-02-06  Roland McGrath  <roland@hack.frob.com>
16557         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
16558         Use sfi_breg on ldr.
16559         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
16560         Likewise.
16562         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
16563         it's defined.
16564         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
16565         Test SIGSETXID only if it's defined.
16567         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
16569         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
16570         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
16572         * nptl/tst-align2.c: Moved ...
16573         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
16574         * nptl/Makefile (tests): Remove tst-align2.
16575         * sysdeps/unix/sysv/linux/Makefile
16576         [$(subdir) = nptl] (tests): Add tst-align-clone.
16577         * nptl/tst-getpid1.c: Moved ...
16578         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
16579         * nptl/tst-getpid2.c: Moved ...
16580         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
16581         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
16582         * sysdeps/unix/sysv/linux/Makefile
16583         [$(subdir) = nptl] (tests): ... here.
16584         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
16585         * sysdeps/unix/sysv/linux/Makefile
16586         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
16588         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
16589         Drop trailing \n from perror argument.  Use return rather than exit.
16591         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
16592         on [SA_SIGINFO].
16593         * nptl/tst-cancel21.c (do_test): Likewise.
16594         * debug/tst-backtrace6.c: Include <signal.h> first thing.
16595         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
16596         [!SA_SIGINFO]: Make it a stub test.
16598         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
16599         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
16601         * posix/tst-getlogin.c: Move to ...
16602         * login/tst-getlogin.c: ... here.
16603         * posix/Makefile (tests): Move tst-getlogin to ...
16604         * login/Makefile (tests): ... here.
16606         * libio/tst-atime.c (do_test): Move local variables SV and E
16607         inside [ST_NOATIME] conditional.
16609         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
16611         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
16613         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
16614         (wait_code): New function replaces macro.
16615         Call nanosleep rather than syscall.
16617         * nptl/pt-system.c: Rewritten.  Put everything under
16618         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16619         Use IFUNC to redirect when possible.
16621         * nptl/pt-longjmp.c: Rewritten.  Put everything under
16622         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16623         Use IFUNC to redirect when possible.
16625         * nptl/pt-fork.c: Rewritten.  Put everything under
16626         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16627         Use IFUNC to redirect when possible.
16628         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
16630         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
16631         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
16632         unconditionally nowadays.  This included the only reference to
16633         __vdso_clock_gettime that appears outside libc proper.
16634         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
16635         Remove version set (containing only __vdso_clock_gettime).
16636         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16637         Add attribute_hidden.
16638         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16639         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
16640         libc_hidden_data_def.
16641         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16642         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16644         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
16645         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
16646         setrpcent, and getrpcport to ...
16647         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
16648         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
16649         getrpcbynumber_r, and getrpcent_r to ...
16650         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
16651         * inet/getrpcbyname.c: Moved ...
16652         * sunrpc/getrpcbyname.c: ... here.
16653         * inet/getrpcbyname_r.c: Moved ...
16654         * sunrpc/getrpcbyname_r.c: ... here.
16655         * inet/getrpcbynumber.c: Moved ...
16656         * sunrpc/getrpcbynumber.c: ... here.
16657         * inet/getrpcbynumber_r.c: Moved ...
16658         * sunrpc/getrpcbynumber_r.c: ... here.
16659         * inet/getrpcent.c: Moved ...
16660         * sunrpc/getrpcent.c: ... here.
16661         * inet/getrpcent_r.c: Moved ...
16662         * sunrpc/getrpcent_r.c: ... here.
16663         * inet/Makefile (routines): Move those to ...
16664         * sunrpc/Makefile (routines): ... here.
16665         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
16666         the $(subdirs) list.
16667         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
16668         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
16669         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
16670         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
16672         * elf/Makefile (routines): Include $(all-dl-routines), not just
16673         $(dl-routines).
16674         (rtld-routines): Likewise.  Use = rather than :=.
16675         * sysdeps/aarch64/Makefile [$(subdir) = elf]
16676         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
16677         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
16678         * sysdeps/arm/Makefile: Likewise.
16679         * sysdeps/i386/Makefile: Likewise.
16680         * sysdeps/x86_64/Makefile: Likewise.
16681         * sysdeps/hppa/Makefile [$(subdir) = elf]
16682         (sysdep_routines, sysdep-rtld-routines): Don't add
16683         $(sysdep-dl-routines) to these.
16684         * sysdeps/ia64/Makefile: Likewise.
16685         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
16686         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
16687         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
16688         Don't add dl-static to these; sysdep-dl-routines alone is enough.
16689         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
16690         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
16691         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
16692         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
16693         * sysdeps/powerpc/Makefile [$(subdir) = elf]
16694         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
16695         these; sysdep-dl-routines alone is enough.
16697 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
16699         [BZ #17932]
16700         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
16701         where multiplication results in zero and third argument is finite
16702         and nonzero.
16703         * math/auto-libm-test-in: Add more tests of fma.
16704         * math/auto-libm-test-out: Regenerated.
16706         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
16707         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
16708         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
16709         (_FP_CMP_EQ): Likewise.
16710         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
16712         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
16713         extra argument CHECK_NAN.  Redefine as wrapper around
16714         _FP_EXTEND_CNAN.
16716 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
16718         * version.h (RELEASE): Set to "stable".
16719         (VERSION): Set to "2.21"
16720         * include/features.h (__GLIBC_MINOR__): Set to 21.
16722         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
16724 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16725             Paul Eggert  <eggert@cs.ucla.edu>
16727         [BZ #16618]
16728         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
16729         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
16730         size in bytes. Store needed elements in wpmax. Use needed size
16731         in bytes for extend_alloca.
16733 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
16735         * manual/install.texi: Latest tested versions are GCC 4.9.2,
16736         binutls 2.25, and texinfo 5.2.
16737         * INSTALL: Regenerate.
16738         * sysdeps/nios2/configure: Regenerate.
16739         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
16740         * manual/contrib.texi: Update.
16741         * po/be.po: Update.
16742         * po/bg.po: Update.
16743         * po/ca.po: Update.
16744         * po/cs.po: Update.
16745         * po/da.po: Update.
16746         * po/de.po: Update.
16747         * po/el.po: Update.
16748         * po/eo.po: Update.
16749         * po/es.po: Update.
16750         * po/fi.po: Update.
16751         * po/fr.po: Update.
16752         * po/gl.po: Update.
16753         * po/hr.po: Update.
16754         * po/hu.po: Update.
16755         * po/ia.po: Update.
16756         * po/id.po: Update.
16757         * po/it.po: Update.
16758         * po/ja.po: Update.
16759         * po/ko.po: Update.
16760         * po/lt.po: Update.
16761         * po/nb.po: Update.
16762         * po/nl.po: Update.
16763         * po/pl.po: Update.
16764         * po/pt_BR.po: Update.
16765         * po/ru.po: Update.
16766         * po/rw.po: Update.
16767         * po/sk.po: Update.
16768         * po/sl.po: Update.
16769         * po/sv.po: Update.
16770         * po/tr.po: Update.
16771         * po/uk.po: Update.
16772         * po/vi.po: Update.
16773         * po/zh_CN.po: Update.
16774         * po/zh_TW.po: Update.
16776         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
16777         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
16778         * sysdeps/hppa/dl-irel.h: Remove #warning.
16779         * sysdeps/hppa/entry.h: Provide prototype for
16780         __canonicalize_funcptr_for_compare and cast argument.
16781         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
16782         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
16783         * sysdeps/hppa/sotruss-lib.c: New file.
16784         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
16785         (atomic_compare_and_exchange_val_acq): Use __typeof__.
16786         (atomic_compare_and_exchange_bool_acq): Likewise.
16787         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
16788         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
16790         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
16791         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
16792         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
16794 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
16796         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
16797         called function in non-PIC case.
16799 2015-01-31  David S. Miller  <davem@davemloft.net>
16801         * sysdeps/sparc/sparc32/bits/atomic.h
16802         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
16803         unlock not after it.
16804         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
16805         volatile register usage warnings from the compiler.
16807         * sysdeps/sparc/nptl/sem_init.c: Delete.
16808         * sysdeps/sparc/nptl/sem_post.c: Delete.
16809         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
16810         * sysdeps/sparc/nptl/sem_wait.c: Delete.
16811         * sysdeps/sparc/sparc32/sem_init.c: New file.
16812         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
16813         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
16814         padding explicitly initialized.
16815         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
16816         padding for in-semaphore spinlock.
16817         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
16818         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
16819         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
16820         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
16821         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
16822         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
16823         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
16824         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
16825         version.
16826         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
16827         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
16829 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
16831         [BZ #17801]
16832         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16833         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
16834         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
16835         New.
16836         (index_AVX_Fast_Unaligned_Load): Likewise.
16837         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
16838         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
16839         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
16840         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
16841         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
16842         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
16843         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
16844         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
16845         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
16847 2015-01-29  Andreas Schwab  <schwab@suse.de>
16849         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
16851 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
16853         [BZ #17892]
16854         * nscd/nscd_stat.c (send_stats): Initialize DATA.
16856 2015-01-28  Martin Sebor  <msebor@redhat.com>
16858         * math/README.libm-test: Clarify. Add "How to read the test output."
16860 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
16862         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
16863         Define to 0.
16865 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
16867         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
16868         (__HAVE_64B_ATOMICS): Define to 0.
16870 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16872         [BZ #17885]
16873         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
16874         value to set as new flag.
16876         [BZ #16576]
16877         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
16878         and use _ARCH_PPCSQ instead.
16879         (__ieee754_sqrt): Likewise.
16880         (__ieee754_sqrtf): Likewise.
16881         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
16882         _ARCH_PPCSQ is defined.
16883         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
16884         fsqrt instruction.
16885         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
16886         _ARCH_PPCSQ is defined.
16887         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
16888         fsqrts instruction.
16889         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
16891 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16893         * iconv/loop.c: Suppress array out of bound warning caused by GCC
16894         bug (GCC BZ #64739).
16896 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
16898         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
16899         Mark _retval as used.
16900         (lll_futex_wake_unlock): Likewise.
16901         (lll_futex_timed_wait_requeue_pi): Likewise.
16903         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
16904         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
16905         register variables.
16907         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
16908         libm_hidden_def.
16910         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
16911         (__bswap_64): Mark as __always_inline.
16913 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
16915         [BZ #15378]
16916         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
16917         when none of the search directories exist.
16919 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16921         [BZ #17869]
16922         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
16923         power8 in .machine directive.
16925         [BZ #17868]
16926         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
16927         set dependency from opd value.
16929 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
16931         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16932         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
16933         architecture.
16935 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
16937         [BZ #17870]
16938         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
16939         with uint64_t.
16940         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
16941         (uint64_t) 1.
16942         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
16943         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
16944         Replace 1UL with (uint64_t) 1.
16945         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
16946         int with uint64_t.
16948 2015-01-23  Roland McGrath  <roland@hack.frob.com>
16950         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
16951         (if_freenameindex): Likewise.
16953         * resource/getrlimit64.c: Add missing libc_hidden_def.
16955 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
16957         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
16958         __label__.
16959         (_FP_FMA): Likewise.
16960         (_FP_TO_INT_ROUND): Likewise.
16961         (_FP_FROM_INT): Likewise.
16963 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16965         [BZ #16418]
16966         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
16967         Make code racy and cancel safe.
16969 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
16971         * sysdeps/arm/unwind-resume.h: Fix copyright year.
16972         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
16973         attribution.
16975         * pwd/tst-getpw.c: Rewrite.
16977         [BZ #17702]
16978         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
16979         (modules-names): Add moddummy1 and moddummy2.
16980         ($(objpfx)tst-rec-dlopen): Define.
16981         * dlfcn/moddummy1.c: New file.
16982         * dlfcn/moddummy2.c: New file.
16983         * dlfcn/tst-rec-dlopen.c: New file.
16984         * elf/dl-cache.c (_dl_load_cache_lookup):
16985         Return char*. Copy result with alloca/strcpy/strdup.
16986         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
16987         returns char*. Free cached. If not saving realname
16988         free cached.
16989         * elf/dl-open.c (dl_open_worker): Do not assert that
16990         _r_debug->r_state is RT_CONSISTENT.
16991         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
16992         returns char*.
16994 2015-01-21  Torvald Riegel  <triegel@redhat.com>
16995             Carlos O'Donell  <carlos@redhat.com>
16997         [BZ #12674]
16998         * nptl/sem_waitcommon.c: New file.
16999         * nptl/sem_wait.c: Include sem_waitcommon.c.
17000         (__sem_wait_cleanup, do_futex_wait): Remove.
17001         (__new_sem_wait): Adapt.
17002         (__new_sem_trywait): New function.
17003         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
17004         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
17005         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
17006         (sem_timedwait): Adapt.
17007         * nptl/sem_post.c (__new_sem_post): Adapt.
17008         (futex_wake): New function.
17009         (__old_sem_post): Add release MO fence.
17010         * nptl/sem_open.c (sem_open): Adapt.
17011         * nptl/sem_init.c (__new_sem_init): Adapt.
17012         (futex_private_if_supported): New function.
17013         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
17014         (__old_sem_getvalue): Add using previous code.
17015         * sysdeps/nptl/internaltypes.h: Adapt.
17016         * nptl/tst-sem13.c (do_test): Adapt.
17017         * nptl/tst-sem11.c (main): Adapt.
17018         * nptl/sem_trywait.c: Remove.
17019         * nptl/DESIGN-sem.txt: Remove.
17020         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
17021         (gen-as-const-headers): Remove structsem.sym.
17022         * nptl/structsem.sym: Remove.
17023         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
17024         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
17025         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
17026         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
17027         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
17028         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
17029         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
17030         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
17031         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
17032         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
17033         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
17034         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
17035         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
17036         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
17037         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
17038         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
17039         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
17040         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
17041         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
17042         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
17043         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
17044         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
17046 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
17048         * INSTALL: Regenerated.
17050         * po/libc.pot: Regenerated.
17052 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
17053             Sandra Loosemore  <sandra@codesourcery.com>
17054             Andrew Jenner  <andrew@codesourcery.com>
17055             Joseph Myers  <joseph@codesourcery.com>
17056             Nathan Sidwell  <nathan@codesourcery.com>
17058         * NEWS: Mention new Nios II port.
17059         * sysdeps/nios2/Implies: New file.
17060         * sysdeps/nios2/Makefile: New file.
17061         * sysdeps/nios2/Subdirs: New file.
17062         * sysdeps/nios2/Versions: New file.
17063         * sysdeps/nios2/__longjmp.S: New file.
17064         * sysdeps/nios2/abort-instr.h: New file.
17065         * sysdeps/nios2/backtrace.c: New file.
17066         * sysdeps/nios2/bits/endian.h: New file.
17067         * sysdeps/nios2/bits/fenv.h: New file.
17068         * sysdeps/nios2/bits/link.h: New file.
17069         * sysdeps/nios2/bits/setjmp.h: New file.
17070         * sysdeps/nios2/bsd-_setjmp.S: New file.
17071         * sysdeps/nios2/bsd-setjmp.S: New file.
17072         * sysdeps/nios2/configure: New generated file.
17073         * sysdeps/nios2/configure.ac: New file.
17074         * sysdeps/nios2/crti.S: New file.
17075         * sysdeps/nios2/crtn.S: New file.
17076         * sysdeps/nios2/dl-init.c: New file.
17077         * sysdeps/nios2/dl-machine.h: New file.
17078         * sysdeps/nios2/dl-sysdep.h: New file.
17079         * sysdeps/nios2/dl-tls.h: New file.
17080         * sysdeps/nios2/dl-trampoline.S: New file.
17081         * sysdeps/nios2/gccframe.h: New file.
17082         * sysdeps/nios2/gmp-mparam.h: New file.
17083         * sysdeps/nios2/jmpbuf-offsets.h: New file.
17084         * sysdeps/nios2/jmpbuf-unwind.h: New file.
17085         * sysdeps/nios2/ldsodefs.h: New file.
17086         * sysdeps/nios2/libc-tls.c: New file.
17087         * sysdeps/nios2/libm-test-ulps: New file.
17088         * sysdeps/nios2/machine-gmon.h: New file.
17089         * sysdeps/nios2/math-tests.h: New file.
17090         * sysdeps/nios2/math_private.h: New file.
17091         * sysdeps/nios2/memusage.h: New file.
17092         * sysdeps/nios2/nptl/Makefile: New file.
17093         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
17094         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
17095         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
17096         * sysdeps/nios2/nptl/pthreaddef.h: New file.
17097         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
17098         * sysdeps/nios2/nptl/tls.h: New file.
17099         * sysdeps/nios2/preconfigure: New file.
17100         * sysdeps/nios2/s_fma.c: New file.
17101         * sysdeps/nios2/s_fmaf.c: New file.
17102         * sysdeps/nios2/setjmp.S: New file.
17103         * sysdeps/nios2/sfp-machine.h: New file.
17104         * sysdeps/nios2/sotruss-lib.c: New file.
17105         * sysdeps/nios2/stackguard-macros.h: New file.
17106         * sysdeps/nios2/stackinfo.h: New file.
17107         * sysdeps/nios2/start.S: New file.
17108         * sysdeps/nios2/sysdep.h: New file.
17109         * sysdeps/nios2/tls-macros.h: New file.
17110         * sysdeps/nios2/tst-audit.h: New file.
17111         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
17112         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
17113         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
17114         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
17115         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
17116         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
17117         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
17118         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
17119         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
17120         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
17121         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
17122         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
17123         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
17124         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
17125         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
17126         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
17127         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
17128         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
17129         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
17130         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
17131         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
17132         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
17133         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
17134         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
17135         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
17136         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
17137         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
17138         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
17139         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
17140         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
17141         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
17142         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
17143         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
17144         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
17145         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
17146         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
17147         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
17148         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
17149         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
17150         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
17151         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
17152         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
17153         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
17154         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
17156 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17158         [BZ #17844]
17159         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
17160         (getutent): Use weak_alias in non SHARED case
17161         and default_symbol_version in SHARED case.
17162         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
17163         (getutent_r, pututline): Likewise.
17164         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
17165         (getutid): Likewise.
17166         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
17167         (getutid_r): Likewise.
17168         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
17169         (getutline): Likewise.
17170         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
17171         (getutline_r): Likewise.
17172         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
17173         (updwtmp): Likewise.
17175 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17177         [BZ #17848]
17178         * sysdeps/s390/s390-32/memcmp.S
17179         (memcmp_g5): Rename to __memcmp_g5.
17180         * sysdeps/s390/s390-32/memcpy.S
17181         (memcpy_g5): Rename to __memcpy_g5.
17182         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17183         (memcpy_mvcle) Rename to __memcpy_mvcle.
17184         * sysdeps/s390/s390-32/memset.S
17185         (memset_g5): Rename to __memset_g5.
17186         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17187         (IFUNC_RESOLVE): Prefix ifunc-resolve function
17188         and use prefixed functions.
17189         * sysdeps/s390/s390-32/multiarch/memcmp.S
17190         (memcmp_z196): Rename to __memcmp_z196.
17191         (memcmp_z10): Rename to __memcmp_z10.
17192         (memcmp): Set alias to __memcmp_g5.
17193         (bcmp): Set alias to __memcmp_g5.
17194         * sysdeps/s390/s390-32/multiarch/memcpy.S
17195         (memcpy_z196): Rename to __memcpy_z196.
17196         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17197         (memcpy_z10): Rename to __memcpy_z10.
17198         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17199         (memcpy): Set alias to __memcpy_g5.
17200         * sysdeps/s390/s390-32/multiarch/memset.S
17201         (memset_z196): Rename to __memset_z196.
17202         Jump to __memset_mvcle instead of memset_mvcle.
17203         (memset_z10): Rename to __memset_z10.
17204         Jump to __memset_mvcle instead of memset_mvcle.
17205         (memset_mvcle) Rename to __memset_mvcle.
17206         (memset): Set alias to __memset_g5.
17207         * sysdeps/s390/s390-64/memcmp.S
17208         (memcmp_z900): Rename to __memcmp_z900.
17209         * sysdeps/s390/s390-64/memcpy.S
17210         (memcpy_z900): Rename to __memcpy_z900.
17211         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17212         (memcpy_mvcle) Rename to __memcpy_mvcle.
17213         * sysdeps/s390/s390-64/memset.S
17214         (memset_z900): Rename to __memset_z900.
17215         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
17216         (IFUNC_RESOLVE): Prefix ifunc-resolve function
17217         and use prefixed functions.
17218         * sysdeps/s390/s390-64/multiarch/memcmp.S
17219         (memcmp_z196): Rename to __memcmp_z196.
17220         (memcmp_z10): Rename to __memcmp_z10.
17221         (memcmp): Set alias to __memcmp_z900.
17222         (bcmp): Set alias to __memcmp_z900.
17223         * sysdeps/s390/s390-64/multiarch/memcpy.S
17224         (memcpy_z196): Rename to __memcpy_z196.
17225         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17226         (memcpy_z10): Rename to __memcpy_z10.
17227         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17228         (memcpy): Set alias to __memcpy_z900.
17229         * sysdeps/s390/s390-64/multiarch/memset.S
17230         (memset_z196): Rename to __memset_z196.
17231         Jump to __memset_mvcle instead of memset_mvcle.
17232         (memset_z10): Rename to __memset_z10.
17233         Jump to __memset_mvcle instead of memset_mvcle.
17234         (memset_mvcle) Rename to __memset_mvcle.
17235         (memset): Set alias to __memset_z900.
17237 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
17239         [BZ #17748]
17240         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
17241         __fesetenv instead of fesetenv.
17243 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17245         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
17246         macro.
17248 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17250         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
17251         regression on LE.
17253         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
17254         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
17255         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17256         strncmp-power8 object.
17257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17258         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
17259         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
17260         * NEWS: Update.
17262 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17263             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17265         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
17266         trailing byte check.
17268 2015-01-13  David S. Miller  <davem@davemloft.net>
17270         * include/signal.h (__sigreturn): Guard with __USE_MISC.
17272 2015-01-13  Roland McGrath  <roland@hack.frob.com>
17274         * login/logout.c (logout): Use memset rather than bzero.
17275         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
17276         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
17277         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
17278         (_gethtbyaddr): Likewise.
17279         * locale/programs/simple-hash.c (bcopy): Macro removed.
17281 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17283         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17284         Add strcmp-power8 object.
17285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17286         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
17287         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
17288         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
17289         __strcmp_power8 implementation.
17290         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
17291         * NEWS: Update.
17293         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17294         Add strncpy-power8 and stpncpy-power8 objects.
17295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17296         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
17297         implementations.
17298         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
17299         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
17300         __stpncpy_power8 implementation.
17301         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
17302         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
17303         __strncpy_power8 implementation.
17304         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
17305         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
17306         * NEWS: Update.
17308         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
17309         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
17310         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
17312         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17313         strncat-power8 object.
17314         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
17315         __strcat_power8 implementation.
17316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17317         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
17318         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
17319         optimized strcat for power8.
17321         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17322         strcpy-power8 and stpcpy-power8 objects.
17323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17324         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
17325         implementations.
17326         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
17327         multiarch stpcpy implementation for POWER8.
17328         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
17329         multiarch strcpy implementation for POWER8.
17330         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
17331         __strcpy_power8 function.
17332         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
17333         stpcpy for POWER8.
17334         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
17335         strcpy for POWER8.
17336         * NEWS: Update.
17338 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
17340         [BZ #16009]
17341         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
17342         weights and rules. Use do_xfrm_cached if data fits in cache,
17343         do_xfrm otherwise.  Moved former main loop to...
17344         * (do_xfrm_cached): New function.
17345         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
17346         find_idx, find_position and stack_push.
17347         * (find_idx): New function.
17348         * (find_position): Likewise.
17349         * localedata/sort-test.sh: Added test run for do_xfrm.
17350         * localedata/xfrm-test.c (main): Added command line option
17351         -nocache to run the test with strings that are too large for
17352         the STRXFRM cache.
17354 2015-01-13  Torvald Riegel  <triegel@redhat.com>
17356         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
17357         variable to lll_futex_wake call, not the value itself.
17359 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
17361         [BZ #17803]
17362         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
17363         twom64.  Adjust value to 0x1p-64L.
17364         (__scalblnl): Only return standard underflowing result for K <=
17365         -64 not K <= -63; adjust exponent for underflowing result by 64
17366         not 63.
17367         * math/libm-test.inc (scalbn_test_data): Add more tests.
17368         (scalbln_test_data): Likewise.
17370         [BZ #17834]
17371         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
17372         0x1p63L.
17373         (__scalblnl): Get new exponent of adjusted subnormal value from ES
17374         not HX.
17375         * math/libm-test.inc (scalbn_test_data): Add more tests.
17376         (scalbln_test_data): Likewise.
17378 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17379             Stefani Seibold  <stefani@seibold.net>
17381         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
17382         (sysdep_routines): Add dl-vdso here, ...
17383         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
17384         (sysdep_routines): ... not here.
17385         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
17386         fallback when vDSO is not presented.
17387         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17388         Define with libc_hidden_proto/libc_hidden_data_def definitions.
17389         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
17390         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
17391         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
17392         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
17393         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
17394         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
17395         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
17396         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
17397         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
17398         fallback configurable symbol when vDSO is not available.
17399         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
17400         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
17401         be able to redefine fallback symbol when vDSO is not available.
17402         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
17403         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
17405 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17407         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
17408         (TLS_INIT_TP): Add tm_capable initialization.
17409         (TLS_DEFINE_INIT_TP): Likewise.
17410         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
17411         TCB.
17412         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
17413         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
17414         calculation.
17415         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
17416         transactoion is lock elision is built and TCB tm_capable is set.
17417         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
17418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17419         (INTERNAL_SYSCALL_NCS): Likewise.
17420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17421         (INTERNAL_SYSCALL_NCS): Likewise.
17422         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
17424         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
17425         for powerpc.
17426         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17427         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
17428         and remove it for 32 bits case.
17429         [pthread_rwlock_t] (__rwelision): New field for lock elision.
17430         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
17431         initialization.
17432         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
17433         Disable lock elision with rdlocks if elision is not available.
17435         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
17436         (sysdep_routines): Add lock elision objects.
17437         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17438         [pthread_mutex_t] (__spins): Rework to add lock elision field.
17439         [pthread_mutex_t] (__elision): Add field.
17440         [__PTHREAD_SPINS]: Adjust to init lock elision field.
17441         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
17442         elision definitions for powerpc.
17443         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
17444         implementation of lock elision for powerpc.
17445         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
17446         implementation of timed lock elision for powerpc.
17447         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
17448         implementation of trylock with lock elision for powerpc.
17449         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
17450         implementaion of unlock for lock elision for powerpc.
17451         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
17452         automatic enable lock elision for mutexes.
17453         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
17454         transaction execution definitions for powerpc.
17455         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
17456         definitions.
17457         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
17458         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
17459         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
17460         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
17461         * NEWS: Update.
17463 2015-01-09  Roland McGrath  <roland@hack.frob.com>
17465         * sysdeps/posix/shm-directory.c: Use <> rather than ""
17466         for #include of <shm-directory.h>.
17468 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
17470         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
17471         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
17473 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
17475         [BZ #17791]
17476         * NEWS: Mention bug fix.
17477         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
17478         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
17479         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
17481 2015-01-09  Torvald Riegel <triegel@redhat.com>
17483         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
17485 2015-01-09  Torvald Riegel <triegel@redhat.com>
17487         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
17489 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17491         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
17492         pointer and cast to uintptr_t.
17494 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17496         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
17497         removed.
17498         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
17500 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17502         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
17503         of 0.
17505 2015-01-08  Roland McGrath  <roland@hack.frob.com>
17507         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
17508         <nptl/pthreadP.h> instead.
17509         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
17511         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
17512         already defined.
17513         [__SIGRTMIN] (init): Function removed.
17514         [__SIGRTMIN] (initialized): Variable removed.
17515         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
17516         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
17517         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
17518         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
17519         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
17520         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
17521         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
17522         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
17523         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
17524         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
17525         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
17526         * sysdeps/nptl/allocrtsig.c: New file.
17527         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
17528         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
17529         * sysdeps/generic/testrtsig.h: File removed.
17531         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
17532         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
17534         * nptl/nptl-init.c (pthread_functions): Conditionalize
17535         .ptr__nptl_setxid initialization on [SIGSETXID].
17537         * sysdeps/nptl/sys/procfs.h: New file.
17538         * nptl_db/Makefile (headers): Add it.
17539         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
17541         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
17542         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
17543         * nptl/pthread_attr_setaffinity.c: Include it.
17544         * nptl/pthread_setattr_default_np.c: Likewise.
17545         * nptl/check-cpuset.h: New file.
17547 2015-01-08  Richard Henderson  <rth@redhat.com>
17549         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
17550         (CFLAGS-tst-execstack-prog.c): Likewise.
17551         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
17553 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
17554             Sandra Loosemore  <sandra@codesourcery.com>
17555             Andrew Jenner  <andrew@codesourcery.com>
17556             Joseph Myers  <joseph@codesourcery.com>
17557             Nathan Sidwell  <nathan@codesourcery.com>
17559         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
17560         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
17561         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
17562         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
17563         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
17564         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
17565         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
17566         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
17567         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
17568         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
17569         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
17570         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
17571         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
17572         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
17573         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
17574         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
17575         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
17577 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17579         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
17580         timespec struct member in syscall macro.
17581         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
17582         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
17583         first timeval struct member in syscall macro.
17584         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
17586 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
17588         [BZ #17748]
17589         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
17590         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
17591         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
17592         __feupdateenv and define as weak alias of __feupdateenv.  Use
17593         libm_hidden_weak.
17594         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
17595         libm_hidden_def.
17596         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
17597         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
17598         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
17599         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
17600         libm_hidden_def.
17601         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
17602         __feupdateenv and define as weak alias of __feupdateenv.  Use
17603         libm_hidden_weak.
17604         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
17605         libm_hidden_def.
17606         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
17607         __feupdateenv and define as weak alias of __feupdateenv.  Use
17608         libm_hidden_weak.
17609         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
17610         libm_hidden_def.
17611         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17612         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
17613         (__feupdateenv): Likewise.
17614         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
17615         __feupdateenv and define as weak alias of __feupdateenv.  Use
17616         libm_hidden_weak.
17617         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17618         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
17619         libm_hidden_def.
17620         * sysdeps/tile/math_private.h (__feupdateenv): New inline
17621         function.
17622         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
17623         libm_hidden_def.
17624         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
17625         __feupdateenv instead of feupdateenv.
17626         (default_libc_feupdateenv_test): Likewise.
17627         (libc_feresetround_ctx): Likewise.
17629 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17631         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
17632         prototype.
17634 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
17636         * posix/regcomp.c (parse_bracket_exp): Initialize type to
17637         COLL_SYM in a couple of places to avoid uninitialized variable
17638         wanings on tilegx gcc 4.8.2.
17640 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
17642         * sysdeps/aarch64/strcpy.S: New file.
17643         * sysdeps/aarch64/stpcpy.S: New file.
17644         * NEWS: Updated.
17646 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
17648         * sysdeps/aarch64/strrchr.S: New file.
17649         * NEWS: Updated.
17651 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
17653         [BZ #17658]
17654         * stdlib/setenv.c: Fix memory leak when setting large,
17655         duplicate string.
17657 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
17659         [BZ #17273]
17660         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
17661         and tabs from buffer before parsing fstab entry.
17662         * misc/tst-mntent.c (main): Add test for mount entry with
17663         trailing spaces and tabs.
17665 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
17667         [BZ #17748]
17668         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
17669         * math/fesetround.c (fesetround): Rename to __fesetround and
17670         define as weak alias of __fesetround.  Use libm_hidden_weak.
17671         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
17672         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
17673         * sysdeps/arm/fesetround.c (fesetround): Likewise.
17674         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
17675         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
17676         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
17677         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
17678         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
17679         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
17680         __fesetround_inline.
17681         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
17682         __fesetround_inline instead of __fesetround.
17683         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
17684         __fesetround and define as weak alias of __fesetround.  Use
17685         libm_hidden_weak.  Call __fesetround_inline instead of
17686         __fesetround.
17687         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
17688         __fesetround and define as weak alias of __fesetround.  Use
17689         libm_hidden_weak.
17690         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
17691         Likewise.
17692         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
17693         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17694         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
17695         * sysdeps/tile/math_private.h (__fesetround): New inline function.
17696         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
17697         __fesetround and define as weak alias of __fesetround.  Use
17698         libm_hidden_weak.
17699         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
17700         __fesetround instead of fesetround.
17701         (default_libc_feholdexcept_setround): Likewise.
17702         (libc_feholdsetround_ctx): Likewise.
17703         (libc_feholdsetround_noex_ctx): Likewise.
17705         [BZ #17748]
17706         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
17707         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
17708         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
17709         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
17710         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17711         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
17712         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17713         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
17714         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17715         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17716         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17717         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17718         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17719         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17720         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
17721         libm_hidden_def.
17722         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
17723         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
17724         Likewise.
17725         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17726         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17727         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17728         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17729         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
17730         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
17731         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
17732         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
17733         __fesetenv instead of fesetenv.
17734         (libc_feresetround_noex_ctx): Likewise.
17735         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17736         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
17737         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
17738         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17739         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17740         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17741         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17742         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
17743         (__feupdateenv): Likewise.
17744         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17745         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17746         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17747         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
17749 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
17751         [BZ #17806]
17752         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
17753         addresses have been freed.
17755 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
17757         * resolv/res_init.c (__res_vinit): Improve comments about nserv
17758         and nservall.
17760 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
17762         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
17763         Clean up check_pf allocation pattern. addresses
17765 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17767         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
17768         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
17769         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
17770         * nptl/pthread_exit.c (__pthread_exit): Likewise.
17771         * nptl/pthread_join.c (pthread_join): Likewise.
17772         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17773         * sysdeps/posix/waitid.c (__waitid): Likewise.
17774         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17775         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17776         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17777         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17778         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17779         Likewise.
17780         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17781         (__libc_pread64): Likewise.
17782         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17783         (__libc_pwrite): Likewise.
17784         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17785         (__libc_pwrite64): Likewsie.
17786         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17787         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17788         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17789         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17790         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17791         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17792         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17794         Likewise.
17795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17796         (__libc_pread64): Likewise.
17797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
17798         Likewise.
17799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17800         (__libc_pwrite64): Likewise.
17801         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17802         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17803         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
17804         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
17805         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17806         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17807         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
17808         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17809         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17810         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17811         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
17812         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17813         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17814         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
17815         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17816         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17817         Likewise.
17819 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
17821         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
17822         (CFLAGS-test-double.c): Likewise.
17823         (CFLAGS-test-ldouble.c): Likewise.
17824         (CPPFLAGS-test-ifloat.c): Likewise.
17825         (CPPFLAGS-test-idouble.c): Likewise.
17826         (CPPFLAGS-test-ildoubl.c): Likewise.
17827         (CFLAGS-test-test-fenv.c): Remove variable.
17828         (CFLAGS-test-misc.c): Likewise.
17830 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
17832         [BZ #17797]
17833         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
17834         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
17835         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
17836         CLOCKS_PER_SEC == 1000000.
17837         * time/clocktest.c (main): Replace %ld with %jd and cast to
17838         intmax_t.
17840 2015-01-05  Roland McGrath  <roland@hack.frob.com>
17842         * sysdeps/generic/unwind-resume.h: New file.
17843         * sysdeps/gnu/unwind-resume.c: Include it.
17844         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
17845         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
17846         argument list.
17847         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
17848         global rather than static.
17849         (_Unwind_Resume): Update user.
17850         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
17851         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
17852         rather than static.  Add __attribute__ ((cold)).
17853         (_Unwind_Resume, __gcc_personality_v0): Update callers.
17854         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
17855         * sysdeps/arm/arm-unwind-resume.S: New file.
17856         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
17857         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
17858         * sysdeps/arm/Makefile [$(subdir) = csu]
17859         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
17860         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17861         Add rt-arm-unwind-resume.
17862         [$(subdir) = nptl]
17863         (libpthread-sysdep_routines, libpthread-shared-only-routines):
17864         Add pt-arm-unwind-resume.
17865         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
17866         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
17868 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17870         [BZ #17748]
17871         * include/fenv.h (__feholdexcept): Declare.  Use
17872         libm_hidden_proto.
17873         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
17874         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
17875         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17876         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
17877         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
17878         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
17879         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
17880         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17881         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
17882         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
17883         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17884         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
17885         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
17886         (feholdexcept): Likewise.
17887         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17888         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17889         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17890         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17891         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
17892         __feholdexcept instead of feholdexcept.
17893         (default_libc_feholdexcept_setround): Likewise.
17895 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17897         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
17898         to avoid using stl/str to align destination.
17900 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17902         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
17904 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17906         [BZ #17796]
17907         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
17908         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
17909         Define as weak alias not strong alias.
17911 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17913         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
17914         bltzal with addiupc.
17915         (RTLD_START): Ditto.
17917 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
17919         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
17920         for __vdso_* functions in declarations.
17921         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
17922         definitions.
17923         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
17924         INTERNAL_VSYSCALL): Use struct return types to check for error.
17926         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
17927         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
17928         function with cast from llround().
17929         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
17930         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
17931         Define.
17933 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17935         [BZ #17793]
17936         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
17937         Define as weak alias not strong alias.
17939         [BZ #17635]
17940         * ctype/ctype-c99.c: New file.  isblank implementation moved from
17941         ...
17942         * ctype/ctype-extn.c: ... here.
17943         (__isblank_l): Move to ...
17944         * ctype/ctype-c99_l.c: ... here.  New file.
17945         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
17946         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
17947         Remove variable.
17948         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
17949         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
17950         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
17951         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
17952         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
17954         [BZ #17777]
17955         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
17956         (posix_fadvise64): Define as weak alias not strong alias.
17957         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17958         (posix_fallocate64): Likewise.
17959         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
17960         Remove variable.
17961         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
17962         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
17963         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
17964         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
17965         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
17967 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
17969         [BZ #16191]
17970         * NEWS: Mention bug fix.
17971         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
17972         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
17973         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
17974         (HOST_STACK_END_ADDR): Likewise.
17976 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
17978         [BZ #17748]
17979         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
17980         * math/fegetround.c (fegetround): Rename to __fegetround and
17981         define as weak alias of __fegetround.  Use libm_hidden_weak.
17982         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
17983         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
17984         * sysdeps/arm/fegetround.c (fegetround): Likewise.
17985         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
17986         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17987         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
17988         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
17989         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
17990         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17991         Undefine after rather than before function definition; use
17992         parentheses around function name in definition.
17993         (__fegetround): Also undefine macro after function definition.
17994         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
17995         __fegetround and define as weak alias of __fegetround.  Use
17996         libm_hidden_weak.  Do not undefine as macro.
17997         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17998         Likewise.
17999         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
18000         __fegetround and define as weak alias of __fegetround.  Use
18001         libm_hidden_weak.
18002         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18003         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18004         * sysdeps/tile/math_private.h (__fegetround): New inline function.
18005         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
18006         __fegetround and define as weak alias of __fegetround.  Use
18007         libm_hidden_weak.
18008         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
18009         __fegetround instead of fegetround.
18011         [BZ #17782]
18012         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
18013         Condition macro definition on [__USE_MISC].
18015         [BZ #17781]
18016         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
18017         (struct sigaction): Change type of sa_flags field to int.
18019         [BZ #17780]
18020         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
18021         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
18022         __glibc_reserved0.
18024         * nptl/version.c (banner): Use single year in copyright notice.
18026         * NEWS: Update copyright dates.
18027         * catgets/gencat.c (print_version): Likewise.
18028         * csu/version.c (banner): Likewise.
18029         * debug/catchsegv.sh: Likewise.
18030         * debug/pcprofiledump.c (print_version): Likewise.
18031         * debug/xtrace.sh (do_version): Likewise.
18032         * elf/ldconfig.c (print_version): Likewise.
18033         * elf/ldd.bash.in: Likewise.
18034         * elf/pldd.c (print_version): Likewise.
18035         * elf/sotruss.sh: Likewise.
18036         * elf/sprof.c (print_version): Likewise.
18037         * iconv/iconv_prog.c (print_version): Likewise.
18038         * iconv/iconvconfig.c (print_version): Likewise.
18039         * locale/programs/locale.c (print_version): Likewise.
18040         * locale/programs/localedef.c (print_version): Likewise.
18041         * login/programs/pt_chown.c (print_version): Likewise.
18042         * malloc/memusage.sh (do_version): Likewise.
18043         * malloc/memusagestat.c (print_version): Likewise.
18044         * malloc/mtrace.pl: Likewise.
18045         * manual/libc.texinfo: Likewise.
18046         * nptl/version.c (banner): Likewise.
18047         * nscd/nscd.c (print_version): Likewise.
18048         * nss/getent.c (print_version): Likewise.
18049         * nss/makedb.c (print_version): Likewise.
18050         * posix/getconf.c (main): Likewise.
18051         * scripts/test-installation.pl: Likewise.
18052         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18054 2015-01-02  Will Newton  <will.newton@linaro.org>
18056         * sysdeps/arm/armv7/configure: Removed.
18057         * sysdeps/arm/armv7/configure.ac: Likewise.
18059 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
18061         * All files with FSF copyright notices: Update copyright dates
18062         using scripts/update-copyrights.
18063         * intl/plural.c: Regenerated.
18064         * locale/programs/charmap-kw.h: Likewise.
18065         * locale/programs/locfile-kw.h: Likewise.
18067 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18069         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
18071 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
18073         [BZ #17748]
18074         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
18075         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
18076         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18077         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
18078         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18079         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
18080         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18081         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
18082         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18083         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18084         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18085         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18086         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18087         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18088         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
18089         libm_hidden_def.
18090         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
18091         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
18092         Likewise.
18093         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18094         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18095         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18096         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18097         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
18098         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18099         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
18100         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
18101         __fegetenv instead of fegetenv.
18102         (libc_feholdsetround_noex_ctx): Likewise.
18104 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
18106         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
18107         (Elf_MIPS_ABIFlags_v0): New structure.
18108         (EF_MIPS_FP64): Define.
18109         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
18110         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
18111         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
18112         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
18113         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
18114         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
18115         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
18116         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
18117         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
18118         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
18119         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
18120         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
18121         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
18122         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
18123         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
18124         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
18125         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
18126         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
18127         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
18128         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
18129         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
18130         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
18131         field.
18132         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
18133         EF_MIPS_FP64.
18134         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
18135         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
18136         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
18137         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
18138         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
18139         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
18140         * sysdeps/mips/tst-abi-interlink.c: Likewise.
18141         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
18142         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
18143         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
18144         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
18145         record the current FP ABI extension.
18146         (mips-mode-switch): Define to show if kernel headers support mode
18147         switching.
18148         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18149         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
18150         supported SYSV ABI version to 3.
18151         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
18152         feature.
18154 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18155             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18157         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
18158         path.
18159         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
18161 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
18163         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
18164         __fegetround and redefine to call __fegetround.  Remove condition
18165         on [!__NO_MATH_INLINES].
18166         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
18167         function.
18168         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
18169         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18170         Remove macro.
18171         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
18172         instead of <fenv_libc.h>.
18173         (__llrintl): Call fegetround instead of __fegetround.
18174         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
18175         instead of <fenv_libc.h>.
18176         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18177         (__lrintl): Call fegetround instead of __fegetround.
18178         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
18179         instead of <fenv_libc.h>.
18180         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18181         (__rintl): Call fegetround instead of __fegetround.
18183 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18185         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
18186         arrays.
18188 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
18190         [BZ #17775]
18191         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
18192         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
18193         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
18195 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18197         * sysdeps/i386/tls-macros.h: Include <features.h>.
18198         (TLS_LE): Use non-PIC version for GCC >= 5.0.
18199         (TLS_IE): Likewise.
18200         (TLS_LD): Likewise.
18201         (TLS_GD): Likewise.
18202         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
18203         define for GCC >= 5.0.
18205 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
18207         * math/test-fenv.c (test_single_exception, set_single_exc,
18208         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
18209         feexcp_mask_test, feenable_test, fe_single_test): Add
18210         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
18211         case where they are not used.
18212         * math/libm-test.inc: Likewise.
18213         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
18214         unused in the absence of FP rounding/exception support.
18215         * stdio-common/tst-printf-round.c: Likewise.
18216         * stdlib/tst-strtod-round.c: Likewise.
18217         * stdlib/tst-strtod-underflow.c: Likewise.
18219 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
18221         [BZ #17723]
18222         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
18223         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
18224         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18225         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18226         libm_hidden_weak.
18227         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
18228         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18229         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
18230         libm_hidden_def.
18231         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18232         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18233         libm_hidden_weak.
18234         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
18235         Likewise.
18236         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
18237         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18238         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18239         libm_hidden_weak.
18240         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18241         libm_hidden_def.
18242         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18243         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
18244         (__feraiseexcept): Likewise.
18245         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18246         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18247         libm_hidden_weak.
18248         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18249         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18250         libm_hidden_def.
18251         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
18252         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
18253         Use libm_hidden_def.
18254         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
18255         libm_hidden_def.
18256         (feraiseexcept): Define as weak not strong alias.  Use
18257         libm_hidden_weak.
18258         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
18259         New inline function.  Factored out of ...
18260         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
18261         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
18262         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
18263         feraiseexcept.
18264         * math/w_acos.c (__acos): Likewise.
18265         * math/w_asin.c (__asin): Likewise.
18266         * math/w_ilogb.c (__ilogb): Likewise.
18267         * math/w_j0.c (y0): Likewise.
18268         * math/w_j1.c (y1): Likewise.
18269         * math/w_jn.c (yn): Likewise.
18270         * math/w_log.c (__log): Likewise.
18271         * math/w_log10.c (__log10): Likewise.
18272         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
18273         * sysdeps/aarch64/fpu/math_private.h
18274         (libc_feupdateenv_test_aarch64): Likewise.
18275         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18276         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
18277         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
18278         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18279         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18280         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18281         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
18282         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18283         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18284         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18286 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
18288         [BZ #17732]
18289         * io/test-utime.c (main): Replace %ld with %jd and cast to
18290         intmax_t.
18291         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
18292         * nptl/tst-mutex5.c: Include <stdint.h>.
18293         (do_test): Replace %ld with %jd and cast to intmax_t.
18294         * posix/tst-regex.c (run_test): Likewise.
18295         (run_test_backwards): Likewise.
18296         * rt/tst-clock.c: Include <stdint.h>.
18297         (clock_test): Replace %ld with %jd and cast to intmax_t.
18298         * rt/tst-cpuclock1.c: Include <stdint.h>.
18299         (do_test): Replace %lu with %ju and cast to uintmax_t.
18300         * rt/tst-cpuclock2.c: Include <stdint.h>.
18301         (do_test): Replace %lu with %ju and cast to uintmax_t.
18302         * rt/tst-mqueue1.c: Include <stdint.h>.
18303         (check_attrs): Replace %ld with %jd and cast to intmax_t.
18304         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
18305         intmax_t.
18306         * rt/tst-mqueue4.c (do_test): Likewise.
18307         * rt/tst-timer4.c: Include <stdint.h>.
18308         (check_ts): Replace %ld with %jd and cast to intmax_t.
18309         (do_test): Likewise.
18310         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
18311         and cast to intmax_t.
18312         * sysdeps/pthread/tst-timer.c (main): Likewise.
18313         * time/clocktest.c (main): Likewise.
18314         * time/tst-posixtz.c (do_test): Likewise.
18315         * timezone/tst-timezone.c (main): Likewise.
18317 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18318             H.J. Lu  <hongjiu.lu@intel.com>
18320         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
18321         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
18322         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
18323         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
18324         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
18325         version if bit_Fast_Unaligned_Load is set.
18326         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18327         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18328         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18329         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18330         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18331         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18332         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18333         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
18334         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
18335         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
18336         to 4.
18337         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
18338         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
18339         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
18340         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
18342 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
18344         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
18345         instead of #if to avoid a Wundef warning.
18346         * stdlib/tst-limits.c (do_test): Likewise.
18348         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
18349         parallel other exception macros.
18350         (fegetenv): Convert from macro to extern inline so that it applies
18351         retroactively to inline functions already seen by the compiler.
18352         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
18354         * posix/Makefile (before-compile): Use $(objpfx) for
18355         posix-conf-vars-def.h.
18357 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18359         * posix/getconf.c (main): Use size_t for type of I.
18360         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
18361         NSPEC.
18363         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
18364         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
18365         * posix/posix-envs.def: Likewise.
18366         * sysdeps/posix/sysconf.c: Likewise.
18367         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
18368         (specs): Remove array.
18369         * scripts/gen-posix-conf-vars.awk: Support generation of specs
18370         array.
18372         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
18373         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
18374         (__sysconf): Use CONF_IS_* macros.
18376         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
18377         ($(objpfx)posix-conf-vars-def.h): New target.
18378         * posix/posix-conf-vars.list: New file.
18379         * posix/posix-conf-vars.h: New file.
18380         * posix/confstr.c: Include posix-conf-vars.h.
18381         (confstr): Use CONF_IS_* macros.
18382         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
18383         CONF_IS_* macros.
18384         * scripts/gen-posix-conf-vars.awk: New file.
18386 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
18388         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
18389         fegetround): Add no-op macros to avoid linknamespace issues.
18391         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
18392         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
18394         * sysdeps/unix/sysv/linux/tile/sysdep.h
18395         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
18396         assembly-specific section to avoid a redefinition warning.
18398         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
18399         long before casting to pointer to avoid a cast warning.
18401 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
18403         * sysdeps/tile/tilegx/Implies: New file.
18405 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
18407         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
18409 2014-12-23  Florian Weimer  <fweimer@redhat.com>
18411         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
18413 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18415         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
18416         not define.
18417         * sysdeps/unix/sysv/linux/utimes.c: Do not include
18418         <kernel-features.h>.
18419         (__utimes) [__NR_utimes]: Make code unconditional.
18420         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
18421         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18422         (__ASSUME_UTIMES): Do not undefine.
18423         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18424         (__ASSUME_UTIMES): Likewise.
18425         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18426         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
18427         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
18428         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
18430 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
18432         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
18434 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
18436         [BZ #17747]
18437         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
18438         alias to weak alias for j0l, y0l.
18439         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
18440         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
18442         [BZ #17746]
18443         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
18444         conversion.
18446 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
18448         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
18449         to zero if not already defined.
18451 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18453         [BZ #17724]
18454         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
18455         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
18456         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
18457         (char *) casts added.
18458         * sysdeps/ieee754/k_standardf.c: New file.
18459         * sysdeps/ieee754/k_standardl.c: Likewise.
18460         * math/Makefile (libm-support): Remove k_standard.
18461         (libm-calls): Add k_standard.
18463 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18465         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18466         Optimize to avoid an unnecessary FPCR read.
18468 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18470         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18471         Optimize to reduce FPCR/FPSR accesses.
18473 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18475         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
18476         Call libc_fetestexcept_aarch64.
18478 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18480         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
18481         Call libc_fesetround_aarch64.
18483 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18485         [BZ #17733]
18486         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
18487         (__bind): Do not define as weak alias.
18488         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
18489         define.
18490         (__getsockname): Do not define as weak alias.
18492 2014-12-22  Will Newton  <will.newton@linaro.org>
18494         * manual/install.texi: Document that we require bison 2.7
18495         or above.
18496         * INSTALL: Regenerate.
18497         * configure.ac: Use AC_CHECK_PROG_VER instead of
18498         AC_PATH_PROG when checking for bison and check for
18499         version 2.7 or above.
18500         * configure: Regenerate.
18502 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
18504         [BZ #17745]
18505         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
18506         * sysdeps/tile/ffsll.c (ffsll): To here.
18508         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
18510 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
18512         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
18513         if not defined.
18514         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
18515         definition.
18516         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18517         hidden ___tls_get_addr.
18518         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18519         hidden __tls_get_addr.
18520         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
18521         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
18522         Likewise.
18524 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
18526         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
18527         _dl_init call.
18529 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
18531         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
18532         from "call _dl_init@PLT".
18533         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
18535 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
18537         * manual/search.texi: (Array Sort Function): Clarify stable sorting
18538         guarantees.
18540 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
18542         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
18544 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
18546         [BZ #17744]
18547         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
18548         strnlen.
18550 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
18552         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
18553         of multu on MIPSr6.
18554         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
18555         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
18556         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
18557         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
18558         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
18560 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
18562         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
18563         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
18564         (PTR_SUBU): Use subu for mips32r6/mips64r6.
18565         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
18566         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
18567         mips32r6/mips64r6.
18568         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
18570 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
18572         * string/strncat.c (STRNCAT): Simplify implementation.
18574 2014-12-19  David S. Miller  <davem@davemloft.net>
18576         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
18577         access the quad as both a long double and as a series of 4 words.
18579         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
18580         link_map->l_info array access.
18582 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
18584         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
18586         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
18587         * math/atest-exp2.c (TIMEOUT): Likewise.
18588         * math/atest-sincos.c (TIMEOUT): Likewise.
18590 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18592         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
18593         -Wno-error with -fno-builtin-lround.
18595 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18597         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
18598         Contains futex constants and functions moved over from ...
18599         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
18600         <lowlevellock-futex.h>.
18601         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
18602         (lll_timedwait_tid): Add comments and parentheses around macro
18603         arguments.
18605 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18607         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
18608         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
18609         (__lll_private_flag): Remove.
18610         (lll_futex_wait): Likewise.
18611         (lll_futex_timed_wait): Likewise.
18612         (lll_futex_wake): Likewise.
18613         (lll_futex_requeue): Likewise.
18614         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
18615         (__lll_timedwait_tid): Spell out argument names.
18616         (lll_timedwait_tid): Add comments and parentheses around macro
18617         arguments.
18618         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
18619         LLL_SHARED and LLL_PRIVATE usable from assembly code.
18621 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18623         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
18624         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18625         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18626         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
18627         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
18628         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
18629         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
18630         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
18631         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
18632         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
18633         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
18634         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
18635         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
18636         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
18637         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
18638         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
18639         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
18640         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
18641         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
18643 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18645         * sysdeps/x86_64/x32/Makefile: New file.
18647 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18649         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
18650         1L with (mp_limb_t) 1.
18652 2014-12-17  Roland McGrath  <roland@hack.frob.com>
18654         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
18655         * nptl/libc_pthread_init.c: ... here.
18656         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
18657         * nptl/register-atfork.c: ... here.
18659         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
18660         Use pthread_sigmask rather than INTERNAL_SYSCALL.
18661         Use assert_perror to check its return value.
18662         (__gai_create_helper_thread): Likewise.
18664         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
18666         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
18668 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
18670         [BZ #17725]
18671         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
18672         __profil_counter.
18673         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
18674         Likewise.
18675         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
18676         Likewise.
18677         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
18678         Likewise.
18679         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
18680         (profil_counter): Likewise.
18681         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
18682         (profil_counter): Likewise.
18683         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
18684         Likewise.
18685         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
18686         Likewise.
18687         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
18688         (profil_counter): Likewise.
18689         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
18690         Likewise.
18691         [!__profil_counter] (profil_counter): Define as weak alias of
18692         __profil_counter.
18693         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
18694         (profil_counter): Rename to __profil_counter.
18695         [!__profil_counter] (profil_counter): Define as weak alias of
18696         __profil_counter.
18697         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
18698         (profil_counter): Rename to __profil_counter.
18699         [!__profil_counter] (profil_counter): Define as weak alias of
18700         __profil_counter.
18701         * sysdeps/posix/profil.c: Update comment referring to
18702         profil_counter.
18703         (__profil): Use __profil_counter instead of profil_counter.
18704         * sysdeps/posix/sprofil.c (profil_counter): Rename to
18705         __profil_counter.  Use __profil_counter_ushort and
18706         __profil_counter_uint in definitions.
18707         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
18708         instead of profil_counter_uint and profil_counter_ushort.
18710         [BZ #17722]
18711         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
18712         define as weak alias of __inet_makeaddr.
18713         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
18714         as weak alias of __inet_addr.
18715         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
18716         as weak alias of __inet_pton.  Use libc_hidden_weak.
18717         * include/arpa/inet.h (__inet_pton): Declare.  Use
18718         libc_hidden_proto.
18719         (inet_makeaddr): Don't use libc_hidden_proto.
18720         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
18721         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
18722         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
18723         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
18724         Remove variable.
18725         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
18726         (test-xfail-POSIX/time.h/linknamespace): Likewise.
18728 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
18730         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
18732 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18734         * stdio-common/bug-vfprintf-nargs.c (do_test):
18735         Cast value to intptr_t to avoid format warning
18736         for usage with PRIdPTR printing macro.
18738 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18740         * libio/tst-widetext.c (do_test):
18741         Use format type %td instead of %Zd for ptrdiff_t
18742         in order to avoid format warning.
18744 2014-12-17  Andreas Schwab  <schwab@suse.de>
18746         * nscd/mem.c (gc): Add size_t cast to match printf format.
18748 2014-12-16  Roland McGrath  <roland@hack.frob.com>
18750         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
18751         (init): Apply PTR_MANGLE to pointers before storing them.
18752         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
18753         before using them.
18755 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
18757         [BZ #17719]
18758         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
18759         define as weak alias of __memrchr.
18760         (__memrchr): Do not define as strong alias of memrchr.
18761         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
18762         Remove variable.
18763         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
18764         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
18765         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
18767         [BZ #17717]
18768         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
18769         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
18770         (if_indextoname): Rename to __if_indextoname and define as weak
18771         alias of __if_indextoname.  Use libc_hidden_weak.
18772         (if_freenameindex): Rename to __if_freenameindex and define as
18773         weak alias of __if_freenameindex.
18774         (if_nameindex): Rename to __if_nameindex and define as weak alias
18775         of __if_nameindex.
18776         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
18777         __if_nametoindex and define as weak alias of __if_nametoindex.
18778         Use libc_hidden_weak.
18779         (if_freenameindex): Rename to __if_freenameindex and define as
18780         weak alias of __if_freenameindex.
18781         (if_nameindex): Rename to __if_nameindex and define as weak alias
18782         of __if_nameindex.
18783         (if_indextoname): Rename to __if_indextoname and define as weak
18784         alias of __if_indextoname.  Use libc_hidden_weak.
18785         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
18786         __if_nametoindex and define as weak alias of __if_nametoindex.
18787         Use libc_hidden_weak.
18788         (if_freenameindex): Rename to __if_freenameindex and define as
18789         weak alias of __if_freenameindex.  Use libc_hidden_weak.
18790         (if_nameindex_netlink): Use __if_freenameindex instead of
18791         if_freenameindex.
18792         (if_nameindex): Rename to __if_nameindex and define as weak alias
18793         of __if_nameindex.  Use libc_hidden_weak.
18794         (if_indextoname): Rename to __if_indextoname and define as weak
18795         alias of __if_indextoname.  Use libc_hidden_weak.
18796         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
18797         libc_hidden_proto.
18798         [!_ISOMAC] (__if_freenameindex): Likewise.
18799         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
18800         if_nametoindex.
18801         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
18802         variable.
18803         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
18804         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
18805         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
18806         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
18807         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
18808         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
18809         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
18811         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
18812         Remove variable.
18813         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
18814         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
18816 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18818         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
18819         subscript above bounds'
18821         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
18822         bounds.
18824 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
18826         * libio/tst-fopenloc.c: Use test-skeleton.c.
18828         * stdlib/tst-bsearch.c: Use test-skeleton.c.
18829         (entry): Rename to ITEM.
18830         (do_test, comp): Adjust.
18832         * stdio-common/tst-fseek.c: Use test-skeleton.c.
18834 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18836         * string/tester.c: Include <libc-internal.h>.
18837         (test_memset): Ignore -Wmemset-transposed-args.
18839 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18841         * misc/tst-mntent2.c (do_test): Fix warning.
18843 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18845         * elf/tst-unique4lib.cc(a): Mark as used.
18847 2014-12-16  Florian Weimer  <fweimer@redhat.com>
18849         [BZ #17630]
18850         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
18851         names.
18853 2014-12-16  Allan McRae  <allan@archlinux.org>
18855         * stdio-common/Makefile (tests): Re-add bug26.
18857 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
18859         [BZ #17657]
18860         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
18861         static array.
18863 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
18865         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
18866         (__lll_lock_wait): Likewise.
18867         (__lll_timedlock_wait): Likewise.
18868         (__lll_timedwait_tid): Likewise.
18869         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
18870         (__lll_robust_timedlock_wait): Likewise.
18871         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
18872         (lll_cond_trylock): Likewise.
18873         (__lll_lock): Likewise.
18874         (__lll_robust_lock): Likewise.
18875         (__lll_cond_lock): Likewise.
18876         (lll_robust_cond_lock): Likewise.
18877         (__lll_timedlock): Likewise.
18878         (__lll_robust_timedlock): Likewise.
18879         (__lll_unlock): Likewise.
18880         (__lll_robust_unlock): Likewise.
18881         (lll_wait_tid): Likewise.
18882         (lll_timedwait_tid): Likewise.
18884 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18886         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
18888 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18890         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
18892 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
18894         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
18895         * stdio-common/tst-sprintf.c: Likewise.
18897 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18899         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
18901 2014-12-15  Jeff Law  <law@redhat.com>
18903         [BZ #16617]
18904         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
18905         on the heap.  (CVE-2012-3406)
18906         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
18907         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
18908         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
18910 2014-12-15  Will Newton  <will.newton@linaro.org>
18912         * manual/install.texi: Bump required version of texinfo
18913         to 4.7 from 4.5.
18914         * INSTALL: Regenerated.
18915         * configure.ac: Check for makeinfo version 4.7 and above.
18916         * configure: Regenerated.
18918 2014-12-12  Roland McGrath  <roland@hack.frob.com>
18920         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
18921         PREFIX, string constant to insert between directory and name.
18922         * sysdeps/posix/shm_open.c: Update caller.
18923         * sysdeps/posix/shm_unlink.c: Likewise.
18924         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
18925         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
18926         (SEM_SHM_PREFIX): New macro.
18927         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
18928         [$(have-thread-library) = no].
18929         * nptl/Makefile (libpthread-routines): Add shm-directory.
18930         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
18931         * sysdeps/nptl/shm-directory.h: New file.
18932         * sysdeps/posix/shm-directory.c
18933         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
18934         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18935         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
18936         INTERNAL_SYSCALL.
18937         (__where_is_shmfs): Function removed.
18938         (mountpoint, defaultmount, defaultdir, __namedsem_once):
18939         Variables removed.
18940         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
18941         Use SHM_GET_NAME.
18942         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
18944         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
18945         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
18946         unconditional for use inside libpthread.
18947         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
18949 2014-12-12  Roland McGrath  <roland@hack.frob.com>
18951         * nptl/pthread_getaffinity.c: New file.
18952         * nptl/pthread_setaffinity.c: New file.
18953         * nptl/pthread_getname.c: New file.
18954         * nptl/pthread_setname.c: New file.
18956         * nptl/pthread_create.c (START_THREAD_DEFN)
18957         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
18959 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18960             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18962         * resolv/res_send.c (send_vc): Disable warning resplen may
18963         be used uninitialized.
18965 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18967         * nptl/tst-mutex6.c
18968         (ATTR_NULL): New define checks ATTR against NULL.
18969         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
18970         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
18972 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
18974         [BZ #17581]
18975         * malloc/hooks.c
18976         (mem2mem_check): Revert my previous change.
18977         (malloc_check_get_size): Revert my previous change.
18978         (mem2chunk_check): Revert my previous change.
18980 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18982         * sysdeps/posix/shm-directory.c: New file.
18983         * sysdeps/posix/shm-directory.h: New file.
18984         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
18985         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
18986         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
18987         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
18988         Transmute EPERM to EACCES.
18989         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
18990         from ...
18991         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
18992         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
18994 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18996         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
18997         pointer and cast to uintptr_t.
18998         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
18999         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
19000         Add cast to avoid warning.
19001         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
19003 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
19005         * nptl/semaphore.h: Move to ...
19006         * sysdeps/pthread/semaphore.h: ... here.
19007         * Makefile (installed-headers): Change nptl/semaphore.h to
19008         sysdeps/pthread/semaphore.h.
19010 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19012         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
19013         generated error format strings.
19015         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
19016         -Wformat-extra-args warnings for scanf formats.
19017         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
19018         test of zero-length format (duh).
19019         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
19020         corner-case scanf format test.
19021         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
19022         generated fprintf format string.
19023         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
19024         corner-case sprintf format tests.
19025         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
19026         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
19027         -Wformat-extra-args warnings throughout.
19028         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
19029         (CFLAGS-scanf4.c): Likewise.
19030         (CFLAGS-scanf7.c): Likewise.
19031         (CFLAGS-tst-sprintf.c): Likewise.
19032         (CFLAGS-tst-printf.c): Likewise.
19033         (CFLAGS-tst-printfsz.c): Likewise.
19035 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
19037         * include/cpio.h: New file.
19038         * include/fmtmsg.h: Likewise.
19040         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
19041         corresponding format argument to size_t.
19042         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
19043         arguments.
19044         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
19045         corresponding format argument to size_t.
19046         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
19047         arguments.
19048         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
19049         corresponding format argument to size_t.
19050         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
19051         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
19052         (CFLAGS-tst-mbswcs2.c): Likewise.
19053         (CFLAGS-tst-mbswcs3.c): Likewise.
19054         (CFLAGS-tst-mbswcs4.c): Likewise.
19055         (CFLAGS-tst-mbswcs5.c): Likewise.
19056         (CFLAGS-tst-trans.c): Likewise.
19058 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19060         * posix/regexbug1.c (main): Use "%s" format with regerror results,
19061         rather than assuming they won't contain any '%'s.
19063 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
19065         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
19066         inhibit_loop_to_libcall to avoid recursive calls.
19067         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
19068         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
19070 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
19072         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
19073         prototype.
19075 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
19077         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
19078         integer value instead of boolean.
19080 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
19082         * malloc/malloc.c: Fix powerof2 check.
19084 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19086         * locale/programs/locfile.h (maybe_swap_uint32):
19087         Remove inline and add unused attribute.
19089 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19091         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19092         Truncating assembler expression to a .long expression.
19094 2014-12-11  Andreas Schwab  <schwab@suse.de>
19096         * elf/rtld.c (struct map_args): Constify str member.
19097         (do_preload): Constify fname argument.
19099 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19101         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
19102         constants definition.
19104 2014-12-11  Andreas Schwab  <schwab@suse.de>
19106         [BZ #16657]
19107         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
19108         FORCE_ELISION instead of DO_ELISION.
19109         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
19110         Remove.
19111         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
19112         Likewise.
19114         * iconvdata/gconv-modules: Remove duplicate entry.
19116 2014-12-11  Will Newton  <will.newton@linaro.org>
19118         Merge gettext 0.19.3 into intl/.
19120         This involves a number of cosmetic changes to comments
19121         and ANSI function definitions and prototypes throughout
19122         all the files. The gettext copyright header is used but
19123         with the date ranges taken from the glibc copy.
19125         * NEWS: Add gettext merge to 2.21.
19126         * intl/bindtextdom.c: Switch to gettext copyright.
19127         Use ANSI definitions and prototypes.
19128         Use gl_* locking primitives rather than __libc_* ones.
19129         Use __builtin_expect rather than __glibc_likely/unlikely.
19130         * intl/dcgettext.c: Switch to gettext copyright.
19131         Use ANSI definitions and prototypes.
19132         * intl/dcigettext.c: Switch to gettext copyright.
19133         Use ANSI definitions and prototypes.
19134         (INTDIV0_RAISES_SIGFPE): New define.
19135         Use gl_* locking primitives rather than __libc_* ones.
19136         Include eval-plural.h instead of plural-eval.c.
19137         Use __builtin_expect rather than __glibc_likely/unlikely.
19138         * intl/dcngettext.c: Switch to gettext copyright.
19139         Use ANSI definitions and prototypes.
19140         * intl/dgettext.c: Likewise.
19141         * intl/dngettext.c: Likewise.
19142         * intl/plural-eval.c: Renamed to...
19143         * intl/eval-plural.h: ...this.
19144         * intl/explodename.c: Switch to gettext copyright.
19145         Use ANSI definitions and prototypes.
19146         (_nl_explode_name): Use strchr instead of __rawmemchr.
19147         * intl/finddomain.c: Switch to gettext copyright.
19148         Use ANSI definitions and prototypes.
19149         Use gl_* locking primitives rather than __libc_* ones.
19150         (_nl_find_domain): Use malloc rather than alloca for
19151         allocation of temporary locale name.
19152         * intl/gettext.c: Switch to gettext copyright.
19153         Use ANSI definitions and prototypes.
19154         * intl/gettextP.h: Switch to gettext copyright.
19155         Use ANSI definitions and prototypes.
19156         Use gl_* locking primitives rather than __libc_* ones.
19157         * intl/gmo.h: Switch to gettext copyright.
19158         (struct sysdep_string): Move struct segment_pair outside of
19159         struct definition.
19160         * intl/hash-string.c: Use ANSI definitions and prototypes.
19161         * intl/hash-string.h: Switch to gettext copyright.
19162         Use ANSI definitions and prototypes.
19163         * intl/l10nflist.c: Switch to gettext copyright.
19164         Use ANSI definitions and prototypes.
19165         (_nl_normalize_codeset): Avoid integer overflow.
19166         * intl/loadinfo.h: Switch to gettext copyright.
19167         Use ANSI definitions and prototypes.
19168         (LIBINTL_DLL_EXPORTED): New define.
19169         (PATH_SEPARATOR): New define.
19170         * intl/loadmsgcat.c: Switch to gettext copyright.
19171         * intl/localealias.c: Switch to gettext copyright.
19172         Use ANSI definitions and prototypes.
19173         (_nl_expand_alias): Use PATH_SEPARATOR.
19174         * intl/ngettext.c: Switch to gettext copyright.
19175         Use ANSI definitions and prototypes.
19176         * intl/plural-exp.c: Likewise.
19177         * intl/plural-exp.h: Switch to gettext copyright.
19178         Use ANSI definitions and prototypes.
19179         (struct expression): Move definition of enum operator outside
19180         of struct definition.
19181         * intl/plural.c: Regenerate.
19182         * intl/plural.y: Switch to gettext copyright.
19183         Use ANSI definitions and prototypes.
19184         Port to bison 3.0.
19185         * intl/textdomain.c: Switch to gettext copyright.
19186         Use ANSI definitions and prototypes.
19187         Use gl_* locking primitives rather than __libc_* ones.
19189 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
19191         * debug/warning-nop.c: Add used atrribute.
19193 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19195         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
19197         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
19198         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
19199         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
19201 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19202             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19204         [BZ #17634]
19205         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
19206         Undefine after defining function.  Define as weak alias of
19207         __wcschr.  Use libc_hidden_weak.
19208         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
19209         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
19210         (libc_hidden_def): Also define __GI___wcschr alias.
19211         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
19212         __wcschr and define as weak alias of __wcschr.
19213         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
19214         __wcschr.
19215         [!WCSCHR] (DEFAULT_WCSCHR): Define.
19216         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
19217         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
19218         libc_hidden_weak.  Do not use libc_hidden_def.
19219         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
19220         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
19221         __GI___wcschr alias.
19222         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
19223         [IS_IN (libc)] (wcschr): Define as macro expanding to
19224         __redirect_wcschr.
19225         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
19226         [IS_IN (libc)] (__wcschr_power6): Likewise.
19227         [IS_IN (libc)] (__wcschr_power7): Likewise.
19228         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
19229         instead of wcschr.
19230         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
19231         __libc_wcschr.
19232         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
19233         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
19234         __wcschr and define as weak alias of __wcschr.  Use
19235         libc_hidden_builtin_def.
19236         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
19237         as weak alias of __wcschr.  Use libc_hidden_weak.
19238         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
19239         wcschr.
19240         * time/era.c (_nl_init_era_entries): Likewise.
19241         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
19242         variable.
19243         (test-xfail-XPG3/time.h/linknamespace): Likewise.
19244         (test-xfail-XPG4/time.h/linknamespace): Likewise.
19246 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19248         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
19249         format for long int variable.
19251 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
19253         [BZ #10672]
19254         * manual/search.texi: (Array Sort Function): Remove claim how to make
19255         qsort stable.
19257 2014-12-10  Andreas Schwab  <schwab@suse.de>
19259         [BZ #12847]
19260         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
19261         user-controlled locks.
19263 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
19265         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
19266         register.
19268 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19270         * configure.ac (--disable-werror): New configure option.
19271         (enable_werror): New AC_SUBST.
19272         * configure: Regenerated.
19273         * config.make.in (enable-werror): New variable.
19274         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
19275         -Wno-error=undef.
19276         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
19277         * manual/install.texi (Configuring and compiling): Document
19278         --disable-werror.
19279         * INSTALL: Regenerated.
19280         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
19281         (CFLAGS-tst-chk2.c): Likewise.
19282         (CFLAGS-tst-chk3.c): Likewise.
19283         (CFLAGS-tst-chk4.cc): Likewise.
19284         (CFLAGS-tst-chk5.cc): Likewise.
19285         (CFLAGS-tst-chk6.cc): Likewise.
19286         (CFLAGS-tst-lfschk1.c): Likewise.
19287         (CFLAGS-tst-lfschk2.c): Likewise.
19288         (CFLAGS-tst-lfschk3.c): Likewise.
19289         (CFLAGS-tst-lfschk4.cc): Likewise.
19290         (CFLAGS-tst-lfschk5.cc): Likewise.
19291         (CFLAGS-tst-lfschk6.cc): Likewise.
19293         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
19294         (main): Disable -Wdeprecated-declarations around calls to
19295         register_printf_function.
19297         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
19298         (do_test): Disable -Wdiv-by-zero around some calls to
19299         fwrite_unlocked and fread_unlocked.
19301         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
19302         (DIAG_POP_NEEDS_COMMENT): Likewise.
19303         (_DIAG_STR1): Likewise.
19304         (_DIAG_STR): Likewise.
19305         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
19306         * stdio-common/bug21.c: Include <libc-internal.h>.
19307         (do_test): Disable -Wformat around call to sscanf.
19308         * stdio-common/scanf14.c: Include <libc-internal.h>.
19309         (main): Disable -Wformat around some calls to scanf functions.
19311 2014-12-09  Torvald Riegel  <triegel@redhat.com>
19313         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
19315 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19317         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
19318         stack variable alignment.
19320 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
19322         [BZ #17682]
19323         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
19324         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
19325         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
19326         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
19327         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
19328         __getrlimit instead of getrlimit.
19329         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
19330         __gettimeofday instead of gettimeofday.
19331         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19332         Likewise.
19333         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19334         Likewise.
19335         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19336         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
19337         Remove variable.
19338         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19339         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19341 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19343         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
19344         for wide-character tests.
19346 2014-12-04  Roland McGrath  <roland@hack.frob.com>
19348         * io/openat64.c: #include <libc-internal.h>
19349         (__openat64): Prototypify.  Use ignore_value on MODE.
19350         * io/openat.c: Likewise.
19351         * misc/reboot.c: #include <libc-internal.h>
19352         (reboot): Prototypify.  Use ignore_value on HOWTO.
19353         * misc/ptrace.c: #include <libc-internal.h>
19354         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
19356 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
19358         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
19359         XPG4, UNIX98 and XOPEN2K.
19360         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
19361         Remove variable.
19362         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19364 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19366         * libio/fileops.c: Use ISO C style for function definitions.
19367         * libio/iofopen.c: Likewise.
19368         * libio/wfileops.c: Likewise.
19370         [BZ #17653]
19371         * libio/fileops.c (_IO_new_file_underflow): Unset cached
19372         offset on EOF.
19373         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19374         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
19375         (fgets_func): Function pointer to fgets and fgetws.
19376         (do_ftell_test): Add test to verify ftell value after read
19377         EOF.
19378         (do_test): Set fgets_func.
19380         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
19381         O_TRUNC flag for w and w+ modes.
19382         (do_rewind_test): Likewise.
19383         (do_ftell_test): Likewise.
19384         (do_write_test): Likewise.
19386         [BZ #17647]
19387         * libio/fileops.c (do_ftell): Seek only when there are
19388         unflushed writes.
19389         * libio/wfileops.c (do_ftell_wide): Likewise.
19390         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
19391         test case.
19392         (do_one_test): Call it.
19394 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
19396         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
19397         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
19398         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
19399         Remove variable.
19400         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19401         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19402         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19404 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
19406         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
19407         Remove variable.
19408         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19410         [BZ #17668]
19411         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
19412         as weak alias of __getifaddrs.  Use libc_hidden_weak.
19413         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19414         __freeifaddrs.  Use libc_hidden_weak.
19415         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
19416         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
19417         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19418         __freeifaddrs.  Use libc_hidden_weak.
19419         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
19420         __getifaddrs and define as weak alias of __getifaddrs.  Use
19421         libc_hidden_weak.
19422         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19423         __freeifaddrs.  Use libc_hidden_weak.
19424         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
19425         Remove variable.
19426         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19427         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19429 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
19431         [BZ #17601]
19432         * sysdeps/mips/start.S (__start): Use indirect jump to call
19433         __libc_start_main.
19435 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
19437         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
19439         * nptl/tst-mutex1.c: Include <stdbool.h>.
19440         [!ATTR] (ATTR_NULL): New macro.
19441         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
19442         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
19443         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
19445         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
19446         to char *.
19448         [BZ #17665]
19449         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
19450         Change conditional to [__USE_MISC].
19452         [BZ #17664]
19453         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
19454         fgets_unlocked.
19455         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
19456         __fgets_unlocked.
19457         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
19458         fgets_unlocked.
19459         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
19460         Remove variable.
19461         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19462         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19463         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19464         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19465         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19466         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19467         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19468         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19469         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19471         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
19473 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19475         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19476         Remove strpbrk objects.
19477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19478         (__libc_ifunc_impl_list): Remove strpbrk implementation.
19479         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
19480         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
19481         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
19482         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
19484         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19485         Remove strcspn objects.
19486         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19487         (__libc_ifunc_impl_list): Remove strcspn implementation.
19488         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
19489         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
19490         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
19491         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
19493         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19494         Remove strspn objetcs.
19495         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19496         (__libc_ifunc_impl_list): Remove strspn implementation.
19497         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
19498         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19499         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
19500         * sysdeps/powerpc/powerpc64/strspn.S: New file.
19502 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
19504         [BZ #17581]
19505         * malloc/hooks.c
19506         (mem2mem_check): Add a terminator to the chain of checking blocks.
19507         (malloc_check_get_size): Use it here.
19508         (mem2chunk_check): Ditto.
19510 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19512         * sysdeps/powerpc/powerpc64/strtok.S: New file.
19513         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
19515 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
19517         * bits/ioctl-types.h: Indent preprocessor directives correctly.
19519         * nptl/nptl-init.c: Include libc-internal.h.
19520         (__pthread_initialize_minimal_internal): Use ROUND_UP.
19522         * elf/ldconfig.c (search_dir): Expand comment.
19524 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
19526         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
19527         variable.
19528         (linknamespace-symlist-stdlibs-tests): Likewise.
19529         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
19530         instead of $(objpfx)symlist-stdlibs.
19531         (linknamespace-libs-isoc): New variable.
19532         (linknamespace-libs): Use $(linknamespace-libs-isoc).
19533         (linknamespace-libs-ISO): New variable.
19534         (linknamespace-libs-ISO99): Likewise.
19535         (linknamespace-libs-ISO11): Likewise.
19536         (linknamespace-libs-XPG3): Likewise.
19537         (linknamespace-libs-XPG4): Likewise.
19538         (linknamespace-libs-POSIX): Likewise.
19539         (linknamespace-libs-UNIX98): Likewise.
19540         (linknamespace-libs-XOPEN2K): Likewise.
19541         (linknamespace-libs-POSIX2008): Likewise.
19542         (linknamespace-libs-XOPEN2K8): Likewise.
19543         ($(objpfx)symlist-stdlibs): Replace by
19544         $(linknamespace-symlist-stdlibs-tests).  Use
19545         $(linknamespace-libs-$*) as set of libraries.
19546         ($(linknamespace-header-tests)): Update dependencies.  Use
19547         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
19548         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
19549         * conform/linknamespace.pl: Remove comment about considering
19550         definitions of symbols from irrelevant libraries.
19552 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
19554         [BZ #13862]
19555         * elf/dl-tls.c: Include <atomic.h>.
19556         (oom): Remove #ifdef SHARED/#endif.
19557         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
19558         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
19559         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
19560         big enough.
19561         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
19562         * nptl/Makefile (tests): Add tst-stack4.
19563         (modules-names): Add tst-stack4mod.
19564         ($(objpfx)tst-stack4): New.
19565         (tst-stack4mod.sos): Likewise.
19566         ($(objpfx)tst-stack4.out): Likewise.
19567         ($(tst-stack4mod.sos)): Likewise.
19568         (clean): Likewise.
19569         * nptl/tst-stack4.c: New file.
19570         * nptl/tst-stack4mod.c: Likewise.
19572 2014-11-27  J. Brown  <jb999@gmx.de>
19574         * sysdeps/x86/bits/string.h: Add recent CPUs.
19576 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
19578         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
19579         sigblock.
19581         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
19582         feof.
19584         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
19585         variable.
19587 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
19589         * nscd/connections.c: Include libc-internal.h because of macro
19590         usage ignore_value.
19592 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19594         * string/bits/string3.h (__warn_memset_zero_len): Don't
19595         declare for gcc newer than 5.0.
19596         (memset): Don't test for zero-length __LEN for gcc newer than
19597         5.0.
19599 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
19601         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
19602         size_t for %zu format.
19604         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
19605         difference, not %ju.
19607 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
19609         * include/libc-internal.h (ignore_value): New macro.
19610         * nscd/connections.c (restart): Wrap calls to setuid and setgid
19611         with ignore_value.
19613         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
19614         definition.
19616         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
19617         pthread_cleanup_push to void *.
19619         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
19620         Undefine.
19622         [BZ #16619]
19623         [BZ #16740]
19624         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
19625         instead of 1L << 52.
19627         * libio/bug-rewind.c (do_test): Check fwscanf return values.
19628         * libio/bug-rewind2.c (do_test): Likewise.
19630         * debug/test-stpcpy_chk-ifunc.c: Remove file.
19631         * debug/test-strcpy_chk-ifunc.c: Likewise.
19632         * wcsmbs/test-wcschr-ifunc.c: Likewise.
19633         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19634         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19635         * wcsmbs/test-wcslen-ifunc.c: Likewise.
19636         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19637         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19638         * Rules [$(multi-arch) = no] (tests): Do not filter out
19639         $(tests-ifunc).
19640         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
19641         * debug/Makefile (tests-ifunc): Remove variable.
19642         (tests): Do not add $(tests-ifunc).
19643         * wcsmbs/Makefile (tests-ifunc): Remove variable.
19644         (tests): Do not add $(tests-ifunc).
19645         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
19646         [TEST_IFUNC]: Remove conditionals.
19647         * string/test-string.h (TEST_IFUNC): Remove macro.
19648         [TEST_IFUNC]: Remove conditionals.
19650         * string/test-strchr.c [!WIDE] (L): New macro.
19651         [WIDE] (L): Likewise.
19652         (check1): Use CHAR instead of char.  Use L on string and character
19653         constants.
19655 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
19657         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
19658         tests.
19659         * sysdeps/powerpc/bits/atomic.h
19660         (__arch_atomic_exchange_and_add_32_acq): Add definition.
19661         (__arch_atomic_exchange_and_add_32_rel): Likewise.
19662         (atomic_exchange_and_add_acq): Likewise.
19663         (atomic_exchange_and_add_rel): Likewise.
19664         * sysdeps/powerpc/powerpc32/bits/atomic.h
19665         (__arch_atomic_exchange_and_add_64_acq): Add definition.
19666         (__arch_atomic_exchange_and_add_64_rel): Likewise.
19667         * sysdeps/powerpc/powerpc64/bits/atomic.h
19668         (__arch_atomic_exchange_and_add_64_acq): Add definition.
19669         (__arch_atomic_exchange_and_add_64_rel): Likewise.
19671 2014-11-26  Torvald Riegel  <triegel@redhat.com>
19673         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
19674         Change synchronization of __sched_fifo_min_prio and
19675         __sched_fifo_max_prio.
19676         * nptl/pthread_mutexattr_getprioceiling.c
19677         (pthread_mutexattr_getprioceiling): Likewise.
19678         * nptl/pthread_mutexattr_setprioceiling.c
19679         (pthread_mutexattr_setprioceiling): Likewise.
19680         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
19681         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
19682         Likewise.
19684 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
19686         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
19687         void.
19689 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
19691         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
19692         third argument const.
19694 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
19696         fnmatch: work around GCC compiler warning bug with uninit var
19697         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
19698         This works around a bug with x86-64 GCC 4.9.2 and earlier
19699         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
19700         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
19701         used uninitialized in this function [-Wmaybe-uninitialized]".
19703 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
19705         * posix/bug-regex31.c (main): Return RES not 0.
19707 2014-11-25  Anton Blanchard <anton@samba.org>
19709         * sysdeps/powerpc/bits/atomic.h
19710         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
19712 2014-11-24  Sterling Augustine  <saugustine@google.com>
19714         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
19716 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
19718         [BZ #17608]
19719         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
19721 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
19723         [BZ #17633]
19724         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
19725         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
19726         variable.
19727         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19728         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19730 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
19732         * string/strncpy.c (strncpy): Improve performance by using memset.
19734 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
19736         * string/strcpy.c (strcpy):
19737         Improve performance by using strlen and memcpy.
19739 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
19741         * string/strcoll_l.c (get_next_seq): __always_inline.
19742         * string/strcoll_l.c (do_compare): __always_inline.
19744 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19746         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
19747         defined.
19748         * include/mqueue.h: Likewise.
19749         * include/stdlib.h: Likewise.
19751         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
19752         (get_null_defines): Adjust.
19753         * sunrpc/Makefile: Adjust comment.
19754         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
19755         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
19756         (CFLAGS-interp.c): Likewise.
19757         (CFLAGS-ldconfig.c): Likewise.
19758         (CPPFLAGS-.os): Likewise.
19759         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19760         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
19761         * extra-modules.mk (extra-modules.mk): Likewise.
19762         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
19763         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
19764         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
19765         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
19766         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
19767         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
19768         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
19769         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
19770         * iconvdata/Makefile (CPPFLAGS): Likewise.
19771         (cpp-srcs-left): Add libof for all iconvdata routines.
19772         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
19773         * include/assert.h: Likewise.
19774         * include/ctype.h: Likewise.
19775         * include/errno.h: Likewise.
19776         * include/libc-symbols.h: Likewise.
19777         * include/math.h: Likewise.
19778         * include/netdb.h: Likewise.
19779         * include/resolv.h: Likewise.
19780         * include/stdio.h: Likewise.
19781         * include/stdlib.h: Likewise.
19782         * include/string.h: Likewise.
19783         * include/sys/stat.h: Likewise.
19784         * include/wctype.h: Likewise.
19785         * intl/l10nflist.c: Likewise.
19786         * libidn/idn-stub.c: Likewise.
19787         * libio/libioP.h: Likewise.
19788         * nptl/libc_multiple_threads.c: Likewise.
19789         * nptl/pthreadP.h: Likewise.
19790         * posix/regex_internal.h: Likewise.
19791         * resolv/res_hconf.c: Likewise.
19792         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
19793         * sysdeps/arm/memmove.S: Likewise.
19794         * sysdeps/arm/sysdep.h: Likewise.
19795         * sysdeps/generic/_itoa.h: Likewise.
19796         * sysdeps/generic/symbol-hacks.h: Likewise.
19797         * sysdeps/gnu/errlist.awk: Likewise.
19798         * sysdeps/gnu/errlist.c: Likewise.
19799         * sysdeps/i386/i586/memcpy.S: Likewise.
19800         * sysdeps/i386/i586/memset.S: Likewise.
19801         * sysdeps/i386/i686/memcpy.S: Likewise.
19802         * sysdeps/i386/i686/memmove.S: Likewise.
19803         * sysdeps/i386/i686/mempcpy.S: Likewise.
19804         * sysdeps/i386/i686/memset.S: Likewise.
19805         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19806         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19807         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
19808         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
19809         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19810         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19811         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
19812         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19813         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19814         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19815         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19816         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19817         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19818         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19819         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19820         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19821         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
19822         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
19823         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
19824         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19825         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19826         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19827         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19828         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19829         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19830         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19831         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
19832         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19833         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
19834         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19835         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19836         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19837         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19838         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19839         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19840         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19841         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19842         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19843         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19844         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19845         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19846         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19847         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19848         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19849         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19850         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19851         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
19852         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
19853         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19854         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19855         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19856         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
19857         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
19858         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19859         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19860         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
19861         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19862         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
19863         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
19864         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19865         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19866         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19867         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
19868         * sysdeps/nptl/bits/libc-lock.h: Likewise.
19869         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19870         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
19871         * sysdeps/posix/closedir.c: Likewise.
19872         * sysdeps/posix/opendir.c: Likewise.
19873         * sysdeps/posix/readdir.c: Likewise.
19874         * sysdeps/posix/rewinddir.c: Likewise.
19875         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
19876         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
19877         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19878         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19879         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19880         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
19881         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
19882         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
19883         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
19884         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
19885         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
19886         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
19887         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
19888         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
19889         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
19890         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
19891         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
19892         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
19893         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
19894         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
19895         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
19896         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
19897         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
19898         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
19899         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
19900         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
19901         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
19902         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
19903         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
19904         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
19905         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
19906         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
19907         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
19908         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
19909         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
19910         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
19911         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19912         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19913         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
19914         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
19915         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
19916         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
19917         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
19918         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
19919         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19920         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
19921         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
19922         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
19923         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
19924         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
19925         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
19926         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
19927         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
19928         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
19929         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
19930         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
19931         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
19932         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
19933         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
19934         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
19935         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
19936         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
19937         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
19938         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
19939         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
19940         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
19941         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
19942         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
19943         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
19944         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
19945         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
19946         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
19947         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
19948         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
19949         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
19950         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
19951         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
19952         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
19953         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19954         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
19955         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
19956         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19957         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
19958         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
19959         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19960         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
19961         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
19962         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19963         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19964         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19965         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
19966         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
19967         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
19968         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19969         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19970         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
19971         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19972         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19973         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
19974         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
19975         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19976         * sysdeps/unix/alpha/sysdep.S: Likewise.
19977         * sysdeps/unix/alpha/sysdep.h: Likewise.
19978         * sysdeps/unix/make-syscalls.sh: Likewise.
19979         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19980         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19981         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19982         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
19983         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19984         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
19985         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
19986         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19987         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19988         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
19989         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19990         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19991         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19992         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19993         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19994         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19995         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19996         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19997         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19998         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19999         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20000         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20001         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20002         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20003         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20004         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20005         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20008         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
20009         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20010         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20011         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20012         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20013         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
20014         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20015         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20016         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20017         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
20018         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
20019         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20020         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20021         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20022         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20023         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20024         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20025         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20026         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20027         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20028         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20029         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20030         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20031         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20032         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20033         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
20034         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20035         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20036         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20037         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
20038         * sysdeps/x86_64/memcpy.S: Likewise.
20039         * sysdeps/x86_64/memmove.c: Likewise.
20040         * sysdeps/x86_64/memset.S: Likewise.
20041         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
20042         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20043         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20044         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
20045         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20046         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20047         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20048         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20049         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20050         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20051         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20052         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20053         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
20054         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20055         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20056         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
20057         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20058         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20059         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20060         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20061         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
20062         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20063         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20064         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20065         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20066         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20067         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20068         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
20069         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20070         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20071         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
20072         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20073         * sysdeps/x86_64/strcmp.S: Likewise.
20075         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
20077         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
20078         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
20079         * elf/rtld-Rules: Likewise.
20080         * elf/setup-vdso.h: Likewise.
20081         * include/assert.h: Likewise.
20082         * include/bits/stdlib-float.h: Likewise.
20083         * include/errno.h: Likewise.
20084         * include/sys/stat.h: Likewise.
20085         * include/unistd.h: Likewise.
20086         * sysdeps/aarch64/setjmp.S: Likewise.
20087         * sysdeps/alpha/setjmp.S: Likewise.
20088         * sysdeps/arm/__longjmp.S: Likewise.
20089         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
20090         * sysdeps/arm/setjmp.S: Likewise.
20091         * sysdeps/arm/sysdep.h: Likewise.
20092         * sysdeps/generic/_itoa.h: Likewise.
20093         * sysdeps/generic/dl-sysdep.h: Likewise.
20094         * sysdeps/generic/ldsodefs.h: Likewise.
20095         * sysdeps/i386/dl-tls.h: Likewise.
20096         * sysdeps/i386/setjmp.S: Likewise.
20097         * sysdeps/m68k/setjmp.c: Likewise.
20098         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
20099         * sysdeps/mach/hurd/opendir.c: Likewise.
20100         * sysdeps/posix/getcwd.c: Likewise.
20101         * sysdeps/posix/opendir.c: Likewise.
20102         * sysdeps/posix/profil.c: Likewise.
20103         * sysdeps/powerpc/dl-procinfo.h: Likewise.
20104         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20105         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20106         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20107         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20108         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
20109         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20110         * sysdeps/s390/dl-tls.h: Likewise.
20111         * sysdeps/s390/s390-32/setjmp.S: Likewise.
20112         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20113         * sysdeps/sh/sh3/setjmp.S: Likewise.
20114         * sysdeps/sh/sh4/setjmp.S: Likewise.
20115         * sysdeps/unix/alpha/sysdep.h: Likewise.
20116         * sysdeps/unix/arm/sysdep.S: Likewise.
20117         * sysdeps/unix/i386/sysdep.S: Likewise.
20118         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20119         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
20120         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20121         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20122         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20123         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20124         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20125         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20126         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20127         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20128         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20129         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20130         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20133         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20134         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20135         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20136         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20137         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20138         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20139         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20140         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20141         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20142         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20143         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20144         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20145         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20146         * sysdeps/x86_64/setjmp.S: Likewise.
20148         * include/math.h: Use IS_IN instead of IS_IN_libm.
20149         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
20150         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20151         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
20152         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
20153         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20154         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
20155         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
20156         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20157         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20158         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
20159         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
20160         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
20161         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
20162         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
20163         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
20164         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
20165         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
20166         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
20167         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
20168         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
20169         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
20170         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
20171         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
20172         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
20173         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
20174         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
20175         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
20176         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
20177         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
20178         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
20179         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
20180         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20181         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20183         Likewise.
20184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
20185         Likewise.
20186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
20187         Likewise.
20188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
20189         Likewise.
20190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
20191         Likewise.
20192         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20193         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
20194         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20195         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20196         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20197         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
20199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
20200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
20201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
20202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
20203         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
20204         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
20205         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20206         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20207         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20208         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20209         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20210         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20211         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20212         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
20213         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
20214         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
20215         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
20216         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
20217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20218         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
20220         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
20221         * nptl/pthreadP.h: Likewise.
20222         * nptl_db/structs.def: Likewise.
20223         * sysdeps/arm/sysdep.h: Likewise.
20224         * sysdeps/nptl/bits/libc-lock.h: Likewise.
20225         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20226         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
20227         * sysdeps/unix/alpha/sysdep.h: Likewise.
20228         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20229         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20230         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20231         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20232         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20233         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20234         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20235         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20236         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20237         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20238         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20239         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20240         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20241         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20244         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20245         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20246         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20247         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20248         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20249         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20250         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20251         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20252         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
20253         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20255         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
20256         * nptl/pthreadP.h: Likewise.
20257         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20258         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20259         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20260         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20261         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20262         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20263         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20264         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20265         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20266         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20267         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20268         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20270         Likewise.
20271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20272         Likewise.
20273         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20274         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20275         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20276         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20277         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20278         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20279         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20280         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20282         * dlfcn/dladdr.c: Use IS_IN.
20283         * dlfcn/dladdr1.c: Likewise.
20284         * dlfcn/dlclose.c: Likewise.
20285         * dlfcn/dlerror.c: Likewise.
20286         * dlfcn/dlinfo.c: Likewise.
20287         * dlfcn/dlmopen.c: Likewise.
20288         * dlfcn/dlopen.c: Likewise.
20289         * dlfcn/dlsym.c: Likewise.
20290         * dlfcn/dlvsym.c: Likewise.
20292         * include/ifaddrs.h: Use IS_IN.
20293         * inet/check_pf.c: Likewise.
20294         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20295         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
20297         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
20298         IS_IN_ldconfig.
20299         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
20300         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
20302         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
20303         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
20304         IS_IN (libc).
20306         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
20308         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
20309         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20310         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20311         * include/libc-symbols.h (IS_IN_LIB): New macro.
20312         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
20313         * include/netdb.h: Likewise.
20314         * include/stap-probe.h: Remove all uses of IN_LIB.
20316         * Makeconfig (module-cppflags-real): Define MODULE_NAME
20317         instead of IN_MODULE.
20318         * include/libc-symbols.h (IN_MODULE): Define using
20319         MODULE_NAME.
20320         (PASTE_NAME, PASTE_NAME1): New macros.
20321         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
20322         of IN_LIB.
20323         (STAP_PROBE_ASM): Likewise.
20325 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20327         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
20328         __mach_init in dlopened libc.
20330 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
20332         * sysdeps/arm/preconfigure.ac: Delete EABI check.
20333         * sysdeps/arm/preconfigure: Regenerate.
20335 2014-11-21  Roland McGrath  <roland@hack.frob.com>
20337         * nptl/pthread_create.c (__pthread_create_2_1): Set
20338         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
20339         when copying values from IATTR into PD.
20341 2014-11-21  Will Newton  <will.newton@linaro.org>
20342             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
20344         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
20345         Refactor inline-asm.  Also add comment.
20347         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
20348         ElfW macro instead of hardcoded Elf64 types.
20349         (la_aarch64_gnu_pltenter): Likewise.
20350         * sysdeps/aarch64/dl-machine.h
20351         (elf_machine_runtime_setup): Use ElfW(Addr).
20353         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
20354         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
20355         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
20356         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
20357         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
20358         (R_AARCH64_TLS_DTPMOD64): Rename to ..
20359         (R_AARCH64_TLS_DTPMOD): This.
20360         (R_AARCH64_TLS_DTPREL64): Rename to ...
20361         (R_AARCH64_TLS_DTPREL): This.
20362         (R_AARCH64_TLS_TPREL64): Rename to ...
20363         (R_AARCH64_TLS_TPREL): This.
20364         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
20365         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
20366         R_AARCH64_TLS_TPREL64.
20367         (elf_machine_rela): Likewise.
20369 2014-11-21  Torvald Riegel  <triegel@redhat.com>
20371         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
20372         by setting it to 0.  64b atomics are not supported currently.
20374 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20376         [BZ #16469]
20377         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
20378         search domain names.
20380 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20382         [BZ #16469]
20383         * NEWS: Update.
20384         * resolv/res_query.c (__libc_res_nquerydomain): Retain
20385         trailing dot.
20386         * posix/tst-getaddrinfo5.c: New.
20387         * posix/Makefile (tests): Add it.
20389 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20391         [BZ #14498]
20392         * NEWS: Fixed.
20393         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
20394         after parsing line but before break_if_match.
20395         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
20396         if there is a protocol mismatch.
20398 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
20400         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
20401         because the potential race is on the user-supplied stream.
20403 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20405         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
20406         string literal if not passed a buffer.
20407         * manual/job.texi (ctermid): Update reasoning, note deviation
20408         from posix, suggest mtasurace when not passed a buffer, for
20409         future non-preliminary safety notes.
20411 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20413         * manual/users.texi (cuserid): Fix MT-Safety note for the case
20414         of not passing it a buffer.
20415         Reported by Peng Haitao.
20417 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20419         * manual/Makefile ($(objpfx)stamp-summary): Require
20420         check-safety.sh to pass.
20421         * manual/check-safety.sh: Wish for verification that every
20422         @deftypefn and @deftypefun is followed by a @safety remark.
20424 2014-11-20  Roland McGrath  <roland@hack.frob.com>
20426         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
20428         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
20429         PTHREAD_CANCEL_ASYNCHRONOUS.
20430         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
20431         send SIGCANCEL.
20433         * nptl/default-sched.h: New file.
20434         * sysdeps/unix/sysv/linux/default-sched.h: New file.
20435         * nptl/pthread_create.c: Include it.
20436         (__pthread_create_2_1): Use collect_default_sched instead of making
20437         Linux syscalls here directly.
20439 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20441         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
20442         __pthread_once): Use C11 atomics.
20444 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20446         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
20448 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20450         * include/atomic.h (__atomic_link_error, __atomic_check_size,
20451         atomic_thread_fence_acquire, atomic_thread_fence_release,
20452         atomic_thread_fence_seq_cst, atomic_load_relaxed,
20453         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
20454         atomic_compare_exchange_weak_relaxed,
20455         atomic_compare_exchange_weak_acquire,
20456         atomic_compare_exchange_weak_release,
20457         atomic_exchange_acquire, atomic_exchange_release,
20458         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
20459         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
20460         atomic_fetch_and_acquire,
20461         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
20463 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20465         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
20466         USE_ATOMIC_COMPILER_BUILTINS): Define.
20467         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
20468         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20469         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
20470         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20471         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
20472         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20473         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
20474         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20475         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
20476         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20477         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
20478         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20479         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
20480         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20481         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
20482         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20483         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20484         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20485         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20486         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20487         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
20488         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20489         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20490         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20491         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
20492         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20493         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20494         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20495         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
20496         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20497         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
20498         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20499         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
20500         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20501         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20502         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20503         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
20504         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20505         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
20506         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20508 2014-11-19  Roland McGrath  <roland@hack.frob.com>
20510         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
20511         the sched_priority value here.  It was already checked when the user
20512         called pthread_attr_setschedparam.
20514         * nptl/tst-bad-schedattr.c: New file.
20515         * nptl/Makefile (tests): Add it.
20517 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
20518             Florian Weimer  <fweimer@redhat.com>
20519             Joseph Myers  <joseph@codesourcery.com>
20520             Adam Conrad  <adconrad@0c3.net>
20521             Andreas Schwab  <schwab@suse.de>
20522             Brooks  <bmoses@google.com>
20524         [BZ #17625]
20525         * wordexp-test.c (__dso_handle): Add prototype.
20526         (__register_atfork): Likewise.
20527         (__app_register_atfork): New function.
20528         (registered_forks): New global.
20529         (register_fork): New function.
20530         (test_case): Add 3 new tests for WRDE_CMDSUB.
20531         (main): Call __app_register_atfork.
20532         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
20533         fork count is non-zero fail the test.
20534         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
20535         is set.
20536         (parse_dollars): Remove check for WRDE_NOCMD.
20537         (parse_dquote): Likewise.
20539 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20541         * Makeconfig (built-modules): List non-library modules to be
20542         built.
20543         (module-cppflags): Include libc-modules.h for
20544         everything except shlib-versions.v.i.
20545         (CPPFLAGS): Use it.
20546         (before-compile): Add libc-modules.h.
20547         ($(common-objpfx)libc-modules.h,
20548         $(common-objpfx)libc-modules.stmp): New targets.
20549         (common-generated): Add libc-modules.h and libc-modules.stmp.
20550         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
20551         * include/libc-symbols.h: Don't include libc-modules.h.
20552         * include/libc-modules.h: Remove file.
20553         * scripts/gen-libc-modules.awk: New script to generate
20554         libc-modules.h.
20555         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
20556         Depend on libc-modules.stmp.
20558         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
20560         * Makeconfig (in-module): Get value of libof set for the
20561         translation unit.
20562         (CPPFLAGS): Use $(in-module).
20563         * Makerules: Don't suffix routine names for nonlib.
20564         * include/libc-modules.h: New file.
20565         * include/libc-symbols.h: Include libc-modules.h
20566         (IS_IN): New macro to replace IS_IN_* macros.
20567         * elf/Makefile: Set libof-* for each routine.
20568         * elf/rtld-Rules: Likewise.
20569         * extra-modules.mk: Likewise.
20570         * iconv/Makefile: Likewise.
20571         * iconvdata/Makefile: Likewise.
20572         * locale/Makefile: Likewise.
20573         * malloc/Makefile: Likewise.
20574         * nss/Makefile: Likewise.
20575         * sysdeps/gnu/Makefile: Likewise.
20576         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
20577         * sysdeps/unix/sysv/linux/Makefile: Likewise.
20578         * sysdeps/s390/s390-64/Makefile: Likewise.
20579         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
20580         CPPFLAGS for nscd instead of nonlib.
20582 2014-11-18  Roland McGrath  <roland@hack.frob.com>
20584         * nptl/createthread.c: New file.
20586         * nptl/createthread.c: Moved ...
20587         * sysdeps/unix/sysv/linux/createthread.c: ... here.
20589         * nptl/createthread.c: Add proper top-line comment.
20590         (do_clone): Folded into ...
20591         (create_thread): ... here.  Take new arguments STOPPED_START and
20592         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
20593         increment __nptl_threads, do event-reporting logic, do
20594         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
20595         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
20596         resource cleanup if sched_setaffinity or sched_setscheduler fails,
20597         just send SIGCANCEL.
20598         * nptl/pthread_create.c: Forward-declare create_thread before
20599         including createthread.c.
20600         (start_thread): Use new macro START_THREAD_DEFN to replace defining
20601         declaration, and new macro START_THREAD_SELF to replace argument.
20602         Remove return statement.
20603         (report_thread_creation): New function.
20604         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
20605         synchronization logic, and __nptl_nthreads increment here, around
20606         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
20607         PD->parent_cancelhandling here, before create_thread.  When
20608         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
20609         __deallocate_stack, and ENOMEM translation here.
20611 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
20613         [BZ #17616]
20614         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
20615         (mptwo): Rename to __mptwo.
20616         (__inv): Use __mptwo instead of mptwo.
20617         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
20618         (mptwo): Rename to __mptwo.
20619         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
20620         of mpone and __mptwo instead of mptwo.
20621         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
20622         instead of mpone.
20623         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20624         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
20625         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
20626         of mpone and __mptwo instead of mptwo.
20627         (__mpranred): Use __mpone instead of mpone.
20628         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
20629         variable.
20630         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20631         (test-xfail-ISO99/math.h/linknamespace): Likewise.
20632         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20633         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20634         (test-xfail-ISO11/math.h/linknamespace): Likewise.
20635         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20636         (test-xfail-XPG3/math.h/linknamespace): Likewise.
20637         (test-xfail-XPG4/math.h/linknamespace): Likewise.
20638         (test-xfail-POSIX/math.h/linknamespace): Likewise.
20639         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20640         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20641         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20642         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20643         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20644         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20645         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20646         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20647         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20648         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20650 2014-11-18  Tom de Vries  <tom@codesoucery.com>
20652         * manual/signal.texi (Primitives Interrupted by Signals): In section,
20653         replace BSD Handler xref with BSD Signal Handling.
20655 2014-11-17  Richard Henderson  <rth@redhat.com>
20657         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
20658         (_FP_PACK_RAW_2): Remove.
20659         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
20660         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
20661         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
20662         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
20663         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
20664         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
20665         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
20666         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
20667         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
20668         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
20669         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
20670         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
20671         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
20672         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
20673         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
20674         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
20676 2014-11-14  Roland McGrath  <roland@hack.frob.com>
20678         * signal/signal.h [__USE_MISC]
20679         (struct sigvec): Remove type.
20680         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
20681         (sigvec): Remove declaration.
20682         * sysdeps/posix/sigvec.c: Moved ...
20683         * signal/sigvec.c: ... here, replacing old file.
20684         (struct sigvec): New type, copied from old signal.h definition.
20685         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
20686         (__sigvec): Convert definition to prototype.
20687         (sigvec): Replace weak_alias with compat_symbol.
20688         * signal/Versions (libc: GLIBC_2.21): New version set.
20689         * include/signal.h: Remove __sigvec declaration.
20690         * sysdeps/unix/bsd/sigvec.c: Remove file.
20691         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
20692         * manual/signal.texi (BSD Handler): Remove subsection.
20693         Move siginterrupt up to ...
20694         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
20695         (Blocking in BSD): Fold subsection into its parent.
20696         * NEWS: Mention sigvec removal.
20698 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
20700         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
20701         (DLA_FMS): Make definition conditional only on [__FMA4__].
20702         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
20703         definition.
20705         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
20706         Make definition conditional only on [PROF].
20707         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
20708         definition.
20709         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
20710         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
20712         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
20713         !__GNUC__].
20714         * include/signal.h (__sigpause): Move declaration above call to
20715         libc_hidden_proto.
20716         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
20717         variable.
20718         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
20719         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
20721 2014-11-14  David S. Miller  <davem@davemloft.net>
20723         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
20724         Define before including <string/memcpy.c> and <string/mempcpy.c>.
20726 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
20728         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
20729         * configure: Regenerated.
20730         * manual/install.texi (Tools for Compilation): Document a
20731         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
20732         compiler verified to work.
20733         * INSTALL: Regenerated.
20735         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
20736         redeclare with asm name.
20737         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
20738         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
20739         including <string.h>.
20740         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20741         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
20742         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20743         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
20744         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20745         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20746         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20748 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
20750         * stdlib/strtol.c (__strtol): Use prototype definition.
20752         [BZ #17594]
20753         * stdlib/strtol.c (SYM__): New macro.
20754         (SYM__1): Likewise.
20755         (__strtol): Likewise.
20756         (strtol): Rename to __strtol and define as weak alias of
20757         __strtol.  Use libc_hidden_weak.
20759 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20761         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
20762         Use numbered labels in inline assembly.
20764 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20766         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
20767         Add setjmp LIBC_PROBE.
20768         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
20769         Likewise.
20770         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
20771         Add longjmp, longjmp_target LIBC_PROBE.
20772         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
20773         Likewise.
20775 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20777         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20778         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
20779         to get rid of unused variable warning.
20781 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20783         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
20784         Check for unwind_backtrace ==  NULL only in SHARED case.
20785         (__backchain_backtrace): Compile only in SHARED case.
20786         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
20787         Likewise.
20788         (__backchain_backtrace): Declare as static.
20790 2014-11-12  Roland McGrath  <roland@hack.frob.com>
20792         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
20793         (__libc_multiple_threads_ptr): Variable moved ...
20794         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
20796 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
20798         * conform/GlibcConform.pm: New file.
20799         * conform/conformtest.pl: Use GlibcConform module.
20800         * conform/linknamespace.pl: New file.
20801         * conform/list-header-symbols.pl: Likewise.
20802         * conform/Makefile (linknamespace-symlists-base): New variable.
20803         (linknamespace-symlists-tests): Likewise.
20804         (linknamespace-header-base): Likewise.
20805         (linknamespace-header-tests): Likewise.
20806         (tests-special): Add new tests.
20807         ($(linknamespace-symlists-tests)): New rule.
20808         (linknamespace-libs): New variable.
20809         ($(objpfx)symlist-stdlibs): New rule.
20810         ($(linknamespace-header-tests)): Likewise.
20811         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
20812         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
20813         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
20814         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
20815         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
20816         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
20817         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
20818         (test-xfail-ISO/math.h/linknamespace): Likewise.
20819         (test-xfail-ISO/signal.h/linknamespace): Likewise.
20820         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
20821         (test-xfail-ISO/time.h/linknamespace): Likewise.
20822         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20823         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
20824         (test-xfail-ISO99/math.h/linknamespace): Likewise.
20825         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
20826         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20827         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20828         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20829         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
20830         (test-xfail-ISO11/math.h/linknamespace): Likewise.
20831         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
20832         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20833         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20834         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
20835         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
20836         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
20837         (test-xfail-XPG3/math.h/linknamespace): Likewise.
20838         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
20839         (test-xfail-XPG3/search.h/linknamespace): Likewise.
20840         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
20841         (test-xfail-XPG3/time.h/linknamespace): Likewise.
20842         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
20843         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20844         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
20845         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
20846         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20847         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20848         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
20849         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
20850         (test-xfail-XPG4/math.h/linknamespace): Likewise.
20851         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
20852         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
20853         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20854         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20855         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20856         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
20857         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
20858         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
20859         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
20860         (test-xfail-XPG4/time.h/linknamespace): Likewise.
20861         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
20862         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20863         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
20864         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20865         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20866         (test-xfail-POSIX/math.h/linknamespace): Likewise.
20867         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
20868         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
20869         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20870         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
20871         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
20872         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
20873         (test-xfail-POSIX/time.h/linknamespace): Likewise.
20874         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
20875         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20876         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
20877         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
20878         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20879         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20880         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20881         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
20882         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
20883         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20884         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
20885         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20886         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
20887         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
20888         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
20889         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
20890         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20891         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
20892         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20893         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20894         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
20895         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
20896         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20897         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
20898         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
20899         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
20900         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20901         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
20902         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20903         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
20904         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20905         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20906         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20907         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
20908         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
20909         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20910         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
20911         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
20912         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
20913         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
20914         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
20915         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20916         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20917         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
20918         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
20919         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
20920         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20921         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
20922         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
20923         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20924         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20925         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20926         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
20927         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20928         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20929         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20930         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
20931         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20932         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
20933         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
20934         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
20935         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20936         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20937         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20938         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
20939         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20940         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
20941         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20942         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20943         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20944         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
20945         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
20946         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20947         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
20948         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
20949         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
20950         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20951         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20952         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20953         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20954         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
20955         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20956         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20957         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20958         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
20959         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20960         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
20961         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20962         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20963         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20964         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
20965         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20966         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
20967         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
20968         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
20969         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20970         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
20971         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20973         [BZ #17589]
20974         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
20975         of fgets_unlocked.
20977         [BZ #17585]
20978         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
20979         (memmem): Rename to __memmem and define as weak alias of
20980         __memmem.  Use libc_hidden_weak.
20981         (__memmem): Use libc_hidden_def.
20982         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
20983         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
20984         memmem.
20986         [BZ #17582]
20987         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
20988         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
20989         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
20990         and define as weak alias of __fgets_unlocked.  Use
20991         libc_hidden_weak.
20992         (__fgets_unlocked): Use libc_hidden_def.
20993         * include/stdio.h (__fgets_unlocked): Declare.  Use
20994         libc_hidden_proto.
20995         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
20996         __fgets_unlocked instead of fgets_unlocked.
20997         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
20998         (GET_NPROCS_CONF_PARSER): Likewise.
20999         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
21000         (GET_NPROCS_CONF_PARSER): Likewise.
21002         [BZ #17574]
21003         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
21004         weak alias of __wmemset.  Use libc_hidden_weak.
21005         (__wmemset): Use libc_hidden_def.
21006         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
21007         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
21008         of wmemset.
21010         [BZ #17573]
21011         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
21012         with asm name __mempcpy.
21013         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
21015         [BZ #17572]
21016         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
21017         and define as weak alias of __rawmemchr.
21018         (__rawmemchr): Do not define as strong alias of rawmemchr.
21020         [BZ #17571]
21021         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
21022         alias of __qsort_r.
21023         (qsort): Call __qsort_r instead of qsort_r.
21024         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
21025         (__qsort_r): Declare.  Call libc_hidden_proto.
21026         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
21027         instead of qsort_r.
21028         * nscd/gai.c (__qsort_r): Define to qsort_r.
21029         * posix/tst-rfc3484.c (__qsort_r): Likewise.
21030         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
21031         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
21033         [BZ #17570]
21034         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
21035         define as weak alias of __malloc_info.
21037         [BZ #17584]
21038         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
21039         as weak alias of __rewinddir.  Don't use libc_hidden_def.
21040         (__rewinddir): Use libc_hidden_def.
21041         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
21042         as weak alias of __rewinddir.  Don't use libc_hidden_def.
21043         (__rewinddir): Use libc_hidden_def.
21044         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
21045         weak alias of __rewinddir.  Don't use libc_hidden_def.
21046         (__rewinddir): Use libc_hidden_def.
21047         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
21048         (__rewinddir): Use libc_hidden_proto.
21049         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
21050         rewinddir.
21051         (__getcwd): Use __rewinddir instead of rewinddir.
21053         [BZ #17583]
21054         * libio/fileno.c (fileno): Rename to __fileno and define as weak
21055         alias of __fileno.  Use libc_hidden_weak.
21056         (__fileno): Use libc_hidden_def.
21057         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
21058         * libio/ftello.c (ftello): Rename to __ftello and define as weak
21059         alias of __ftello.
21060         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
21061         __ftello.
21062         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
21063         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
21064         libc_hidden_def.
21065         (fread_unlocked): Don't use libc_hidden_ver.
21066         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
21067         and define as weak alias of __fread_unlocked.  Don't use
21068         libc_hidden_def.
21069         (__fread_unlocked): Use libc_hidden_def.
21070         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
21071         (ftello): Don't use libc_hidden_proto.
21072         (__ftello): Declare.  Use libc_hidden_proto.
21073         (fread_unlocked): Don't use libc_hidden_proto.
21074         (__fread_unlocked): Declare.  Use libc_hidden_proto.
21075         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
21076         and __ftello instead of fileno, fread_unlocked and ftello.
21078 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21080         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
21081         GOT12.
21082         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21083         Likewise.
21084         (_dl_start_user): Likewise.
21085         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
21087 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
21088             Siddhesh Poyarekar  <siddhesh@redhat.com>
21090         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
21091         Move argv and envp down instead of moving argc up.
21092         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
21094 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
21096         [BZ #17506]
21097         * test-skeleton.c (main): Return successful if one of
21098         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
21099         * string/tst-strcoll-overflow.c: Define expected status.
21101 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
21103         [BZ #17475]
21104         * locale/iso-639.def: Define Bhili and Tulu language codes.
21106 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
21108         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
21110 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
21112         [BZ #17555]
21113         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
21115 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
21117         * configure.ac: Updated check of minimal required version to
21118         2.22.
21119         * manual/install.texi (Tools for Compilation): Updated version
21120         number.
21121         * configure: Regenerated.
21122         * INSTALL: Likewise.
21124 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
21126         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
21127         __tls_get_addr.
21129 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
21131         * include/sys/wait.h (__libc_waitpid): Remove declaration.
21132         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
21133         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21134         libc_hidden_weak.
21135         (waitpid): Define as alias of __waitpid.
21136         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
21137         __waitpid.
21138         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21139         libc_hidden_weak.
21140         (waitpid): Define as alias of __waitpid.
21141         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
21142         __libc_waitpid alias.
21143         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
21144         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
21145         Likewise.
21146         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
21147         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
21148         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
21149         alias.
21150         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
21151         __waitpid.
21152         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21153         libc_hidden_weak.
21154         (waitpid): Define as alias of __waitpid.
21156 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
21158         * manual/llio.texi: Add comment that write safety has been
21159         fixed in Linux.
21161         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
21162         (localplt-build-dso): Add elf/ld.so.
21163         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
21164         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
21165         and free for ld.so.
21166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
21167         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
21168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
21169         Likewise.
21170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
21171         Likewise.
21172         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
21173         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
21174         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
21175         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
21176         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
21177         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
21178         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
21179         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
21180         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
21181         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
21182         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21184 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
21186         [BZ #14132]
21187         * include/libc-symbols.h (INTUSE): Remove macro.
21188         (INTDEF): Likewise.
21189         (INTVARDEF): Likewise.
21190         (_INTVARDEF): Likewise.
21191         (INTDEF2): Likewise.
21192         (INTVARDEF2): Likewise.
21193         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
21194         rtld_hidden_def instead of INTVARDEF.
21195         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
21196         (_dl_starting_up_internal): Remove declaration.
21197         (_dl_starting_up): Use rtld_hidden_proto.
21198         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
21199         declaration.
21200         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
21201         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
21202         _dl_starting_up.
21203         * elf/dl-writev.h (_dl_writev): Likewise.
21204         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
21205         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
21206         _dl_starting_up_internal.
21208 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21210         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21211         test-skeleton.c.
21213 2014-11-05  Will Newton  <will.newton@linaro.org>
21215         * benchtests/Makefile: (bench-malloc): Add malloc thread
21216         scalability benchmark.
21217         * benchtests/bench-malloc-threads.c: New file.
21219 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
21221         * sysdeps/aarch64/strchrnul.S: New file.
21223 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21225         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
21226         definition.
21227         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21228         Likwise.
21229         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21230         Likewise.
21231         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21232         Likewise.
21233         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21234         Likewise.
21235         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21236         Likewise.
21238 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
21240         * catgets/test-gencat.c: Use test-skeleton.c.
21241         * catgets/tst-catgets.c: Likewise.
21242         * csu/tst-empty.c: Likewise.
21243         * elf/tst-audit2.c: Likewise.
21244         * elf/tst-global1.c: Likewise.
21245         * elf/tst-pathopt.c: Likewise.
21246         * elf/tst-piemod1.c: Likewise.
21247         * elf/tst-tls10.c: Likewise.
21248         * elf/tst-tls11.c: Likewise.
21249         * elf/tst-tls12.c: Likewise.
21250         * gnulib/tst-gcc.c: Likewise.
21251         * iconvdata/tst-e2big.c: Likewise.
21252         * iconvdata/tst-loading.c: Likewise.
21253         * iconv/tst-iconv1.c: Likewise.
21254         * iconv/tst-iconv2.c: Likewise.
21255         * inet/test-inet6_opt.c: Likewise.
21256         * inet/tst-gethnm.c: Likewise.
21257         * inet/tst-network.c: Likewise.
21258         * inet/tst-ntoa.c: Likewise.
21259         * intl/tst-codeset.c: Likewise.
21260         * intl/tst-gettext2.c: Likewise.
21261         * intl/tst-gettext3.c: Likewise.
21262         * intl/tst-ngettext.c: Likewise.
21263         * intl/tst-translit.c: Likewise.
21264         * io/test-stat.c: Likewise.
21265         * libio/test-fmemopen.c: Likewise.
21266         * libio/tst-freopen.c: Likewise.
21267         * libio/tst-sscanf.c: Likewise.
21268         * libio/tst-ungetwc1.c: Likewise.
21269         * libio/tst-ungetwc2.c: Likewise.
21270         * libio/tst-widetext.c: Likewise.
21271         * localedata/tst-ctype.c: Likewise.
21272         * localedata/tst-digits.c: Likewise.
21273         * localedata/tst-leaks.c: Likewise.
21274         * localedata/tst-mbswcs1.c: Likewise.
21275         * localedata/tst-mbswcs2.c: Likewise.
21276         * localedata/tst-mbswcs3.c: Likewise.
21277         * localedata/tst-mbswcs4.c: Likewise.
21278         * localedata/tst-mbswcs5.c: Likewise.
21279         * localedata/tst-setlocale.c: Likewise.
21280         * localedata/tst-trans.c: Likewise.
21281         * localedata/tst-wctype.c: Likewise.
21282         * localedata/tst-xlocale1.c: Likewise.
21283         * login/tst-grantpt.c: Likewise.
21284         * malloc/tst-calloc.c: Likewise.
21285         * malloc/tst-malloc.c: Likewise.
21286         * malloc/tst-mallocstate.c: Likewise.
21287         * malloc/tst-mcheck.c: Likewise.
21288         * malloc/tst-mtrace.c: Likewise.
21289         * malloc/tst-obstack.c: Likewise.
21290         * math/atest-exp2.c: Likewise.
21291         * math/atest-exp.c: Likewise.
21292         * math/atest-sincos.c: Likewise.
21293         * math/test-matherr.c: Likewise.
21294         * math/test-misc.c: Likewise.
21295         * math/test-powl.c: Likewise.
21296         * math/tst-definitions.c: Likewise.
21297         * misc/tst-dirname.c: Likewise.
21298         * misc/tst-efgcvt.c: Likewise.
21299         * misc/tst-fdset.c: Likewise.
21300         * misc/tst-hsearch.c: Likewise.
21301         * misc/tst-mntent2.c: Likewise.
21302         * nptl/tst-sem7.c: Likewise.
21303         * nptl/tst-sem8.c: Likewise.
21304         * nptl/tst-sem9.c: Likewise.
21305         * nss/test-netdb.c: Likewise.
21306         * posix/tst-fnmatch.c: Likewise.
21307         * posix/tst-getlogin.c: Likewise.
21308         * posix/tst-gnuglob.c: Likewise.
21309         * posix/tst-mmap.c: Likewise.
21310         * pwd/tst-getpw.c: Likewise.
21311         * resolv/tst-inet_ntop.c: Likewise.
21312         * rt/tst-timer.c: Likewise.
21313         * stdio-common/test-fseek.c: Likewise.
21314         * stdio-common/test-popen.c: Likewise.
21315         * stdio-common/test-vfprintf.c: Likewise.
21316         * stdio-common/tst-cookie.c: Likewise.
21317         * stdio-common/tst-fileno.c: Likewise.
21318         * stdio-common/tst-gets.c: Likewise.
21319         * stdio-common/tst-obprintf.c: Likewise.
21320         * stdio-common/tst-perror.c: Likewise.
21321         * stdio-common/tst-sprintf2.c: Likewise.
21322         * stdio-common/tst-sprintf3.c: Likewise.
21323         * stdio-common/tst-sprintf.c: Likewise.
21324         * stdio-common/tst-swprintf.c: Likewise.
21325         * stdio-common/tst-tmpnam.c: Likewise.
21326         * stdio-common/tst-unbputc.c: Likewise.
21327         * stdio-common/tst-wc-printf.c: Likewise.
21328         * stdlib/tst-environ.c: Likewise.
21329         * stdlib/tst-fmtmsg.c: Likewise.
21330         * stdlib/tst-limits.c: Likewise.
21331         * stdlib/tst-rand48-2.c: Likewise.
21332         * stdlib/tst-rand48.c: Likewise.
21333         * stdlib/tst-random2.c: Likewise.
21334         * stdlib/tst-random.c: Likewise.
21335         * stdlib/tst-strtol.c: Likewise.
21336         * stdlib/tst-strtoll.c: Likewise.
21337         * stdlib/tst-tls-atexit.c: Likewise.
21338         * stdlib/tst-xpg-basename.c: Likewise.
21339         * string/test-ffs.c: Likewise.
21340         * string/tst-bswap.c: Likewise.
21341         * string/tst-inlcall.c: Likewise.
21342         * string/tst-strtok.c: Likewise.
21343         * string/tst-strxfrm.c: Likewise.
21344         * sysdeps/x86_64/tst-audit10.c: Likewise.
21345         * sysdeps/x86_64/tst-audit3.c: Likewise.
21346         * sysdeps/x86_64/tst-audit4.c: Likewise.
21347         * sysdeps/x86_64/tst-audit5.c: Likewise.
21348         * time/tst-ftime_l.c: Likewise.
21349         * time/tst-getdate.c: Likewise.
21350         * time/tst-mktime3.c: Likewise.
21351         * time/tst-mktime.c: Likewise.
21352         * time/tst-posixtz.c: Likewise.
21353         * time/tst-strptime2.c: Likewise.
21354         * time/tst-strptime3.c: Likewise.
21355         * wcsmbs/tst-btowc.c: Likewise.
21356         * wcsmbs/tst-mbrtowc.c: Likewise.
21357         * wcsmbs/tst-mbsrtowcs.c: Likewise.
21358         * wcsmbs/tst-wchar-h.c: Likewise.
21359         * wcsmbs/tst-wcpncpy.c: Likewise.
21360         * wcsmbs/tst-wcrtomb.c: Likewise.
21361         * wcsmbs/tst-wcsnlen.c: Likewise.
21362         * wcsmbs/tst-wcstof.c: Likewise.
21364 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
21366         [BZ #14132]
21367         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
21368         INTDEF.
21369         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
21370         declaration.
21371         (_dl_mcount): Use rtld_hidden_proto.
21372         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
21373         _dl_mcount.
21374         * elf/rtld.c (_rtld_global_ro): Likewise.
21376         [BZ #14132]
21377         * elf/dl-init.c (_dl_init): Don't use INTDEF.
21378         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
21379         of _dl_init_internal.
21380         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
21381         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
21382         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
21383         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
21384         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
21385         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
21386         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
21387         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
21388         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
21389         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
21390         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
21391         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
21392         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21393         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21394         * sysdeps/tile/dl-start.S (_start): Likewise.
21395         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
21396         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
21398         [BZ #14132]
21399         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
21400         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
21401         (rtld_progname): Make macro definition unconditional.
21402         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
21403         INTDEF.
21404         (dlmopen_doit): Do not use INTUSE with _dl_argv.
21405         (dl_main): Likewise.
21406         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21407         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
21408         instead of _dl_argv_internal.
21409         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21410         __GI__dl_argv instead of INTUSE(_dl_argv).
21411         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
21412         __GI__dl_argv instead of _dl_argv_internal.
21414         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
21415         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
21416         macro.
21417         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
21418         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
21419         New macro.
21420         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
21421         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
21422         macro.
21423         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
21424         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
21426 2014-11-04  Andreas Schwab  <schwab@suse.de>
21428         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
21430 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21432         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
21433         mtvsrd instruction in binary form.
21435 2014-11-03  Andreas Schwab  <schwab@suse.de>
21437         [BZ #17522]
21438         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
21439         for less than MB_LEN_MAX use a local buffer of that size.
21440         * libio/tst-fputws.c: New file.
21441         * libio/Makefile (tests): Add tst-fputws.
21443 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
21445         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
21446         the size of the fpu_fr.fpu_dregs[] array.
21448 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
21450         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
21451         (__nanosleep): Do not define as alias.
21452         (nanosleep): Define as alias of __nanosleep.
21453         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
21454         __libc_nanosleep name.
21456 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
21458         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
21459         install.texi in comment.
21461 2014-10-31  Torvald Riegel  <triegel@redhat.com>
21463         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
21464         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
21465         ... add here and use lwsync or sync ...
21466         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
21467         ... and add here using lwsync.
21469 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
21471         * elf/dl-machine-reject-phdr.h: New file.
21472         * elf/dl-load.c: #include that.
21473         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
21474         if that returned true.
21476 2014-10-31  Roland McGrath  <roland@hack.frob.com>
21478         [BZ #17496]
21479         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
21480         gen-as-const-headers chunk.  Add a big scare comment after the last
21481         safe place to touch before-compile.
21483 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
21485         * manual/install.texi (Tools for Compilation): Update autoconf
21486         version requirements.
21487         * INSTALL: Regenerated.
21489         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
21490         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
21491         (__libc_pselect): Likewise.
21493         [BZ #14138]
21494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
21495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21499 2014-10-31  Torvald Riegel  <triegel@redhat.com>
21501         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
21502         correct barrier instruction.
21503         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
21504         Likewise.
21505         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
21506         Likewise.
21508 2014-10-30  Roland McGrath  <roland@hack.frob.com>
21510         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
21511         after defining inlines.  Instead, just use parens to defeat macro
21512         expansion of __isctype in its declaration.
21514 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
21516         * include/sys/uio.h (__libc_readv): Remove declaration.
21517         (__libc_writev): Likewise.
21518         * misc/readv.c (__libc_readv): Rename to __readv.
21519         (__readv): Do not define as alias.
21520         (readv): Define as alias of __readv.
21521         * misc/writev.c (__libc_writev): Rename to __writev.
21522         (__writev): Do not define as alias.
21523         (writev): Define as alias of __writev.
21524         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
21525         (__readv): Do not define as alias.
21526         (readv): Define unconditionally as alias of __readv.
21527         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
21528         (__writev): Do not define as alias.
21529         (writev): Define unconditionally as alias of __writev.
21530         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
21531         name.
21532         (writev): Do not define __libc_writev name.
21534 2014-10-30  Roland McGrath  <roland@hack.frob.com>
21536         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
21537         (convert_charseq): New function, broken out of ...
21538         (use_from_charmap): ... here.  Call it.
21539         (use_to_charmap): Use convert_charseq and free instead of duplicating
21540         its code with a variable-length stack struct.
21542 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
21544         * include/fcntl.h (__libc_creat): Remove declaration.
21545         * io/creat.c (__libc_creat): Rename to creat.
21546         (creat): Do not define as alias.
21547         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
21548         of creat instead of __libc_creat.
21549         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
21550         to creat.
21551         (creat): Do not define as alias.
21552         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
21553         __libc_creat.
21554         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
21555         __libc_creat name.
21556         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
21557         Likewise.
21559 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
21561         * manual/llio.texi: Add comments discussing why write() may be
21562         considered MT-unsafe on Linux.
21564 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
21566         * dl-load.c (local_strdup): Remove.
21567         (expand_dynamic_string_token): Use __strdup.
21568         (decompose_rpath): Likewise.
21569         (_dl_map_object): Likewise.
21571 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
21573         [BZ #14132]
21574         * sysdeps/generic/unwind-dw2-fde.c
21575         (__register_frame_info_bases_internal): Do not declare.
21576         (__register_frame_info_table_bases_internal): Likewise.
21577         (__deregister_frame_info_bases_internal): Likewise.
21578         (__register_frame_info_bases): Declare and use hidden_proto before
21579         definition.  Use hidden_def instead of INTDEF.
21580         (__register_frame_info_table_bases): Likewise.
21581         (__deregister_frame_info_bases): Likewise.
21582         (__register_frame_info): Do not use INTUSE.
21583         (__register_frame): Likewise.
21584         (__register_frame_info_table): Likewise.
21585         (__register_frame_table): Likewise.
21586         (__deregister_frame_info): Likewise.
21587         (__deregister_frame): Likewise.
21589 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
21591         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21592         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
21593         not undefine.
21594         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
21595         Likewise.
21596         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
21597         Likewise.
21599 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
21601         [BZ #14138]
21602         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
21603         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
21604         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
21605         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
21606         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
21607         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
21608         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
21609         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
21610         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
21611         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
21612         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
21613         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
21614         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
21615         syscall.
21616         (setfsuid): Likewise.
21617         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
21618         (setfsuid): Likewise.
21619         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
21620         (setfsuid): Likewise.
21621         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
21622         Likewise.
21623         (setfsuid): Likewise.
21624         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
21625         (setfsuid): Likewise.
21626         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
21627         Likewise.
21628         (setfsuid): Likewise.
21630 2014-10-27  Andreas Schwab  <schwab@suse.de>
21632         [BZ #17501]
21633         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
21634         check for Slow_SSE4_2 feature bit.
21635         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
21636         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21637         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
21638         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
21640 2014-10-24  Roland McGrath  <roland@hack.frob.com>
21642         * configure.ac: Validate compiler version with a empirical test of
21643         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
21644         $CC -v output.
21645         * configure: Regenerated.
21647         * inet/htons.c (htons): Prototypify.
21648         * inet/htonl.c (htonl): Likewise.
21650 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21652         * string/strncat.c (strncat): Improve performance by using strlen.
21654 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21656         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
21658 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21660         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
21661         Call libc_fetestexcept_aarch64.
21663 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21665         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
21666         Call libc_feholdexcept_aarch64.
21668 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21670         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
21671         Call get_rounding_mode.
21673 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21675         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21676         Simplify logic.
21678 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21680         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
21681         Simplify logic.
21683 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
21685         [BZ #14138]
21686         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
21687         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
21688         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
21689         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
21690         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
21691         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
21692         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
21693         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
21694         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
21695         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
21696         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21697         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
21698         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
21699         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
21700         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
21701         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
21702         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
21703         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
21704         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
21705         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
21706         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
21707         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
21708         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
21709         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
21710         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
21711         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
21712         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
21713         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
21714         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
21715         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
21716         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
21717         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
21718         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
21719         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
21720         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
21721         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
21722         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
21723         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
21724         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
21725         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
21726         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
21727         syscall.
21728         (geteuid): Likewise.
21729         (getgid): Likewise.
21730         (getuid): Likewise.
21731         (getresgid): Likewise.
21732         (getresuid): Likewise.
21733         (getgroups): Likewise.
21734         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
21735         (geteuid): Likewise.
21736         (getgid): Likewise.
21737         (getuid): Likewise.
21738         (getresgid): Likewise.
21739         (getresuid): Likewise.
21740         (getgroups): Likewise.
21741         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
21742         (geteuid): Likewise.
21743         (getgid): Likewise.
21744         (getuid): Likewise.
21745         (getresgid): Likewise.
21746         (getresuid): Likewise.
21747         (getgroups): Likewise.
21748         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
21749         Likewise.
21750         (geteuid): Likewise.
21751         (getgid): Likewise.
21752         (getuid): Likewise.
21753         (getresgid): Likewise.
21754         (getresuid): Likewise.
21755         (getgroups): Likewise.
21756         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
21757         (geteuid): Likewise.
21758         (getgid): Likewise.
21759         (getuid): Likewise.
21760         (getresgid): Likewise.
21761         (getresuid): Likewise.
21762         (getgroups): Likewise.
21763         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
21764         Likewise.
21765         (geteuid): Likewise.
21766         (getgid): Likewise.
21767         (getuid): Likewise.
21768         (getgroups): Likewise.
21770         [BZ #14138]
21771         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
21772         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
21773         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
21774         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21775         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
21776         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
21777         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
21778         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
21779         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
21780         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
21781         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
21782         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
21783         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
21784         __chown.
21785         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
21786         (lchown): Likewise.
21787         (fchown): Likewise.
21788         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
21789         Likewise.
21790         (lchown): Likewise.
21791         (fchown): Likewise.
21792         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
21793         (lchown): Likewise.
21794         (fchown): Likewise.
21795         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
21796         Likewise.
21797         (lchown): Likewise.
21798         (fchown): Likewise.
21800 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21802         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
21803         Simplify logic.
21805 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21807         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21808         Cleanup logic.
21810 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21812         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21813         Remove unused include.
21815 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21817         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
21818         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
21819         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
21820         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
21822 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
21823             Helge Deller <deller@gmx.de>
21825         [BZ #17508]
21826         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
21827         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
21828         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
21830 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
21832         [BZ #14132]
21833         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
21834         Remove macro definition.
21835         (__ashrdi3_v_glibc20): Likewise.
21836         (__lshrdi3_v_glibc20): Likewise.
21837         (__cmpdi2_v_glibc20): Likewise.
21838         (__ucmpdi2_v_glibc20): Likewise.
21839         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
21840         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21841         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21842         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21843         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21844         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
21846 2014-10-22  Roland McGrath  <roland@hack.frob.com>
21848         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
21849         old GNU extension [0] syntax.
21850         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
21851         alloca rather than an array member with variable length.
21852         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
21853         * nscd/nscd.c (invalidate_db): New function, broken out of ...
21854         (parse_opt): ... here.  Likewise use alloca there.
21855         Validate the -i argument before checking for rootness.
21856         (send_shutdown): New function, broken out of ...
21857         (parse_opt): ... here.
21859 2014-10-22  Roland McGrath  <roland@hack.frob.com>
21861         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
21862         macro to get at the _rt_local_ro field.
21863         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
21864         ([PIC] case) or _dl_hwcap ([!PIC] case).
21865         * sysdeps/arm/setjmp.S: Likewise.
21867         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
21868         * sysdeps/arm/configure.ac: New check to define it.
21869         * sysdeps/arm/configure: Regenerated.
21870         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
21871         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
21872         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
21873         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
21874         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
21875         Use move/movt pair instead of a load.
21876         (LDST_GLOBAL): Macro removed.
21877         (LDR_GLOBAL): New macro replaces it.
21878         (LDR_HIDDEN): New macro.
21879         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
21880         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
21882         * setjmp/tst-setjmp-static.c: New file.
21883         * setjmp/Makefile (tests): Add it.
21884         (tests-static): New variable.
21886 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
21888         [BZ #17485]
21889         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
21891 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
21893         [BZ #14132]
21894         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
21896 2014-10-21  Roland McGrath  <roland@hack.frob.com>
21898         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
21900 2014-10-20  Roland McGrath  <roland@hack.frob.com>
21902         * io/fts.c (dirent_not_directory): New function.
21903         (fts_build): Call it.
21905 2014-10-20  Roland McGrath  <roland@hack.frob.com>
21907         * nptl/version.c (__nptl_main): Use normal __write rather than
21908         INTERNAL_SYSCALL.
21909         (banner): Update copyright years.
21911         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
21912         gettimeofday.
21913         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
21914         * nptl/pthread_cond_timedwait.c: Likewise.
21915         * nptl/pthread_mutex_timedlock.c: Likewise.
21916         * nptl/sem_timedwait.c: Likewise.
21918         * sysdeps/nptl/bits/libc-lock.h
21919         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21920         (__libc_lock_init_recursive): Return void, not 0.
21921         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
21922         (__libc_rwlock_init): Likewise.
21923         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
21925 2014-10-20  Torvald Riegel  <triegel@redhat.com>
21927         [BZ #15215]
21928         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
21929         (__pthread_once_slow): ... here.
21930         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
21931         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
21933 2014-10-20  Torvald Riegel  <triegel@redhat.com>
21935         [BZ #15215]
21936         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
21937         __PTHREAD_ONCE_FORK_GEN_INCR): New.
21938         * sysdeps/nptl/fork.c (__libc_fork): Use them.
21939         * nptl/pthread_once.c (__pthread_once): Likewise.
21940         Update comments.
21942 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
21944         [BZ #14138]
21945         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
21946         name.
21947         (writev): Use __libc_writev as strong name.
21948         * sysdeps/unix/sysv/linux/readv.c: Remove file.
21949         * sysdeps/unix/sysv/linux/writev.c: Likewise.
21951 2014-10-17  Roland McGrath  <roland@hack.frob.com>
21953         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
21955         * sysdeps/i386/nptl/tls.h
21956         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
21957         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
21958         New macros.
21959         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
21960         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
21961         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
21962         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
21963         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
21964         Call CHECK_THREAD_SYSINFO instead of doing an assert.
21966         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21967         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
21968         on [__NR_futex].
21969         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
21970         broken out of ...
21971         (__pthread_mutex_init): ... here.  Call it.
21972         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
21973         Conditionalize PI cases on [__NR_futex].
21974         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
21975         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
21976         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21978         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
21979         conditional on [SIGSETXID].
21980         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
21981         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
21982         is defined.  Likewise for SIGSETXID.
21983         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
21984         Conditionalize definitions on [SIGSETXID].
21985         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
21986         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
21987         unblocking on [SIGCANCEL].
21989         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
21990         [__NR_set_robust_list].
21992 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21994         * string/strcoll_l.c (get_next_seq): Fix up formatting.
21995         (do_compare): Likewise.
21997 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
21999         [BZ #15884]
22000         * string/strcoll_l.c: Don't include stdio.h.
22001         (coll_seq): Remove members idxarr and rulearr.
22002         (get_next_seq_cached): Remove function.
22003         (get_next_seq): Likewise.
22004         (get_next_seq_nocache): Rename to get_next_seq.
22005         (do_compare): Remove function.
22006         (do_compare_nocache): Rename to do_compare.
22007         (STRCOLL): Remove weight and rules cache.
22009 2014-10-16  Roland McGrath  <roland@hack.frob.com>
22011         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
22012         * sysdeps/arm/sfp-machine.h: ... to here.
22013         * sysdeps/arm/Implies: Remove arm/soft-fp.
22015 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
22017         * conform/data/sys/utsname.h-data (*_t): Allow.
22018         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
22019         [POSIX] (WEXITED): Do not expect constant.
22020         [POSIX] (WSTOPPED): Likewise.
22021         [POSIX] (WNOHANG): Likewise.
22022         [POSIX] (WNOWAIT): Likewise.
22023         [POSIX] (siginfo_t): Do not expect type or elements.
22024         [POSIX] (pid_t): Do not expect type.
22025         [POSIX] (signal.h): Do not allow header.
22026         [POSIX] (sys/resource.h): Likewise.
22027         [POSIX] (si_*): Do not allow pattern.
22028         [POSIX] (W*): Likewise.
22029         [POSIX] (P_*): Likewise.
22030         [POSIX] (BUS_*): Likewise.
22031         [POSIX] (CLD_*): Likewise.
22032         [POSIX] (FPE_*): Likewise.
22033         [POSIX] (ILL_*): Likewise.
22034         [POSIX] (POLL_*): Likewise.
22035         [POSIX] (SEGV_*): Likewise.
22036         [POSIX] (SI_*): Likewise.
22037         [POSIX] (TRAP_*): Likewise.
22038         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
22039         variable.
22041 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
22043         [BZ #12926]
22044         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
22045         infinite loop when __recvmsg returns 0.
22047 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
22049         * CANCEL-FCT-WAIVE: Remove file.
22050         * CANCEL-FILE-WAIVE: Likewise.
22052         [BZ #14132]
22053         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
22054         instead of INTVARDEF.
22055         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22056         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
22057         rtld_hidden_data_def instead of INTVARDEF.
22058         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22059         * elf/dl-deps.c (expand_dst): Likewise.
22060         * elf/dl-load.c (_dl_dst_count): Likewise.
22061         (_dl_dst_substitute): Likewise.
22062         (decompose_rpath): Likewise.
22063         (_dl_init_paths): Likewise.
22064         (open_path): Likewise.
22065         (_dl_map_object): Likewise.
22066         * elf/rtld.c (dl_main): Likewise.
22067         (process_dl_audit): Likewise.
22068         (process_envvars): Likewise.
22069         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
22070         Remove declaration.
22071         (__libc_enable_secure): Use rtld_hidden_proto.
22073 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22075         * elf/dl-load.c
22076         (add_path): New function broken out of _dl_rtld_di_serinfo.
22077         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
22079 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
22081         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
22082         parentheses around macro arguments.
22083         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
22084         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
22085         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
22086         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
22087         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
22088         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22089         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22090         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
22091         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
22092         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
22093         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
22094         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
22095         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
22096         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
22097         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
22098         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
22099         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
22100         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
22101         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
22102         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
22103         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
22104         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
22105         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
22106         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22107         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22108         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
22109         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
22110         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
22111         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
22112         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
22113         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
22114         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
22115         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
22116         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
22117         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
22118         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
22119         Likewise.
22120         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
22121         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22122         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22123         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
22124         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
22125         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
22126         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
22127         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
22128         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
22129         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
22130         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
22131         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
22132         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
22133         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
22134         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
22135         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22136         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22137         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
22138         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
22139         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
22140         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
22141         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
22142         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
22143         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
22144         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
22145         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
22146         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
22147         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
22148         (_FP_FRAC_SRS_1): Likewise.
22149         (_FP_FRAC_CLZ_1): Likewise.
22150         (_FP_MUL_MEAT_1_imm): Likewise.
22151         (_FP_MUL_MEAT_1_wide): Likewise.
22152         (_FP_MUL_MEAT_1_hard): Likewise.
22153         (_FP_SQRT_MEAT_1): Likewise.
22154         (_FP_FRAC_ASSEMBLE_1): Likewise.
22155         (_FP_FRAC_DISASSEMBLE_1): Likewise.
22156         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
22157         (__FP_CLZ_2): Likewise.
22158         (_FP_MUL_MEAT_2_wide): Likewise.
22159         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22160         (_FP_MUL_MEAT_2_gmp): Likewise.
22161         (_FP_MUL_MEAT_2_120_240_double): Likewise.
22162         (_FP_SQRT_MEAT_2): Likewise.
22163         (_FP_FRAC_ASSEMBLE_2): Likewise.
22164         (_FP_FRAC_DISASSEMBLE_2): Likewise.
22165         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
22166         (_FP_FRAC_CLZ_4): Likewise.
22167         (_FP_MUL_MEAT_4_wide): Likewise.
22168         (_FP_MUL_MEAT_4_gmp): Likewise.
22169         (_FP_SQRT_MEAT_4): Likewise.
22170         (_FP_FRAC_ASSEMBLE_4): Likewise.
22171         (_FP_FRAC_DISASSEMBLE_4): Likewise.
22172         * soft-fp/op-common.h (_FP_CMP): Likewise.
22173         (_FP_CMP_EQ): Likewise.
22174         (_FP_CMP_UNORD): Likewise.
22175         (_FP_TO_INT): Likewise.
22176         (_FP_FROM_INT): Likewise.
22177         [!__FP_CLZ] (__FP_CLZ): Likewise.
22178         (_FP_DIV_HELP_imm): Likewise.
22179         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
22180         Likewise.
22181         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
22182         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
22183         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
22184         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
22185         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
22186         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22187         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22188         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
22189         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
22190         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
22191         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
22192         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
22193         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
22194         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
22195         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
22196         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
22197         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
22198         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
22199         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
22200         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
22201         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
22202         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
22203         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
22204         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22205         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22206         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
22207         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
22208         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
22209         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
22210         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
22211         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
22212         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
22213         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
22214         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
22215         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
22216         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
22217         (FP_UNPACK_RAW_SP): Likewise.
22218         (FP_PACK_RAW_S): Likewise.
22219         (FP_PACK_RAW_SP): Likewise.
22220         (FP_UNPACK_S): Likewise.
22221         (FP_UNPACK_SP): Likewise.
22222         (FP_UNPACK_SEMIRAW_S): Likewise.
22223         (FP_UNPACK_SEMIRAW_SP): Likewise.
22224         (FP_PACK_S): Likewise.
22225         (FP_PACK_SP): Likewise.
22226         (FP_PACK_SEMIRAW_S): Likewise.
22227         (FP_PACK_SEMIRAW_SP): Likewise.
22228         (_FP_SQRT_MEAT_S): Likewise.
22229         (FP_CMP_S): Likewise.
22230         (FP_CMP_EQ_S): Likewise.
22231         (FP_CMP_UNORD_S): Likewise.
22232         (FP_TO_INT_S): Likewise.
22233         (FP_FROM_INT_S): Likewise.
22235         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
22237         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
22238         (FP_EX_INVALID_IMZ): Likewise.
22239         (FP_EX_INVALID_IMZ_FMA): Likewise.
22240         (FP_EX_INVALID_ISI): Likewise.
22241         (FP_EX_INVALID_ZDZ): Likewise.
22242         (FP_EX_INVALID_IDI): Likewise.
22243         (FP_EX_INVALID_SQRT): Likewise.
22244         (FP_EX_INVALID_CVI): Likewise.
22245         (FP_EX_INVALID_VC): Likewise.
22246         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
22247         "invalid" exceptions.
22248         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
22249         (_FP_ADD_INTERNAL): Likewise.
22250         (_FP_MUL): Likewise.
22251         (_FP_FMA): Likewise.
22252         (_FP_DIV): Likewise.
22253         (_FP_CMP_CHECK_NAN): Likewise.
22254         (_FP_SQRT): Likewise.
22255         (_FP_TO_INT): Likewise.
22256         (FP_EXTEND): Likewise.
22258 2014-10-09  Allan McRae  <allan@archlinux.org>
22260         * po/fr.po: Update French translation from translation project.
22262 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
22264         [BZ #14132]
22265         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
22266         of INTDEF.
22267         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
22268         (__cxa_atexit): Use libc_hidden_proto.
22269         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
22271         [BZ #14132]
22272         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
22273         declaration.
22274         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
22275         [!_ISOMAC] (__iswspace_l_internal): Likewise.
22276         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
22277         [!_ISOMAC] (__iswctype_internal): Likewise.
22278         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
22279         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
22280         alias.
22281         (fcntl): Remove __fcntl_internal alias.
22282         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
22283         __connect_internal alias.
22284         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
22285         Likewise.
22287         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
22288         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
22289         FP_DENORM_ZERO.
22290         (_FP_CHECK_FLUSH_ZERO): New macro.
22291         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
22292         (_FP_CMP): Likewise.
22293         (_FP_CMP_EQ): Likewise.
22294         (_FP_TO_INT): Do not set inexact for subnormal arguments if
22295         FP_DENORM_ZERO.
22296         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
22297         (FP_TRUNC): Likewise.
22299         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
22300         treated as invalid conversion, not as normal exponent.
22302         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
22303         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
22304         (_FP_CMP_EQ): Likewise.
22305         (_FP_CMP_UNORD): Likewise.
22306         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
22307         (FP_CMP_EQ_D): Likewise.
22308         (FP_CMP_UNORD_D): Likewise.
22309         * soft-fp/extended.h (FP_CMP_E): Likewise.
22310         (FP_CMP_EQ_E): Likewise.
22311         (FP_CMP_UNORD_E): Likewise.
22312         * soft-fp/quad.h (FP_CMP_Q): Likewise.
22313         (FP_CMP_EQ_Q): Likewise.
22314         (FP_CMP_UNORD_Q): Likewise.
22315         * soft-fp/single.h (FP_CMP_S): Likewise.
22316         (FP_CMP_EQ_S): Likewise.
22317         (FP_CMP_UNORD_S): Likewise.
22318         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
22319         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
22320         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
22321         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
22322         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
22323         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
22324         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
22325         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
22326         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
22327         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
22328         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
22329         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
22330         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
22331         to FP_CMP_Q.
22332         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
22333         FP_CMP_Q.
22334         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
22335         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
22336         FP_CMP_EQ_Q.
22337         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
22338         FP_CMP_Q.
22339         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
22340         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
22341         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
22342         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
22343         FP_CMP_EQ_Q.
22344         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
22345         FP_CMP_Q.
22346         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
22347         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
22348         FP_CMP_EQ_Q.
22349         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
22350         FP_CMP_Q.
22351         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
22352         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
22353         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
22354         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
22355         FP_CMP_EQ_Q.
22357         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
22358         a subnormal result, set the underflow exception if trapping on
22359         underflow is enabled.
22360         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
22361         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
22362         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
22363         redefine to 0.
22364         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
22365         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22366         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22367         * soft-fp/extendxftf2.c (__extendxftf2): Use
22368         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
22370         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
22371         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
22372         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22373         FP_HANDLE_EXCEPTIONS.
22374         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
22375         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22376         FP_HANDLE_EXCEPTIONS.
22377         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
22378         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22379         FP_HANDLE_EXCEPTIONS.
22380         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
22381         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22382         FP_HANDLE_EXCEPTIONS.
22384 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
22386         [BZ #14132]
22387         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
22388         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
22389         use INTUSE.
22390         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
22391         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
22392         Remove alias.
22393         (__adjtimex): Define using libc_hidden_ver.
22394         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
22395         Remove declaration.
22396         (ntp_gettime): Call __adjtimex directly.
22397         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
22398         Remove declaration.
22399         (ntp_gettimex): Call __adjtimex directly.
22400         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
22401         __adjtimex_internal alias.
22403 2014-10-08  Roland McGrath  <roland@hack.frob.com>
22405         [BZ #17460]
22406         * nscd/nscd.c (more_help): Rewrite list of tables collection
22407         using xstrdup and asprintf.
22409         * nscd/nscd_conf.c: Remove local xstrdup declaration.
22411 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22412             Roland McGrath  <roland@hack.frob.com>
22414         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
22415         (do_lookup_unique): ... local function 'enter' here; update callers.
22417 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
22419         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
22420         compat_symbol calls on [SHARED].
22421         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
22422         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
22423         Remove.
22424         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22425         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
22426         (oldsetrlimit): Remove.
22427         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22429         (lchown): New syscall entry.
22430         (oldsetrlimit): Remove.
22431         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22432         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
22433         (oldsetrlimit): Remove.
22434         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22436         [BZ #14138]
22437         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
22438         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
22439         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
22440         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
22441         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22442         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
22443         (fchown): Likewise.
22444         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
22445         (fchown): Likewise.
22446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
22447         Likewise.
22449 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22451         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
22452         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
22453         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
22454         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
22455         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
22456         Likewise.
22457         (__old_sem_post): Likewise.
22459 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
22461         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
22462         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
22463         HAVE_CLOCK_GETTIME_VSYSCALL macros.
22464         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
22465         Use INLINE_VSYSCALL macro.
22466         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
22467         __vdso_clock_gettime.
22468         * sysdeps/unix/sysv/linux/tile/init-first.c
22469         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
22470         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
22471         __vdso_clock_gettime.
22473         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
22474         to set up frame more cleanly.
22476         * sysdeps/tile/memcmp.c: New file.
22478         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
22480         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
22481         * sysdeps/tile/tilegx/strcasestr.c: New file.
22482         * sysdeps/tile/tilegx/strnlen.c: New file.
22483         * sysdeps/tile/tilegx/strstr.c: New file.
22485         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
22487 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
22489         * nptl/tst-setuid3.c: Write errors to stdout.
22491 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22493         * elf/dl-deps.c
22494         (preload): New functions broken out of _dl_map_object_deps.
22495         (_dl_map_object_deps):  Remove a nested function. Update call sites.
22497 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
22499         [BZ #14138]
22500         * sysdeps/unix/sysv/linux/execve.c: Remove file.
22501         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
22503 2014-10-01  Steve Ellcey  <sellcey@mips.com>
22505         * sysdeps/mips/strcmp.S: New.
22507 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
22509         [BZ #14138]
22510         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
22511         (linkat): Likewise.
22512         (mkdirat): Likewise.
22513         (readlinkat): Likewise.
22514         (renameat): Likewise.
22515         (symlinkat): Likewise.
22516         (unlinkat): Likewise.
22517         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
22518         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
22519         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
22520         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
22521         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
22522         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
22523         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
22525 2014-09-30  Will Newton  <will.newton@linaro.org>
22527         * math/math.h: Define long double math functions if
22528         _LIBC_TEST is defined.
22529         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
22531         * localedata/Makefile: Move assignment to tests-special
22532         into an ifdef testing run-built-tests.
22533         * timezone/Makefile: Likewise.
22535 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
22537         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
22538         with $(BASH) not $(SHELL).
22540 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
22541             Matthew LeGendre  <legendre1@llnl.gov>
22543         [BZ #17411]
22544         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
22545         l_reloc_result.
22547 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22549         * stdio-common/printf_fp.c
22550         (hack_digit): New function, broken out of ...
22551         (__printf_fp): ... local function here.  Update call sites.
22552         hack_digit now takes an additional parameter that is a pointer
22553         to a struct of the referenced locals.  Those locals moved inside
22554         the struct and references updated.
22556 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
22558         * aclocal.m4: Require autoconf 2.69.
22559         * configure: Regenerated.
22560         * sysdeps/aarch64/configure: Likewise.
22561         * sysdeps/alpha/configure: Likewise.
22562         * sysdeps/arm/armv7/configure: Likewise.
22563         * sysdeps/arm/configure: Likewise.
22564         * sysdeps/ia64/configure: Likewise.
22565         * sysdeps/mach/configure: Likewise.
22566         * sysdeps/mips/configure: Likewise.
22567         * sysdeps/s390/configure: Likewise.
22568         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
22569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
22571         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
22572         file.
22573         * sysdeps/ia64/configure.ac: Likewise.
22575 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
22577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
22578         specify symbol version for ld.so.  Do not include entry for
22579         libpthread.
22580         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22581         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22582         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22584         [BZ #14171]
22585         * Makeconfig [$(build-shared) = yes]
22586         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
22587         makefiles.
22588         [$(build-shared) = yes && $(soversions.mk-done) = t]
22589         ($(common-objpfx)gnu/lib-names.h): Remove rule.
22590         [$(build-shared) = yes && $(soversions.mk-done) = t]
22591         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
22592         to Makerules.
22593         [$(build-shared) = yes && $(soversions.mk-done) = t]
22594         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
22595         here.
22596         [$(build-shared) = yes && $(soversions.mk-done) = t]
22597         (common-generated): Don't append gnu/lib-names.h and
22598         gnu/lib-names.stmp here.
22599         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
22600         (lib-names-h-abi): New variable.
22601         [$(build-shared) = yes && $(soversions.mk-done) = t]
22602         (lib-names-stmp-abi): Likewise.
22603         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22604         abi-variants] (before-compile): Append
22605         $(common-objpfx)$(lib-names-h-abi).
22606         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22607         abi-variants] (common-generated): Append gnu/lib-names.h.
22608         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22609         abi-variants] (install-others-nosubdir): Depend on
22610         $(inst_includedir)/$(lib-names-h-abi).
22611         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22612         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
22613         [$(build-shared) = yes && $(soversions.mk-done) = t]
22614         ($(common-objpfx)$(lib-names-h-abi)): New rule.
22615         [$(build-shared) = yes && $(soversions.mk-done) = t]
22616         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
22617         [$(build-shared) = yes && $(soversions.mk-done) = t]
22618         (common-generated): Append $(lib-names-h-abi) and
22619         $(lib-names-stmp-abi).
22620         * scripts/lib-names.awk: Do not handle multi being set.
22621         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
22622         Remove variable.
22623         (abi-lp64_be-ld-soname): Likewise.
22624         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
22625         Likewise.
22626         (abi-hard-ld-soname): Likewise.
22627         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
22628         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
22629         Remove variable.
22630         (abi-o32_hard-ld-soname): Likewise.
22631         (abi-o32_soft_2008-ld-soname): Likewise.
22632         (abi-o32_hard_2008-ld-soname): Likewise.
22633         (abi-n32_soft-ld-soname): Likewise.
22634         (abi-n32_hard-ld-soname): Likewise.
22635         (abi-n32_soft_2008-ld-soname): Likewise.
22636         (abi-n32_hard_2008-ld-soname): Likewise.
22637         (abi-n64_soft-ld-soname): Likewise.
22638         (abi-n64_hard-ld-soname): Likewise.
22639         (abi-n64_soft_2008-ld-soname): Likewise.
22640         (abi-n64_hard_2008-ld-soname): Likewise.
22641         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
22642         Likewise.
22643         (abi-64-v2-ld-soname): Likewise.
22644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
22645         ld.so entries.
22646         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
22647         variable.
22648         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
22649         entry.
22650         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
22651         variable.
22652         (abi-64-ld-soname): Likewise.
22653         (abi-x32-ld-soname): Likewise.
22654         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
22655         entry.
22656         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22658 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
22660         [BZ #14138]
22661         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
22662         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
22663         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
22664         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
22665         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
22666         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
22667         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
22668         syscall entry for GLIBC_2.2 symbol version.
22669         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
22670         Likewise.
22671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22672         (setrlimit): Likewise.
22673         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
22674         Likewise.
22676 2014-09-23  Will Newton  <will.newton@linaro.org>
22678         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
22679         _LINUX_ARM_SYSDEP_H include guard too.
22680         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
22681         define.
22683 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
22685         * sysdeps/unix/sysv/linux/eventfd.c:
22686         Make first argument unsigned.
22687         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
22688         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
22690 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
22692         * socket/recvmmsg.c (recvmmsg): Drop const argument.
22693         * socket/sys/socket.h: Likewise.
22694         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
22696 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22698         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
22700 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
22702         * time/tst-ftime.c: New test.
22703         * time/Makefile (tests): Add tst-ftime.
22705 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
22707         * soft-fp/extended.h: Fix comment formatting.
22708         * soft-fp/op-1.h: Likewise.
22709         * soft-fp/op-2.h: Likewise.
22710         * soft-fp/op-4.h: Likewise.
22711         * soft-fp/op-8.h: Likewise.
22712         * soft-fp/op-common.h: Likewise.
22713         * soft-fp/soft-fp.h: Likewise.
22715         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
22717 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
22719         [BZ #6652]
22720         * Makeconfig (soversions-default-setname): Remove variable.
22721         ($(common-objpfx)soversions.i): Don't pass default_setname to
22722         soversions.awk.
22723         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
22724         oldest_abi to abi-versions.awk.
22725         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
22726         * config.make.in (oldest-abi): Remove variable.
22727         * configure.ac (--enable-oldest-abi): Remove configure option.
22728         * configure: Regenerated.
22729         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
22730         text.
22731         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
22732         * scripts/soversions.awk: Do not handle default_setname variable.
22733         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
22734         variable.
22735         * sysdeps/mach/hurd/configure: Regenerated.
22736         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
22737         variable.
22738         * sysdeps/unix/sysv/linux/configure: Regenerated.
22740 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22742         * elf/Makefile (CFLAGS-interp.c): Remove.
22743         ($(elf-objpfx)runtime-linker.h): Generate header with linker
22744         path string.
22745         * elf/interp.c: Include generated runtime-linker.h
22747         * Makerules (lib%.so): Don't include $(+interp) in
22748         prerequisites.
22749         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
22750         * dlfcn/eval.c: Remove file.
22752         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
22753         macros.
22755         [BZ #17266]
22756         * misc/sys/cdefs.h: Define __extern_always_inline for clang
22757         4.2 and newer.
22759         [BZ #17370]
22760         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
22762 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22763             Jakub Jelinek  <jakub@redhat.com>
22765         [BZ #17266]
22766         * libio/stdio.h: Check definition of __fortify_function
22767         instead of __extern_always_inline to include bits/stdio2.h.
22768         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
22769         check if __extern_always_inline is defined.
22770         [__USE_MISC || __USE_XOPEN]: Likewise.
22771         [__USE_ISOC99] Likewise.
22772         * misc/sys/cdefs.h (__fortify_function): Define only if
22773         __extern_always_inline is defined.
22774         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
22775         __extern_always_inline and __extern_inline only for g++-4.3
22776         and newer or a compatible gcc.
22778 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
22780         [BZ #17371]
22781         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
22782         last change to handle zero prefix length.
22784 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22786         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
22787         _SC_REGEX_VERSION.
22789         * posix/getconf.c (vars): Add _POSIX_IPV6 and
22790         _POSIX_RAW_SOCKETS.
22792 2014-09-13  Allan McRae  <allan@archlinux.org>
22794         * po/ru.po: Update Russian translation from translation project.
22796 2014-09-12  Roland McGrath  <roland@hack.frob.com>
22798         * locale/programs/locale.c (show_locale_vars): Inline local function
22799         into its sole call site.  Clean up some style nits.
22800         (print_item): New function, broken out of ...
22801         (show_info): ... local function here.  Clean up style nits.
22803         * locale/programs/ld-ctype.c (set_one_default): New function, broken
22804         out of ...
22805         (set_class_defaults): ... local function set_default here.
22806         Define set_default as a macro locally to pass constant parameters.
22807         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
22808         rather than a shared local.
22810         * stdlib/rpmatch.c (try): New function, broken out of ...
22811         (rpmatch): ... local function here.  Also, prototypify definition.
22813 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
22815         * scripts/soversions.awk: Do not handle configuration names.
22816         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
22817         vendor and os variables to soversions.awk.
22818         * configure.ac: Do not modify gnu-* host_os.
22819         * configure: Regenerated
22820         * shlib-versions: Remove first column with configuration names.
22821         * nptl/shlib-versions: Likewise.
22822         * nptl_db/shlib-versions: Likewise.
22823         * sysdeps/hppa/shlib-versions: Likewise.
22824         * sysdeps/m68k/shlib-versions: Likewise.
22825         * sysdeps/mach/hurd/shlib-versions: Likewise.
22826         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
22827         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
22828         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
22829         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
22830         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
22831         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
22832         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
22833         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
22834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
22835         Likewise.
22836         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22837         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
22838         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
22839         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
22840         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
22841         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
22842         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22843         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22846         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
22847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22848         Regenerated.
22849         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
22850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
22851         Condition symbol version definitions on [HAVE_ELFV2_ABI].
22853         * shlib-versions: Remove OS-specific entries.  Moved to files in
22854         sysdeps.
22855         * sysdeps/mach/hurd/shlib-versions: New file.
22856         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
22858         * nptl/shlib-versions: Remove architecture-specific entries.
22859         Moved to files in sysdeps.
22860         * shlib-versions: Likewise.
22861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
22862         file.
22863         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22864         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
22865         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
22866         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
22868         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
22869         (UDP_NO_CHECK6_RX): Likewise.
22871 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22873         * sysdeps/posix/sysconf.c (__sysconf): Spell
22874         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
22876 2014-08-12  Florian Weimer  <fweimer@redhat.com>
22878         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
22879         loading.
22880         * iconv/Versions (__gconv_transliterate): Export for use from
22881         gconv modules.
22882         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
22883         (struct __gconv_trans_data, __gconv_trans_fct,
22884         __gconv_trans_context_fct, __gconv_trans_query_fct,
22885         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
22886         definitions.
22887         (struct __gconv_step_data): Remove __trans member.
22888         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
22889         longer hidden.  Remove unused trans_data argument.
22890         * iconv/gconv_int.h (struct trans_struct): Remove definition.
22891         (__gconv_translit_find): Remove declaration.
22892         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
22893         prototype.
22894         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
22895         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
22896         trans_data argument.  Add hidden definition.
22897         (__gconv_translit_find): Remove.
22898         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
22899         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
22900         * iconv/skeleton.c: Remove transliteration initialization.
22901         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
22902         __gconv_step_data initialization.
22903         * libio/iofwide.c (__libio_translit_): Remove.
22904         (_IO_fwide): Adjust struct __gconv_step_data initialization.
22905         * wcsmbs/btowc.c (__btowc): Likewise.
22906         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22907         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22908         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
22909         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
22910         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
22911         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
22912         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
22913         * wcsmbs/wctob.c (wctob): Likewise.
22915 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22917         [BZ #16194]
22918         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
22919         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
22920         register usage.
22921         * sysdeps/x86/Makefile: Adjust.
22923 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22924             Roland McGrath  <roland@hack.frob.com>
22926         * locale/weight.h: Add include guard.
22927         (findidx): Make static rather than auto; take new parameters
22928         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
22929         * locale/weightwc.h: Likewise.
22930         * posix/fnmatch_loop.c
22931         (FCT): Change type of EXTRA from int32_t to wint_t.
22932         Don't include either header inside the function.
22933         Call FINDIDX rather than findidx, and pass new arguments.
22934         #undef FINDIDX at the end of the file.
22935         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
22936         FINDIDX before including fnmatch_loop.c for the non-wide version.
22937         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
22938         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
22939         for the wide version.
22940         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
22941         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
22942         Pass new arguments to findidx.
22943         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
22944         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
22945         Don't #include it inside the function.  Pass new arguments to findidx.
22946         * posix/regex_internal.h
22947         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
22948         (re_string_elem_size_at): Don't #include it inside the function.
22949         Pass new arguments to findidx.
22950         * string/strcoll_l.c: #include WEIGHT_H at top level.
22951         (get_next_seq): Don't #include it inside the function.
22952         Pass new arguments to findidx.
22953         (get_next_seq_nocache): Likewise.
22954         * string/strxfrm_l.c: #include WEIGHT_H at top level.
22955         (STRXFRM): Don't #include it inside the function.
22956         Pass new arguments to findidx.
22958 2014-09-11  Florian Weimer  <fweimer@redhat.com>
22960         [BZ #17344]
22961         * malloc/malloc.c (unlink): Turn asserts into a call to
22962         malloc_printerr.
22964 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
22966         [BZ #17370]
22967         * libio/wfileops (do_ftell_wide): Free OUT.
22969 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
22971         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
22973 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22975         [BZ #17363]
22976         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
22977         group if the current group is empty.
22979 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22981         * benchtests/bench-memset.c (test_main): Add more test from size
22982         from 32 to 512 bytes.
22983         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22984         Add POWER8 memset object.
22985         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22986         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
22987         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
22988         implementation.
22989         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
22990         Likewise.
22991         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
22992         multiarch POWER8 memset optimization.
22993         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
22994         POWER8 memset optimization.
22996         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22997         Remove bzero multiarch objects.
22998         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
22999         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
23000         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
23001         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
23002         Remove define.
23003         [__bzero]: Redefine to specific name.
23004         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23005         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23006         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
23007         define.
23008         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23009         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23011 2014-09-10  Florian Weimer  <fweimer@redhat.com>
23013         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
23014         warnings into errors.
23016         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
23017         __cxa_thread_atexit_impl prototype.
23019 2014-09-09  Steve Ellcey  <sellcey@mips.com>
23021         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
23022         Fix capitalization of error message.
23024 2014-09-09  Steve Ellcey  <sellcey@mips.com>
23026         * sysdeps/mips/preconfigure: Modify ABI tests.
23028 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
23030         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
23032 2014-09-07  Roland McGrath  <roland@hack.frob.com>
23033             Carlos O'Donell  <carlos@systemhalted.org>
23035         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
23036         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
23037         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
23038         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
23039         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
23040         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
23041         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
23042         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
23043         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
23044         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
23045         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
23046         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
23047         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
23048         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
23049         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
23050         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
23051         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
23052         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
23053         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
23054         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
23055         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
23056         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
23057         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
23058         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
23059         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
23060         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
23061         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
23062         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
23063         Deconditionalize the code that was previously under [RESET_PID].
23064         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
23065         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
23066         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
23067         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
23068         include sysdep.h.
23070 2014-09-08  Allan McRae  <allan@archlinux.org>
23072         * version.h (RELEASE): Set to "development".
23073         (VERSION): Set to "2.20.90"
23075 2014-09-07  Allan McRae  <allan@archlinux.org
23077         * version.h (RELEASE): Set to "stable".
23078         (VERSION): Set to "2.20"
23079         * include/features.h (__GLIBC_MINOR__): Set to 20.
23081         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
23082         Liebler.
23084         * po/ko.po: Update Korean translation from translation project.
23086 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
23088         [BZ #17354]
23089         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
23090         macro for handling signed relocations.
23092 2014-09-03  Florian Weimer  <fweimer@redhat.com>
23094         [BZ #17325]
23095         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
23096         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
23097         assert.
23098         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
23099         * iconvdata/ibm935.c (BODY): Likewise.
23100         * iconvdata/ibm937.c (BODY): Likewise.
23101         * iconvdata/ibm939.c (BODY): Likewise.
23102         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
23103         assert.
23104         * iconvdata/Makefile (iconv-test.out): Pass module list to test
23105         script.
23106         * iconvdata/run-iconv-test.sh: New test loop for checking for
23107         decoder crashers.
23109 2014-09-02  Khem Raj  <raj.khem@gmail.com>
23111         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
23112         libm_hidden_ver.
23114 2014-09-01  Allan McRae  <allan@archlinux.org>
23116         * po/eo.po: Update Esperanto translation from translation project.
23118         * po/ca.po: Update Catalan translation from translation project.
23120 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23122         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
23123         __proc_dostop call.
23125 2014-08-27  Mark Wielaard  <mjw@redhat.com>
23127         [BZ #17319]
23128         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
23129         to call set_thread_area instead of hand written asm.
23130         (__NR_set_thread_area): Removed define.
23131         (TLS_FLAG_WRITABLE): Likewise.
23132         (__ASSUME_SET_THREAD_AREA): Remove check.
23133         (TLS_EBX_ARG): Remove define.
23134         (TLS_LOAD_EBX): Likewise.
23136 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23138         Simplify atomicity of socket creation in bind.
23140         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
23141         looking up the name after linking the file.
23143 2014-08-27  Allan McRae  <allan@archlinux.org>
23145         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23147 2014-08-26  Florian Weimer  <fweimer@redhat.com>
23149         [BZ #17187]
23150         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
23151         trans_compare, open_translit, __gconv_translit_find):
23152         Remove module loading code.
23154 2014-08-26  Allan McRae  <allan@archlinux.org>
23156         * po/vi.po: Update Vietnamese translation from translation project.
23158         * po/uk.po: Update Ukrainian translation from translation project.
23160         * po/fr.po: Update French translation from translation project.
23162         * po/ru.po: Update Russian translation from translation project.
23164         * po/pl.po: Update Polish translation from translation project.
23166         * po/cs.po: Update Czech translation from translation project.
23168         * po/de.po: Update German translation from translation project.
23170         * po/bg.po: Update Bulgarian translation from translation project.
23172         * po/sv.po: Update Sweedish translation from translation project.
23174         * po/nl.po: Update Dutch translation from translation project.
23176         * po/es.po: Update Spanish translation from translation project.
23178 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23180         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
23182         * catgets/Makefile (CPPFLAGS-gencat): Remove.
23183         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
23184         (CPPFLAGS-iconvconfig): Likewise.
23185         * timezone/Makefile (CPPFLAGS-zic): Likewise.
23187         * include/libc-symbols.h: Remove unnecessary check for
23188         NOT_IN_libc.
23189         * nptl/pthreadP.h: Likewise.
23190         * sysdeps/aarch64/setjmp.S: Likewise.
23191         * sysdeps/alpha/setjmp.S: Likewise.
23192         * sysdeps/arm/sysdep.h: Likewise.
23193         * sysdeps/i386/setjmp.S: Likewise.
23194         * sysdeps/m68k/setjmp.c: Likewise.
23195         * sysdeps/posix/getcwd.c: Likewise.
23196         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23197         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
23198         * sysdeps/s390/s390-32/setjmp.S: Likewise.
23199         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23200         * sysdeps/sh/sh3/setjmp.S: Likewise.
23201         * sysdeps/sh/sh4/setjmp.S: Likewise.
23202         * sysdeps/unix/alpha/sysdep.h: Likewise.
23203         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23204         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23205         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23206         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23209         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23210         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23211         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23212         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23213         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23214         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23215         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23216         * sysdeps/x86_64/setjmp.S: Likewise.
23218 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
23220         [BZ #17263]
23221         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
23222         <stdint.h>.
23223         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
23224         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
23226 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23228         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
23230         [BZ #17262]
23231         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
23232         and __x86_64__ when disabling x87 inline functions.
23234 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
23236         [BZ #17259]
23237         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
23238         asm statement with __cpuid_count.
23240 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
23242         * configure.ac: Change __ehdr_start code to dereference the struct.
23243         Run readelf on the output to look for relocations.
23244         * configure: Regenerated.
23246 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
23248         [BZ #17261]
23249         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
23250         value to 0.
23251         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
23253 2014-08-12  Roland McGrath  <roland@hack.frob.com>
23255         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
23257 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
23259         [BZ #16892]
23260         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
23261         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
23263 2014-08-12  Sean Anderson  <seanga2@gmail.com>
23265         * malloc/malloc.c: Fix typo in comment.
23267 2014-08-09  Allan McRae  <allan@archlinux.org>
23269         * Regenerate libc.po.
23271 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
23273         * intl/tst-gettext2.sh: Check every lang file for creation.
23275 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
23277         * sysdeps/aarch64/fpu/math_private.h
23278         (libc_feholdsetround_noex_aarch64_ctx): New function.
23280 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
23282         * sysdeps/arm/armv6/strcpy.S (strcpy):
23283         Fix performance issue in misaligned cases.
23285 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23287         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
23288         Move definition from termios.h.
23289         (struct termio): Likewise.
23290         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23291         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23292         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23293         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23294         Likewise.
23295         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
23296         Move definition to ioctl-types.h
23297         (struct termio): Likewise.
23298         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23299         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23300         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23301         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23302         Likewise.
23304 2014-08-05  Richard Henderson  <rth@redhat.com>
23306         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
23307         exceptions.
23308         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
23309         Add fraiseexcpt.
23310         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
23311         Use __feraiseexcept.
23312         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
23313         Protect libm symbols with IS_IN_libm.
23315         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
23317 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
23319         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
23321 2014-08-04  Will Newton  <will.newton@linaro.org>
23323         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
23324         file.
23326 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
23328         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
23329         variants for each function.
23331 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23333         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
23334         appended ...
23335         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
23336         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
23337         appended ...
23338         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
23339         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
23340         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
23341         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
23342         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
23343         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
23344         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
23345         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
23346         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
23347         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
23348         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
23349         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
23350         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
23351         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
23352         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
23353         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
23354         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
23355         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
23356         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
23357         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
23358         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
23359         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
23360         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
23361         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
23362         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
23363         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
23364         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
23365         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
23366         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
23367         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
23368         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
23369         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
23370         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
23371         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
23372         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
23373         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
23374         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
23375         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
23376         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
23377         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
23378         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
23379         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
23380         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
23381         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
23382         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
23383         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
23384         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
23385         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
23386         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
23387         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
23388         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
23389         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
23390         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
23391         Update #include.
23392         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
23393         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
23395 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23397         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
23398         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
23399         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
23400         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
23401         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
23402         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
23404 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23406         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
23407         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
23408         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23409         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
23411 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23413         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
23414         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
23415         (__libc_vfork): Define function under this name.
23416         (__vfork): Define as an alias.
23417         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
23418         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
23420 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23422         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
23423         that was previously under [RESET_PID].
23424         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
23426 2014-08-04  Andreas Schwab  <schwab@suse.de>
23428         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
23430 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
23432         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
23433         (main): Likewise.
23435 2014-08-01  Roland McGrath  <roland@hack.frob.com>
23437         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
23439 2014-08-01  Richard Henderon  <rth@redhat.com>
23441         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
23442         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
23443         typo in exact zero test.
23444         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23445         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23446         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23448 2014-08-01  Roland McGrath  <roland@hack.frob.com>
23450         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
23451         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
23452         * sysdeps/arm/sysdep.h: ... here.
23453         [!__ASSEMBLER__]: Include <stdint.h>.
23455 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23457         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
23458         (HAVE_WCTYPE_H): Likewise.
23459         (HAVE_ISWCTYPE): Likewise.
23460         (ENABLE_NLS): Likewise.
23461         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
23462         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
23464         * posix/regex_internal.c: Check if DEBUG is defined and is
23465         set.
23467         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
23468         (HAVE_MBSRTOWCS): Likewise.
23469         * posix/fnmatch.c: Include string.h unconditionally.
23471 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23473         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
23474         reversal.
23476 2014-07-31  Roland McGrath  <roland@hack.frob.com>
23478         * sysdeps/generic/safe-fatal.h: New file.
23479         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
23480         * nptl/forward.c: Include it.
23481         (__pthread_unwind): Use __safe_fatal as default action, rather
23482         than a bogus use of INTERNAL_SYSCALL that could never work.
23484         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
23485         * configure.ac (libc_cv_builtin_trap): New test.
23486         * configure: Regenerated.
23487         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
23488         (ABORT_INSTRUCTION): Define using __builtin_trap.
23490         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
23491         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
23492         * sysdeps/nptl/nptl-signals.h: New file.
23493         * nptl/pthreadP.h: Include <nptl-signals.h>.
23495 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23497         * sysdeps/s390/s390-64/utf16-utf32-z9.c
23498         (ONE_DIRECTION): Define.
23499         * sysdeps/s390/s390-64/utf8-utf16-z9.c
23500         (ONE_DIRECTION): Define.
23501         * sysdeps/s390/s390-64/utf8-utf32-z9.c
23502         (ONE_DIRECTION): Define.
23504 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23506         * sysdeps/s390/Makefile: Delete file.
23507         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
23508         * sysdeps/s390/__longjmp.c: Delete file.
23509         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
23510         Remove fields __flags and __reserved.
23511         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
23512         and add versioning.
23513         * sysdeps/s390/rtld-__longjmp.c: Delete file.
23514         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
23515         * sysdeps/s390/rtld-setjmp.S: Likewise.
23516         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
23517         * sysdeps/s390/s390-32/__longjmp.c: ... here.
23518         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
23519         * sysdeps/s390/s390-32/setjmp.S: ... here.
23520         Add versioning.
23521         (__sigsetjmp): Remove setting __flags field.
23522         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
23523         * sysdeps/s390/s390-64/__longjmp.c: ... here.
23524         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
23525         * sysdeps/s390/s390-64/setjmp.S: ... here.
23526         Add versioning.
23527         (__sigsetjmp): Remove setting __flags field.
23528         * sysdeps/s390/setjmp.S: Delete file.
23529         * sysdeps/s390/sigjmp.c: Likewise.
23530         * sysdeps/s390/v1-longjmp.c: Likewise.
23531         * sysdeps/s390/v1-setjmp.h: Likewise.
23532         * sysdeps/s390/v1-sigjmp.c: Likewise.
23533         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
23534         Remove v1-longjmp_chk.
23535         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
23536         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
23537         Include debug/longjmp_chk.c and add versioning.
23538         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
23539         Include nptl/pt-longjmp.c and add versioning.
23540         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
23541         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
23542         Include __longjmp.c.
23543         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23544         Move to ...
23545         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
23546         (__getcontext): Remove setting __flags field.
23547         Add versioning.
23548         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23549         Don't restore upper high grps.
23550         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
23551         Likewise.
23552         (__swapcontext): Remove setting uc_flags field.
23553         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
23554         Delete file.
23555         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23556         Include __longjmp.c.
23557         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23558         Move to ...
23559         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
23560         (__getcontext): Remove setting __flags field.
23561         Add versioning.
23562         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
23563         (__swapcontext): Remove setting uc_flags field.
23564         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
23565         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
23566         Remove fields uc_high_gprs and __reserved.
23567         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
23568         New file with reverted content.
23569         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
23570         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
23571         Regenerated.
23572         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
23573         Regenerated.
23575 2014-07-31  Andreas Schwab  <schwab@suse.de>
23577         * config.h.in (HAVE_IFUNC): Define to 0.
23578         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
23579         definedness.
23581 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
23583         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23584         memmove-avx-unaligned, memcpy-avx-unaligned and
23585         mempcpy-avx-unaligned.
23586         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23587         Add tests for AVX memcpy functions.
23588         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
23589         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
23590         memcpy_chk.
23591         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
23592         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
23593         memmove_chk.
23594         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
23595         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
23596         mempcpy_chk.
23597         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
23598         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
23599         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
23601 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23603         [BZ #17213]
23604         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
23605         powerpc64le.
23607 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
23609         [BZ #16839]
23610         * manual/llio.texi: Add section about open file description locks.
23611         * manual/examples/ofdlocks.c: Example of open file description
23612         lock usage.
23613         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
23614         F_OFD_SETLK, and F_OFD_SETLKW.
23616 2014-07-23  Allan McRae  <allan@archlinux.org>
23618         * po/es.po: Update Spanish translation from translation project.
23620 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
23622         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
23624 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
23626         [BZ #17078]
23627         * sysdeps/arm/dl-machine.h (elf_machine_rela)
23628         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
23629         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
23631 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
23633         [BZ #17088]
23634         * math/fesetenv.c (__fesetenv)
23635         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
23636         * math/feupdateenv.c (__feupdateenv)
23637         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
23639         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
23640         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
23641         (__ASSUME_SOCKETCALL): Do not define.
23643         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
23644         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
23645         (__ASSUME_SOCKETCALL): Do not define.
23646         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
23647         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23648         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23649         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23650         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23651         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
23652         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23653         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23655         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
23656         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
23657         (__ASSUME_SOCKETCALL): Do not define.
23658         (__ASSUME_IPC64): Define unconditionally.
23659         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23660         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23661         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23662         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23663         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
23664         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23665         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
23666         Likewise.
23668         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
23669         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
23670         (__ASSUME_SOCKETCALL): Do not define.
23671         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
23672         (__ASSUME_FUTEX_LOCK_PI): Likewise.
23673         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23674         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23675         (__ASSUME_REQUEUE_PI): Define unconditionally.
23676         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
23677         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23678         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23679         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
23680         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23681         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23683         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
23684         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
23685         (__ASSUME_SOCKETCALL): Do not define.
23686         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
23687         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23688         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23689         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
23690         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23691         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23693         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
23694         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
23695         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23696         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
23697         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23698         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
23699         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23700         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
23701         (__ASSUME_GETCPU_SYSCALL): Likewise.
23703         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
23704         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
23705         cases for individual architectures.
23706         * sysdeps/gnu/configure: Regenerated.
23707         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
23708         LIBC_SLIBDIR_RTLDDIR.
23709         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
23710         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
23711         LIBC_SLIBDIR_RTLDDIR.
23712         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
23713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
23714         LIBC_SLIBDIR_RTLDDIR.
23715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
23716         Regenerated.
23717         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
23718         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
23719         file.
23720         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
23721         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
23722         file.
23723         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
23724         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
23725         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
23726         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
23728         * sysdeps/aarch64/shlib-versions: Move to ...
23729         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
23730         * sysdeps/alpha/shlib-versions: Move to ...
23731         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
23732         * sysdeps/arm/shlib-versions: Move to ...
23733         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
23734         * sysdeps/hppa/shlib-versions: Move all contents except for
23735         libgcc_s entry to ...
23736         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
23737         entry from ...
23738         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
23739         * sysdeps/ia64/shlib-versions: Move to ...
23740         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
23741         entry from ...
23742         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
23743         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
23744         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
23745         * sysdeps/microblaze/shlib-versions: Move to ...
23746         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
23747         * sysdeps/mips/shlib-versions: Move to ...
23748         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
23749         entry from ...
23750         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
23751         * sysdeps/tile/shlib-versions: Move to ...
23752         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
23753         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
23754         from ...
23755         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
23756         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
23757         entry from ...
23758         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
23760 2014-07-17  Will Newton  <will.newton@linaro.org>
23762         * sysdeps/arm/bits/atomic.h
23763         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
23764         (__arch_compare_and_exchange_bool_16_int): Likewise.
23765         (__arch_compare_and_exchange_bool_64_int): Likewise.
23767         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
23768         into an #else block.
23770 2014-07-16  Roland McGrath  <roland@hack.frob.com>
23772         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
23773         just Linux configurations.  Test empirically that the compiler sets
23774         __ARM_EABI__, rather than using the tuple to decide.
23775         * sysdeps/arm/preconfigure: Regenerated.
23776         * sysdeps/unix/sysv/linux/arm/configure: File removed.
23777         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
23778         contents appended ...
23779         * sysdeps/arm/configure.ac: ... here.
23780         * sysdeps/arm/configure: Regenerated.
23782 2014-07-15  Roland McGrath  <roland@hack.frob.com>
23784         * nptl/pthread_kill.c: New file.
23785         * nptl/pthread_sigmask.c: New file.
23786         * nptl/pthread_sigqueue.c: New file.
23788         * sysdeps/nptl/lowlevellock.h: New file.
23789         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
23790         * sysdeps/nptl/lowlevellock-futex.h: New file.
23792         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
23793         Remove dead declarations.
23795 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
23797         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
23798         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
23799         config-cflags-avx2.
23800         * sysdeps/x86_64/configure.ac: Likewise.
23801         * sysdeps/i386/configure: Regenerated.
23802         * sysdeps/x86_64/configure: Likewise.
23803         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23804         memset-avx2 only if config-cflags-avx2 is yes.
23805         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23806         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
23807         defined.
23808         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
23809         only if HAVE_AVX2_SUPPORT is defined.
23810         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23812 2014-07-14  Alan Modra  <amodra@gmail.com>
23814         [BZ #17153]
23815         * elf/elf.h (DT_PPC64_NUM): Correct value.
23816         * NEWS: Add to fixed bug list.
23818 2014-07-13  Jim Meyering  <meyering@fb.com>
23820         [BZ 17150]
23821         regex: don't deref NULL upon heap allocation failure
23822         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
23823         failure in one more place.
23824         To trigger the segfault, configure grep -with-included-regex,
23825         build it, and run these commands:
23826         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
23828 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
23830         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23832 2014-07-11  Richard Henderson  <rth@redhat.com>
23834         * sysdeps/aarch64/libm-test-ulps: Update.
23836 2014-07-10  Florian Weimer  <fweimer@redhat.com>
23838         [BZ #17135]
23839         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
23840         * nptl/allocatestack.c (__nptl_setxid_error): New function.
23841         (__nptl_setxid): Initialize error member.  Call
23842         __nptl_setxid_error.
23843         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
23844         * nptl/descr.h (struct xid_command): Add error member.
23845         * nptl/tst-setuid3.c: New file.
23846         * nptl/Makefile (tests): Add it.
23848 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23850         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
23851         New define.
23852         (__lll_trylock): Use __lll_base_trylock.
23853         (__lll_cond_trylock): Likewise.
23855 2014-07-10  Roland McGrath  <roland@hack.frob.com>
23857         * nptl/pthread_create.c (start_thread): Use atomic_or and
23858         lll_futex_wake directly rather than lll_robust_dead.
23859         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
23860         (lll_robust_dead): Macro removed.
23861         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
23862         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
23863         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23864         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23865         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23866         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23867         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23868         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23869         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23870         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23871         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23872         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23873         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23874         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23875         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23877         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
23878         Use atomic_compare_and_exchange_val_acq directly rather than
23879         lll_robust_trylock.
23880         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
23881         (__lll_robust_trylock, lll_robust_trylock): Removed.
23882         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
23883         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23884         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23885         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23886         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23887         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23888         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23889         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23890         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23891         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23892         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23893         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23894         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23895         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23897 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23899         * manual/locale.texi (Locale Names): New section documenting
23900         locale name syntax.  Adjust menu and node chaining accordingly.
23901         (Choosing Locale): Reference Locale Names, Locale Categories.
23902         Mention setting LC_ALL=C.  Reflect that name syntax is now
23903         documented.
23904         (Locale Categories): New section title.  Reference Locale Names.
23905         LC_ALL is an environment variable, but not a category.
23906         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
23907         description, now in Locale Name.  Reference that section.  Locale
23908         name syntax is now documented.
23910 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23912         [BZ #17137]
23913         * locale/findlocale.c (name_present, valid_locale_name): New
23914         functions.
23915         (_nl_find_locale): Use the loc_name variable to store name
23916         candidates.  Call name_present and valid_locale_name to check and
23917         validate locale names.  Return an error if the locale is invalid.
23919 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23921         * locale/setlocale.c (setlocale): Use strdup for allocating
23922         composite name copy.
23924 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23926         Sync up with gnulib.
23927         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
23928         [!_LIBC && ENABLE_NLS]: Include gettext.h.
23929         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
23930         and _GL_ARG_NONNULL.
23931         [USE_UNLOCKED_IO]: Include unlocked-io.h.
23932         [!_LIBC]: Include code for Windows and Cygwin.
23933         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
23934         Include prototype for int strerror_r.
23935         [!_LIBC] (is_open): New function.
23936         (flush_stdout): New function.
23937         (print_errno_message): Use it.
23938         (error): Likewise.
23939         (error_at_line): Likewise.
23940         (error_tail) Add function attribute macros.  Use
23941         __builtin_expect.
23943         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
23945         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
23947         * io/ftw.c: Include sys/param.h unconditionally.
23949         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
23951         [BZ #17125]
23952         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
23953         libc_freeres_ptr.
23954         (freecache): New function to free CACHE on exit.
23956         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
23957         initialization.
23959 2014-07-09  David S. Miller  <davem@davemloft.net>
23961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23963         * sysdeps/sparc/nptl/internaltypes.h: Delete.
23964         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
23965         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
23966         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
23967         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
23968         * sysdeps/sparc/nptl/sem_init.c: Likewise.
23969         * sysdeps/sparc/nptl/sem_post.c: Likewise.
23970         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
23971         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
23972         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
23973         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
23974         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
23975         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
23977 2014-07-09  Andreas Schwab  <schwab@suse.de>
23979         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
23980         output.
23981         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
23982         (do_test): Likewise.
23984         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23986 2014-07-09  Will Newton  <will.newton@linaro.org>
23988         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
23989         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
23990         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
23991         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
23992         * sysdeps/hppa/start.S (_start): Likewise.
23994 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
23996         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
23998         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
23999         defined.
24001 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24003         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
24004         after checking that it is non-NULL.
24006         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
24008 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24010         * sysdeps/powerpc/memmove.c: Remove file.
24011         * sysdeps/powerpc/powerpc32/power4/memcopy.h
24012         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
24013         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24014         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
24015         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
24016         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
24017         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
24018         string memmove instead of removed powerpc one.
24020         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24021         [weak_alias]: Fix compiler warning due trailing data.
24022         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
24023         [weak_alias]: Likewise.
24024         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
24025         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
24027         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24028         (__libc_ifunc_impl_list): Add memmove functions.
24030 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24032         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
24033         Remove code.
24034         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
24035         Likewise.
24036         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
24037         Likewise.
24038         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
24039         Likewise.
24040         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
24041         Likewise.
24042         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
24043         Likewise.
24044         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
24045         Likewise.
24046         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
24047         Likewise.
24048         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
24049         Likewise.
24050         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
24051         Likewise.
24052         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
24053         Likewise.
24054         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
24055         Likewise.
24056         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
24057         Likewise.
24058         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
24059         Likewise.
24060         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
24061         Likewise.
24062         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
24063         Likewise.
24064         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
24065         Likewise.
24067 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24069         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
24070         to avoid alignment traps in non-cacheable memory.
24071         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24073         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
24074         multiarch objects.
24075         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
24076         file: multiarch power7 memmove.
24077         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
24078         multiarch default memmove.
24079         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
24080         multiarch memove for powerpc32/power4.
24082         * string/bcopy.c: Use full path to include memmove.c.
24083         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
24084         multiarch objects.
24085         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
24086         bcopy for powerpc64.
24087         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
24088         bcopy for powerpc64.
24089         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
24090         and memmove implementations.
24091         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
24092         optimized multiarch memmove for POWER7/powerpc64.
24093         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
24094         default multiarch memmove for powerpc64.
24095         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
24096         multiarch for powerpc64.
24097         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
24098         for POWER7/powerpc64.
24099         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
24100         memmove for POWER7/powerpc64.
24102         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
24103         glibc default one.
24105         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
24106         __ELF_NATIVE_CLASS equal to 64.
24108 2014-07-07  Roland McGrath  <roland@hack.frob.com>
24110         * sysdeps/nptl/lowlevellock.h: File removed.
24112         * NEWS: NPTL is no longer an add-on!
24113         * nptl/internaltypes.h: Moved ...
24114         * sysdeps/nptl/internaltypes.h: ... here.
24115         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
24116         * sysdeps/nptl/fork.c: Likewise.
24117         * sysdeps/nptl/gai_misc.h: Likewise.
24118         * sysdeps/nptl/librt-cancellation.c: Likewise.
24119         * sysdeps/nptl/jmp-unwind.c: Likewise.
24120         * sysdeps/nptl/setxid.h: Likewise.
24121         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
24122         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
24123         * sysdeps/unix/sysv/linux/arm/Implies: New file.
24124         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
24125         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
24126         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
24127         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
24128         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
24129         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
24130         * sysdeps/unix/sysv/linux/mips/Implies: New file.
24131         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
24132         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
24133         * sysdeps/unix/sysv/linux/sh/Implies: New file.
24134         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
24135         * sysdeps/unix/sysv/linux/tile/Implies: New file.
24136         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
24137         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
24138         * nptl/Makeconfig: Moved ...
24139         * sysdeps/nptl/Makeconfig: ... here.
24140         * nptl/configure: File removed.
24141         * nptl/ANNOUNCE: File removed.
24142         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
24143         * sysdeps/unix/sysv/linux/configure: Regenerated.
24145         * nptl/Makefile (routines): Add libc_pthread_init,
24146         libc_multiple_threads, register-atfork and unregister-atfork.
24147         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
24148         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
24149         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
24150         pthread-pi-defines.sym, structsem.sym.
24151         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
24152         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
24153         [$(subdir) = nptl] (tests): Add tst-setgetname.
24154         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
24155         * sysdeps/unix/sysv/linux/sigaction.c: Just include
24156         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
24157         [!LIBC_SIGACTION]: Remove aliases.
24158         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24159         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24160         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24161         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
24162         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
24163         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
24164         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24165         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24166         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24167         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
24168         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
24169         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
24170         __libc_allocate_rtsig_private.
24171         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
24172         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
24173         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24174         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24175         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
24176         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
24177         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
24178         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
24179         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
24180         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
24181         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
24182         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
24183         * nptl/internaltypes.h: ... here.
24184         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
24185         * sysdeps/nptl/jmp-unwind.c: ... here.
24186         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
24187         * nptl/libc-lowlevellock.c: ... here.
24188         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
24189         * nptl/libc_multiple_threads.c: ... here.
24190         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
24191         * nptl/libc_pthread_init.c: ... here.
24192         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
24193         * nptl/lowlevelbarrier.sym: ... here.
24194         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
24195         * nptl/lowlevelcond.sym: ... here.
24196         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
24197         * nptl/lowlevellock.c: ... here.
24198         * nptl/lowlevellock.h: Moved ...
24199         * sysdeps/nptl/lowlevellock.h: ... here.
24200         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
24201         * nptl/lowlevelrobustlock.c: ... here.
24202         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
24203         * nptl/lowlevelrobustlock.sym: ... here.
24204         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
24205         * nptl/lowlevelrwlock.sym: ... here.
24206         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
24207         * nptl/pt-fork.c: ... here.
24208         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
24209         * nptl/pthread-pi-defines.sym: ... here.
24210         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
24211         * nptl/pthread_attr_getaffinity.c: ... here.
24212         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
24213         * nptl/pthread_attr_setaffinity.c: ... here.
24214         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
24215         * nptl/pthread_mutex_cond_lock.c: ... here.
24216         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
24217         Update #include.
24218         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
24219         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
24220         * nptl/pthread_once.c: ... here, replacing old file.
24221         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
24222         * nptl/pthread_yield.c: ... here.
24223         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
24224         * nptl/register-atfork.c: ... here.
24225         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
24226         * nptl/sem_post.c: ... here.
24227         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
24228         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
24229         * nptl/sem_timedwait.c: ... here.
24230         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
24231         * nptl/sem_trywait.c: ... here.
24232         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
24233         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
24234         * nptl/sem_wait.c: ... here.
24235         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
24236         * nptl/structsem.sym: ... here.
24237         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
24238         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
24239         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
24240         * nptl/unregister-atfork.c: ... here.
24241         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
24242         * nptl/unwindbuf.sym: ... here.
24243         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
24244         * sysdeps/nptl/fork.c: ... here.
24245         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
24246         * sysdeps/nptl/fork.h: ... here.
24247         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
24248         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
24249         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
24250         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
24251         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
24252         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
24253         * sysdeps/unix/sysv/linux/getpid.c: ... here.
24254         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
24255         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
24256         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
24257         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
24258         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
24259         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
24260         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
24261         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
24262         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
24263         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
24264         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
24265         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
24266         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
24267         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
24268         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
24269         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
24270         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
24271         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
24272         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
24273         * sysdeps/unix/sysv/linux/raise.c: ... here.
24274         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
24275         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
24276         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
24277         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
24278         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
24279         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
24280         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
24281         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
24282         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
24283         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
24284         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
24285         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
24286         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
24287         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
24288         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
24290 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24292         * sysdeps/generic/memcopy.h: Add comment for
24293         MEMCPY_OK_FOR_FWD_MEMMOVE.
24295 2014-07-04  Will Newton  <will.newton@linaro.org>
24297         * string/memchr.c: Merge from gnulib.
24298         [_LIBC]: Remove conditionals.
24299         (__ptr_t): Remove define.
24300         (LONG_MAX_32_BITS): Likewise.
24301         (LONG_MAX): Likewise.
24302         (MEMCHR): Use ANSI prototype and optimize algorithm.
24304         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
24306 2014-07-03  Roland McGrath  <roland@hack.frob.com>
24308         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
24309         (lll_futex_timed_wait_bitset): Fix syscall argument count.
24311         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
24312         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
24313         in a bare environment with no <stdlib.h> installed.
24314         * sysdeps/nptl/configure: Regenerated.
24316         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
24318         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
24319         AC_EGREP_CPP for kernel header checks, so they only succeed if
24320         including <linux/version.h> actually works right.
24321         * sysdeps/unix/sysv/linux/configure: Regenerated.
24323         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
24324         value so it's not diagnosed as unused.
24326         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
24327         thing) with "ifeq ($(subdir),rt)".
24329 2014-07-03  Richard Henderson  <rth@redhat.com>
24331         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
24332         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
24333         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
24335         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
24336         (math_force_eval): New.
24338         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
24339         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
24341         * sysdeps/alpha/fpu/s_round.c: Remove file.
24342         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
24344         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
24345         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
24346         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
24347         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
24348         (_dl_start, print_statistics): Likewise.
24349         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
24350         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
24352         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24353         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24354         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24355         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24356         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24357         (HP_SMALL_TIMING_AVAIL): Define.
24358         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24359         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24360         (HP_SMALL_TIMING_AVAIL): Define.
24361         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24362         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24364         * sysdeps/aarch64/hp-timing.h: New file.
24366         * sysdeps/generic/hp-timing.h: Remove dead comment.
24367         * sysdeps/generic/hp-timing-common.h: New file.
24368         * sysdeps/alpha/hp-timing.h: Include it.
24369         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
24370         * sysdeps/i386/i686/hp-timing.h: Likewise.
24371         * sysdeps/ia64/hp-timing.h: Likewise.
24372         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24373         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24374         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24375         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24376         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
24377         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
24378         (hp_timing_t): New.
24380         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
24381         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
24382         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
24383         * elf/rtld.c (_dl_start_final): Likewise.
24384         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
24385         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24386         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24387         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24388         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24389         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24390         (HP_TIMING_DIFF_INIT): Remove.
24391         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24392         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24393         (HP_TIMING_DIFF_INIT): Remove.
24394         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24395         * sysdeps/i386/i686/hp-timing.c: Remove file.
24396         * sysdeps/x86_64/hp-timing.c: Remove file.
24397         * sysdeps/ia64/hp-timing.c: Remove file.
24398         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
24399         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
24400         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
24401         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
24403         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
24404         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
24405         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
24406         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24407         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24408         (HP_TIMING_ACCUM): Remove.
24409         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24410         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
24411         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24413         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
24414         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
24415         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
24416         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
24417         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
24418         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24419         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
24420         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24422         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
24424 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
24426         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
24428 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24430         Sync up with gettext.
24431         * intl/loadmsgcat.c: Define O_BINARY if not defined.
24432         [_MSC_VER]: Include malloc.h
24433         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
24434         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
24435         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
24436         TEMP_FAILURE_RETRY.  Cast return of alloca.
24437         [!_LIBC] Call gl_rwlock_init.
24438         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
24440 2014-07-02  Roland McGrath  <roland@hack.frob.com>
24442         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
24443         before checking its value.
24445 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24447         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
24449         * debug/memcpy_chk.c: Don't include pagecopy.h.
24450         * debug/mempcpy_chk.c: Likewise.
24451         * string/memcpy.c: Likewise.
24452         * string/memmove.c: Likewise.
24453         * sysdeps/powerpc/memmove.c: Likewise.
24454         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
24455         definition of PAGE_COPY_FWD_MAYBE here...
24456         * sysdeps/generic/pagecopy.h: ... from here.
24457         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
24459 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24460             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24462         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
24463         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
24464         optimizations.
24465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24466         (__libc_ifunc_impl_list): Likewise.
24467         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
24468         multiarch strcat for PPC64.
24469         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
24470         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
24472 2014-07-02  Roland McGrath  <roland@hack.frob.com>
24474         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
24476 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24478         * intl/loadmsgcat.c: Remove declaration of
24479         get_sysdep_segment_value.
24480         (get_sysdep_segment_value): Use ISO C style.
24481         (_nl_load_domain): Use ISO C style.  Get rid of redundant
24482         semicolon.  Fix typo and formatting in comment.
24483         (_nl_unload_domain): Use ISO C style.
24485         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
24487 2014-07-02  Will Newton  <will.newton@linaro.org>
24489         * malloc/obstack.c: Merge from gnulib master.
24490         [HAVE_CONFIG_H]: Remove conditional code.
24491         [!_LIBC]: Include config.h.
24492         [!ELIDE_CODE]: Don't include inttypes.h, include
24493         stdint.h unconditionally.
24494         (print_and_abort): Mark as _Noreturn.
24495         (_obstack_allocated_p): Mark as __attribute_pure__.
24496         (obstack_free): Rename to __obstack_free.
24497         [!__attribute__]: Remove conditional code.
24498         * malloc/obstack.h: Merge from gnulib master.
24499         [__cplusplus]: Move conditional down.
24500         [!__attribute_pure__]: Define __attribute_pure__ here
24501         if it is not already defined.
24502         (_obstack_memory_used): Mark as __attribute_pure__.
24503         [!__obstack_free]: Define as obstack_free.
24504         [__GNUC__]: Remove check for ancient NeXT gcc.
24506 2014-07-02  Will Newton  <will.newton@linaro.org>
24507             Paul Eggert  <eggert@cs.ucla.edu>
24509         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
24511 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24513         * resolv/gethnamaddr.c: Add comment warning that the file is
24514         not maintained.
24516 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
24518         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
24519         entries.
24521         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
24522         entry for aio_cancel and aio_cancel64.
24523         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
24524         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
24525         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
24526         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
24527         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
24528         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
24529         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
24530         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
24531         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
24532         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
24533         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
24534         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
24535         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
24537 2014-07-01  Roland McGrath  <roland@hack.frob.com>
24539         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
24540         * nptl/pthread_mutex_lock.c: Likewise.
24541         * nptl/pthread_mutex_timedlock.c: Likewise.
24542         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
24544 2014-07-01  Richard henderson  <rth@redhat.com>
24546         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
24547         (__isnan, __isnanl): Remove.
24548         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
24550         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24552 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
24554         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24556 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24558         * resolv/nss_dns/dns-host.c (getanswer_r)
24559         [MULTI_PTRS_ARE_ALIASES]: Remove code.
24561 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
24563         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24564         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
24565         undefine.
24566         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
24567         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
24569 2014-07-01  Roland McGrath <roland@hack.frob.com>
24571         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
24572         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
24574         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
24575         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
24577         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
24578         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
24579         ... here.
24580         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
24581         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
24583         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
24584         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
24585         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
24586         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
24588         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
24589         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
24590         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
24591         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
24592         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
24593         Moved ...
24594         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
24595         ... here.
24596         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
24597         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
24598         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
24599         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
24600         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
24601         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
24602         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
24603         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
24604         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
24605         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
24606         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
24607         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
24608         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
24609         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
24610         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
24611         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
24612         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
24613         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
24614         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
24615         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
24616         ... here.
24617         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
24618         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
24619         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
24620         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
24621         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
24622         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
24623         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
24624         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
24626 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
24628         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
24629         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
24630         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
24631         Add sysdep.
24633 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24637 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
24639         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24640         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24642         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24644         * sysdeps/arm/libm-test-ulps: Regenerated.
24646 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
24647             Roland McGrath <roland@hack.frob.com>
24649         * test-skeleton.c (signal_handler): Kill the whole process group
24650         before killing the child individually.
24651         (main): Report any failure on `setpgid'.
24653 2014-06-30  Roland McGrath  <roland@hack.frob.com>
24655         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
24656         from _TLS_H to _ARM_NPTL_TLS_H.
24657         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
24658         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
24660 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
24662         [BZ #16539]
24663         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
24664         (__expm1l): Return argument unchanged when small but not
24665         subnormal.
24667         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
24668         include macro name.
24669         (_FP_UNPACK_RAW_1_P): Likewise.
24670         (_FP_PACK_RAW_1): Likewise.
24671         (_FP_PACK_RAW_1_P): Likewise.
24672         (_FP_MUL_MEAT_1_wide): Likewise.
24673         (_FP_MUL_MEAT_DW_1_hard): Likewise.
24674         (_FP_MUL_MEAT_1_hard): Likewise.
24675         (_FP_DIV_MEAT_1_imm): Likewise.
24676         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
24677         (_FP_DIV_MEAT_1_udiv): Likewise.
24678         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
24679         (_FP_UNPACK_RAW_2): Likewise.
24680         (_FP_UNPACK_RAW_2_P): Likewise.
24681         (_FP_PACK_RAW_2): Likewise.
24682         (_FP_PACK_RAW_2_P): Likewise.
24683         (_FP_MUL_MEAT_DW_2_wide): Likewise.
24684         (_FP_MUL_MEAT_2_wide): Likewise.
24685         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
24686         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24687         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
24688         (_FP_MUL_MEAT_2_gmp): Likewise.
24689         (_FP_DIV_MEAT_2_udiv): Likewise.
24690         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
24691         (_FP_FRAC_SRL_4): Likewise.
24692         (_FP_FRAC_SRST_4): Likewise.
24693         (_FP_FRAC_SRS_4): Likewise.
24694         (_FP_UNPACK_RAW_4): Likewise.
24695         (_FP_UNPACK_RAW_4_P): Likewise.
24696         (_FP_PACK_RAW_4): Likewise.
24697         (_FP_PACK_RAW_4_P): Likewise.
24698         (_FP_MUL_MEAT_DW_4_wide): Likewise.
24699         (_FP_MUL_MEAT_4_wide): Likewise.
24700         (_FP_MUL_MEAT_4_gmp): Likewise.
24701         (umul_ppppmnnn): Likewise.
24702         (_FP_DIV_MEAT_4_udiv): Likewise.
24703         (__FP_FRAC_ADD_4): Likewise.
24704         (__FP_FRAC_SUB_3): Likewise.
24705         (__FP_FRAC_SUB_4): Likewise.
24706         (__FP_FRAC_DEC_3): Likewise.
24707         (__FP_FRAC_DEC_4): Likewise.
24708         (__FP_FRAC_ADDI_4): Likewise.
24709         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
24710         (_FP_FRAC_SRL_8): Likewise.
24711         (_FP_FRAC_SRS_8): Likewise.
24713         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
24714         include macro name.
24715         (FP_UNPACK_RAW_EP): Likewise.
24716         (FP_PACK_RAW_E): Likewise.
24717         (FP_PACK_RAW_EP): Likewise.
24718         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
24719         (_FP_ISSIGNAN): Likewise.
24720         (_FP_ADD_INTERNAL): Likewise.
24721         (_FP_FMA): Likewise.
24722         (_FP_CMP): Likewise.
24723         (_FP_SQRT): Likewise.
24724         (_FP_TO_INT): Likewise.
24725         (_FP_FROM_INT): Likewise.
24726         (FP_EXTEND): Likewise.
24727         (_FP_DIV_MEAT_N_loop): Likewise.
24729 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
24731         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
24732         throughout.
24734 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
24736         [BZ #17097]
24737         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
24738         result with correct sign in case of exponents that produce
24739         overflow except for X very close to 1.
24741 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
24743         mktime: merge #if/#ifdef usage from glibc
24744         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
24745         as that works with both Glibc's and Gnulib's style.
24746         See thread starting at Siddhesh Poyarekar's bug report at:
24747         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
24749 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24751         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
24752         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
24753         * sysdeps/tile/tilegx/memmove.c: Remove file.
24755 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
24757         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
24758         abi-name definition.
24759         * scripts/soversions.awk: Do not handle or generate ABI lines.
24760         * shlib-versions: Remove ABI entries.
24761         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
24762         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
24764 2014-06-27  Roland McGrath  <roland@hack.frob.com>
24766         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
24767         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
24768         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
24769         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
24770         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
24771         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
24772         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
24773         Moved ...
24774         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
24775         ... here.
24776         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
24777         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
24778         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
24779         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
24780         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
24781         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
24782         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
24783         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
24784         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
24785         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
24786         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
24787         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
24788         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
24789         Moved ...
24790         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
24791         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
24792         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
24793         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
24794         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
24795         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
24796         Moved ...
24797         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
24798         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
24799         Moved ...
24800         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
24801         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
24802         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
24803         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
24804         Moved ...
24805         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
24806         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
24807         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
24808         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
24809         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
24810         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
24811         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
24812         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
24813         Moved ...
24814         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
24815         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
24816         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
24817         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
24818         Moved ...
24819         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
24820         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
24821         Moved ...
24822         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
24823         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
24824         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
24825         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
24826         Moved ...
24827         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
24828         ... here.
24829         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
24830         Identical file removed.
24831         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
24832         Moved ...
24833         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
24834         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
24835         Identical file removed.
24836         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
24837         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
24838         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
24839         Moved ...
24840         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
24841         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
24842         Identical file removed.
24843         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
24844         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
24845         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
24846         Identical file removed.
24847         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
24848         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
24849         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
24850         Identical file removed.
24851         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
24852         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
24853         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
24854         Identical file removed.
24855         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
24856         Moved ...
24857         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
24858         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
24859         Identical file removed.
24860         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
24861         Moved ...
24862         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
24863         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
24864         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
24865         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
24866         Identical file removed.
24867         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
24868         Moved ...
24869         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
24870         ... here.
24871         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
24872         Identical file removed.
24873         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
24874         Moved ...
24875         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
24876         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
24877         Identical file removed.
24878         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
24879         Moved ...
24880         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
24881         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
24882         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
24883         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
24884         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
24885         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
24886         Moved ...
24887         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
24888         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
24889         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
24891         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
24892         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
24893         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
24894         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
24895         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
24897 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
24899         [BZ #17092]
24900         * nscd/nscd.c (monitor_child): Return exit status of child
24901         instead of return value from wait syscall.
24903 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
24905         * configure.ac (libc_commonpagesize): Remove variable.
24906         (libc_relro_required): Likewise.
24907         (libc_cv_z_relro): Remove configure test.
24908         * configure: Regenerated.
24909         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
24910         variable.
24911         (libc_relro_required): Likewise.
24912         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
24913         (libc_relro_required): Likewise.
24914         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
24915         (libc_relro_required): Likewise.
24916         * sysdeps/arm/preconfigure: Regenerated.
24917         * sysdeps/ia64/preconfigure: Remove file.
24918         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
24919         variable.
24920         (libc_relro_required): Likewise.
24922         [BZ #16561]
24923         [BZ #16562]
24924         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
24925         (__ieee754_yn): Set FE_TONEAREST mode internally and then
24926         recompute overflowing results in original rounding mode.
24927         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
24928         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
24929         recompute overflowing results in original rounding mode.
24930         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
24931         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24932         recompute overflowing results in original rounding mode.
24933         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
24934         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24935         recompute overflowing results in original rounding mode.
24936         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
24937         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24938         recompute overflowing results in original rounding mode.
24939         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
24940         (libc_feholdsetround_ctx): New macro.
24941         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
24942         * sysdeps/i386/fpu/libm-test-ulps: Update.
24943         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
24945 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24947         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
24948         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
24949         corresponding .cpsetup call.
24951 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24953         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
24954         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
24955         * sysdeps/arm/Makefile [$(subdir) = csu]
24956         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
24957         (static-only-routines): Add aeabi_read_tp here.
24958         (shared-only-routines): Add libc-aeabi_read_tp here.
24959         (CFLAGS-libc-start.c): Add -fexceptions here.
24960         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
24961         (sysdep_routines, static-only-routines, shared-only-routines):
24962         Don't add to these here.
24963         (CFLAGS-libc-start.c): Likewise.
24965         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
24966         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
24967         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
24968         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
24969         * sysdeps/arm/Makefile [$(subdir) = rt]
24970         (librt-sysdep_routines, librt-shared-only-routines):
24971         Append rt-aeabi_unwind_cpp_pr1 here.
24972         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
24973         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
24974         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
24975         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24976         Append nptl-aeabi_unwind_cpp_pr1 here.
24977         (tests): Filter out tst-cleanupx4 here.
24978         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
24979         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
24980         Don't do those here.
24982 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24984         * scripts/list-sources.sh: Do not handle ports specially.
24986 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24988         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
24989         * sysdeps/arm/feupdateenv.c: Likewise.
24991         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
24993 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24995         * manual/texinfo.tex: Update to version 2014-05-05.10 with
24996         trailing whitespace removed.
24997         * scripts/config.guess: Update to version 2014-03-23.
24998         * scripts/config.sub: Update to version 2014-05-01
24999         * scripts/install-sh: Update to version 2013-12-25.23.
25000         * scripts/move-if-change: Update from gnulib.
25002 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25004         * debug/memmove_chk.c: Remove pagecopy.h include.
25006 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
25008         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
25009         identical to gnulib mktime.
25011 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25013         * configure.ac: Do not test for machine being rs6000.  Do not test
25014         for powerpc*-*soft.
25015         * configure: Regenerated.
25017         [BZ #11505]
25018         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
25019         test.
25020         * configure: Regenerated.
25021         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
25022         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
25023         Remove configure test.
25024         * sysdeps/arm/configure: Regenerated.
25025         * sysdeps/nptl/configure.ac: Do not check
25026         libc_cv_asm_cfi_directives.
25027         * sysdeps/nptl/configure: Regenerated.
25028         * sysdeps/x86_64/nptl/configure.ac: Remove file.
25029         * sysdeps/x86_64/nptl/configure: Remove generated file.
25030         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
25031         unconditional.
25032         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
25034 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25036         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
25037         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
25038         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
25039         it is defined.
25041         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
25042         instead of whether it is defined.
25043         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
25044         * sysdeps/hppa/dl-machine.h: Likewise.
25045         * sysdeps/ia64/dl-machine.h: Likewise.
25046         * sysdeps/m68k/dl-machine.h: Likewise.
25047         * sysdeps/microblaze/dl-machine.h: Likewise.
25048         * sysdeps/mips/dl-machine.: Likewise.
25049         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25050         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25051         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25052         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25053         * sysdeps/sh/dl-machine.h: Likewise.
25054         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25055         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25056         * sysdeps/tile/dl-machine.h: Likewise.
25057         * sysdeps/x86_64/dl-machine.h: Likewise.
25059         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
25060         code.
25061         (verify_persistent_db): Likewise.
25063 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
25066         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
25067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
25068         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
25069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25070         Moved ...
25071         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
25072         ... here.
25073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
25074         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
25075         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
25076         Identical file removed.
25077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
25078         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
25079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
25080         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
25081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
25082         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
25083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
25084         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
25085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
25086         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
25087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25088         Moved ...
25089         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
25090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
25091         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
25092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
25093         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
25094         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25095         Moved ...
25096         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
25097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
25098         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
25099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
25100         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
25101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25102         Identical file removed.
25103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
25104         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
25105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
25106         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
25107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25108         Moved ...
25109         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
25110         ... here.
25111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
25112         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
25113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
25114         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
25115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
25116         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
25117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
25118         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
25119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
25120         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
25121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25122         Moved ...
25123         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
25124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
25125         Moved ...
25126         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
25127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
25128         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
25129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25130         Moved ...
25131         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
25132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
25133         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
25135         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
25136         folded into ...
25137         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
25138         * sysdeps/unix/sysv/linux/s390/Versions
25139         (libpthread: GLIBC_2.19): New version set.
25140         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
25141         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
25142         (librt: GLIBC_2.3.3): New version set.
25143         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
25144         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
25145         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
25146         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
25147         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
25148         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
25149         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
25150         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
25151         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
25152         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
25153         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
25154         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
25155         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
25156         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
25157         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
25158         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
25159         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
25160         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
25161         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
25162         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
25163         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
25164         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
25165         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
25166         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
25167         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
25168         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
25169         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
25170         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
25171         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
25172         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
25173         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
25174         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
25175         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
25176         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
25177         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
25178         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
25179         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
25180         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
25181         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
25182         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
25183         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
25184         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
25185         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
25186         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
25187         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
25189         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
25190         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
25191         (__libc_vfork): Define the function under this name.
25192         [!NOT_IN_libc] (__vfork): Make this an alias.
25193         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25194         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
25195         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
25196         (__libc_vfork): Define the function under this name.
25197         [!NOT_IN_libc] (__vfork): Make this an alias.
25198         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25199         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
25200         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
25201         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
25202         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
25203         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25205         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
25206         code that was previously under [RESET_PID].
25207         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
25208         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
25209         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
25211         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
25212         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
25213         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
25214         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
25215         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
25216         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
25217         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
25218         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
25219         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
25220         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
25221         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
25222         Moved ...
25223         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
25224         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
25225         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
25226         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
25227         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
25228         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
25229         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
25230         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
25231         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
25232         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
25233         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
25234         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
25235         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
25236         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
25237         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
25238         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
25239         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
25240         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
25241         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
25242         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
25243         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
25244         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
25245         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
25246         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
25247         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
25248         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
25249         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
25250         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
25251         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
25253 2014-06-25  Roland McGrath  <roland@hack.frob.com>
25255         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
25256         that was previously under [RESET_PID].
25257         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
25259 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25261         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
25262         not undefine and redefine.
25263         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
25264         [O_CLOEXEC]: Make code unconditional.
25265         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
25266         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
25267         <kernel-features.h>.
25268         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
25269         conditional variable definition.
25270         (shm_open) [O_CLOEXEC]: Make code unconditional.
25271         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
25272         code.
25274         * configure.ac (USE_REGPARMS): Don't define here.
25275         * configure: Regenerated.
25276         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
25277         * sysdeps/i386/configure: Regenerated.
25279         * nptl/createthread.c: Don't include kernel-features.h.
25280         * nptl/pthread_cancel.c: Likewise.
25281         * nptl/pthread_condattr_setclock.c: Likewise.
25282         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
25283         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
25284         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
25285         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
25286         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
25287         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
25288         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25289         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
25290         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25291         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
25292         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
25293         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
25294         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
25295         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
25296         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
25297         * nscd/gai.c: Likewise.
25298         * nss/nss_db/db-open.c: Likewise.
25299         * sysdeps/generic/ldsodefs.h: Likewise.
25300         * sysdeps/sh/nptl/tls.h: Likewise.
25301         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
25302         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
25303         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
25304         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
25305         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
25306         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
25307         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
25308         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25309         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25310         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25311         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25312         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25313         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
25314         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
25315         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
25316         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
25317         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
25318         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
25319         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
25320         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
25321         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
25322         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
25323         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
25324         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
25325         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
25326         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
25327         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
25328         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
25329         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25330         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
25331         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
25332         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
25333         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
25334         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25335         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25336         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
25337         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25338         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
25339         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
25340         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25341         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25342         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
25343         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
25344         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25345         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
25346         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
25347         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
25348         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
25349         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
25350         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
25351         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
25352         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
25353         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
25354         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25355         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
25356         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25357         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25358         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
25359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
25361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
25362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
25363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
25364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
25365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
25366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
25367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
25370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
25371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
25372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
25373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
25379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
25380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
25381         * sysdeps/unix/sysv/linux/pread.c: Likewise.
25382         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
25383         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
25384         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
25385         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
25386         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
25387         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
25388         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
25389         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
25390         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
25391         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
25392         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
25393         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
25394         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
25395         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
25396         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
25397         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25398         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
25399         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
25400         * sysdeps/unix/sysv/linux/system.c: Likewise.
25401         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
25402         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25403         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25404         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25405         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25406         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
25407         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25409         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
25410         * configure: Regenerated.
25411         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
25413         * configure.ac (base_machine): Do not set specially for particular
25414         machines here.
25415         * configure: Regenerated.
25416         * sysdeps/powerpc/preconfigure: Move machine and base_machine
25417         settings from configure.ac.
25418         * sysdeps/i386/preconfigure: New file.
25419         * sysdeps/s390/preconfigure: Likewise.
25420         * sysdeps/sh/preconfigure: Likewise.
25421         * sysdeps/sparc/preconfigure: Likewise.
25423 2014-06-25  Roland McGrath  <roland@hack.frob.com>
25425         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
25426         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
25427         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
25428         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
25429         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
25430         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
25431         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
25432         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
25433         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
25434         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
25435         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
25436         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
25437         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
25438         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
25439         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
25440         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
25441         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
25442         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
25443         * sysdeps/sparc/sparc64/Makefile: ... appended here.
25445         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
25446         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
25447         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
25448         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
25449         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
25450         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
25451         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
25452         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
25453         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
25454         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
25455         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
25456         * sysdeps/sparc/sparc32/sem_post.c: ... here.
25457         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
25458         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
25459         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
25460         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
25461         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
25462         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
25463         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
25464         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
25465         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
25466         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
25467         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
25468         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
25469         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
25470         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
25471         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
25472         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
25473         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
25474         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
25475         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
25476         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
25477         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
25478         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
25479         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
25480         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
25481         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
25482         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
25484         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
25485         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
25486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
25487         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
25488         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25489         Moved ...
25490         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
25491         ... here.
25492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
25493         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
25494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
25495         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
25496         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
25497         Moved ...
25498         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
25499         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
25500         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
25501         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
25502         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
25503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
25504         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
25505         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25506         Moved ...
25507         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
25508         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25509         Moved ...
25510         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
25511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
25512         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
25513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25514         Moved ...
25515         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
25516         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
25517         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
25518         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
25519         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
25520         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
25521         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
25522         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
25523         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
25524         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25525         Moved ...
25526         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
25527         ... here.
25528         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
25529         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
25530         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
25531         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
25532         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
25533         Moved ...
25534         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
25535         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
25536         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
25537         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
25538         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
25539         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
25540         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
25541         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25542         Moved ...
25543         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
25544         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25545         Moved ...
25546         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
25547         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
25548         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
25549         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25550         Moved ...
25551         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
25552         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
25553         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
25554         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
25555         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
25557 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25559         * timezone/checktab.awk: Update from tzcode 2014e.
25560         * timezone/private.h: Likewise.
25561         * timezone/tzfile.h: Likewise.
25562         * timezone/zdump.c: Likewise.
25563         * timezone/zic.c: Likewise.
25565         * sysdeps/unix/sysv/linux/kernel-features.h
25566         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
25567         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
25568         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
25569         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25570         Remove conditional code.
25572 2014-06-25  Will Newton  <will.newton@linaro.org>
25574         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
25575         (_dl_arm_cap_flags): Add HWCAP2 values.
25576         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
25577         (_DL_HWCAP_COUNT): Increase to 37.
25578         (_DL_HWCAP_LAST): New define.
25579         (_DL_HWCAP2_LAST): New define.
25580         (_dl_procinfo): Add support for printing
25581         AT_HWCAP2 entries.
25582         (_dl_string_hwcap): Use _dl_hwcap_string.
25584 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25588 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25590         * README: Do not mention ports directory.
25592         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
25593         Remove macro.
25594         * sysdeps/unix/sysv/linux/futimes.c: Do not include
25595         <kernel-features.h>.
25596         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
25597         conditional variable definition.
25598         (__futimes): Update comment.
25599         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
25600         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
25602         [BZ #16560]
25603         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
25604         arguments close to 0.
25605         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
25606         Likewise.
25607         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
25608         Likewise.
25609         * math/auto-libm-test-in: Add more tests of exp10.
25610         * math/auto-libm-test-out: Regenerated.
25611         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25613         * sysdeps/unix/sysv/linux/kernel-features.h
25614         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
25615         * sysdeps/unix/sysv/linux/readv.c: Do not include
25616         <kernel-features.h>.
25617         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25618         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25619         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25620         unconditional.
25621         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25622         conditional code.
25623         * sysdeps/unix/sysv/linux/writev.c: Do not include
25624         <kernel-features.h>.
25625         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25626         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25627         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25628         unconditional.
25629         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25630         conditional code.
25632 2014-06-25  Will Newton  <will.newton@linaro.org>
25634         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
25635         comment changes throughout the file.  Remove checks
25636         for HAVE_*_H definitions that are not required.
25637         (__gen_tempname): Call abort if an unknown kind value is
25638         passed.
25640 2014-06-25  Andreas Schwab  <schwab@suse.de>
25642         [BZ #17086]
25643         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
25644         scalbln, scalblnf, scalblnl in libc.
25646 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25648         [BZ #17086]
25649         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
25650         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25651         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25653 2014-06-24  Roland McGrath  <roland@hack.frob.com>
25655         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
25656         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
25657         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
25658         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
25659         Update #include.
25660         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
25661         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
25662         Update #include.
25663         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
25664         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
25665         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
25666         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
25667         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
25668         * sysdeps/x86/bits/pthreadtypes.h: ... here.
25669         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
25670         * sysdeps/x86/bits/semaphore.h: ... here.
25671         * sysdeps/x86/nptl/elide.h: Moved ...
25672         * sysdeps/x86/elide.h: ... here.
25673         * sysdeps/x86_64/nptl/Implies: File removed.
25674         * sysdeps/i386/nptl/Implies: File removed.
25676 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
25678         [BZ #16539]
25679         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
25680         return the argument for normal arguments with exponent below -64.
25681         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25682         Likewise.
25683         * math/auto-libm-test-in: Add another test of expm1.
25684         * math/auto-libm-test-out: Regenerated.
25686         [BZ #16287]
25687         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
25688         calling __erfcl for arguments at least 16.
25689         * math/auto-libm-test-in: Add more tests of erf.
25690         * math/auto-libm-test-out: Regenerated.
25692         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
25693         individual architectures.
25694         * sysdeps/unix/sysv/linux/configure: Regenerated.
25695         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
25696         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
25697         * sysdeps/unix/sysv/linux/powerpc/configure.ac
25698         (ldd_rewrite_script): Define variable.
25699         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
25701         file.
25702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
25703         generated file.
25704         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
25705         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
25706         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
25707         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
25708         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
25709         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
25710         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
25711         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
25713 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25715         [BZ #17084]
25716         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
25717         Rename member __data.d to __data.__elision_data.
25719 2014-06-24  Wilco  <wdijkstr@arm.com>
25721         * NEWS: Add 16918 to fixed bug list.
25723 2014-06-24  Wilco  <wdijkstr@arm.com>
25725         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
25727 2014-06-24  Wilco  <wdijkstr@arm.com>
25729         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
25730         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
25731         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
25732         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
25733         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
25734         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
25735         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
25736         Use _FPU_MASK_RM.
25738 2014-06-24  Wilco  <wdijkstr@arm.com>
25740         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
25742 2014-06-24  Wilco  <wdijkstr@arm.com>
25744         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
25745         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
25746         * sysdeps/arm/fesetround.c (fesetround): Remove space.
25747         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
25749 2014-06-24  Wilco  <wdijkstr@arm.com>
25751         [BZ #16918]
25752         * sysdeps/arm/feupdateenv.c (feupdateenv):
25753         Rewrite to reduce FPSCR accesses and fix return value.
25755 2014-06-24  Wilco  <wdijkstr@arm.com>
25757         * sysdeps/arm/fclrexcpt.c (feclearexcept):
25758         Optimize to avoid unnecessary FPSCR writes.
25759         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
25760         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
25761         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
25762         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
25764 2014-06-24  Wilco  <wdijkstr@arm.com>
25766         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
25767         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
25768         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
25769         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
25770         Call libc_fetestexcept_vfp.
25771         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
25772         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
25773         __SOFTFP__ ifdef so that they can be built for softfp.
25775 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25777         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
25778         argument type signed char.
25780         * Makerules (check-abi): Dump diff of symlist if the test
25781         fails.
25783 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25785         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
25786         using abort.
25788         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
25789         Remove unused variable ST.
25791 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
25793         [BZ #16354]
25794         [BZ #17061]
25795         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
25796         small arguments before calling __expm1.
25797         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
25798         small arguments before calling __expm1f.
25799         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
25800         small arguments before calling __expm1l.
25801         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25802         Likewise.
25803         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
25804         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
25805         spurious underflow for some cosh tests.
25806         * math/auto-libm-test-out: Regenerated.
25807         * sysdeps/i386/fpu/libm-test-ulps: Update.
25809         [BZ #17050]
25810         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
25811         (__ieee754_y1): Set errno if return value overflows.
25812         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
25813         (__ieee754_y1f): Set errno if return value overflows.
25814         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
25815         (__ieee754_y1l): Set errno if return value overflows.
25816         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
25817         (__ieee754_y1l): Set errno if return value overflows.
25818         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
25819         * math/auto-libm-test-out: Regenerated.
25821         * math/gen-auto-libm-tests.c: Document use of
25822         ignore-zero-inf-sign.
25823         (input_flag_type): Add value flag_ignore_zero_inf_sign.
25824         (input_flags): Add ignore-zero-inf-sign.
25825         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
25826         * math/gen-libm-test.pl (generate_testfile): Handle
25827         ignore-zero-inf-sign.
25828         * math/auto-libm-test-in: Mark some cpow tests with
25829         ignore-zero-inf-sign and some with xfail-rounding.
25830         * math/auto-libm-test-out: Regenerated.
25831         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
25832         * sysdeps/i386/fpu/libm-test-ulps: Update.
25833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25835         [BZ #16315]
25836         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
25837         overflowing or underflowing operations take place with sign of
25838         result.
25839         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25840         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25841         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
25842         (__ieee754_pow): Recompute overflowing and underflowing results in
25843         original rounding mode.
25844         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
25845         (__powl_helper): Allow negative argument X and scale negated value
25846         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
25847         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
25848         overflowing or underflowing operations take place with sign of
25849         result.
25850         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
25851         Include <math.h>.
25852         * math/auto-libm-test-in: Add more tests of pow.
25853         * math/auto-libm-test-out: Regenerated.
25854         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
25855         (pow_tonearest_test_data): Remove.
25856         (pow_test_tonearest): Likewise.
25857         (pow_towardzero_test_data): Likewise.
25858         (pow_test_towardzero): Likewise.
25859         (pow_downward_test_data): Likewise.
25860         (pow_test_downward): Likewise.
25861         (pow_upward_test_data): Likewise.
25862         (pow_test_upward): Likewise.
25863         (main): Don't call removed functions.
25864         * sysdeps/i386/fpu/libm-test-ulps: Update.
25865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25867 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
25870         Moved ...
25871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
25872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25873         Moved ...
25874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
25875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25876         Moved ...
25877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
25878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25879         Moved ...
25880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
25881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25882         File removed.
25883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25884         File removed.
25885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
25886         File removed.
25887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
25888         File removed.
25889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
25890         File removed.
25891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
25892         File removed.
25893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
25894         File removed.
25895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25896         File removed.
25897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
25898         File removed.
25899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25900         File removed.
25901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
25902         File removed.
25903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
25904         File removed.
25905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
25906         Moved ...
25907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
25908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
25909         Moved ...
25910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
25911         ... here.
25912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
25913         Moved ...
25914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
25915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
25916         Moved ...
25917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
25918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
25919         Moved ...
25920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
25921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
25922         Moved ...
25923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
25924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
25925         Moved ...
25926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
25927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
25928         Moved ...
25929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
25930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
25931         Moved ...
25932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
25933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
25934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
25935         ... here.
25936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
25937         Moved ...
25938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
25939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25940         Moved ...
25941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25942         ... here.
25943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
25944         Moved ...
25945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25946         ... here.
25947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25948         Moved ...
25949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25950         ... here.
25951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25952         Moved ...
25953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
25954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25955         Moved ...
25956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
25957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
25958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
25959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25960         Moved ...
25961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
25962         ... here.
25963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25964         Moved ...
25965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
25966         ... here.
25967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25968         Moved ...
25969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
25970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25971         Moved ...
25972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
25973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25974         Moved ...
25975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
25976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25977         Moved ...
25978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
25979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25980         Moved ...
25981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
25982         ... here.
25983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25984         Moved ...
25985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
25986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25987         Moved ...
25988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
25989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25990         Moved ...
25991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
25992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25993         Moved ...
25994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
25995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
25996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
25997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25998         Moved ...
25999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
26000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26001         Moved ...
26002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
26003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26004         Moved ...
26005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
26006         ... here.
26007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26008         Moved ...
26009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
26010         ... here.
26011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26012         Moved ...
26013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
26014         ... here.
26015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26016         Moved ...
26017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
26018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26019         Moved ...
26020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
26021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26022         Moved ...
26023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
26024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26025         Moved ...
26026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
26027         ... here.
26028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26029         Moved ...
26030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
26031         ... here.
26032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26033         Moved ...
26034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
26035         ... here.
26036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26037         Moved ...
26038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
26039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26040         Moved ...
26041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
26043 2014-06-23  Will Newton  <will.newton@linaro.org>
26044             Wilco  <wdijkstr@arm.com>
26046         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
26047         implementation.  Include get-rounding-mode.h.
26048         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
26049         [!libc_feholdsetround_noex_ctx]: Define
26050         libc_feholdsetround_noex_ctx.
26051         [!libc_feholdsetround_noexf_ctx]: Define
26052         libc_feholdsetround_noexf_ctx.
26053         [!libc_feholdsetround_noexl_ctx]: Define
26054         libc_feholdsetround_noexl_ctx.
26055         (libc_feholdsetround_ctx): New function.
26056         (libc_feresetround_ctx): New function.
26057         (libc_feholdsetround_noex_ctx): New function.
26058         (libc_feresetround_noex_ctx): New function.
26060 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26062         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
26063         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
26064         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
26065         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
26066         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
26067         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
26069         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
26070         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
26071         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
26072         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
26073         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
26074         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
26075         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
26076         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
26077         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
26078         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
26079         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
26080         Moved ...
26081         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
26082         ... here.
26083         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
26084         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
26085         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
26086         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
26087         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
26088         Moved ...
26089         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
26090         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
26091         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
26092         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
26093         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
26094         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
26095         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
26096         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
26097         Moved ...
26098         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
26099         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
26100         Moved ...
26101         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
26102         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
26103         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
26104         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
26105         Moved ...
26106         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
26107         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
26108         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
26109         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
26110         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
26111         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
26112         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
26113         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
26114         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
26115         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
26116         Moved ...
26117         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
26118         ... here.
26119         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
26120         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
26121         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
26122         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
26123         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
26124         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
26125         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
26126         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
26127         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
26128         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
26129         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
26130         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
26131         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
26132         Moved ...
26133         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
26134         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
26135         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
26136         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
26137         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
26138         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
26139         Moved ...
26140         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
26141         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
26142         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
26143         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
26144         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
26146         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
26147         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
26148         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
26149         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
26150         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
26151         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
26152         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
26153         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
26154         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
26155         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
26156         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
26157         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
26158         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
26159         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
26160         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
26161         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
26162         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
26163         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
26164         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
26165         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
26166         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
26167         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
26168         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
26169         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
26170         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
26171         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
26172         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
26173         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
26175 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
26177         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26178         (FALLOC_FL_COLLAPSE_RANGE): New macro.
26179         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
26180         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
26181         (IPV6_PMTUDISC_INTERFACE): Likewise.
26182         (IPV6_PMTUDISC_OMIT): Likewise.
26184 2014-06-23  Andreas Schwab  <schwab@suse.de>
26186         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
26187         Remove unused errout label.
26189 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26191         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
26192         macro: hardware supports Vector Crypto instructions.
26194 2014-06-23  Will Newton  <will.newton@linaro.org>
26196         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
26197         rather than __builtin_expect.
26199         * elf/dl-lookup.c (undefined_msg): Remove variable.
26200         (_dl_lookup_symbol_x): Replace undefined_msg with string
26201         literal.
26203         * elf/dl-lookup.c (do_lookup_unique): New function.
26204         (do_lookup_x): Move STB_GNU_UNIQUE handling code
26205         to a separate function.
26207 2014-06-23  Andreas Schwab  <schwab@suse.de>
26209         [BZ #17079]
26210         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
26211         before reading the next line.
26213 2014-06-23  Will Newton  <will.newton@linaro.org>
26215         * test-skeleton.c (signal_handler): Use printf and %m
26216         rather than perror.  Use printf rather than fprintf to
26217         stderr.  Use puts rather than fputs to stderr.
26218         (main): Likewise.
26220 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
26222         * nscd/nscd.c (thread_info_t): Remove typedef.
26223         (thread_info): Remove variable.
26225 2014-06-21  Allan McRae  <allan@archlinux.org>
26227         * NEWS: Mention CVE-2014-4043.
26229 2014-06-20  Roland McGrath  <roland@hack.frob.com>
26231         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
26232         * nptl/smp.h: ... here.
26234         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
26236         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
26237         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
26238         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
26239         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
26241         * nptl/allocatestack.c: Include <stack-aliasing.h>.
26242         * nptl/stack-aliasing.h: New file.
26243         * sysdeps/i386/i686/stack-aliasing.h: New file.
26244         * sysdeps/i386/i686/nptl/Makefile: File removed.
26245         * sysdeps/x86_64/stack-aliasing.h: New file.
26246         * sysdeps/x86_64/nptl/Makefile
26247         (CFLAGS-pthread_create.c): Variable removed.
26249         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
26250         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
26251         old file.
26252         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
26253         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
26254         old file.
26256 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
26258         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26259         (__ASSUME_SIGFRAME_V2): Remove macro.
26260         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
26261         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
26262         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
26263         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
26264         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
26265         Declare as function.  Remove conditional macro definitions.
26266         (__default_rt_sa_restorer): Likewise.
26267         (__default_sa_restorer_v1): Remove declaration.
26268         (__default_sa_restorer_v2): Likewise.
26269         (__default_rt_sa_restorer_v1): Likewise.
26270         (__default_rt_sa_restorer_v2): Likewise.
26271         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
26272         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
26273         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
26275 2014-06-20  Roland McGrath  <roland@hack.frob.com>
26277         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
26278         (libpthread-routines): Add sysdep.
26279         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
26280         * sysdeps/unix/sysv/linux/sparc/Versions
26281         (libpthread: GLIBC_2.3.3): New version set.
26282         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
26283         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
26284         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
26285         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
26286         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
26287         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
26288         Moved ...
26289         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
26290         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
26291         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
26292         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
26293         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
26294         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
26295         * sysdeps/sparc/nptl/sem_init.c: ... here.
26296         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
26297         * sysdeps/sparc/nptl/sem_post.c: ... here.
26298         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
26299         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
26300         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
26301         * sysdeps/sparc/nptl/sem_wait.c: ... here.
26302         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
26303         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
26304         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
26305         (libpthread-routines): Add cpu_relax.
26306         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
26307         File removed.
26308         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
26309         (librt: GLIBC_2.3.3): New version set.
26310         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
26311         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
26312         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
26313         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
26314         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
26315         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
26316         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
26317         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
26318         Moved ...
26319         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
26320         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
26321         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
26322         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
26323         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
26324         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
26325         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
26326         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
26327         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
26328         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
26329         Moved ...
26330         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
26331         Update #include.
26332         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
26333         Moved ...
26334         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
26335         Update #include.
26336         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
26337         Moved ...
26338         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
26339         Update #include.
26340         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
26341         Moved ...
26342         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
26343         Update #include.
26344         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
26345         Moved ...
26346         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
26347         Update #include.
26348         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
26349         Moved ...
26350         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
26351         Update #include.
26352         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
26353         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
26354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
26355         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
26356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
26357         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
26358         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
26359         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
26360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
26361         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
26362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26363         Moved ...
26364         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
26365         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
26366         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
26367         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
26368         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
26370 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26372         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
26373         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
26374         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26375         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
26376         * nscd/nscd.c: Likewise.
26377         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
26378         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
26379         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
26380         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
26382         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
26383         <kernel-features.h>.
26384         (init_mq_netlink): Remove conditional have_sock_cloexec
26385         definitions.  Remove code conditional on have_sock_cloexec < 0.
26386         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
26387         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
26388         * sysdeps/unix/sysv/linux/opensock.c: Do not include
26389         <kernel-features.h>.
26390         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
26391         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
26393 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26395         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26396         Add tests for memset_chk and memset.
26398         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
26399         with AVX2_Usable.
26401 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
26403         [BZ #16046]
26404         * elf/tst-dl-iter-static.c: New file.
26405         * elf/Makefile (tests-static): Add tst-dl-iter-static.
26407         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
26408         error.
26410 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26412         * sysdeps/unix/sysv/linux/kernel-features.h
26413         (__ASSUME_F_GETOWN_EX): Remove macro.
26414         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
26415         <kernel-features.h>.
26416         (miss_F_GETOWN_EX): Remove variable or macro.
26417         (do_fcntl): Do not check miss_F_GETOWN_EX.
26418         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
26420         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
26421         Remove macro.
26422         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
26423         [!__ASSUME_AT_RANDOM]: Remove conditional code.
26424         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
26426         * sysdeps/unix/sysv/linux/kernel-features.h
26427         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
26428         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
26429         [ADJ_OFFSET_SS_READ]: Make code unconditional.
26430         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
26432 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
26434         [BZ #17075]
26435         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
26436         Fix calculation of the symbol's value.
26437         * sysdeps/arm/tst-armtlsdescloc.c: New file.
26438         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
26439         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
26440         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
26441         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
26442         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
26443         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
26444         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
26445         (modules-names): Add `tst-armtlsdescmod',
26446         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
26447         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
26448         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26449         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
26450         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
26451         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26452         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
26453         ($(objpfx)tst-armtlsdescloc): New dependency.
26454         ($(objpfx)tst-armtlsdescextnow): Likewise.
26455         ($(objpfx)tst-armtlsdescextlazy): Likewise.
26456         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
26457         TLS scheme support.
26458         * sysdeps/arm/configure: Regenerate.
26460 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26462         * include/fcntl.h (__atfct_seterrno): Remove prototype.
26463         (__atfct_seterrno_2): Likewise.
26464         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
26465         <kernel-features.h>.
26466         (__ASSUME_ATFCTS): Do not undefine and redefine.
26467         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
26468         (__have_atfcts): Remove conditional definition.
26469         (__fxstatat([__NR_fstatat64]: Make code unconditional.
26470         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
26471         unreachable if [__ASSUME_ATFCTS].
26472         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
26473         not undefine and redefine.
26474         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
26475         <kernel-features.h>.
26476         (faccessat) [__NR_faccessat]: Make code unconditional.
26477         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
26478         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
26479         <kernel-features.h>.
26480         (fchmodat) [__NR_fchmodat]: Make code unconditional.
26481         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26482         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
26483         <kernel-features.h>.
26484         (fchownat) [__NR_fchownat]: Make code unconditional.
26485         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
26486         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
26487         <kernel-features.h>.
26488         (futimesat) [__NR_futimesat]: Make code unconditional.
26489         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
26490         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26491         <kernel-features.h>.
26492         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26493         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26494         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26495         <kernel-features.h>.
26496         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
26497         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26498         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
26499         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26500         <kernel-features.h>.
26501         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
26502         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26503         * sysdeps/unix/sysv/linux/linkat.c: Do not include
26504         <kernel-features.h>.
26505         (linkat) [__NR_linkat]: Make code unconditional.
26506         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26507         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
26508         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
26509         <kernel-features.h>.
26510         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
26511         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26512         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
26513         <kernel-features.h>.
26514         (mkdirat) [__NR_mkdirat]: Make code unconditional.
26515         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
26516         * sysdeps/unix/sysv/linux/openat.c: Do not include
26517         <kernel-features.h>.
26518         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
26519         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
26520         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
26521         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
26522         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
26523         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
26524         <kernel-features.h>.
26525         (readlinkat) [__NR_readlinkat]: Make code unconditional.
26526         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
26527         result of INLINE_SYSCALL directly, not via int variable.
26528         * sysdeps/unix/sysv/linux/renameat.c: Do not include
26529         <kernel-features.h>.
26530         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
26531         (renameat) [__NR_renameat]: Make code unconditional.
26532         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
26533         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
26534         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
26535         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
26536         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
26537         (__ASSUME_ATFCTS): Do not undefine and redefine.
26538         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
26539         <kernel-features.h>.
26540         (symlinkat) [__NR_symlinkat]: Make code unconditional.
26541         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26542         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
26543         <kernel-features.h>.
26544         (unlinkat) [__NR_unlinkat]: Make code unconditional.
26545         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26546         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
26547         (__ASSUME_ATFCTS): Do not undefine and redefine.
26548         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26549         <kernel-features.h>.
26550         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26551         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26552         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26553         <kernel-features.h>.
26554         (__xmknodat) [__NR_mknodat]: Make code unconditional.
26555         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26557 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26559         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
26561 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
26563         [BZ #17069]
26564         * posix/regcomp.c (parse_reg_exp): Deallocate partially
26565         constructed tree before returning error.
26566         * posix/bug-regexp36.c: Expand test case.
26568 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26570         [BZ #6803]
26571         * math/libm-test.inc (scalbln_test_date):
26572         Add errno expectations.
26573         * math/w_scalblnf.c: New File.
26574         Add wrapper which checks for setting errno to ERANGE.
26575         Add weak_alias for corresponding scalbln function.
26576         * math/w_scalbln.c: Likewise.
26577         * math/w_scalblnl.c: Likewise.
26578         * math/Makefile (libm-calls): Add w_scalbln.
26579         * sysdeps/ieee754/flt-32/s_scalblnf.c:
26580         Remove weak_alias for corresponding scalbln function.
26581         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26582         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26583         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26584         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26585         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
26586         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26587         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
26588         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
26589         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
26590         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
26591         Remove long_double_symbol for scalblnl function in libm, libc.
26592         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
26593         Add wrapper which checks for setting errno to ERANGE.
26594         Add long_double_symbol for scalblnl function in libm, libc.
26595         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
26596         Remove long_double_symbol for scalblnl in libm.
26597         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
26598         Add wrapper which checks for setting errno to ERANGE.
26599         Add long_double_symbol for scalblnl function in libm.
26600         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
26601         Do not use wrapper because of own implementation.
26603 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
26605         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
26606         3 bytes for __pad1 for x32.
26607         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
26609 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
26610             H.J. Lu  <hongjiu.lu@intel.com>
26612         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
26613         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
26614         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26615         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26616         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26618 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
26620         [BZ #17069]
26621         * posix/regcomp.c (parse_expression): Deallocate partially
26622         constructed tree before returning error.
26623         * posix/Makefile.c (tests): Add bug-regex36.
26624         (generated): Add bug-regex36.mtrace.
26625         (tests-special): Add $(objpfx)bug-regex36-mem.out
26626         (bug-regex36-ENV): New variable.
26627         ($(objpfx)bug-regex36-mem.out): New rule.
26628         * posix/bug-regex36.c: New file.
26630 2014-06-19  Will Newton  <will.newton@linaro.org>
26632         * malloc/malloc.c (systrim): If extra is zero then return
26633         early.
26635 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26637         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
26639 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
26641         * sysdeps/aarch64/strchr.S: New file.
26643 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26645         [BZ #17022]
26646         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
26647         from arguments -2 or below.
26648         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
26649         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
26651 2014-06-18  Andreas Schwab  <schwab@suse.de>
26653         [BZ #17062]
26654         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
26655         of a bracket expr not to run off the end of the string.
26656         * posix/Makefile (tests): Add tst-fnmatch3.
26657         * posix/tst-fnmatch3.c: New file.
26659 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26661         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
26662         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26663         [$(cross-compiling) = no]: Likewise.
26664         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26665         [$(cross-compiling) = no]: Likewise.
26667 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26669         [BZ #17031]
26670         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
26671         double, adjusted for any remainder from the high double.
26672         * math/libm-test.inc (nearbyint): Add tests.
26673         (rint): Likewise.
26675 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26677         * nptl/sysdeps/powerpc/Makefile: Moved ...
26678         * sysdeps/powerpc/nptl/Makefile: ... here.
26679         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
26680         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
26681         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
26682         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
26683         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
26684         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
26685         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
26686         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
26687         * nptl/sysdeps/powerpc/tls.h: Moved ...
26688         * sysdeps/powerpc/nptl/tls.h: ... here.
26690 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
26692         [BZ #16681]
26693         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
26694         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
26695         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
26696         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
26697         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
26698         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
26699         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
26700         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
26701         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
26703 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
26705         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26707 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
26709         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
26710         defined operator.
26712         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
26713         $TIMEOUTFACTOR.
26715 2014-06-16  Florian Weimer  <fweimer@redhat.com>
26717         [BZ #17058]
26718         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
26719         non-executed part of the test.
26721 2014-06-16  Andreas Schwab  <schwab@suse.de>
26723         * string/bits/string2.h (strdup, strndup): Update feature guard.
26725 2014-06-14  David S. Miller  <davem@davemloft.net>
26727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26729 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
26731         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
26732         that was previously under [RESET_PID].
26733         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
26735         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
26736         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
26737         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
26738         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26739         (__libc_vfork): New strong alias.
26740         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
26742 2014-06-14 Andi Kleen  <ak@linux.intel.com>
26744         * sysdeps/generic/elide.h: New file.
26746 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26748         * Makefile (installed-headers): Adjust path of pthread.h header.
26750 2014-06-13  Roland McGrath  <roland@hack.frob.com>
26752         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
26753         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
26754         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
26755         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
26757         * nptl/sysdeps/s390/Makefile: Moved ...
26758         * sysdeps/s390/nptl/Makefile: ... here.
26759         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
26760         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
26761         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
26762         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
26763         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
26764         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
26765         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
26766         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
26767         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
26768         * sysdeps/s390/nptl/pthreaddef.h: ... here.
26769         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
26770         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
26771         * nptl/sysdeps/s390/tls.h: Moved ...
26772         * sysdeps/s390/nptl/tls.h: ... here.
26774         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
26775         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
26777 2014-06-13  David S. Miller  <davem@davemloft.net>
26779         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
26780         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
26781         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
26782         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
26783         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
26784         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
26785         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
26786         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
26787         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
26788         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
26789         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
26790         Remove RESET_PID cpp guards.
26791         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
26792         Remove RESET_PID cpp guards.
26793         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
26795 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
26797         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
26798         __sp to uintptr_t.
26800 2014-06-13  Andi Kleen  <ak@linux.intel.com>
26802         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
26803         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
26804         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
26805         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
26806         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
26807         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
26808         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
26809         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
26810         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
26811         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
26812         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
26813         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
26814         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
26815         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
26816         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
26817         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
26818         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
26819         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
26820         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
26821         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
26823         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
26824         (pthread_rwlock_rdlock): Add elision.
26825         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
26826         (pthread_rwlock_wrlock): Add elision.
26827         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
26828         (pthread_rwlock_trywrlock): Add elision.
26829         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
26830         (pthread_rwlock_tryrdlock): Add elision.
26831         * nptl/pthread_rwlock_unlock.c: Include elide.h.
26832         (pthread_rwlock_tryrdlock): Add elision unlock.
26833         * nptl/sysdeps/pthread/pthread.h:
26834         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
26835         (PTHREAD_RWLOCK_INITIALIZER,
26836         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
26837         Handle new elision field.
26838         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
26839         * sysdeps/arm/nptl/bits/pthreadtypes.h
26840         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26841         * sysdeps/sh/nptl/bits/pthreadtypes.h
26842         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26843         * sysdeps/tile/nptl/bits/pthreadtypes.h
26844         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26845         * sysdeps/a/nptl/bits/pthreadtypes.h
26846         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26847         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
26848         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26849         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
26850         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26851         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
26852         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26853         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
26854         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26855         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
26856         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26857         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
26858         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26859         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
26860         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26861         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
26862         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26863         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
26864         (elision_init): Set try_xbegin to zero when no RTM.
26865         * sysdeps/x86/nptl/bits/pthreadtypes.h
26866         (pthread_rwlock_t): Change __pad1 to __rwelision.
26867         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26869 2014-06-13  Andi Kleen  <ak@linux.intel.com>
26871         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
26872         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
26873         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
26874         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
26876 2014-06-13  Meador Inge  <meadori@codesourcery.com>
26878         [BZ #16996]
26879         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
26880         that the cached result has been set before returning it.
26882 2014-06-12  Roland McGrath  <roland@hack.frob.com>
26884         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
26885         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
26886         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
26887         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
26888         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
26889         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
26891         * nptl/sysdeps/sparc/Makefile: Moved ...
26892         * sysdeps/sparc/nptl/Makefile: ... here.
26893         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
26894         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
26895         * nptl/sysdeps/sparc/tls.h: Moved ...
26896         * sysdeps/sparc/nptl/tls.h: ... here.
26897         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
26898         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
26899         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
26900         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
26901         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
26902         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
26903         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
26904         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
26905         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
26906         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
26907         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
26908         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
26909         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
26910         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
26911         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
26912         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
26913         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
26914         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
26915         Update #include.
26916         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
26917         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
26918         Update #include.
26919         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
26920         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
26921         Update #include.
26922         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
26923         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
26924         Update #include.
26926         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26928         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
26929         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
26931         * sysdeps/pthread/posix-timer.h: Include <list.h>.
26932         (struct list_links): Type removed.
26933         (struct thread_node, struct timer_node): Replace struct list_links
26934         with struct list_head.
26935         (list_unlink_ip): Likewise.
26936         * sysdeps/pthread/timer_routines.c
26937         (timer_free_list, thread_free_list, thread_active_list): Likewise.
26938         (list_append, list_insbefore): Likewise.
26939         (list_init): Function removed.
26940         (thread_init, init_module): Use INIT_LIST_HEAD instead.
26941         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
26942         * sysdeps/pthread/Makefile: ... here, new file.
26944         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
26945         * sysdeps/nptl/Implies: ... here.
26946         * sysdeps/unix/sysv/linux/Implies: Add nptl.
26947         * nptl/sysdeps/pthread/list.h: Moved ...
26948         * include/list.h: ... here.
26949         * nptl/sysdeps/pthread/createthread.c: Moved ...
26950         * nptl/createthread.c: ... here.
26951         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
26952         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
26953         * nptl/pt-longjmp.c: ... here.
26954         * nptl/sysdeps/pthread/Makefile: Moved ...
26955         * sysdeps/nptl/Makefile: ... here.
26956         * nptl/sysdeps/pthread/Subdirs: Moved ...
26957         * sysdeps/nptl/Subdirs: ... here.
26958         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
26959         * sysdeps/nptl/aio_misc.h: ... here.
26960         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
26961         * sysdeps/nptl/bits/libc-lock.h: ... here.
26962         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
26963         * sysdeps/nptl/bits/libc-lockP.h: ... here.
26964         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
26965         * sysdeps/nptl/bits/stdio-lock.h: ... here.
26966         * nptl/sysdeps/pthread/configure: Moved ...
26967         * sysdeps/nptl/configure: ... here.
26968         * nptl/sysdeps/pthread/configure.ac: Moved ...
26969         * sysdeps/nptl/configure.ac: ... here.
26970         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
26971         * sysdeps/nptl/gai_misc.h: ... here.
26972         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
26973         * sysdeps/nptl/librt-cancellation.c: ... here.
26974         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
26975         * sysdeps/nptl/malloc-machine.h: ... here.
26976         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
26977         * sysdeps/nptl/pthread-functions.h: ... here.
26978         * nptl/sysdeps/pthread/pthread.h: Moved ...
26979         * sysdeps/nptl/pthread.h: ... here.
26980         * nptl/sysdeps/pthread/setxid.h: Moved ...
26981         * sysdeps/nptl/setxid.h: ... here.
26982         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
26983         * sysdeps/nptl/sigfillset.c: ... here.
26984         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
26985         * sysdeps/nptl/tcb-offsets.h: ... here.
26986         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
26987         * sysdeps/nptl/tst-mqueue8x.c: ... here.
26988         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
26989         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
26990         * nptl/sysdeps/pthread/allocalim.h: Moved ...
26991         * sysdeps/pthread/allocalim.h: ... here.
26992         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
26993         * sysdeps/pthread/bits/sigthread.h: ... here.
26994         * nptl/sysdeps/pthread/flockfile.c: Moved ...
26995         * sysdeps/pthread/flockfile.c: ... here.
26996         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
26997         * sysdeps/pthread/ftrylockfile.c: ... here.
26998         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
26999         * sysdeps/pthread/funlockfile.c: ... here.
27000         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
27001         * sysdeps/pthread/posix-timer.h: ... here.
27002         * nptl/sysdeps/pthread/timer_create.c: Moved ...
27003         * sysdeps/pthread/timer_create.c: ... here.
27004         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
27005         * sysdeps/pthread/timer_delete.c: ... here.
27006         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
27007         * sysdeps/pthread/timer_getoverr.c: ... here.
27008         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
27009         * sysdeps/pthread/timer_gettime.c: ... here.
27010         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
27011         * sysdeps/pthread/timer_routines.c: ... here.
27012         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
27013         * sysdeps/pthread/timer_settime.c: ... here.
27014         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
27015         * sysdeps/pthread/tst-timer.c: ... here.
27016         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
27017         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
27019         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
27020         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
27022         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
27023         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
27024         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
27025         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
27026         Update #include target.
27027         * nptl/sysdeps/i386/i686/Makefile: Moved ...
27028         * sysdeps/i386/i686/nptl/Makefile: ... here.
27029         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
27030         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
27031         Update #include target.
27032         * nptl/sysdeps/i386/i686/tls.h: Moved ...
27033         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
27034         * nptl/sysdeps/i386/Makefile: Moved ...
27035         * sysdeps/i386/nptl/Makefile: ... here.
27036         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
27037         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
27038         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
27039         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
27040         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
27041         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
27042         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
27043         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
27044         * sysdeps/i386/nptl/pthreaddef.h: ... here.
27045         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
27046         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
27047         * nptl/sysdeps/i386/tls.h: Moved ...
27048         * sysdeps/i386/nptl/tls.h: ... here.
27050         * sysdeps/sh/Makefile [$(subdir) = csu]
27051         (gen-as-const-headers): Add tcb-offsets.sym.
27052         * nptl/sysdeps/sh/Makefile: File removed.
27053         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
27054         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
27055         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
27056         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
27057         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
27058         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
27059         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
27060         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
27061         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
27062         * sysdeps/sh/nptl/pthreaddef.h: ... here.
27063         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
27064         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
27065         * nptl/sysdeps/sh/tls.h: Moved ...
27066         * sysdeps/sh/nptl/tls.h: ... here.
27067         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
27068         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
27069         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
27070         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
27071         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
27072         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
27073         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
27074         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
27075         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
27076         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
27077         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
27078         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
27079         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
27080         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
27081         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
27082         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
27083         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
27084         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
27085         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
27086         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
27087         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
27088         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
27089         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
27090         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
27091         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
27092         Moved ...
27093         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
27094         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
27095         Moved ...
27096         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
27097         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
27098         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
27099         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
27100         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
27101         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
27102         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
27103         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
27104         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
27105         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
27106         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
27107         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
27108         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
27109         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
27110         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
27111         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
27112         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
27113         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
27114         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
27116 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27118         * posix/spawn_faction_addopen.c: Include string.h.
27120 2014-06-11  Roland McGrath  <roland@hack.frob.com>
27122         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
27123         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
27124         * nptl/sysdeps/x86_64/Makefile: Moved ...
27125         * sysdeps/x86_64/nptl/Makefile: ... here.
27126         * nptl/sysdeps/x86_64/configure: Moved ...
27127         * sysdeps/x86_64/nptl/configure: ... here.
27128         * nptl/sysdeps/x86_64/configure.ac: Moved ...
27129         * sysdeps/x86_64/nptl/configure.ac: ... here.
27130         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
27131         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
27132         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
27133         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
27134         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
27135         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
27136         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
27137         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
27138         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
27139         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
27140         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
27141         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
27142         * nptl/sysdeps/x86_64/tls.h: Moved ...
27143         * sysdeps/x86_64/nptl/tls.h: ... here.
27144         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
27145         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
27146         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
27147         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
27149         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
27151 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27155 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
27157         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
27158         type.
27159         [POSIX] (off_t): Likewise.
27160         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
27161         [POSIX] (S_ISBLK): Require macro.
27162         [POSIX] (S_ISCHR): Likewise.
27163         [POSIX] (S_ISDIR): Likewise.
27164         [POSIX] (S_ISFIFO): Likewise.
27165         [POSIX] (S_ISREG): Likewise.
27166         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
27167         optional-macro.
27168         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
27169         type.
27170         [POSIX] (time_t): Likewise.
27171         [POSIX] (timer_t): Likewise.
27173 2014-06-11  Florian Weimer  <fweimer@redhat.com>
27175         [BZ #17048]
27176         * posix/spawn_int.h (struct __spawn_action): Make the path string
27177         non-const to support deallocation.
27178         * posix/spawn_faction_addopen.c
27179         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
27180         * posix/spawn_faction_destroy.c
27181         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
27182         path in all spawn_do_open actions.
27183         * posix/tst-spawn.c (do_test): Exercise the copy operation in
27184         posix_spawn_file_actions_addopen.
27186 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
27188         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
27189         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
27190         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
27191         conditional code always true.
27192         (__libc_vfork): New alias.
27194 2014-06-11  Roland McGrath  <roland@hack.frob.com>
27196         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27197         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
27199         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
27201         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27202         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
27204         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27205         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
27207         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27208         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
27210 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27212         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
27213         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
27214         multiarch strcmp for PPC64.
27215         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
27216         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
27217         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
27218         multiarch optimizations.
27219         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27220         (__libc_ifunc_impl_list): Likewise.
27222 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27224         * benchtests/scripts/validate_benchout.py: New script.
27225         * benchtests/Makefile (bench-func): Call it.
27226         * benchtests/scripts/benchout.schema.json: New file.
27228 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
27230         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
27231         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
27232         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
27233         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
27234         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
27235         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
27236         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
27237         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
27238         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
27239         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
27240         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
27241         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
27242         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
27243         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
27244         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
27245         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
27246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
27247         Moved ...
27248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
27249         ... here.
27250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
27251         Moved ...
27252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
27253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
27254         Moved ...
27255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
27256         ... here.
27257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
27258         Moved ...
27259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
27260         ... here.
27261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
27262         Moved ...
27263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
27264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
27265         Moved ...
27266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
27267         ... here.
27268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
27269         Moved ...
27270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
27271         ... here.
27272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
27273         Moved ...
27274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
27275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
27276         Moved ...
27277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
27278         ... here.
27279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
27280         Moved ...
27281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
27282         ... here.
27283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
27284         Moved ...
27285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
27286         ... here.
27287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
27288         Moved ...
27289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
27290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
27291         Moved ...
27292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
27293         ... here.
27294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
27295         Moved ...
27296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
27297         ... here.
27298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
27299         Moved ...
27300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
27301         ... here.
27302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
27303         Moved ...
27304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
27305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
27306         Moved ...
27307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
27308         ... here.
27309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
27310         Moved ...
27311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
27312         ... here.
27313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
27314         Moved ...
27315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
27316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
27317         Moved ...
27318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
27319         ... here.
27320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
27321         Moved ...
27322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
27323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
27324         Moved ...
27325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
27326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
27327         Moved ...
27328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
27329         ... here.
27330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
27331         Moved ...
27332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
27333         ... here.
27334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
27335         Moved ...
27336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
27337         ... here.
27338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
27339         Moved ...
27340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
27341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
27342         Moved ...
27343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
27344         ... here.
27345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
27346         Moved ...
27347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
27348         ... here.
27349         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
27350         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
27351         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
27352         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
27353         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
27354         Moved ...
27355         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
27356         ... here.
27357         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
27358         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
27359         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
27360         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
27361         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
27362         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
27363         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
27364         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
27365         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
27366         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
27367         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
27368         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
27369         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
27370         Moved ...
27371         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
27372         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
27373         Moved ...
27374         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
27375         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
27376         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
27377         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
27378         Moved ...
27379         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
27380         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
27381         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
27382         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
27383         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
27384         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
27385         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
27387 2014-06-10  Wilco  <wdijkstr@arm.com>
27389         * math/test-fenv-return.c: New file.
27390         * math/Makefile: Add new test test-fenv-return.
27392 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
27394         [BZ #17042]
27395         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
27396         when x - 1 is zero.
27397         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
27398         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
27399         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
27400         0.0L for an argument of 1.0L.
27401         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27402         Likewise.
27403         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
27404         value when x - 1 is zero.
27405         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
27406         * sysdeps/i386/fpu/libm-test-ulps: Update.
27407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27409 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
27411         [BZ #15119]
27412         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
27414 2014-06-09  Roland McGrath  <roland@hack.frob.com>
27416         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
27417         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
27419 2014-06-09  Roland McGrath  <roland@hack.frob.com>
27421         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27422         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
27424         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27425         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
27427         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27428         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
27430         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27431         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
27433         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
27434         if not already defined.
27435         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
27436         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
27437         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
27438         (TLS_INIT_TP): Use it.
27439         (TLS_DEFINE_INIT_TP): New macro.
27440         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
27442 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
27444         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
27445         constant.
27446         [POSIX] (IXANY): Likewise.
27447         [POSIX] (OLCUC): Likewise.
27448         [POSIX || POSIX2008] (CBAUD): Do not allow.
27449         [POSIX || POSIX2008] (DEFECHO): Likewise.
27450         [POSIX || POSIX2008] (ECHOCTL): Likewise.
27451         [POSIX || POSIX2008] (ECHOKE): Likewise.
27452         [POSIX || POSIX2008] (ECHOPRT): Likewise.
27453         [POSIX || POSIX2008] (EXTA): Likewise.
27454         [POSIX || POSIX2008] (EXTB): Likewise.
27455         [POSIX || POSIX2008] (FLUSHO): Likewise.
27456         [POSIX || POSIX2008] (LOBLK): Likewise.
27457         [POSIX || POSIX2008] (PENDIN): Likewise.
27458         [POSIX || POSIX2008] (SWTCH): Likewise.
27459         [POSIX || POSIX2008] (VDISCARD): Likewise.
27460         [POSIX || POSIX2008] (VDSUSP): Likewise.
27461         [POSIX || POSIX2008] (VLNEXT): Likewise.
27462         [POSIX || POSIX2008] (VREPRINT): Likewise.
27463         [POSIX || POSIX2008] (VSTATUS): Likewise.
27464         [POSIX || POSIX2008] (VWERASE): Likewise.
27465         (B*): Change to B[0123456789]*.
27466         * conform/data/time.h-data [POSIX || UNIX98]
27467         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
27468         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27469         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
27470         [POSIX] (tm_*): Do not allow.
27472 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
27474         * Makefile (install): Don't set LANGUAGE.
27475         * Makefile.in (install): Likewise.
27476         * assert/Makefile (test-assert-ENV): Remove variable.
27477         (test-assert-perr-ENV): Likewise.
27478         * elf/Makefile (neededtest4-ENV): Likewise.
27479         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27480         [$(cross-compiling) = no]: Don't set LANGUAGE.
27481         * io/ftwtest-sh (LANG): Remove variable.
27482         * libio/Makefile (tst-widetext-ENV): Likewise.
27483         * manual/install.texi (Running make install): Don't refer to
27484         environment settings for make install.
27485         * INSTALL: Regenerated.
27486         * nptl/tst-tls6.sh: Don't set LANG.
27487         * posix/globtest.sh (LANG): Remove variable.
27488         * string/Makefile (tester-ENV): Likewise.
27489         (inl-tester-ENV): Likewise.
27490         (noinl-tester-ENV): Likewise.
27491         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27492         [$(cross-compiling) = no]: Don't set LANGUAGE.
27493         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
27494         without explicit environment settings.
27496 2014-06-06  Roland McGrath  <roland@hack.frob.com>
27498         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
27499         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
27500         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
27501         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
27503 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
27505         * crypt/crypt-private.h [DOS]: Add some includes taken from the
27506         other files in the crypt directory.
27507         * crypt/crypt.c: Remove duplicate includes.
27508         * crypt/crypt-entry.c: Likewise.
27509         * crypt/crypt_util.c: Likewise.
27511 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
27513         * Makeconfig (run-program-env): New variable.
27514         (run-program-prefix-before-env): Likewise.
27515         (run-program-prefix-after-env): Likewise.
27516         (run-program-prefix): Define in terms of new variables.
27517         (built-program-cmd-before-env): New variable.
27518         (built-program-cmd-after-env): Likewise.
27519         (built-program-cmd): Define in terms of new variables.
27520         (test-program-prefix-before-env): New variable.
27521         (test-program-prefix-after-env): Likewise.
27522         (test-program-prefix): Define in terms of new variables.
27523         (test-program-cmd-before-env): New variable.
27524         (test-program-cmd-after-env): Likewise.
27525         (test-program-cmd): Define in terms of new variables.
27526         * Rules (make-test-out): Use $(run-program-env).
27527         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
27528         (help): Do not mention environment variables.  Mention
27529         --timeoutfactor option.
27530         (timeoutfactor): New variable.
27531         (blacklist_exports): Remove function.
27532         (exports): Remove variable.
27533         (command): Do not include ${exports}.
27534         * manual/install.texi (Configuring and compiling): Do not mention
27535         test wrappers preserving environment variables.  Mention that last
27536         assignment to a variable must take precedence.
27537         * INSTALL: Regenerated.
27538         * benchtests/Makefile (run-bench): Use $(run-program-env).
27539         * catgets/Makefile ($(objpfx)test1.cat): Use
27540         $(built-program-cmd-before-env), $(run-program-env) and
27541         $(built-program-cmd-after-env).
27542         ($(objpfx)test2.cat): Do not specify environment variables
27543         explicitly.
27544         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
27545         $(run-program-env) and $(built-program-cmd-after-env).
27546         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
27547         $(run-program-env) and $(test-program-cmd-after-env).
27548         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
27549         explicitly.
27550         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
27551         run_program_env and test_program_cmd_after_env arguments.
27552         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
27553         * elf/tst-pathopt.sh: Use run_program_env argument.
27554         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
27555         $(test-wrapper-env) and $(run-program-env).
27556         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
27557         run_program_env arguments.
27558         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
27559         * intl/Makefile ($(objpfx)tst-gettext.out): Use
27560         $(test-program-prefix-before-env), $(run-program-env) and
27561         $(test-program-prefix-after-env).
27562         ($(objpfx)tst-gettext2.out): Likewise.
27563         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
27564         run_program_env and test_program_prefix_after_env arguments.
27565         * intl/tst-gettext2.sh: Likewise.
27566         * intl/tst-gettext4.sh: Do not set environment variables
27567         explicitly.
27568         * intl/tst-gettext6.sh: Likewise.
27569         * intl/tst-translit.sh: Likewise.
27570         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
27571         $(test-program-prefix-before-env), $(run-program-env) and
27572         $(test-program-prefix-after-env).
27573         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
27574         run_program_env and test_program_prefix_after_env arguments.
27575         * math/Makefile (run-regen-ulps): Use $(run-program-env).
27576         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
27577         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
27578         explicitly with each use of ${test_wrapper_env}.
27579         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
27580         $(test-program-prefix-before-env), $(run-program-env) and
27581         $(test-program-prefix-after-env).
27582         * posix/tst-getconf.sh: Do not set environment variables
27583         explicitly.
27584         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
27585         run_program_env and test_program_prefix_after_env arguments.
27586         * stdio-common/tst-printf.sh: Do not set environment variables
27587         explicitly.
27588         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
27589         $(test-program-prefix-before-env), $(run-program-env) and
27590         $(test-program-prefix-after-env).
27591         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
27592         run_program_env and test_program_prefix_after_env arguments.
27593         Split $test calls into $test_pre and $test.
27594         * timezone/Makefile (build-testdata): Use
27595         $(built-program-cmd-before-env), $(run-program-env) and
27596         $(built-program-cmd-after-env).
27598 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27600         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
27601         strlen for non SHARED builds.
27603 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27605         * nptl/allocatestack.c (check_list): Inlined function...
27606         (__reclaim_stacks): ... here.
27608 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
27610         [BZ #15698]
27611         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27612         memory overrun.
27614 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
27616         * Rules (make-test-out): Include
27617         LOCPATH=$(common-objpfx)localedata in default environment.
27618         * debug/Makefile (tst-chk1-ENV): Remove variable.
27619         (tst-chk2-ENV): Likewise.
27620         (tst-chk3-ENV): Likewise.
27621         (tst-chk4-ENV): Likewise.
27622         (tst-chk5-ENV): Likewise.
27623         (tst-chk6-ENV): Likewise.
27624         (tst-lfschk1-ENV): Likewise.
27625         (tst-lfschk2-ENV): Likewise.
27626         (tst-lfschk3-ENV): Likewise.
27627         (tst-lfschk4-ENV): Likewise.
27628         (tst-lfschk5-ENV): Likewise.
27629         (tst-lfschk6-ENV): Likewise.
27630         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
27631         (tst-iconv7-ENV): Likewise.
27632         * intl/Makefile (LOCPATH-ENV): Likewise.
27633         (tst-codeset-ENV): Likewise.
27634         (tst-gettext3-ENV): Likewise.
27635         (tst-gettext5-ENV): Likewise.
27636         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
27637         (tst-fopenloc-ENV): Likewise.
27638         (tst-fgetws-ENV): Remove variable.
27639         (tst-ungetwc1-ENV): Likewise.
27640         (tst-ungetwc2-ENV): Likewise.
27641         (bug-ungetwc2-ENV): Likewise.
27642         (tst-swscanf-ENV): Likewise.
27643         (bug-ftell-ENV): Likewise.
27644         (tst-fgetwc-ENV): Likewise.
27645         (tst-fseek-ENV): Likewise.
27646         (tst-ftell-partial-wide-ENV): Likewise.
27647         (tst-ftell-active-handler-ENV): Likewise.
27648         (tst-ftell-append-ENV): Likewise.
27649         * posix/Makefile (tst-fnmatch-ENV): Likewise.
27650         (tst-regexloc-ENV): Likewise.
27651         (bug-regex1-ENV): Likewise.
27652         (tst-regex-ENV): Likewise.
27653         (tst-regex2-ENV): Likewise.
27654         (bug-regex5-ENV): Likewise.
27655         (bug-regex6-ENV): Likewise.
27656         (bug-regex17-ENV): Likewise.
27657         (bug-regex18-ENV): Likewise.
27658         (bug-regex19-ENV): Likewise.
27659         (bug-regex20-ENV): Likewise.
27660         (bug-regex22-ENV): Likewise.
27661         (bug-regex23-ENV): Likewise.
27662         (bug-regex25-ENV): Likewise.
27663         (bug-regex26-ENV): Likewise.
27664         (bug-regex30-ENV): Likewise.
27665         (bug-regex32-ENV): Likewise.
27666         (bug-regex33-ENV): Likewise.
27667         (bug-regex34-ENV): Likewise.
27668         (bug-regex35-ENV): Likewise.
27669         (tst-rxspencer-ENV): Likewise.
27670         (tst-rxspencer-no-utf8-ENV): Likewise.
27671         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
27672         (tst-sscanf-ENV): Likewise.
27673         (tst-swprintf-ENV): Likewise.
27674         (tst-swscanf-ENV): Likewise.
27675         (test-vfprintf-ENV): Likewise.
27676         (scanf13-ENV): Likewise.
27677         (bug14-ENV): Likewise.
27678         (tst-grouping-ENV): Likewise.
27679         * stdlib/Makefile (tst-strtod-ENV): Likewise.
27680         (tst-strtod3-ENV): Likewise.
27681         (tst-strtod4-ENV): Likewise.
27682         (tst-strtod5-ENV): Likewise.
27683         (testmb2-ENV): Likewise./
27684         * string/Makefile (tst-strxfrm-ENV): Likewise.
27685         (tst-strxfrm2-ENV): Likewise.
27686         (bug-strcoll1-ENV): Likewise.
27687         (test-strcasecmp-ENV): Likewise.
27688         (test-strncasecmp-ENV): Likewise.
27689         * time/Makefile (tst-strptime-ENV): Likewise.
27690         (tst-ftime_l-ENV): Likewise.
27691         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
27692         (tst-mbrtowc-ENV): Likewise.
27693         (tst-wcrtomb-ENV): Likewise.
27694         (tst-mbrtowc2-ENV): Likewise.
27695         (tst-c16c32-1-ENV): Likewise.
27696         (tst-mbsnrtowcs-ENV): Likewise.
27698 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
27700         * manual/resource.texi (How to get information about the memory
27701         subsystem?): Fix typo.
27702         Reported by Peon de la Parra Ivan <peon@keba.com>
27704 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
27706         [BZ #16882]
27707         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
27708         (pthread_spin_lock): Branch out of spin loop to proper location.
27709         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
27710         (pthread_spin_lock): Likewise.
27712         * nptl/tst-spin4.c: New test.
27713         * nptl/Makefile (tests): Add tst-spin4.
27715 2014-06-03  Andreas Schwab  <schwab@suse.de>
27717         [BZ #15946]
27718         * resolv/res_send.c (send_dg): Reload file descriptor after
27719         calling reopen.
27721 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
27723         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27725 2014-06-03  Richard Henderson  <rth@redhat.com>
27727         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
27728         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
27729         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
27730         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
27731         in the SAVE_PID block.
27732         (__libc_vfork): New alias.
27733         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
27735         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
27736         child in registers, not on the stack.  Remove RESET_PID conditionals.
27737         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
27739 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27741         * sysdeps/aarch64/libm-test-ulps: Regenerate.
27743 2014-06-03  Wilco  <wdijkstr@arm.com>
27745         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
27746         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
27747         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
27748         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
27749         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
27750         Likewise.
27752 2014-06-03  Wilco  <wdijkstr@arm.com>
27754         * sysdeps/aarch64/fpu/math_private.h
27755         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
27756         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
27757         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
27758         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
27759         Fix declarations.
27761 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27763         * crypt/crypt-private.h: Include ufc-crypt.h.
27764         (__b64_from_24bit): Declare extern.
27765         * crypt/crypt_util.c(__b64_from_24bit): New function.
27766         (b64t): New static const variable.
27767         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
27768         (b64t): Remove variable.
27769         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
27770         * crypt/sha256-crypt.c: Include crypt-private.h.
27771         (b64t): Remove variable.
27772         (__sha256_crypt_r): Remove b64_from_24bit and replace
27773         with __b64_from_24bit.
27774         * crypt/sha512-crypt.c: Likewise.
27776 2014-06-02  Roland McGrath  <roland@hack.frob.com>
27778         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
27779         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
27780         Label the code __libc_vfork rather than __vfork.
27781         [!NOT_IN_libc] (vfork): Define as weak alias.
27782         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
27783         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
27784         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
27786 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27788         * malloc/malloc.c (malloc_info): Fix format specifier for
27789         n_mmaps.
27791 2014-06-02  Wilco  <wdijkstr@arm.com>
27793         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
27794         FPCR write.
27796 2014-06-02  Wilco  <wdijkstr@arm.com>
27798         [BZ #17009]
27799         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
27800         Rewrite to reduce FPCR/FPSR accesses.
27802 2014-06-01  David S. Miller  <davem@davemloft.net>
27804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27806 2014-05-31  David S. Miller  <davem@davemloft.net>
27808         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
27809         to occur in round to nearest mode when |x| >= 2.0
27811 2014-05-30  Richard Henderson  <rth@twiddle.net>
27813         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
27814         (PSEUDO_RET_NOERRNO): Remove.
27815         (ret): Don't redefine.
27816         (ret_NOERRNO): Define in terms of ret.
27817         (ret_ERRVAL): Likewise.
27819         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
27820         use of PSEUDO_RET; perform the error check directly.
27822 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
27824         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
27825         with __int128_t.
27827 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27829         * malloc/malloc (malloc_info): Fix formatting.
27831 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27832             Roland McGrath  <roland@hack.frob.com>
27834         * malloc/malloc (malloc_info): Also print mmapped statistics.
27836 2014-05-30  Roland McGrath  <roland@hack.frob.com>
27838         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
27839         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
27841 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
27843         * malloc/malloc.c (malloc_info): Inline mi_arena.
27845 2014-05-29  Richard Henderson  <rth@twiddle.net>
27847         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
27848         Remove comma before expanding ASM_ARGS_##nr.
27849         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
27850         Make _x0 a strict output; make _x8 a strict input; adjust expansion
27851         of ASM_ARGS_##nr.
27852         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
27853         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
27854         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
27855         (ASM_ARGS_1): Add leading comma.
27857         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
27858         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
27859         to __errno_location.
27860         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
27861         Remove the expected plt for __errno_location.
27863         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27864         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
27865         call to __read_tp.
27867         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27868         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
27869         it and break it down.
27870         (DOCARGS_0, DOCARGS_1): Do nothing.
27871         (DOCARGS_2): Update to store into the new stack frame.
27872         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
27873         (UNDOCARGS_1): Update to restore from the new stack frame.
27874         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
27875         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
27877         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27878         (SINGLE_THREAD_P): New parameter for result regno.
27879         (PSEUDO): Update to match; use cbz instead of beq.
27881         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27882         Use ENTRY to define the _nocancel entry point.  Share the syscall
27883         and syscall error check paths with the cancel path.
27884         (PSEUDO_END): New.
27886         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
27887         whitespace; tabs before and after asm mnemonics.
27889 2014-05-29  Eric Wong  <normalperson@yhbt.net>
27891         [BZ #15132]
27892         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27893         Call fstat64 or stat64 internally, depending on arguments passed.
27894         Replace stat buffer argument with file descriptor argument.
27895         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
27896         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
27897         Pass fd to __internal_statvfs instead of calling fstat64.
27898         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
27899         Pass fd to __internal_statvfs64 instead of calling fstat64.
27900         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
27901         Pass -1 to __internal_statvfs instead of calling stat64.
27902         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
27903         Pass -1 to __internal_statvfs64 instead of calling stat64.
27905 2014-05-28  Roland McGrath  <roland@hack.frob.com>
27907         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
27908         that was previously under [RESET_PID].
27909         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
27911         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
27912         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
27914 2014-05-27  Roland McGrath  <roland@hack.frob.com>
27916         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
27918         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
27919         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
27921 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
27923         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
27925 2014-05-27  Andreas Schwab  <schwab@suse.de>
27927         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
27928         TLS_INIT_TP macro.
27929         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
27930         * elf/rtld.c (init_tls, dl_main): Likewise.
27931         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
27932         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
27933         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
27934         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
27935         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
27936         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
27937         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
27938         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
27939         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
27940         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
27941         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
27942         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
27943         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
27944         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
27945         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
27946         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
27947         * sysdeps/generic/tls.h: Update description.
27949 2014-05-27  Will Newton  <will.newton@linaro.org>
27951         [BZ #16990]
27952         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
27953         and restore r2 rather than just restoring.
27955 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27957         [BZ #16724]
27958         * libio/tst-ftell-append.c: New test case.
27959         * libio/Makefile (tests): Add test case.
27960         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
27961         append mode.
27962         * libio/wfileops.c (do_ftell_wide): Likewise.
27964 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27968         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
27969         ...
27970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
27971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27972         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
27973         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
27974         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
27975         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
27976         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
27977         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
27978         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27979         Moved ...
27980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
27981         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27982         Moved ...
27983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
27984         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
27985         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
27986         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
27987         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
27988         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
27989         ...
27990         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
27991         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
27992         Moved ...
27993         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
27994         here.
27995         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
27996         ...
27997         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
27998         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
27999         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
28001         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
28002         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
28003         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
28004         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
28006         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
28007         merge into ...
28008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
28009         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
28010         ...
28011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
28012         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
28013         ...
28014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
28015         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28016         Moved ...
28017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
28018         here.
28019         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28020         Moved ...
28021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
28022         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28023         Moved ...
28024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
28026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
28027         conditional [RESET_PID].
28028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
28029         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
28030         removed.
28031         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
28032         removed.
28034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
28035         <tcb-offsets.h>.
28036         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28037         (__libc_vfork): New strong alias.
28038         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
28039         removed.
28040         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
28041         Removed.
28043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
28044         <tcb-offsets.h>.
28045         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
28046         (__libc_vfork): New strong alias.
28047         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
28048         removed.
28049         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
28050         removed.
28052 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
28054         * malloc/malloc.c (mi_arena): New function.
28055         (malloc_info): Remove nested function mi_arena. Call non-nosted
28056         function mi_arena.
28058 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28060         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
28061         by insrwi.
28062         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
28063         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
28064         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
28065         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
28066         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
28067         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
28068         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
28070 2014-05-26  Andreas Schwab  <schwab@suse.de>
28072         [BZ #16984]
28073         * locale/programs/repertoire.c (repertoire_read): Add slash
28074         between I18NPATH element and file name.
28075         * locale/programs/locfile.c (locfile_read): Likewise.
28077 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28079         * nptl/pthread_mutexattr_settype.c
28080         (__pthread_mutexattr_settype):
28081         Disable lock elision for PTHREAD_MUTEX_NORMAL.
28083 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28085         * nptl/tst-mutex5 (do_test):
28086         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
28088 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28090         * benchtests/README: Document 'init' directive.
28091         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
28092         BENCH_INIT.
28093         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
28094         (parse_file): Recognize 'init' directive.
28096 2014-05-26  Kyle McMartin  <kyle@redhat.com>
28098         [BZ #16796]
28099         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
28100         alignment of struct pthread.
28102 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28104         [BZ #16878]
28105         * nscd/netgroupcache.c (addgetnetgrentX): Look for
28106         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28107         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
28108         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28110 2014-05-25  Richard Henderson  <rth@twiddle.net>
28112         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28113         (SINGLE_THREAD_P_PIC): Remove.
28114         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
28115         (SINGLE_THREAD_P_PIC): Remove.
28117         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
28118         branch to syscall error ...
28119         (PSEUDO): ... here.
28120         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
28121         from __local_syscall_error to .Lsyscall_error.
28122         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
28123         (SYSCALL_ERROR): Update label name.
28125         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28126         Do not use DOARGS/UNDOARGS.
28127         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
28128         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
28129         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
28130         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
28131         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
28133         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
28134         block comment.
28136         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
28137         define if !NOT_IN_libc.
28138         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
28139         define with non-default symbol versions.
28141 2014-05-23  Richard Henderson  <rth@twiddle.net>
28143         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
28144         (vfork, __vfork): Define via compat_symbol.
28146         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
28147         [!HAVE_IFUNC] (vfork_compat): Remove.
28148         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
28150 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
28152         [BZ #16978]
28153         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
28154         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
28155         variable.
28157 2014-05-23  Richard Henderson  <rth@twiddle.net>
28159         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
28160         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
28161         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
28162         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
28164         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
28165         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
28166         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
28167         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
28168         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
28169         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
28170         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
28171         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
28172         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
28173         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
28174         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
28175         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
28176         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
28177         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
28178         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
28179         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
28180         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
28181         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
28182         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
28183         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
28184         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
28185         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
28186         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
28187         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
28188         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
28189         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
28190         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
28191         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
28192         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
28193         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
28194         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
28195         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
28196         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
28197         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
28198         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
28199         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
28200         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
28201         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
28202         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
28203         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
28204         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
28205         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
28206         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
28207         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
28208         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
28209         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
28210         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
28211         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
28212         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
28213         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
28214         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
28215         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
28216         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
28217         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
28218         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
28219         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
28221         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
28222         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
28223         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
28224         before exiting on error.
28225         (__libc_vfork): New strong alias.
28226         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
28227         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
28229         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
28230         that was previously under [RESET_PID].
28231         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
28233         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
28235 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
28237         [BZ #16977]
28238         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
28239         value when x - 1 is zero.
28240         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
28241         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
28242         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
28243         0.0L for an argument of 1.0L.
28244         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
28245         Likewise.
28246         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
28247         value when x - 1 is zero.
28248         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
28249         * sysdeps/i386/fpu/libm-test-ulps: Update.
28250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28252 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28254         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
28255         alphasort and versionsort.
28257 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28259         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
28260         macro.
28261         [copysignf]: Likewise.
28263 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28265         * crypt/md5-crypt.c: Fix formatting.
28267 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28269         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
28270         (b64_from_24bit): New function.
28272 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28274         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
28275         libc_hidden_builtin_def to ifunc.
28276         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28277         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
28279 2014-05-21  Roland McGrath  <roland@hack.frob.com>
28281         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
28282         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
28284 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
28286         * nscd/Depend (linuxthreads): Remove.
28287         (nptl): Add.
28288         * resolv/Depend (linuxthreads): Remove.
28289         * rt/Depend (linuxthreads): Remove.
28291         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
28292         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
28293         $(common-objpfx)elf/.
28294         (link-libc-before-gnulib): Likewise.
28295         (elfobjdir): Remove variable.
28296         * Makefile (install): Use $(elf-objpfx) instead of
28297         $(common-objpfx)elf/.
28298         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
28299         $(elfobjdir)/.
28300         (link-libc-deps): Likewise.
28301         ($(common-objpfx)libc.so): Likewise.
28302         ($(common-objpfx)linkobj/libc.so): Likewise.
28303         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
28304         instead of $(common-objpfx)elf/.
28305         (symbolic-link-list): Likewise.
28306         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28307         [$(cross-compiling) = no]: Likewise.
28308         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
28309         $(elfobjdir)/.
28310         (static-gnulib-arch): Likewise.
28311         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28312         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
28313         $(common-objpfx)elf/.
28315 2014-05-21  Richard Henderson  <rth@redhat.com>
28317         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28318         (SINGLE_THREAD_P): Use the correct width load.  Fold
28319         into the ldr offset.
28321         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
28322         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
28324 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
28326         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
28327         (libgcc_s_resume): Use __attribute_used__.
28328         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
28329         Likewise.
28331 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28333         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
28334         optimization when used with float constants.
28336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28338 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
28340         [BZ #16915]
28341         * locale/nl_langinfo_l.c: Make direct reference to every
28342         _nl_current_CATEGORY symbol.
28343         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
28344         (tests-static): Add tst-langinfo-static.
28345         (tests-special): Add tst-langinfo-static.out.
28346         ($(objpfx)tst-langinfo.out): Redirect output.
28347         ($(objpfx)tst-langinfo-static.out): New.
28348         * localedata/tst-langinfo.sh: Send output to stdout.
28349         * localedata/tst-langinfo-static.c: New file.
28351         [BZ #16965]
28352         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
28353         when the shift amount is modulo the limb size.
28355 2014-05-20  Richard Henderson  <rth@redhat.com>
28357         [BZ #16967]
28358         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
28359         Change type of sa_flags from unsigned int to int.
28361         [BZ #16966]
28362         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
28364         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
28366 2014-05-20  Will Newton  <will.newton@linaro.org>
28368         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28369         Test the return value of the system call in the nocancel case.
28371 2014-05-20  Will Newton  <will.newton@linaro.org>
28372             Yvan Roux  <yvan.roux@linaro.org>
28374         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
28375         #include of asm/ptrace.h.
28376         (PTRACE_GET_THREAD_AREA): Remove #undef.
28377         (PTRACE_GETHBPREGS): Likewise.
28378         (PTRACE_SETHBPREGS): Likewise.
28379         (struct user_regs_struct): New structure.
28380         (struct user_fpsimd_struct): New structure.
28381         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
28382         #include of asm/ptrace.h and second #include of sys/user.h.
28383         (PTRACE_GET_THREAD_AREA): Remove #undef.
28384         (PTRACE_GETHBPREGS): Likewise.
28385         (PTRACE_SETHBPREGS): Likewise.
28386         (ELF_NGREG): Use new struct user_regs_struct.
28387         (elf_fpregset_t): Use new struct user_fpsimd_struct.
28389 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28391         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
28392         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
28394 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
28396         [BZ #16958]
28397         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
28398         membar to avoid block loads/stores to overlap previous stores.
28400 2014-05-17  Richard Henderson  <rth@redhat.com>
28402         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
28403         Create the __##syscall_name##_nocancel entry point.
28404         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
28405         Remove; let the sysdep-cancel.h code create it.
28407 2014-05-17  David S. Miller  <davem@davemloft.net>
28409         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
28410         Protect with __USE_GNU.
28411         (TIOCSET_TEMPT): Likewise.
28412         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28413         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
28414         these are already provided in bits/ioctl-types.h
28416 2014-05-16  Roland McGrath  <roland@hack.frob.com>
28418         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
28419         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
28421         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
28422         Use wait4 regardless of [__NR_waitpid].
28424 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
28426         PR libgcc/60166
28427         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28428         (_FP_NANSIGN_Q): Set the quiet bit.
28430 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
28432         * benchtests/Makefile
28433         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
28434         not $(common-objpfx)math/libm.so.
28435         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
28436         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
28437         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
28438         $(common-objpfx)dlfcn/libdl.so.
28439         ($(objpfx)tst-audit8): Depend on $(libm), not
28440         $(common-objpfx)math/libm.so.
28441         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
28442         not $(common-objpfx)dlfcn/libdl.so.
28443         * math/Makefile
28444         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28445         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
28446         [$(build-shared) = yes].
28447         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
28448         $(common-objpfx)nptl/libpthread.so.
28449         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
28450         $(common-objpfx)math/libm.so$(libm.so-version) or
28451         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
28452         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
28453         $(common-objpfx)dlfcn/libdl.so.
28454         * setjmp/Makefile (link-libm): Remove variable.
28455         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
28456         * stdio-common/Makefile (link-libm): Remove variable.
28457         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
28458         * stdlib/Makefile (link-libm): Remove variable.
28459         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
28460         ($(objpfx)tst-strtod-round): Likewise.
28461         ($(objpfx)tst-tininess): Likewise.
28462         ($(objpfx)tst-strtod-underflow): Likewise.
28463         ($(objpfx)tst-strtod6): Likewise.
28464         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
28465         $(libdl), not $(common-objpfx)nptl/libpthread.so and
28466         $(common-objpfx)dlfcn/libdl.so.
28468 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28470         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
28471         BSD terminal modes definitions.
28473 2014-05-16  Roland McGrath  <roland@hack.frob.com>
28475         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
28476         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
28478         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
28479         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
28480         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
28481         Don't do #include_next.
28482         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
28483         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
28484         Don't do #include_next.
28485         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
28486         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
28487         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
28488         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
28490 2014-05-16  Allan McRae  <allan@archlinux.org>
28492         * po/sv.po: Update Swedish translation from translation project.
28494         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
28495         in sed expression.
28497 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
28499         [BZ #16917]
28500         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
28501         errno if the TIOCGPTN ioctl fails with an error different than
28502         EINVAL.
28503         * login/tst-ptsname.c: New file.
28504         * login/Makefile (tests): Add tst-ptsname.
28506         [BZ #16943]
28507         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
28508         and prlimit64.
28510 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28512         [BZ #16849]
28513         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
28514         herrno to return EAI_AGAIN.
28516 2014-05-14  Roland McGrath  <roland@hack.frob.com>
28518         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
28519         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
28520         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
28521         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
28522         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
28523         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
28524         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
28525         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
28526         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
28527         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
28528         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
28529         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
28530         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
28531         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
28532         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
28533         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
28534         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
28535         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
28536         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
28537         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
28538         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
28539         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
28540         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
28541         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
28542         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
28543         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
28544         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
28545         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
28546         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
28547         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
28548         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
28549         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
28550         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
28551         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
28552         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28553         Moved ...
28554         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
28555         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
28556         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
28557         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
28558         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
28559         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
28560         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
28561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
28562         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
28563         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
28564         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
28565         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
28566         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
28567         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
28568         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
28569         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
28570         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
28571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
28572         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
28573         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
28574         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
28575         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
28576         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
28577         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
28578         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
28579         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
28580         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
28581         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28582         Moved ...
28583         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
28584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
28585         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
28586         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
28587         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
28588         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
28589         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
28590         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
28591         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
28592         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
28593         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
28594         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
28595         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
28596         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
28597         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
28598         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
28599         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
28600         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
28601         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
28602         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28603         Moved ...
28604         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
28605         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
28606         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
28608         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
28609         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
28610         (libpthread-sysdep_routines): Add elision-related stuff here instead.
28611         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
28612         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
28613         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
28614         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
28615         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
28616         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
28617         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
28618         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
28619         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
28620         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
28621         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
28622         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
28623         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
28624         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
28625         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
28626         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
28627         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
28628         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
28629         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
28630         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
28631         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
28632         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
28633         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
28634         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
28635         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
28636         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
28637         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
28638         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
28640         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
28641         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
28643         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
28644         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
28645         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
28646         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
28647         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
28648         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
28649         Moved ...
28650         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
28651         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28652         Moved ...
28653         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
28654         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28655         Moved ...
28656         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
28657         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
28658         Moved ...
28659         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
28660         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
28661         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
28662         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
28663         Moved ...
28664         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
28665         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
28666         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
28667         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
28668         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
28669         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
28670         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
28671         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
28672         Moved ...
28673         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
28674         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28675         Moved ...
28676         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28677         ... here.
28678         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
28679         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
28680         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
28681         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
28682         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
28683         Moved ...
28684         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
28685         ... here.
28686         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
28687         Moved ...
28688         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
28689         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
28690         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
28691         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
28692         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
28693         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
28694         Moved ...
28695         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
28696         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
28697         Moved ...
28698         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
28699         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
28700         Moved ...
28701         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
28702         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
28703         Moved ...
28704         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
28705         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
28706         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
28707         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
28708         Moved ...
28709         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
28710         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
28711         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
28712         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
28713         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
28714         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
28715         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
28716         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
28717         Moved ...
28718         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
28719         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
28720         Moved ...
28721         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
28722         ... here.
28723         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
28724         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
28725         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
28726         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
28727         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
28728         Moved ...
28729         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
28730         ... here.
28731         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
28732         Moved ...
28733         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
28734         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
28735         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
28736         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
28737         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
28738         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
28739         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
28740         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
28741         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
28742         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
28743         Moved ...
28744         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
28745         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
28746         Moved ...
28747         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
28748         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
28749         Moved ...
28750         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
28751         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
28752         Moved ...
28753         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
28754         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
28755         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
28756         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
28757         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
28758         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
28759         Moved ...
28760         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
28761         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
28762         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
28763         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
28764         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
28765         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
28766         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
28767         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
28768         Moved ...
28769         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
28770         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
28771         Moved ...
28772         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
28773         ... here.
28774         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
28775         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
28776         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
28777         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
28778         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
28779         Moved ...
28780         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
28781         ... here.
28782         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
28783         Moved ...
28784         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
28785         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
28786         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
28787         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
28788         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
28789         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
28790         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
28791         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
28792         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
28793         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
28794         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
28796         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
28797         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
28799         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
28800         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
28802         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
28803         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
28804         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
28805         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
28806         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
28807         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
28808         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
28809         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
28810         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
28811         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
28812         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
28813         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
28814         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
28815         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
28816         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
28817         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
28818         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
28819         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
28820         Moved ...
28821         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
28822         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
28823         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
28824         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
28825         Moved ...
28826         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
28827         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
28828         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
28829         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
28830         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
28831         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
28832         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
28833         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
28834         Moved ...
28835         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
28836         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
28837         Moved ...
28838         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
28839         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
28840         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
28841         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
28842         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
28843         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
28844         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
28845         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
28846         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
28847         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
28848         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
28849         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
28850         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
28851         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
28852         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
28853         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
28854         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
28856         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
28857         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
28858         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
28859         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
28860         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
28862         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
28863         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
28864         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
28865         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
28866         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
28867         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
28868         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
28869         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
28870         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
28871         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
28873         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
28874         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
28876         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
28877         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
28878         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
28879         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
28880         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
28881         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
28882         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
28883         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
28884         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
28885         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
28886         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
28887         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
28888         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
28889         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
28890         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
28891         Update #include.
28892         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
28893         Likewise.
28894         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28895         Likewise.
28896         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28897         Likewise.
28898         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28899         Likewise.
28900         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
28901         Likewise.
28902         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
28903         Likewise.
28904         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28905         Likewise.
28906         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
28907         Likewise.
28908         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
28909         Likewise.
28910         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
28911         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
28912         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
28913         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
28914         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
28915         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
28916         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
28917         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
28918         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
28919         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
28920         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
28921         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
28922         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
28923         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
28924         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
28926         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
28927         that was previously under [RESET_PID].
28928         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28929         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
28930         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
28932         * sysdeps/i386/nptl/Implies: New file.
28933         * sysdeps/x86_64/nptl/Implies: New file.
28934         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
28935         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
28936         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
28937         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
28939         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
28940         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28941         (__libc_vfork): New strong alias.
28942         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
28943         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
28945         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
28946         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28947         (__libc_vfork): New strong alias.
28948         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
28949         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
28951         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
28952         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28953         (__libc_vfork): New strong alias.
28954         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
28955         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
28956         * nptl/pt-vfork.c: New file.
28957         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
28958         (libpthread: GLIBC_2.20): New version set (empty).
28960 2014-05-14  Will Newton  <will.newton@linaro.org>
28962         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
28963         rather than #if.
28965 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
28967         [BZ #16564]
28968         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
28969         arguments with exponent 65 or above.
28970         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
28971         arguments 0x1p113L or above.
28972         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
28973         to arguments 0x1p107L or above.
28974         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
28975         positive arguments with exponent 65 or above.
28976         * math/auto-libm-test-in: Add more tests of log1p.
28977         * math/auto-libm-test-out: Regenerated.
28979         [BZ #16928]
28980         * math/s_cacos.c (__cacos): Ensure zero real part of result from
28981         non-finite arguments is +0.
28982         * math/s_cacosf.c (__cacosf): Likewise.
28983         * math/s_cacosl.c (__cacosl): Likewise.
28984         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
28985         * sysdeps/i386/fpu/libm-test-ulps: Update.
28986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28988         [BZ #16927]
28989         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
28990         value.
28991         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28992         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
28993         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
28994         for explicit high bit of mantissa when testing for argument equal
28995         to 1.
28996         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
28997         * sysdeps/i386/fpu/libm-test-ulps: Update.
28998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29000         [BZ #16516]
29001         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
29002         (__erf): Scale by 16 instead of 8 in potentially underflowing
29003         case.  Ensure exception if result actually underflows.
29004         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
29005         (__erff): Scale by 16 instead of 8 in potentially underflowing
29006         case.  Ensure exception if result actually underflows.
29007         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
29008         (efx8): Remove variable.
29009         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29010         case.  Ensure exception if result actually underflows.
29011         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
29012         (efx8): Remove variable.
29013         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29014         case.  Ensure exception if result actually underflows.
29015         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
29016         (efx8): Remove variable.
29017         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29018         case.  Ensure exception if result actually underflows.
29019         * math/auto-libm-test-in: Add more tests of erf.
29020         * math/auto-libm-test-out: Regenerated.
29022 2014-05-14  Andreas Schwab  <schwab@suse.de>
29024         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
29025         Remove code conditionalized on USE___THREAD.
29027         * config.h.in (HAVE_PT_CHOWN): Define as 0.
29028         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
29029         not definedness.
29031 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
29033         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
29034         Define unconditionally.
29035         (__ASSUME_O_CLOEXEC): Likewise.
29036         (__ASSUME_SOCK_CLOEXEC): Likewise.
29037         (__ASSUME_IN_NONBLOCK): Likewise.
29038         (__ASSUME_PIPE2): Likewise.
29039         (__ASSUME_EVENTFD2): Likewise.
29040         (__ASSUME_SIGNALFD4): Likewise.
29041         (__ASSUME_DUP3): Likewise.
29042         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29043         (__ASSUME_DUP3): Do not define.
29044         (__ASSUME_EVENTFD2): Likewise.
29045         (__ASSUME_IN_NONBLOCK): Likewise.
29046         (__ASSUME_O_CLOEXEC): Likewise.
29047         (__ASSUME_PIPE2): Likewise.
29048         (__ASSUME_SIGNALFD4): Likewise.
29049         (__ASSUME_SOCK_CLOEXEC): Likewise.
29050         (__ASSUME_UTIMES): Undefine.
29051         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29052         (__ASSUME_UTIMES): Do not define.
29053         (__ASSUME_O_CLOEXEC): Likewise.
29054         (__ASSUME_SOCK_CLOEXEC): Likewise.
29055         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
29056         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
29057         0x020621].
29058         (__ASSUME_PIPE2): Likewise.
29059         (__ASSUME_EVENTFD2): Likewise.
29060         (__ASSUME_SIGNALFD4): Likewise.
29061         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
29062         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
29063         Do not define.
29064         (__ASSUME_EVENTFD2): Likewise.
29065         (__ASSUME_SIGNALFD4): Likewise.
29066         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29067         (__ASSUME_32BITUIDS): Likewise.
29068         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29069         (__ASSUME_IPC64): Likewise.
29070         (__ASSUME_ST_INO_64_BIT): Likewise.
29071         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
29072         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
29073         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29074         (__ASSUME_UTIMES): Do not define.
29075         (__ASSUME_PSELECT): Likewise.
29076         (__ASSUME_PPOLL): Likewise.
29077         (__ASSUME_O_CLOEXEC): Likewise.
29078         (__ASSUME_SOCK_CLOEXEC): Likewise.
29079         (__ASSUME_IN_NONBLOCK): Likewise.
29080         (__ASSUME_PIPE2): Likewise.
29081         (__ASSUME_EVENTFD2): Likewise.
29082         (__ASSUME_SIGNALFD4): Likewise.
29083         (__ASSUME_DUP3): Likewise.
29084         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29085         (__ASSUME_UTIMES): Likewise.
29086         (__ASSUME_O_CLOEXEC): Likewise.
29087         (__ASSUME_SOCK_CLOEXEC): Likewise.
29088         (__ASSUME_IN_NONBLOCK): Likewise.
29089         (__ASSUME_PIPE2): Likewise.
29090         (__ASSUME_EVENTFD2): Likewise.
29091         (__ASSUME_SIGNALFD4): Likewise.
29092         (__ASSUME_DUP3): Likewise.
29093         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29094         (__ASSUME_UTIMES): Likewise.
29095         (__ASSUME_O_CLOEXEC): Likewise.
29096         (__ASSUME_SOCK_CLOEXEC): Likewise.
29097         (__ASSUME_IN_NONBLOCK): Likewise.
29098         (__ASSUME_PIPE2): Likewise.
29099         (__ASSUME_EVENTFD2): Likewise.
29100         (__ASSUME_SIGNALFD4): Likewise.
29101         (__ASSUME_DUP3): Likewise.
29102         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
29103         Likewise.
29104         (__ASSUME_UTIMES): Likewise.
29105         (__ASSUME_EVENTFD2): Likewise.
29106         (__ASSUME_SIGNALFD4): Likewise.
29107         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29108         (__ASSUME_O_CLOEXEC): Likewise.
29109         (__ASSUME_SOCK_CLOEXEC): Likewise.
29110         (__ASSUME_IN_NONBLOCK): Likewise.
29111         (__ASSUME_PIPE2): Likewise.
29112         (__ASSUME_EVENTFD2): Likewise.
29113         (__ASSUME_SIGNALFD4): Likewise.
29114         (__ASSUME_DUP3): Likewise.
29115         (__ASSUME_UTIMES): Undefine.
29117         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
29118         feclearexcept.  Remove symbol versioning code.
29119         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
29120         symbol versioning code.
29121         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
29122         symbol versioning code.
29123         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
29124         feupdateenv.  Remove symbol versioning code.
29125         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
29126         fegetexceptflag.  Remove symbol versioning code.
29127         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
29128         fesetexceptflag.  Remove symbol versioning code.
29129         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
29130         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
29131         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
29132         (__posix_fadvise64_l32): Remove prototype.
29133         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
29134         code.
29136 2014-05-13  Roland McGrath  <roland@hack.frob.com>
29138         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
29139         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
29140         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
29141         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
29143 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
29145         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
29146         current working directory
29148 2014-05-13  Roland McGrath  <roland@hack.frob.com>
29150         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
29151         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
29152         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
29153         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
29154         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
29155         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
29156         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
29157         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
29158         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
29159         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
29160         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
29161         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
29162         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
29163         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
29164         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
29165         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
29166         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
29167         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
29168         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
29169         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
29170         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
29171         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
29172         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
29173         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
29174         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
29175         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
29176         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
29177         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
29178         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
29179         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
29180         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
29181         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
29182         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
29183         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
29184         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
29185         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
29186         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
29187         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
29188         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
29189         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
29190         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
29191         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
29193         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
29194         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
29196         * sysdeps/unix/sysv/linux/arm/Makefile
29197         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
29198         Add rt-aeabi_unwind_cpp_pr1.
29199         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
29200         Add nptl-aeabi_unwind_cpp_pr1.
29201         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
29202         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
29203         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
29204         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29205         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
29206         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29208         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
29209         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
29210         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
29211         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
29213         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
29214         Deconditionalize the code that was previously under [RESET_PID].
29215         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
29217         * sysdeps/generic/exit-thread.h: New file.
29218         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
29219         * include/unistd.h (__exit_thread): Remove declaration.
29220         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
29221         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
29222         * csu/libc-start.c: Include <exit-thread.h>.
29223         (LIBC_START_MAIN): Pass no argument to __exit_thread.
29224         * nptl/pthread_create.c: Include <exit-thread.h>.
29225         (start_thread): Call __exit_thread in place of __exit_thread_inline.
29226         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
29227         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
29228         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
29229         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
29230         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
29231         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
29232         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
29233         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
29234         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
29235         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
29236         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
29237         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
29238         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
29239         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
29240         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
29241         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
29243 2014-05-13  Andreas Schwab  <schwab@suse.de>
29245         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
29247 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
29249         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29250         (__ASSUME_UTIMES): Do not condition on kernel version.
29251         (__ASSUME_PSELECT): Define unconditionally.
29252         (__ASSUME_PPOLL): Likewise.
29253         (__ASSUME_ATFCTS): Likewise.
29254         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
29255         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
29256         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
29257         (__ASSUME_UTIMENSAT): Define unconditionally.
29258         (__ASSUME_PRIVATE_FUTEX): Likewise.
29259         (__ASSUME_FALLOCATE): Likewise.
29260         (__ASSUME_O_CLOEXEC): Likewise.
29261         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
29262         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
29263         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
29264         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
29265         (__ASSUME_IN_NONBLOCK): Likewise.
29266         (__ASSUME_PIPE2): Likewise.
29267         (__ASSUME_EVENTFD2): Likewise.
29268         (__ASSUME_SIGNALFD4): Likewise.
29269         (__ASSUME_DUP3): Likewise.
29270         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29271         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
29272         (__ASSUME_AT_RANDOM): Likewise.
29273         (__ASSUME_PREADV): Likewise.
29274         (__ASSUME_PWRITEV): Likewise.
29275         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
29276         (__ASSUME_F_GETOWN_EX): Define unconditionally.
29277         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
29278         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29279         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
29280         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29281         (__ASSUME_O_CLOEXEC): Define unconditionally.
29282         (__ASSUME_PSELECT): Do not undefine conditionally.
29283         (__ASSUME_PPOLL): Likewise.
29284         (__ASSUME_ATFCTS): Likewise.
29285         (__ASSUME_SET_ROBUST_LIST): Likewise.
29286         (__ASSUME_UTIMENSAT): Likewise.
29287         (__ASSUME_FDATASYNC): Define unconditionally.
29288         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29289         (__ASSUME_SIGFRAME_V2): Likewise.
29290         )__ASSUME_EVENTFD2): Likewise.
29291         (__ASSUME_SIGNALFD4): Likewise.
29292         (__ASSUME_PSELECT): Do not undefine conditionally.
29293         (__ASSUME_PPOLL): Likewise.
29294         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29295         (__ASSUME_PSELECT): Define unconditionally.
29296         (__ASSUME_PPOLL): Likewise.
29297         (__ASSUME_O_CLOEXEC): Likewise.
29298         (__ASSUME_SOCK_CLOEXEC): Likewise.
29299         (__ASSUME_IN_NONBLOCK): Likewise.
29300         (__ASSUME_PIPE2): Likewise.
29301         (__ASSUME_EVENTFD2): Likewise.
29302         (__ASSUME_SIGNALFD4): Likewise.
29303         (__ASSUME_DUP3): Likewise.
29304         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29305         (__ASSUME_O_CLOEXEC): Likewise.
29306         (__ASSUME_SOCK_CLOEXEC): Likewise.
29307         (__ASSUME_IN_NONBLOCK): Likewise.
29308         (__ASSUME_PIPE2): Likewise.
29309         (__ASSUME_EVENTFD2): Likewise.
29310         (__ASSUME_SIGNALFD4): Likewise.
29311         (__ASSUME_DUP3): Likewise.
29312         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29313         (__ASSUME_EVENTFD2): Likewise.
29314         (__ASSUME_SIGNALFD4): Likewise.
29315         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29317 2014-05-12  Andreas Schwab  <schwab@suse.de>
29319         [BZ #16932]
29320         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
29321         (_nss_nis_gethostbyname4_r): Return error if item length is larger
29322         than maximum RPC packet size.
29323         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
29324         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
29325         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
29326         (_nss_nis_getservbyport_r): Likewise.
29328 2014-05-12  Will Newton  <will.newton@linaro.org>
29330         * malloc/Makefile (tests): Add tst-mallopt.
29331         * malloc/tst-mallopt.c: New file.
29333 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29335         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
29336         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
29338 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29340         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
29341         (tst-tlsmod6.so): Likewise.
29343 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29345         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
29347 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
29349         [BZ #16064]
29350         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
29351         and <dl-procinfo.h>.
29352         (__fegetenv): Save SSE state in envp->__eip if supported.
29353         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
29354         envp->__eip if supported.
29355         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
29356         and <dl-procinfo.h>.
29357         (__fesetenv): Always set __eip, __cs_selector, __opcode,
29358         __data_offset and __data_selector in environment to 0.  Set SSE
29359         state if supported.
29360         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
29361         test-fenv-sse.
29362         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
29363         -mfpmath=sse.
29364         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
29366 2014-05-09  Will Newton  <will.newton@linaro.org>
29368         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
29369         and libc_relro_required for ARM.
29370         * sysdeps/arm/preconfigure: Regenerate.
29372 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
29373             Stefan Liebler  <stli@linux.vnet.ibm.com>
29375         * config.make.in (enable-lock-elision): New Makefile variable.
29376         * configure.ac: Likewise.
29377         * configure: Regenerate.
29378         * sysdeps/s390/configure.ac:
29379         Add check for gcc transactions support.
29380         * sysdeps/s390/configure: Regenerate.
29381         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
29382         Build elision files if enabled.
29383         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
29384         Add lock elision support for s390.
29385         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
29386         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
29387         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
29388         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
29389         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
29390         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
29391         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29392         Likewise.
29393         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
29394         Likewise.
29395         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
29396         Likewise.
29397         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
29398         Likewise.
29399         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
29400         (__lll_timedlock_elision, __lll_lock_elision)
29401         (__lll_unlock_elision, __lll_trylock_elision)
29402         (lll_timedlock_elision, lll_lock_elision)
29403         (lll_unlock_elision, lll_trylock_elision): Add.
29404         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29405         (pthread_mutex_t): Add lock elision support for s390.
29407 2014-05-14  Wilco  <wdijkstr@arm.com>
29409         * sysdeps/arm/fclrexcpt.c: Cleanup.
29410         * sysdeps/arm/fedisblxcpt.c: Cleanup.
29411         * sysdeps/arm/feenablxcpt.c: Cleanup.
29412         * sysdeps/arm/fegetenv.c: Cleanup.
29413         * sysdeps/arm/fegetexcept.c: Cleanup.
29414         * sysdeps/arm/fegetround.c: Cleanup.
29415         * sysdeps/arm/feholdexcpt.c: Cleanup.
29416         * sysdeps/arm/fesetenv.c: Cleanup.
29417         * sysdeps/arm/fesetround.c: Cleanup.
29418         * sysdeps/arm/feupdateenv.c: Cleanup.
29419         * sysdeps/arm/fgetexcptflg.c: Cleanup.
29420         * sysdeps/arm/fraiseexcpt.c: Cleanup.
29421         * sysdeps/arm/fsetexcptflg.c: Cleanup.
29422         * sysdeps/arm/ftestexcept.c: Cleanup.
29423         * sysdeps/arm/get-rounding-mode.h: Cleanup.
29424         * sysdeps/arm/setfpucw.c: Cleanup.
29426 2014-05-09  Will Newton  <will.newton@linaro.org>
29428         * sysdeps/arm/armv7/strcmp.S: New file.
29429         * NEWS: Mention addition of ARMv7 optimized strcmp.
29431 2014-05-08  Roland McGrath  <roland@hack.frob.com>
29433         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
29434         look for %.ac rather than %.in.
29436         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
29437         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
29438         * sysdeps/mach/hurd/configure: Regenerated.
29439         * sysdeps/unix/sysv/linux/configure: Regenerated.
29441         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
29443 2014-05-07  Steve Ellcey  <sellcey@mips.com>
29445         [BZ# 16922]
29446         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
29447         (LONG_SUB): Ditto.
29448         (PTR_SUB): Ditto.
29450 2014-05-07  Andreas Schwab  <schwab@suse.de>
29452         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
29453         when skipping over non-matching result from nscd.
29455 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
29457         [BZ #16876]
29458         * nptl/sockperf.c (client): Check socket return value.
29460         [BZ #16877]
29461         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
29462         nscd security class.
29464 2014-05-06  Roland McGrath  <roland@hack.frob.com>
29466         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
29467         * sysdeps/arm/unwind.h: ... here.
29469 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
29471         [BZ# 16916]
29472         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
29473         Define.
29475 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29477         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
29478         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
29479         multiarch strncpy for PPC64.
29480         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
29481         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
29482         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
29483         multiarch optimizations.
29484         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29485         (__libc_ifunc_impl_list): Likewise.
29486         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
29487         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
29488         multiarch stpncpy for PPC64.
29489         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
29490         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
29492 2014-05-06  Andreas Schwab  <schwab@suse.de>
29494         [BZ #16912]
29495         * gmon/mcount.c (_MCOUNT_DECL): Use
29496         atomic_compare_and_exchange_bool_acq instead of
29497         catomic_compare_and_exchange_bool_acq.
29499 2014-05-05  Roland McGrath  <roland@hack.frob.com>
29501         * elf/Makefile (others, install-bin): Remove pldd.
29502         (pldd-modules): Variable removed.
29503         ($(objpfx)pldd): Target removed.
29504         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
29505         (others, install-bin): Append pldd here.
29506         ($(objpfx)pldd): New target.
29508         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
29509         to 0, so the first #if test emitted later doesn't see it undefined.
29510         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
29511         * sysdeps/gnu/errlist.c: Regenerated.
29513 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29515         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
29516         [libc_hidden_builtin_def]: Define to empty value.
29517         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
29518         [libc_hidden_builtin_def]: Likewise.
29519         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
29520         [libc_hidden_builtin_def]: Likewise.
29521         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
29522         [libc_hidden_builtin_def]: Likewise.
29523         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
29524         __redirect_memcpy and define ifunc as default hidden symbol.
29525         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
29526         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
29528 2014-05-04  Adam Conrad  <adconrad@0c3.net>
29530         * locale/iso-4217.def: Reintroduce XDR currency.
29532 2014-05-04  Allan McRae  <allan@archlinux.org>
29534         * po/eo.po: Update Esperanto translation from translation project.
29536 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
29538         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
29539         and FEATURE_INDEX_MAX to 1.
29540         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
29542 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29544         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
29545         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
29546         * iconvdata/big5.c (ONE_DIRECTION): Define.
29547         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
29548         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
29549         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
29550         * iconvdata/cp932.c (ONE_DIRECTION): Define.
29551         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
29552         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
29553         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
29554         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
29555         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
29556         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
29557         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
29558         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
29559         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
29560         * iconvdata/gbk.c (ONE_DIRECTION): Define.
29561         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
29562         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
29563         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
29564         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
29565         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
29566         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
29567         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
29568         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
29569         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
29570         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
29571         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
29572         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
29573         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
29574         * iconvdata/iso646.c (ONE_DIRECTION): Define.
29575         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
29576         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
29577         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
29578         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
29579         * iconvdata/johab.c (ONE_DIRECTION): Define.
29580         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
29581         * iconvdata/sjis.c (ONE_DIRECTION): Define.
29582         * iconvdata/t.61.c (ONE_DIRECTION): Define.
29583         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
29584         * iconvdata/tscii.c (ONE_DIRECTION): Define.
29585         * iconvdata/uhc.c (ONE_DIRECTION): Define.
29586         * iconvdata/unicode.c (ONE_DIRECTION): Define.
29587         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
29588         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
29589         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
29591 2014-05-01  Roland McGrath  <roland@hack.frob.com>
29593         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
29594         (_IO_JUMPS_OFFSET): Define to 0.
29596         * nptl/sysdeps/pthread/bits/libc-lock.h
29597         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29598         (__libc_lock_define_initialized_recursive): Always define using
29599         initializer.  Modern compilers treat uninitialized (implicit zero) and
29600         explicit zero initializers the same (i.e. put the datum in bss).
29602 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29604         * nscd/nscd-client.h: Include <string.h>.
29606 2014-05-01  David S. Miller  <davem@davemloft.net>
29608         [BZ #16885]
29609         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
29610         multiple zero bytes exist at the end of a string.
29611         Reported by Aurelien Jarno <aurelien@aurel32.net>
29613         * string/test-strcmp.c (check): Add explicit test for situations where
29614         there are multiple zero bytes after the first.
29616 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29618         [BZ #16890]
29619         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
29620         when compiling wprintf.
29621         * stdio-common/tstdiomisc.c (t3): New function.
29622         (main): Call it.
29624 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29626         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
29627         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
29628         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
29629         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
29631 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29633         * stdlib/longlong.h: Updated from GCC.
29635 2014-05-01  Will Newton  <will.newton@linaro.org>
29636             Bernard Ogden  <bernie.ogden@linaro.org>
29638         * NEWS: Update fixed bug list.
29640         [BZ #15119]
29641         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
29643 2014-04-30  David S. Miller  <davem@davemloft.net>
29645         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
29646         (libc_feholdexcept_setround_sparc_ctx): New function.
29647         (libc_fesetenv_sparc_ctx): Likewise.
29648         (libc_feupdateenv_sparc_ctx): Likewise.
29649         (libc_feholdsetround_sparc_ctx): Likewise.
29650         (libc_feholdexcept_setround_ctx): Define.
29651         (libc_feholdexcept_setroundf_ctx): Likewise.
29652         (libc_feholdexcept_setroundl_ctx): Likewise.
29653         (libc_fesetenv_ctx): Likewise.
29654         (libc_fesetenvf_ctx): Likewise.
29655         (libc_fesetenvl_ctx): Likewise.
29656         (libc_feupdateenv_ctx): Likewise.
29657         (libc_feupdateenvf_ctx): Likewise.
29658         (libc_feupdateenvl_ctx): Likewise.
29659         (libc_feresetround_ctx): Likewise.
29660         (libc_feresetroundf_ctx): Likewise.
29661         (libc_feresetroundl_ctx): Likewise.
29662         (libc_feholdsetround_ctx): Likewise.
29663         (libc_feholdsetroundf_ctx): Likewise.
29664         (libc_feholdsetroundl_ctx): Likewise.
29666         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29667         with __USE_GNU instead of XOPEN cpp guards.
29669         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
29670         0.
29672         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29673         with XOPEN cpp guards.
29675 2014-04-30  Julian Brown  <julian@codesourcery.com>
29677         [BZ #16888]
29678         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
29679         handling.
29681 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
29683         [BZ #9894]
29684         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
29685         Change to 2.6.32.
29686         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
29687         * sysdeps/unix/sysv/linux/configure: Regenerated.
29688         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
29689         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
29690         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
29691         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
29692         * README: Update reference to required Linux kernel version.
29693         * manual/install.texi (Linux): Update reference to required Linux
29694         kernel headers version.
29695         * INSTALL: Regenerated.
29697         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
29698         header inclusion.
29699         [POSIX] (limits.h): Likewise.
29700         [POSIX] (math.h): Likewise.
29701         [POSIX] (sys/wait.h): Likewise.
29702         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
29703         function.
29704         [POSIX] (stddef.h): Do not allow header inclusion.
29706 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29708         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
29710 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
29712         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
29713         Return immediately after lll_futex_wake.
29715 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29717         [BZ #16791]
29718         * nscd/nscd-client.h (datahead_init_common): Initialize entire
29719         structure.
29720         (datahead_init_pos): Call datahead_init_common early.
29721         (datahead_init_neg): Likewise.
29723         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
29724         datahead_init_neg): New functions.
29725         * nscd/aicache.c (addhstaiX): Use them.
29726         * nscd/grpcache.c (cache_addgr): Likewise.
29727         * nscd/hstcache.c (cache_addhst): Likewise.
29728         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29729         * nscd/netgroupcache.c (do_notfound): Likewise.
29730         (addgetnetgrentX): Likewise.
29731         (addinnetgrX): Likewise.
29732         * nscd/pwdcache.c (cache_addpw): Likewise.
29733         * nscd/servicescache.c (cache_addserv): Likewise.
29735 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29736             Atsushi Onoe  <atsushi@onoe.org>
29738         [BZ #14308]
29739         [BZ #12994]
29740         [BZ #13651]
29741         * resolv/res_query.c (__libc_res_nsearch): Return if at least
29742         one response is valid.
29743         * resolv/res_send.c (send_dg): Check for validity of other
29744         response if the current response is a referral.
29746 2014-04-29  Steve Ellcey  <sellcey@mips.com>
29748         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
29750 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
29752         [BZ #16823]
29753         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
29754         Always divide by positive zero when computing -Inf result.
29755         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
29756         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
29758 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29760         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
29761         FPSCR if value do not change.
29762         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29763         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
29764         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
29765         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29766         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
29767         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
29768         function.
29770 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
29772         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
29773         * sysdeps/unix/sysv/linux/hppa: Move directory from
29774         ports/systeps/unix/sysv/linux/hppa.
29775         * README: Update listing for hppa-*-linux-gnu.
29777 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
29779         [BZ #16754]
29780         * manual/stdio.texi (Hook functions): Fix types of stream hook
29781         functions.
29782         [BZ #16854]
29783         * socket/sys/socket.h: Fix typo in comment.
29785 2014-04-28  Wilco  <wdijkstr@arm.com>
29787         * sysdeps/arm/fenv_private.h: New file.
29788         * sysdeps/arm/math_private.h: New file.
29789         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
29791 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
29793         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
29794         with __int128_t.
29795         (La_x86_64_retval): Likewise.
29797 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
29799         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
29800         fpsr if value didn't change.
29801         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
29802         to fpcr if value didn't change.
29803         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
29804         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
29805         fpsr or fpcr if value didn't change.
29806         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
29807         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
29808         fpcr if value didn't change.
29809         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
29810         to fpsr if value didn't change.
29812 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29814         * nptl/tst-sem3.c: Use test-skeleton.c
29815         (main): Rename to do_test.  Use return instead of
29816         exit.
29817         * nptl/tst-sem4.c: Use test-skeleton.c
29818         (main): Rename to do_test.
29820 2014-04-22  David S. Miller  <davem@davemloft.net>
29822         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
29823         (struct sigaction): New struct member __glibc_reserved0, change
29824         type of sa_flags to int.
29826 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
29828         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
29829         (COUNT_LEADING_ZEROS_0): Define for AArch64.
29831 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29833         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
29834         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
29836 2014-04-22  Will Newton  <will.newton@linaro.org>
29837             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
29839         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
29840         (__longjmp): Add longjmp and longjmp_target SystemTap
29841         probes.
29842         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
29843         (__sigsetjmp): Add setjmp SystemTap probe.
29845 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
29847         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
29848         match manual order.
29850 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29852         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
29854         * sysdeps/powerpc/fpu/fenv_private.h
29855         (libc_feholdexcept_setroundl_ctx): Define to
29856         libc_feholdexcept_setround_ppc_ctx.
29857         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
29858         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
29859         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
29860         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
29862 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
29864         * sysdeps/aarch64/math-tests.h: New file.
29866 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
29868         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
29869         New.
29870         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29871         Check and set bit_AVX2_Usable.
29872         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
29873         macro.
29874         (bit_AVX2): Likewise.
29875         (index_AVX2_Usable): Likewise.
29876         (CPUID_AVX2): Likewise.
29877         (HAS_AVX2): Likewise.
29879 2014-04-17  Will Newton  <will.newton@linaro.org>
29881         * manual/setjmp.texi (System V contexts): Add note that
29882         calling setcontext on a context created by a call to a
29883         signal handler is undefined.  Update text to note that
29884         setcontext from a signal handler is possible but not
29885         recommended.
29887         [BZ #16629]
29888         * stdlib/tst-setcontext.c: Include signal.h.
29889         (main): Check that the signal stack before and
29890         after swapcontext is the same.
29892         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
29893         Re-implement to restore registers in user code and avoid
29894         rt_sigreturn system call.
29896 2014-04-17  Wilco  <wdijkstr@arm.com>
29898         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
29899         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
29900         * math/test-fenv.c: Skip exception trap tests on targets which only
29901         support non-stop mode.
29903 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
29904             Wilco Dijkstra  <wilco.dijkstra@arm.com>
29906         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
29907         (libc_feholdsetround_aarch64_ctx)
29908         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
29909         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
29910         (libc_feresetround_ctx, libc_feresetroundf_ctx)
29911         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
29912         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
29913         (libc_feresetround_noexl_ctx): Define.
29915 2014-04-16  Richard Henderson  <rth@redhat.com>
29917         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
29919         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
29920         unwind tables.
29922         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
29923         const from the non-libc, non-ldso copy.
29925         * sysdeps/alpha/libm-test-ulps: Regenerate.
29927 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
29928             Wilco Dijkstra  <wilco.dijkstra@arm.com>
29930         * sysdeps/aarch64/fpu/math_private.h: New file.
29932 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29934         * sysdeps/aarch64/libm-test-ulps: Regenerate.
29936 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
29938         [BZ #16275]
29939         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
29940         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
29941         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
29942         Intel MPX bound registers before _dl_profile_fixup.
29943         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
29944         registers after _dl_profile_fixup.  Save and restore bound
29945         registers bnd0/bnd1 when calling _dl_call_pltexit.
29946         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
29947         (LR_BND_OFFSET): Likewise.
29948         (LRV_BND0_OFFSET): Likewise.
29949         (LRV_BND1_OFFSET): Likewise.
29951 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29953         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
29954         to...
29955         * sysdeps/mach/hurd/i386/tls.h: ... here.
29956         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
29957         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
29958         fields.
29960 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29962         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
29964 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29966         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29968 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29970         [BZ #14770]
29971         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
29972         * sysdeps/s390/configure: Regenerate.
29974         [BZ #16824]
29975         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
29976         Set round-to-nearest internally to reduce error accumulation.
29978 2014-04-16  Alan Modra  <amodra@gmail.com>
29980         [BZ #16740]
29981         [BZ #16619]
29982         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
29983         * math/libm-test.inc (frexp_test_data): Add tests.
29984         * NEWS: Update fixed bug list.
29986 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29988         * benchtests/Makefile: Depend on libraries in build directory.
29989         (bench-math): Separate out math tests.
29990         (bench-pthread): Separate out pthread tests.
29991         (bench): Include math and pthread tests.
29993 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
29995         [BZ #16831]
29996         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
29997         _dl_debug_initialize.
29999         * configure.ac: Remove SELinux header check.
30000         * configure: Regenerate.
30001         * nscd/selinux.c (perms): Array of const char* to permission names.
30002         (nscd_request_avc_has_perm): Call security_deny_unknown to find
30003         default policy. Call string_to_security_class and string_to_av_perm to
30004         translate strings. Enforce default policy and call avs_has_perm with
30005         results of translated strings.
30007 2014-04-13  David S. Miller  <davem@davemloft.net>
30009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30011 2014-04-12  Allan McRae  <allan@archlinux.org>
30013         [BZ #16838]
30014         * manual/string.texi (Collation Functions): Fix qsort argument
30015         order in example.
30016         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30018 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
30020         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
30021         Make the test a no-op if there are no exceptions defined.
30023 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30025         * elf/Makefile (tests): make tst-dlopen-aout conditional on
30026         enable-hardcoded-path-in-tests
30028 2014-04-11  Will Newton  <will.newton@linaro.org>
30030         * benchtests/Makefile (extra-objs): Add json-lib.o.
30031         (bench-func): Tidy up JSON output.
30032         * benchtests/bench-skeleton.c: Include json-lib.h.
30033         (main): Use JSON library functions to do output of
30034         benchmark results.
30035         * benchtests/bench-timing-type.c (main): Output the
30036         timing type simply, leaving formatting to the user.
30037         * benchtests/json-lib.c: New file.
30038         * benchtests/json-lib.h: Likewise.
30040 2014-04-11  Torvald Riegel  <triegel@redhat.com>
30042         [BZ #15215]
30043         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
30044         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
30045         memory barriers.  Add comments.
30046         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
30047         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
30048         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
30049         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
30050         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
30051         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
30053 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30055         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
30056         * sysdeps/s390/s390-64/configure.ac: ... this ...
30057         * sysdeps/s390/configure.ac: ... to here.
30058         * sysdeps/s390/s390-32/configure: Delete file.
30059         * sysdeps/s390/s390-64/configure: Delete file.
30060         * sysdeps/s390/configure: Regenerate.
30062 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
30064         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
30066 2014-04-11  Will Newton  <will.newton@linaro.org>
30068         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
30069         to zero if it is not defined elsewhere.  (mtrim): Test
30070         the value of MALLOC_DEBUG with #if rather than #ifdef.
30072 2014-04-10 Torvald Riegel  <triegel@redhat.com>
30074         * benchtests/pthread_once-inputs: New file.
30075         * benchtests/pthread_once-source.c: New file.
30076         * benchtests/README: Update documentation.
30078 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
30079             H.J. Lu  <hongjiu.lu@intel.com>
30081         [BZ #16275]
30082         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
30083         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
30084         * sysdeps/x86_64/configure: Regenerated.
30085         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
30086         macro.
30087         (REGISTER_SAVE_RAX): Likewise.
30088         (REGISTER_SAVE_RCX): Likewise.
30089         (REGISTER_SAVE_RDX): Likewise.
30090         (REGISTER_SAVE_RSI): Likewise.
30091         (REGISTER_SAVE_RDI): Likewise.
30092         (REGISTER_SAVE_R8): Likewise.
30093         (REGISTER_SAVE_R9): Likewise.
30094         (REGISTER_SAVE_BND0): Likewise.
30095         (REGISTER_SAVE_BND1): Likewise.
30096         (REGISTER_SAVE_BND2): Likewise.
30097         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
30098         bound registers when calling _dl_fixup.
30100 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30102         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
30103         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
30104         of its definition.
30105         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
30106         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
30107         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
30108         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
30109         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
30110         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
30111         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
30113 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
30115         [BZ #15514]
30116         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
30117         pathconf(_PC_NAME_MAX).
30119 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30121         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
30122         Remove macro usage.
30123         (__PTHREAD_SPINS): Move definition to ...
30124         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30125         (__PTHREAD_SPINS): ... here.
30126         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30127         (__PTHREAD_SPIN): Likewise.
30128         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
30129         (__PTHREAD_SPIN): Likewise.
30130         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
30131         (__PTHREAD_SPIN): Likewise.
30132         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
30133         (__PTHREAD_SPIN): Likewise.
30134         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30135         (__PTHREAD_SPIN): Likewise.
30136         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30137         (__PTHREAD_SPIN): Likewise.
30138         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
30139         (__PTHREAD_SPIN): Likewise.
30140         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30141         (__PTHREAD_SPIN): Likewise.
30142         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30143         (__PTHREAD_SPIN): Likewise.
30144         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30145         (__PTHREAD_SPIN): Likewise.
30146         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30147         (__PTHREAD_SPIN): Likewise.
30148         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
30149         (__PTHREAD_SPIN): Likewise.
30151         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
30152         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
30153         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
30154         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
30155         imply folder.
30156         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
30157         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
30158         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
30159         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
30160         correct imply path.
30161         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
30162         strlen symbol for non multi-arch builds.
30163         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
30164         missing hidden_def and weak_alias.
30166 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
30168         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
30170 2014-04-07  Will Newton  <will.newton@linaro.org>
30172         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
30173         and contents.  [!_LIBC] Remove #ifndef and contents.
30174         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
30175         * string/memccpy.c (__memccpy): Use ANSI prototype.
30176         * string/memfrob.c (memfrob): Likewise.
30177         * string/strcoll.c (STRCOLL): Likewise.
30178         * string/strlen.c (strlen): Likewise.
30179         * string/strtok.c (STRTOK): Likewise.
30180         * string/strcat.c: Remove unused #include of memcopy.h.
30181         (strcat): Use ANSI prototype.
30182         * string/strchr.c: Remove unused #include of memcopy.h.
30183         (strchr): Use ANSI prototype.
30184         * string/strcmp.c: Remove unused #include of memcopy.h.
30185         (strcmp): Use ANSI prototype.
30186         * string/strcpy.c: Remove unused #include of memcopy.h.
30187         (strcpy): Use ANSI prototype.
30189 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30191         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
30192         * config.make.in (config-extra-cppflags): Set it from
30193         libc_extra_cppflags.
30194         * configure.ac (libc_extra_cflags): Make it accumulate over
30195         configure fragments.
30196         (libc_extra_cppflags): New flag.
30197         * configure. Regenerate.
30198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30199         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
30200         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
30201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
30203         [BZ #16815]
30204         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
30205         result for FE_DOWNWARD rounding mode.
30206         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
30207         Likewise.
30208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30210 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
30212         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
30213         in function argument name.
30215 2014-04-03  David Svoboda  <svoboda@cert.org>
30217         [BZ #5666]
30218         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
30219         explicitly.
30221 2014-04-03  Roland McGrath  <roland@hack.frob.com>
30223         * elf/dl-unmap-segments.h: New file.
30224         * sysdeps/generic/ldsodefs.h
30225         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
30226         * elf/dl-close.c: Include <dl-unmap-segments.h>.
30227         * elf/dl-fptr.c: Likewise.
30228         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
30229         * sysdeps/aarch64/tlsdesc.c: Likewise.
30230         * sysdeps/arm/tlsdesc.c: Likewise.
30231         * sysdeps/i386/tlsdesc.c: Likewise.
30232         * sysdeps/tile/dl-runtime.c: Likewise.
30233         * sysdeps/x86_64/tlsdesc.c: Likewise.
30234         * elf/dl-load.h: New file.
30235         * elf/dl-load.c: Include it.
30236         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
30237         Macros moved to dl-load.h.
30238         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
30239         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
30240         Use _dl_unmap_segments in place of __munmap.
30241         Break out segment-mapping loop into ...
30242         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
30244 2014-04-03  Will Newton  <will.newton@linaro.org>
30246         * elf/dl-lookup.c (do_lookup_x): Remove comment
30247         referring to nested function and move variable
30248         declarations down to before first use.
30250 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
30252         [BZ #16799]
30253         [BZ #16800]
30254         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
30255         with 0 numerator.
30256         * math/s_catanf.c (__catanf): Likewise.
30257         * math/s_catanh.c (__catanh): Likewise.
30258         * math/s_catanhf.c (__catanhf): Likewise.
30259         * math/s_catanhl.c (__catanhl): Likewise.
30260         * math/s_catanl.c (__catanl): Likewise.
30261         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
30262         by positive zero when computing -Inf result.
30263         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
30264         (catanh_test): Likewise.
30265         * sysdeps/i386/fpu/libm-test-ulps: Update.
30266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30268         [BZ #16789]
30269         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
30270         instead of using underflowing value in computing result.
30271         * math/s_clog10.c (__clog10): Likewise.
30272         * math/s_clog10f.c (__clog10f): Likewise.
30273         * math/s_clog10l.c (__clog10l): Likewise.
30274         * math/s_clogf.c (__clogf): Likewise.
30275         * math/s_clogl.c (__clogl): Likewise.
30276         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
30277         (clog10_test): Likewise.
30278         * sysdeps/i386/fpu/libm-test-ulps: Update.
30279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30281 2014-04-02  Alan Modra  <amodra@gmail.com>
30283         [BZ #16739]
30284         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
30285         output when value is near a power of two.  Use int64_t for lx and
30286         remove casts.  Use decimal rather than hex exponent constants.
30287         Don't use long double multiplication when double will suffice.
30288         * math/libm-test.inc (nextafter_test_data): Add tests.
30289         * NEWS: Add 16739 and 16786 to bug list.
30291         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
30293         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
30295 2014-04-01  Will Newton  <will.newton@linaro.org>
30297         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
30298         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
30300 2014-04-01  Florian Weimer  <fweimer@redhat.com>
30302         [BZ #13347]
30303         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
30304         * nptl/tst-setuid2.c: New file.
30305         * nptl/Makefile (xtests): Add tst-setuid2.
30307 2014-04-01  Alan Modra  <amodra@gmail.com>
30309         [BZ #16786]
30310         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
30312 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30314         [BZ #6803]
30315         [BZ #6804]
30316         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
30317         set errno as appropriate.
30318         * math/w_scalbf.c (__scalbf): Likewise.
30319         * math/w_scalbl.c (__scalbl): Likewise.
30320         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
30321         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
30322         * math/libm-test.inc (scalb_test_data): Add errno expectations.
30323         Add more NaN tests.
30325         [BZ #16349]
30326         * math/w_atan2.c: Include <errno.h>.
30327         (__atan2): Set errno for result underflowing to zero.
30328         * math/w_atan2f.c: Include <errno.h>.
30329         (__atan2f): Set errno for result underflowing to zero.
30330         * math/w_atan2l.c: Include <errno.h>.
30331         (__atan2l): Set errno for result underflowing to zero.
30332         * math/auto-libm-test-in: Don't allow missing errno for some atan2
30333         tests.
30334         * math/auto-libm-test-out: Regenerated.
30336 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30338         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30339         Encode instruction correctly in little endian.
30340         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30341         Likewise.
30342         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30343         Likewise.
30344         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30345         Likewise.
30346         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30347         Likewise.
30349 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30351         [BZ #9894]
30352         * sysdeps/unix/sysv/linux/kernel-features.h
30353         [__sparc__ && !__arch64__ && !__sparc_v9__]
30354         (__ASSUME_SET_ROBUST_LIST): Do not define.
30355         [__sparc__ && !__arch64__ && !__sparc_v9__]
30356         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30357         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
30358         Likewise.
30359         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30360         (__ASSUME_FUTEX_LOCK_PI): Undefine.
30361         (__ASSUME_REQUEUE_PI): Likewise.
30362         (__ASSUME_SET_ROBUST_LIST): Likewise.
30363         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30364         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
30365         Undefine.
30366         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30367         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
30368         Likewise.
30369         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
30370         Likewise.
30371         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
30372         Likewise.
30373         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30374         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
30375         Undefine.
30376         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
30377         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
30378         Likewise.
30380         [BZ #16648]
30381         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30382         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
30383         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
30385 2014-03-31  Will Newton  <will.newton@linaro.org>
30387         * benchtests/Makefile (bench): Add ffs and ffsll to list
30388         of tests.
30389         * benchtests/ffs-inputs: New file.
30390         * benchtests/ffsll-inputs: Likewise.
30392 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
30394         [BZ #16770]
30395         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
30396         too large before casting to int.
30397         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
30398         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
30399         * math/libm-test.inc (scalb_test_data): Add more tests.
30401 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30403         * benchtests/Makefile (DETAILED_OPT): New make option.
30404         (bench-func): Run benchmark program with -d if DETAILED_OPT is
30405         set.
30406         * benchtests/bench-skeleton.c: Include stdbool.h.
30407         (main): Store and print timings per input.
30408         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
30409         member to each argument value.
30410         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
30411         (_print_arg_data): Initialize per-input timing to 0.
30413         * benchtests/Makefile (timing-type): New binary.
30414         (bench-clean): Also remove bench-timing-type.
30415         (bench): New target for timing-type.
30416         (bench-func): Print output in JSON format.
30417         * benchtests/bench-skeleton.c (main): Print output in JSON
30418         format.
30419         * benchtests/bench-timing-type.c: New file.
30420         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
30421         (TIMING_PRINT_STATS): Remove.
30422         * benchtests/scripts/bench.py (_print_arg_data): Store variant
30423         name separately.
30425         * benchtests/bench-modf.c: Remove.
30426         * benchtests/modf-inputs: New inputs file.
30428 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
30430         [BZ #16362]
30431         * math/s_clog10.c (M_PI_LOG10E): New macro.
30432         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
30433         imaginary parts are 0.
30434         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
30435         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
30436         imaginary parts are 0.
30437         * math/s_clog10l.c (M_PI_LOG10El): New macro.
30438         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
30439         imaginary parts are 0.
30440         * math/libm-test.inc (clog10_test_data): Update expected results
30441         for when real and imaginary parts are 0.
30443 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
30445         * elf/dl-load.c: Finish conversion of __builtin_expect into
30446         __glibc_{un}likely.
30448 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
30450         [BZ #16348]
30451         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
30452         1+x for argument with exponent below -67.
30453         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
30454         Likewise.
30455         * math/auto-libm-test-in: Add more tests of exp.
30456         * math/auto-libm-test-out: Regenerated.
30458 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30460         [BZ #16759]
30461         * inet/getnetgrent_r.c (get_nonempty_val): New function.
30462         (nscd_getnetgrent): Use it.
30464         [BZ #16760]
30465         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
30466         of stpcpy.
30468 2014-03-27  Andi Kleen  <ak@linux.intel.com>
30470         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
30471         (lll_robust_lock, lll_cond_lock, lll_timedlock)
30472         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30473         (lll_robust_unlock): Remove out of line section. Use cfi
30474         intrinsics.
30475         (LLL_STUB_UNWIND_INFO*): Remove.
30476         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
30477         (lll_robust_lock, lll_cond_lock, lll_timedlock)
30478         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30479         (lll_robust_unlock): Remove out of line section. Use cfi
30480         intrinsics.
30481         (LLL_STUB_UNWIND_INFO*): Remove.
30483 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30485         [BZ #16758]
30486         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
30487         blank values.
30489 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
30491         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
30493 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
30495         [BZ #16198]
30496         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
30497         fnstenv.
30498         * math/test-fenv-preserve.c: New file.
30499         * math/Makefile (tests): Add test-fenv-preserve.
30501 2014-03-26  Will Newton <will.newton@linaro.org>
30503         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
30505 2014-03-25  Roland McGrath  <roland@hack.frob.com>
30507         * scripts/versionlist.awk: Partition the version sets and emit all
30508         GLIBC_* (sorted) before all others (sorted).
30510 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
30512         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
30513         GLIBC_2.2.5 version.
30515 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30517         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
30518         calls.
30520         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
30521         previous change.
30523         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30525 2014-03-25  Andreas Schwab  <schwab@suse.de>
30527         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
30528         label to be used after in6ailist is initialized.
30530 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30532         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30533         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30535 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
30537         [BZ #16357]
30538         [BZ #16599]
30539         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
30540         min_plus_half.
30541         (fp_formats): Update initializers.
30542         (init_fp_formats): Initialize new field.
30543         (output_for_one_input_case): Allow underflow for results up to
30544         min_plus_half.
30545         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
30546         * math/auto-libm-test-in: Don't mark some underflows from asin and
30547         atanh as spurious.
30548         * math/auto-libm-test-out: Regenerated.
30549         * sysdeps/i386/fpu/libm-test-ulps: Update.
30550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30552 2014-03-25  Andreas Schwab  <schwab@suse.de>
30554         * libio/Makefile (tst-ftell-partial-wide-ENV)
30555         (tst-ftell-active-handler-ENV): Define.
30557 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
30559         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
30561 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30563         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
30565 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
30567         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
30568         * sysdeps/x86_64/fpu/multiarch/e_exp.c
30569         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30571 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30573         [BZ #16634]
30574         * elf/dl-load.c (open_verify): Add mode parameter.
30575         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
30576         (open_path): Change from boolean 'secure' to complete flag 'mode'
30577         (_dl_map_object): Adjust.
30578         * elf/Makefile (tests): Add tst-dlopen-aout.
30579         * elf/tst-dlopen-aout.c: New test.
30581 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
30583         [BZ #16714]
30584         * sysdeps/unix/sysv/linux/s390/bits/stat.h
30585         (struct stat): Rename member pad0 to __glibc_reserved0.
30587         [BZ #16712]
30588         * sysdeps/s390/s390-32/bits/wordsize.h
30589         (__WORDSIZE32_SIZE_ULONG): New define.
30590         * sysdeps/s390/s390-64/bits/wordsize.h
30591         (__WORDSIZE32_SIZE_ULONG): Likewise.
30592         * sysdeps/generic/stdint.h (SIZE_MAX):
30593         Define as UL if __WORDSIZE32_SIZE_ULONG.
30595         [BZ #16713]
30596         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30597         (__glibc_reserved0): New variable.
30598         (sa_flags): Change type to int.
30600         * posix/Makefile (before-compile): Use += before-compile instead
30601         of a :=.
30603         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30604         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30606 2014-03-20  Andreas Schwab  <schwab@suse.de>
30608         [BZ #16743]
30609         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
30610         non-matching result from nscd.
30612 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30614         * scripts/bench.py: Moved to ...
30615         * benchtests/scripts/bench.py: ... here.
30616         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
30618 2014-03-24  Andreas Schwab  <schwab@suse.de>
30620         [BZ #16002]
30621         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
30622         alloca_account and account alloca use for struct in6ailist.
30624 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
30626         [BZ #16284]
30627         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
30628         rounding mode to recompute results that overflow to infinity or
30629         underflow to zero.
30630         * math/auto-libm-test-in: Don't mark tests as expected to fail for
30631         bug 16284.
30632         * math/auto-libm-test-out: Regenerated.
30633         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
30634         (ccosh_test): Likewise.
30635         (csin_test_data): Use plus_oflow.
30636         (csin_test): Use ALL_RM_TEST.
30637         (csinh_test_data): Use plus_oflow.
30638         (csinh_test): Use ALL_RM_TEST.
30639         * sysdeps/i386/fpu/libm-test-ulps: Update.
30640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30642 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
30644         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
30645         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
30646         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
30648         [BZ #16731]
30649         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
30650         when x - 1 is zero.
30651         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
30652         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
30653         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30654         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
30655         argument is 1.
30656         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
30657         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
30658         zero.
30659         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
30660         * sysdeps/i386/fpu/libm-test-ulps: Update.
30661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30663 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30665         * scripts/bench.pl: Remove file.
30666         * scripts/bench.py: New benchmark script.
30667         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
30668         * benchtests/README: Mention python dependency.
30669         * scripts/pylintrc: New file.
30670         * scripts/pylint: New file.
30672         * bits/mathdef.h: Use #ifdef instead of #if.
30673         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
30674         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30675         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
30676         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30677         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
30678         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30680 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30681             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30683         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
30684         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
30685         and strpbrk-ppc64 objects.
30686         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30687         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
30688         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
30689         multiarch strpbrk for POWER7.
30690         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
30691         multiarch strpbrk for PPC64.
30692         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
30693         ifunc selector.
30694         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
30695         strpbrk for POWER7.
30697 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
30699         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
30700         (atan_test): Likewise.
30701         (atanh_test_data): Use NO_TEST_INLINE for two tests.
30702         (atanh_test): Use ALL_RM_TEST.
30703         (atan2_test_data): Likewise.
30704         (cabs_test): Likewise.
30705         (cacosh_test): Likewise.
30706         (carg_test): Likewise.
30707         (casin_test): Likewise.
30708         (casinh_test): Likewise.
30709         (cbrt_test): Likewise.
30710         (csqrt_test): Likewise.
30711         (erf_test): Likewise.
30712         (erfc_test): Likewise.
30713         (pow10_test): Likewise.
30714         (exp2_test): Likewise.
30715         (hypot_test): Likewise.
30716         (j0_test): Likewise.
30717         (j1_test): Likewise.
30718         (lgamma_test): Likewise.
30719         (gamma_test): Likewise.
30720         (sincos_test): Likewise.
30721         (tanh_test): Likewise.
30722         (y0_test): Likewise.
30723         (y1_test): Likewise.
30724         * sysdeps/i386/fpu/libm-test-ulps: Update.
30725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30727 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30729         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
30730         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
30731         and strcspn-ppc64 objects.
30732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30733         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
30734         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
30735         multiarch strcspn for POWER7.
30736         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
30737         multiarch strcspn for PPC64.
30738         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
30739         ifunc selector.
30740         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
30741         strcspn for POWER7.
30743 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
30745         * math/gen-libm-test.pl (generate_testfile): Expect only function
30746         name as argument to AUTO_TESTS_* and pass results for all rounding
30747         modes to parse_args.
30748         (parse_auto_input): Separate inputs of automatic tests from
30749         outputs before storing in %auto_tests.
30750         * math/libm-test.inc (acos_test_data): Update call to
30751         AUTO_TESTS_f_f.
30752         (acos_test): Use ALL_RM_TEST.
30753         (acos_tonearest_test_data): Remove.
30754         (acos_test_tonearest): Likewise.
30755         (acos_towardzero_test_data): Likewise.
30756         (acos_test_towardzero): Likewise.
30757         (acos_downward_test_data): Likewise.
30758         (acos_test_downward): Likewise.
30759         (acos_upward_test_data): Likewise.
30760         (acos_test_upward): Likewise.
30761         (acosh_test_data): Update call to AUTO_TESTS_f_f.
30762         (asin_test_data): Likewise.
30763         (asin_test): Use ALL_RM_TEST.
30764         (asin_tonearest_test_data): Remove.
30765         (asin_test_tonearest): Likewise.
30766         (asin_towardzero_test_data): Likewise.
30767         (asin_test_towardzero): Likewise.
30768         (asin_downward_test_data): Likewise.
30769         (asin_test_downward): Likewise.
30770         (asin_upward_test_data): Likewise.
30771         (asin_test_upward): Likewise.
30772         (asinh_test_data): Update call to AUTO_TESTS_f_f.
30773         (atan_test_data): Likewise.
30774         (atanh_test_data): Likewise.
30775         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
30776         (cabs_test_data): Update call to AUTO_TESTS_c_f.
30777         (carg_test_data): Likewise.
30778         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
30779         (ccos_test_data): Update call to AUTO_TESTS_c_c.
30780         (ccosh_test_data): Likewise.
30781         (cexp_test_data): Likewise.
30782         (clog_test_data): Likewise.
30783         (clog10_test_data): Likewise.
30784         (cos_test_data): Update call to AUTO_TESTS_f_f.
30785         (cos_test): Use ALL_RM_TEST.
30786         (cos_tonearest_test_data): Remove.
30787         (cos_test_tonearest): Likewise.
30788         (cos_towardzero_test_data): Likewise.
30789         (cos_test_towardzero): Likewise.
30790         (cos_downward_test_data): Likewise.
30791         (cos_test_downward): Likewise.
30792         (cos_upward_test_data): Likewise.
30793         (cos_test_upward): Likewise.
30794         (cosh_test_data): Update call to AUTO_TESTS_f_f.
30795         (cosh_test): Use ALL_RM_TEST.
30796         (cosh_tonearest_test_data): Remove.
30797         (cosh_test_tonearest): Likewise.
30798         (cosh_towardzero_test_data): Likewise.
30799         (cosh_test_towardzero): Likewise.
30800         (cosh_downward_test_data): Likewise.
30801         (cosh_test_downward): Likewise.
30802         (cosh_upward_test_data): Likewise.
30803         (cosh_test_upward): Likewise.
30804         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
30805         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
30806         (ctan_test_data): Likewise.
30807         (ctan_test): Use ALL_RM_TEST.
30808         (ctan_tonearest_test_data): Remove.
30809         (ctan_test_tonearest): Likewise.
30810         (ctan_towardzero_test_data): Likewise.
30811         (ctan_test_towardzero): Likewise.
30812         (ctan_downward_test_data): Likewise.
30813         (ctan_test_downward): Likewise.
30814         (ctan_upward_test_data): Likewise.
30815         (ctan_test_upward): Likewise.
30816         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
30817         (ctanh_test): Use ALL_RM_TEST.
30818         (ctanh_tonearest_test_data): Remove.
30819         (ctanh_test_tonearest): Likewise.
30820         (ctanh_towardzero_test_data): Likewise.
30821         (ctanh_test_towardzero): Likewise.
30822         (ctanh_downward_test_data): Likewise.
30823         (ctanh_test_downward): Likewise.
30824         (ctanh_upward_test_data): Likewise.
30825         (ctanh_test_upward): Likewise.
30826         (erf_test_data): Update call to AUTO_TESTS_f_f.
30827         (erfc_test_data): Likewise.
30828         (exp_test_data): Likewise.
30829         (exp_test): Use ALL_RM_TEST.
30830         (exp_tonearest_test_data): Remove.
30831         (exp_test_tonearest): Likewise.
30832         (exp_towardzero_test_data): Likewise.
30833         (exp_test_towardzero): Likewise.
30834         (exp_downward_test_data): Likewise.
30835         (exp_test_downward): Likewise.
30836         (exp_upward_test_data): Likewise.
30837         (exp_test_upward): Likewise.
30838         (exp10_test_data): Update call to AUTO_TESTS_f_f.
30839         (exp10_test): Use ALL_RM_TEST.
30840         (exp10_tonearest_test_data): Remove.
30841         (exp10_test_tonearest): Likewise.
30842         (exp10_towardzero_test_data): Likewise.
30843         (exp10_test_towardzero): Likewise.
30844         (exp10_downward_test_data): Likewise.
30845         (exp10_test_downward): Likewise.
30846         (exp10_upward_test_data): Likewise.
30847         (exp10_test_upward): Likewise.
30848         (exp2_test_data): Update call to AUTO_TESTS_f_f.
30849         (expm1_test_data): Likewise.
30850         (expm1_test): Use ALL_RM_TEST.
30851         (expm1_tonearest_test_data): Remove.
30852         (expm1_test_tonearest): Likewise.
30853         (expm1_towardzero_test_data): Likewise.
30854         (expm1_test_towardzero): Likewise.
30855         (expm1_downward_test_data): Likewise.
30856         (expm1_test_downward): Likewise.
30857         (expm1_upward_test_data): Likewise.
30858         (expm1_test_upward): Likewise.
30859         (fma_test_data): Update call to AUTO_TESTS_fff_f.
30860         (fma_test): Use ALL_RM_TEST.
30861         (fma_towardzero_test_data): Remove.
30862         (fma_test_towardzero): Likewise.
30863         (fma_downward_test_data): Likewise.
30864         (fma_test_downward): Likewise.
30865         (fma_upward_test_data): Likewise.
30866         (fma_test_upward): Likewise.
30867         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
30868         (j0_test_data): Update call to AUTO_TESTS_f_f.
30869         (j1_test_data): Likewise.
30870         (jn_test_data): Update call to AUTO_TESTS_if_f.
30871         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
30872         (log_test_data): Update call to AUTO_TESTS_f_f.
30873         (log10_test_data): Likewise.
30874         (log1p_test_data): Likewise.
30875         (log2_test_data): Likewise.
30876         (pow_test_data): Update call to AUTO_TESTS_ff_f.
30877         (pow_tonearest_test_data): Likewise.
30878         (sin_test_data): Update call to AUTO_TESTS_f_f.
30879         (sin_test): Use ALL_RM_TEST.
30880         (sin_tonearest_test_data): Remove.
30881         (sin_test_tonearest): Likewise.
30882         (sin_towardzero_test_data): Likewise.
30883         (sin_test_towardzero): Likewise.
30884         (sin_downward_test_data): Likewise.
30885         (sin_test_downward): Likewise.
30886         (sin_upward_test_data): Likewise.
30887         (sin_test_upward): Likewise.
30888         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
30889         (sinh_test_data): Update call to AUTO_TESTS_f_f.
30890         (sinh_test): Use ALL_RM_TEST.
30891         (sinh_tonearest_test_data): Remove.
30892         (sinh_test_tonearest): Likewise.
30893         (sinh_towardzero_test_data): Likewise.
30894         (sinh_test_towardzero): Likewise.
30895         (sinh_downward_test_data): Likewise.
30896         (sinh_test_downward): Likewise.
30897         (sinh_upward_test_data): Likewise.
30898         (sinh_test_upward): Likewise.
30899         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
30900         (sqrt_test): Use ALL_RM_TEST.
30901         (sqrt_tonearest_test_data): Remove.
30902         (sqrt_test_tonearest): Likewise.
30903         (sqrt_towardzero_test_data): Likewise.
30904         (sqrt_test_towardzero): Likewise.
30905         (sqrt_downward_test_data): Likewise.
30906         (sqrt_test_downward): Likewise.
30907         (sqrt_upward_test_data): Likewise.
30908         (sqrt_test_upward): Likewise.
30909         (tan_test_data): Update call to AUTO_TESTS_f_f.
30910         (tan_test): Use ALL_RM_TEST.
30911         (tan_tonearest_test_data): Remove.
30912         (tan_test_tonearest): Likewise.
30913         (tan_towardzero_test_data): Likewise.
30914         (tan_test_towardzero): Likewise.
30915         (tan_downward_test_data): Likewise.
30916         (tan_test_downward): Likewise.
30917         (tan_upward_test_data): Likewise.
30918         (tan_test_upward): Likewise.
30919         (tanh_test_data): Update call to AUTO_TESTS_f_f.
30920         (tgamma_test_data): Likewise.
30921         (y0_test_data): Likewise.
30922         (y1_test_data): Likewise.
30923         (yn_test_data): Update call to AUTO_TESTS_if_f.
30924         (main): Do not call removed functions.
30926 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
30928         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
30929         (ldexp_test_data): Remove.
30930         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
30931         scalbn_test_data.
30932         (scalb_test): Use ALL_RM_TEST.
30934 2014-03-19  Andreas Schwab  <schwab@suse.de>
30936         * nscd/nscd.service: Also invalidate netgroup cache on reload.
30938 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
30940         [BZ #16649]
30941         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30942         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
30943         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
30944         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30945         (__ASSUME_PREADV): Undefine.
30946         (__ASSUME_PWRITEV): Likewise.
30948 2014-03-18  Roland McGrath  <roland@hack.frob.com>
30950         * bits/mman-linux.h: Add comment about non-Linux use.
30951         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
30952         bits/mman-linux.h resting place.
30954         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
30955         * bits/mman-linux.h: ... here.
30957 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30959         * conform/conformtest.pl: Add standard definition when calling C
30960         preprocessor on data files.
30961         (checknamespace): Remove unused variable.
30963 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
30965         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
30966         minus_oflow, plus_uflow and minus_uflow in expected results.
30967         * math/libm-test.inc (scalbn_test_data): Add more tests of
30968         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
30969         minus_uflow.
30970         (scalbn_test): Use ALL_RM_TEST.
30971         (scalbln_test_data): Add more tests of negative arguments.  Use
30972         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
30973         (scalbln_test): Use ALL_RM_TEST.
30975 2014-03-18  Roland McGrath  <roland@hack.frob.com>
30977         * scripts/abilist.awk: Ignore symbols marked with .hidden.
30979 2014-03-18  Will Newton  <will.newton@linaro.org>
30981         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
30982         inaccurate comment.
30984 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
30986         * Makerules [!subdir] (check-abi): Exit with error status if a
30987         test failed.
30989 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
30991         * math/libm-test.inc (nearbyint_test_data): Include all tests used
30992         for rint.  Include results for all rounding modes.
30993         (nearbyint_test): Use ALL_RM_TEST.
30994         (rint_test_data): Include all tests used for nearbyint.
30996 2014-03-17  Will Newton  <will.newton@linaro.org>
30998         * nptl/sysdeps/pthread/pthread.h: Revert previous
30999         change.
31001         * sysdeps/generic/ldsodefs.h: Revert previous
31002         change.
31004         * libio/genops.c: Revert previous change.
31005         * libio/libioP.h: Likewise.
31006         * stdio-common/vfprintf.c: Likewise.
31008         * sysdeps/generic/math_private.h: Revert previous
31009         change.
31011         * sysdeps/generic/math_private.h: Check whether
31012         HAVE_RM_CTX is defined with #ifdef rather
31013         than #if.
31015         * argp/argp-fmtstream.h: Check whether
31016         __STRICT_ANSI__ is defined with #ifdef rather
31017         than #if.
31018         * argp/argp.h: Likewise.
31020         * libio/genops.c: Check whether
31021         _IO_JUMPS_OFFSET is defined with #ifdef rather
31022         than #if.
31023         * libio/libioP.h: Likewise.
31024         * stdio-common/vfprintf.c: Likewise.
31026         * sysdeps/generic/ldsodefs.h: Check whether
31027         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
31028         than #if.
31030         * nptl/sysdeps/pthread/pthread.h: Check
31031         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
31032         its value.
31034 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31036         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
31037         setting O_APPEND.
31038         * libio/tst-ftell-active-handler.c (do_append_test): Add a
31039         test case.
31041         [BZ #16680]
31042         * libio/fileops.c (_IO_file_open): Seek to end of file but
31043         don't cache the offset.
31044         (get_file_offset): Remove function.
31045         (do_ftell): Use cached offset when available.
31046         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
31047         don't cache the offset.
31048         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
31049         case.
31050         (do_one_test): Call it.
31051         (do_ftell_test): Fix up expected old offset for a+ mode.
31052         * libio/wfileops.c (do_ftell_wide): Used cached offset when
31053         available.
31055         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
31056         up test status with function return status.
31057         (do_write_test): Likewise.
31058         (do_append_test): Likewise.
31060         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
31061         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
31062         Remove.
31064 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
31066         * math/gen-libm-test.pl (parse_args): Handle results specified for
31067         each rounding mode separately.
31068         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
31069         tests and results from lrint_tonearest_test_data,
31070         lrint_towardzero_test_data, lrint_downward_test_data and
31071         lrint_upward_test_data.
31072         (lrint_test): Use ALL_RM_TEST.
31073         (lrint_tonearest_test_data): Remove.
31074         (lrint_test_tonearest): Likewise.
31075         (lrint_towardzero_test_data): Likewise.
31076         (lrint_test_towardzero): Likewise.
31077         (lrint_downward_test_data): Likewise.
31078         (lrint_test_downward): Likewise.
31079         (lrint_upward_test_data): Likewise.
31080         (lrint_test_upward): Likewise.
31081         (llrint_test_data): Merge in per-rounding-mode tests and results
31082         from llrint_tonearest_test_data, llrint_towardzero_test_data,
31083         llrint_downward_test_data and llrint_upward_test_data.
31084         (llrint_test): Use ALL_RM_TEST.
31085         (llrint_tonearest_test_data): Remove.
31086         (llrint_test_tonearest): Likewise.
31087         (llrint_towardzero_test_data): Likewise.
31088         (llrint_test_towardzero): Likewise.
31089         (llrint_downward_test_data): Likewise.
31090         (llrint_test_downward): Likewise.
31091         (llrint_upward_test_data): Likewise.
31092         (llrint_test_upward): Likewise.
31093         (rint_test_data): Merge in per-rounding-mode tests and results
31094         from rint_tonearest_test_data, rint_towardzero_test_data,
31095         rint_downward_test_data and rint_upward_test_data.  Add
31096         per-rounding-mode results for tests not in those arrays.
31097         (rint_test): Use ALL_RM_TEST.
31098         (rint_tonearest_test_data): Remove.
31099         (rint_test_tonearest): Likewise.
31100         (rint_towardzero_test_data): Likewise.
31101         (rint_test_towardzero): Likewise.
31102         (rint_downward_test_data): Likewise.
31103         (rint_test_downward): Likewise.
31104         (rint_upward_test_data): Likewise.
31105         (rint_test_upward): Likewise.
31106         (main): Don't call removed functions.
31108 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31110         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
31111         "Compiled on ..." crapola.  It is anti-useful.
31113 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
31115         * scripts/evaluate-test.sh: Handle fourth argument to determine
31116         whether test run should stop on failure.
31117         * Makeconfig (stop-on-test-failure): New variable.
31118         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
31119         $(stop-on-test-failure).
31120         * Makefile (tests): Give a summary of results from testing and
31121         exit with failure status if they include an ERROR or FAIL.
31122         (xtests): Likewise.
31123         * manual/install.texi (Configuring and compiling): Mention
31124         stop-on-test-failure=y.
31125         * INSTALL: Regenerated.
31127 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31129         * scripts/versionlist.awk: New file.
31130         * Makerules [$(build-shared) = yes]
31131         (postclean-generated): Add Versions.def, not Versions.def.v and
31132         Versions.def.v.i.
31133         ($(common-objpfx)Versions.def.v.i): Target removed.
31134         ($(common-objpfx)Versions.def): New target.
31135         ($(common-objpfx)Versions.all): Depend on that rather that
31136         $(common-objpfx)Versions.def.v.
31137         * Versions.def: File removed.
31139         * Makeconfig (+gccwarn): Add -Wundef.
31140         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
31141         a dl-sysdep.h breaking its contract.
31142         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
31143         * include/stackinfo.h: New file.
31144         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
31145         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
31146         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
31147         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
31148         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
31149         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
31150         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31151         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31152         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31153         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31154         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31155         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
31156         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31157         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31158         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31160 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31162         [BZ #16707]
31163         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
31164         implementation.
31165         * math/libm-test.inc (round_test_data): Add more tests.
31167         [BZ #16706]
31168         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
31169         implementation.
31170         * math/libm-test.inc (nearbyint_test_data): Add more tests.
31172         [BZ #16701]
31173         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
31174         implementation.
31175         * math/libm-test.inc (ceil_test_data): Add more tests.
31177         * math/libm-test.inc (trunc_test_data): Add more tests related to
31178         BZ#16414.
31180 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31182         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
31183         with #if rather than #ifdef.
31184         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
31186 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
31188         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
31189         first.  Disable AVX-512 GCC support if assembler doesn't support
31190         it.
31191         * sysdeps/x86_64/configure: Regenerated.
31193 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
31195         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
31196         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
31197         (__old_pthread_attr_setstack): Likewise.
31198         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
31199         [!_STACK_GROWS_DOWN]: Likewise.
31201 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
31203         * config.make.in (have-bash2): Delete.
31204         * configure.ac (libc_cv_have_bash2): Delete.
31205         * configure: Regenerate.
31206         * elf/Makefile (common-ldd-rewrite): Rename to ...
31207         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
31208         (sh-ldd-rewrite): Delete.
31209         (bash-ldd-rewrite): Delete.
31210         (have-bash2): Delete checks.
31211         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
31212         ldd-rewrite.
31214         * config.make.in (have-ksh): Delete.
31215         (KSH): Delete.
31216         * configure.ac (libc_cv_have_ksh): Delete.
31217         * configure: Regenerate.
31219         * elf/Makefile: Delete $(have-ksh) check.
31220         ($(objpfx)sotruss): Change KSH to BASH.
31221         * elf/sotruss.ksh: Rename to ...
31222         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
31223         function style to match POSIX.  Drop ksh vim mode setting.
31225         * manual/time.texi (Specifying the Time Zone with TZ): Change
31226         Tuesday to Thursday.
31228         * debug/tst-longjmp_chk2.c: Update header comment.
31229         (stackoverflow_handler): Add comment.  Call assert on pass value.
31231 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
31233         [BZ #16194]
31234         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
31235         (HAVE_AVX512_ASM_SUPPORT): Likewise.
31236         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
31237         (La_x86_64_vector): Add zmm.
31238         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
31239         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
31240         ($(objpfx)tst-audit10): New target.
31241         ($(objpfx)tst-audit10.out): Likewise.
31242         (tst-audit10-ENV): New.
31243         (AVX512-CFLAGS): Likewise.
31244         (CFLAGS-tst-audit10.c): Likewise.
31245         (CFLAGS-tst-auditmod10a.c): Likewise.
31246         (CFLAGS-tst-auditmod10b.c): Likewise.
31247         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
31248         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
31249         * sysdeps/x86_64/configure: Regenerated.
31250         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
31251         AVX-512 zmm register support.
31252         (_dl_x86_64_save_sse): Likewise.
31253         (_dl_x86_64_restore_sse): Likewise.
31254         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
31255         size vector registers.
31256         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
31257         (ZMM_SIZE): Likewise.
31258         * sysdeps/x86_64/tst-audit10.c: New file.
31259         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
31260         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
31262 2014-03-13  Roland McGrath  <roland@hack.frob.com>
31264         * configure.ac (HAVE_EHDR_START): New check.
31265         * configure: Regenerated.
31266         * config.h.in (HAVE_EHDR_START): New #undef.
31267         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
31268         assuming the lowest-addressed segment maps the start of the file.
31270 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
31272         * INSTALL: Regenerated.
31274 2014-03-13  Will Newton  <will.newton@linaro.org>
31276         * manual/setjmp.texi (System V contexts): Improve
31277         clarity and grammar of documentation.
31279 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31281         [BZ #16381]
31282         * elf/Makefile (tests): Add tst-pie2.
31283         (tests-pie): Add tst-pie2.
31284         * elf/tst-pie2.c: New file.
31285         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
31286         for ET_EXEC.
31287         * elf/rtld.c (map_doit): Load executable as lt_executable.
31288         (dl_main): Likewise.
31290 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
31292         [BZ #16642]
31293         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31294         (__ASSUME_PSELECT): Undefine.
31296 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31298         [BZ #16689]
31299         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
31300         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
31301         static build.
31302         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
31303         selector for static builds.
31305 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31307         [BZ #16695]
31308         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
31309         key in the buffer.
31311 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31313         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
31314         IFUNC selector for static builds.
31316 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
31318         * sysdeps/mips/math_private.h [__mips_hard_float]
31319         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
31320         libc_feresetround_mips_ctx.
31321         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
31322         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
31323         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
31325         [BZ #16677]
31326         * math/s_nextafter.c (__nextafter): Do not return value from
31327         overflowing computation.
31328         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31329         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
31330         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31331         Likewise.
31332         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
31333         Likewise.
31334         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31335         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
31337 2014-03-11  Roland McGrath  <roland@hack.frob.com>
31339         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
31340         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
31341         Move sfi_sp use from the load-multiple (that no longer sets sp) to
31342         the new mov targetting sp.
31344 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31346         [BZ #16683]
31347         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
31348         Define it for static builds as well.
31349         (NO_BZERO_IMPL): Likewise.
31351 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31353         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
31354         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
31355         multiarch strspn for PPC64.
31356         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
31357         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
31358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31359         (__libc_ifunc_impl_list): Likewise.
31360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
31361         multiarch optimizations
31362         * string/strspn.c (strspn): Using macro to redefine symbol name.
31364 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31365             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31367         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
31368         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
31369         multiarch strncat for PPC64.
31370         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
31371         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
31372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31373         (__libc_ifunc_impl_list): Likewise.
31374         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
31375         multiarch optimizations
31377 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31379         [BZ #16639]
31380         * nscd/nscd.service: Make service type forking.
31382 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31384         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
31385         sign in non default rounding modes.
31386         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
31388 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
31390         * math/libm-test.inc (ALL_RM_TEST): New macro.
31391         (ceil_test): Use ALL_RM_TEST.
31392         (cimag_test): Likewise.
31393         (conj_test): Likewise.
31394         (copysign_test): Likewise.
31395         (cproj_test): Likewise.
31396         (creal_test): Likewise.
31397         (fabs_test): Likewise.
31398         (floor_test): Likewise.
31399         (fmax_test): Likewise.
31400         (fmin_test): Likewise.
31401         (fmod_test): Likewise.
31402         (fpclassify_test): Likewise.
31403         (frexp_test): Likewise.
31404         (ilogb_test): Likewise.
31405         (isfinite_test): Likewise.
31406         (finite_test): Likewise.
31407         (isgreater_test): Likewise.
31408         (isgreaterequal_test): Likewise.
31409         (isinf_test): Likewise.
31410         (isless_test): Likewise.
31411         (islessequal_test): Likewise.
31412         (islessgreater_test): Likewise.
31413         (isnan_test): Likewise.
31414         (isnormal_test): Likewise.
31415         (issignaling_test): Likewise.
31416         (isunordered_test): Likewise.
31417         (logb_test): Likewise.
31418         (logb_downward_test_data): Remove.
31419         (logb_test_downward): Likewise.
31420         (lround_test): Use ALL_RM_TEST.
31421         (llround_test): Likewise.
31422         (modf_test): Likewise.
31423         (nexttoward_test): Likewise.
31424         (remainder_test): Likewise.
31425         (drem_test): Likewise.
31426         (remainder_tonearest_test_data): Likewise.
31427         (remainder_test_tonearest): Likewise.
31428         (drem_test_tonearest): Likewise.
31429         (remainder_towardzero_test_data): Likewise.
31430         (remainder_test_towardzero): Likewise.
31431         (drem_test_towardzero): Likewise.
31432         (remainder_downward_test_data): Likewise.
31433         (remainder_test_downward): Likewise.
31434         (drem_test_downward): Likewise.
31435         (remainder_upward_test_data): Likewise.
31436         (remainder_test_upward): Likewise.
31437         (drem_test_upward): Likewise.
31438         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
31439         (round_test): Use ALL_RM_TEST.
31440         (signbit_test): Likewise.
31441         (trunc_test): Likewise.
31442         (significand_test): Likewise.
31443         (main): Don't call removed functions.
31445 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
31447         [BZ #16674]
31448         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
31449         || __USE_XOPEN2K8].
31450         (ILL_ILLOPN): Likewise.
31451         (ILL_ILLADR): Likewise.
31452         (ILL_ILLTRP): Likewise.
31453         (ILL_PRVOPC): Likewise.
31454         (ILL_PRVREG): Likewise.
31455         (ILL_COPROC): Likewise.
31456         (ILL_BADSTK): Likewise.
31457         (FPE_INTDIV): Likewise.
31458         (FPE_INTOVF): Likewise.
31459         (FPE_FLTDIV): Likewise.
31460         (FPE_FLTOVF): Likewise.
31461         (FPE_FLTUND): Likewise.
31462         (FPE_FLTRES): Likewise.
31463         (FPE_FLTINV): Likewise.
31464         (FPE_FLTSUB): Likewise.
31465         (SEGV_MAPERR): Likewise.
31466         (SEGV_ACCERR): Likewise.
31467         (BUS_ADRALN): Likewise.
31468         (BUS_ADRERR): Likewise.
31469         (BUS_OBJERR): Likewise.
31470         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31471         (TRAP_TRACE): Likewise.
31472         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31473         __USE_XOPEN2K8].
31474         (CLD_KILLED): Likewise.
31475         (CLD_DUMPED): Likewise.
31476         (CLD_TRAPPED): Likewise.
31477         (CLD_STOPPED): Likewise.
31478         (CLD_CONTINUED): Likewise.
31479         (POLL_IN): Likewise.
31480         (POLL_OUT): Likewise.
31481         (POLL_MSG): Likewise.
31482         (POLL_ERR): Likewise.
31483         (POLL_PRI): Likewise.
31484         (POLL_HUP): Likewise.
31485         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
31486         Likewise.
31487         (ILL_ILLOPN): Likewise.
31488         (ILL_ILLADR): Likewise.
31489         (ILL_ILLTRP): Likewise.
31490         (ILL_PRVOPC): Likewise.
31491         (ILL_PRVREG): Likewise.
31492         (ILL_COPROC): Likewise.
31493         (ILL_BADSTK): Likewise.
31494         (FPE_INTDIV): Likewise.
31495         (FPE_INTOVF): Likewise.
31496         (FPE_FLTDIV): Likewise.
31497         (FPE_FLTOVF): Likewise.
31498         (FPE_FLTUND): Likewise.
31499         (FPE_FLTRES): Likewise.
31500         (FPE_FLTINV): Likewise.
31501         (FPE_FLTSUB): Likewise.
31502         (SEGV_MAPERR): Likewise.
31503         (SEGV_ACCERR): Likewise.
31504         (BUS_ADRALN): Likewise.
31505         (BUS_ADRERR): Likewise.
31506         (BUS_OBJERR): Likewise.
31507         (BUS_MCEERR_AR): Likewise.
31508         (BUS_MCEERR_AO): Likewise.
31509         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31510         (TRAP_TRACE): Likewise.
31511         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31512         __USE_XOPEN2K8].
31513         (CLD_KILLED): Likewise.
31514         (CLD_DUMPED): Likewise.
31515         (CLD_TRAPPED): Likewise.
31516         (CLD_STOPPED): Likewise.
31517         (CLD_CONTINUED): Likewise.
31518         (POLL_IN): Likewise.
31519         (POLL_OUT): Likewise.
31520         (POLL_MSG): Likewise.
31521         (POLL_ERR): Likewise.
31522         (POLL_PRI): Likewise.
31523         (POLL_HUP): Likewise.
31524         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
31525         (ILL_ILLOPN): Likewise.
31526         (ILL_ILLADR): Likewise.
31527         (ILL_ILLTRP): Likewise.
31528         (ILL_PRVOPC): Likewise.
31529         (ILL_PRVREG): Likewise.
31530         (ILL_COPROC): Likewise.
31531         (ILL_BADSTK): Likewise.
31532         (FPE_INTDIV): Likewise.
31533         (FPE_INTOVF): Likewise.
31534         (FPE_FLTDIV): Likewise.
31535         (FPE_FLTOVF): Likewise.
31536         (FPE_FLTUND): Likewise.
31537         (FPE_FLTRES): Likewise.
31538         (FPE_FLTINV): Likewise.
31539         (FPE_FLTSUB): Likewise.
31540         (SEGV_MAPERR): Likewise.
31541         (SEGV_ACCERR): Likewise.
31542         (BUS_ADRALN): Likewise.
31543         (BUS_ADRERR): Likewise.
31544         (BUS_OBJERR): Likewise.
31545         (BUS_MCEERR_AR): Likewise.
31546         (BUS_MCEERR_AO): Likewise.
31547         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31548         (TRAP_TRACE): Likewise.
31549         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31550         __USE_XOPEN2K8].
31551         (CLD_KILLED): Likewise.
31552         (CLD_DUMPED): Likewise.
31553         (CLD_TRAPPED): Likewise.
31554         (CLD_STOPPED): Likewise.
31555         (CLD_CONTINUED): Likewise.
31556         (POLL_IN): Likewise.
31557         (POLL_OUT): Likewise.
31558         (POLL_MSG): Likewise.
31559         (POLL_ERR): Likewise.
31560         (POLL_PRI): Likewise.
31561         (POLL_HUP): Likewise.
31562         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
31563         Likewise.
31564         (ILL_ILLOPN): Likewise.
31565         (ILL_ILLADR): Likewise.
31566         (ILL_ILLTRP): Likewise.
31567         (ILL_PRVOPC): Likewise.
31568         (ILL_PRVREG): Likewise.
31569         (ILL_COPROC): Likewise.
31570         (ILL_BADSTK): Likewise.
31571         (ILL_BADIADDR): Likewise.
31572         (ILL_BREAK): Likewise.
31573         (FPE_INTDIV): Likewise.
31574         (FPE_INTOVF): Likewise.
31575         (FPE_FLTDIV): Likewise.
31576         (FPE_FLTOVF): Likewise.
31577         (FPE_FLTUND): Likewise.
31578         (FPE_FLTRES): Likewise.
31579         (FPE_FLTINV): Likewise.
31580         (FPE_FLTSUB): Likewise.
31581         (FPE_DECOVF): Likewise.
31582         (FPE_DECDIV): Likewise.
31583         (FPE_DECERR): Likewise.
31584         (FPE_INVASC): Likewise.
31585         (FPE_INVDEC): Likewise.
31586         (SEGV_MAPERR): Likewise.
31587         (SEGV_ACCERR): Likewise.
31588         (SEGV_PSTKOVF): Likewise.
31589         (BUS_ADRALN): Likewise.
31590         (BUS_ADRERR): Likewise.
31591         (BUS_OBJERR): Likewise.
31592         (BUS_MCEERR_AR): Likewise.
31593         (BUS_MCEERR_AO): Likewise.
31594         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31595         (TRAP_TRACE): Likewise.
31596         (TRAP_BRANCH): Likewise.
31597         (TRAP_HWBKPT): Likewise.
31598         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31599         __USE_XOPEN2K8].
31600         (CLD_KILLED): Likewise.
31601         (CLD_DUMPED): Likewise.
31602         (CLD_TRAPPED): Likewise.
31603         (CLD_STOPPED): Likewise.
31604         (CLD_CONTINUED): Likewise.
31605         (POLL_IN): Likewise.
31606         (POLL_OUT): Likewise.
31607         (POLL_MSG): Likewise.
31608         (POLL_ERR): Likewise.
31609         (POLL_PRI): Likewise.
31610         (POLL_HUP): Likewise.
31611         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
31612         (ILL_ILLOPN): Likewise.
31613         (ILL_ILLADR): Likewise.
31614         (ILL_ILLTRP): Likewise.
31615         (ILL_PRVOPC): Likewise.
31616         (ILL_PRVREG): Likewise.
31617         (ILL_COPROC): Likewise.
31618         (ILL_BADSTK): Likewise.
31619         (FPE_INTDIV): Likewise.
31620         (FPE_INTOVF): Likewise.
31621         (FPE_FLTDIV): Likewise.
31622         (FPE_FLTOVF): Likewise.
31623         (FPE_FLTUND): Likewise.
31624         (FPE_FLTRES): Likewise.
31625         (FPE_FLTINV): Likewise.
31626         (FPE_FLTSUB): Likewise.
31627         (SEGV_MAPERR): Likewise.
31628         (SEGV_ACCERR): Likewise.
31629         (BUS_ADRALN): Likewise.
31630         (BUS_ADRERR): Likewise.
31631         (BUS_OBJERR): Likewise.
31632         (BUS_MCEERR_AR): Likewise.
31633         (BUS_MCEERR_AO): Likewise.
31634         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31635         (TRAP_TRACE): Likewise.
31636         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31637         __USE_XOPEN2K8].
31638         (CLD_KILLED): Likewise.
31639         (CLD_DUMPED): Likewise.
31640         (CLD_TRAPPED): Likewise.
31641         (CLD_STOPPED): Likewise.
31642         (CLD_CONTINUED): Likewise.
31643         (POLL_IN): Likewise.
31644         (POLL_OUT): Likewise.
31645         (POLL_MSG): Likewise.
31646         (POLL_ERR): Likewise.
31647         (POLL_PRI): Likewise.
31648         (POLL_HUP): Likewise.
31649         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
31650         (ILL_ILLOPN): Likewise.
31651         (ILL_ILLADR): Likewise.
31652         (ILL_ILLTRP): Likewise.
31653         (ILL_PRVOPC): Likewise.
31654         (ILL_PRVREG): Likewise.
31655         (ILL_COPROC): Likewise.
31656         (ILL_BADSTK): Likewise.
31657         (FPE_INTDIV): Likewise.
31658         (FPE_INTOVF): Likewise.
31659         (FPE_FLTDIV): Likewise.
31660         (FPE_FLTOVF): Likewise.
31661         (FPE_FLTUND): Likewise.
31662         (FPE_FLTRES): Likewise.
31663         (FPE_FLTINV): Likewise.
31664         (FPE_FLTSUB): Likewise.
31665         (SEGV_MAPERR): Likewise.
31666         (SEGV_ACCERR): Likewise.
31667         (BUS_ADRALN): Likewise.
31668         (BUS_ADRERR): Likewise.
31669         (BUS_OBJERR): Likewise.
31670         (BUS_MCEERR_AR): Likewise.
31671         (BUS_MCEERR_AO): Likewise.
31672         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31673         (TRAP_TRACE): Likewise.
31674         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31675         __USE_XOPEN2K8].
31676         (CLD_KILLED): Likewise.
31677         (CLD_DUMPED): Likewise.
31678         (CLD_TRAPPED): Likewise.
31679         (CLD_STOPPED): Likewise.
31680         (CLD_CONTINUED): Likewise.
31681         (POLL_IN): Likewise.
31682         (POLL_OUT): Likewise.
31683         (POLL_MSG): Likewise.
31684         (POLL_ERR): Likewise.
31685         (POLL_PRI): Likewise.
31686         (POLL_HUP): Likewise.
31687         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
31688         (ILL_ILLOPN): Likewise.
31689         (ILL_ILLADR): Likewise.
31690         (ILL_ILLTRP): Likewise.
31691         (ILL_PRVOPC): Likewise.
31692         (ILL_PRVREG): Likewise.
31693         (ILL_COPROC): Likewise.
31694         (ILL_BADSTK): Likewise.
31695         (FPE_INTDIV): Likewise.
31696         (FPE_INTOVF): Likewise.
31697         (FPE_FLTDIV): Likewise.
31698         (FPE_FLTOVF): Likewise.
31699         (FPE_FLTUND): Likewise.
31700         (FPE_FLTRES): Likewise.
31701         (FPE_FLTINV): Likewise.
31702         (FPE_FLTSUB): Likewise.
31703         (SEGV_MAPERR): Likewise.
31704         (SEGV_ACCERR): Likewise.
31705         (BUS_ADRALN): Likewise.
31706         (BUS_ADRERR): Likewise.
31707         (BUS_OBJERR): Likewise.
31708         (BUS_MCEERR_AR): Likewise.
31709         (BUS_MCEERR_AO): Likewise.
31710         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31711         (TRAP_TRACE): Likewise.
31712         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31713         __USE_XOPEN2K8].
31714         (CLD_KILLED): Likewise.
31715         (CLD_DUMPED): Likewise.
31716         (CLD_TRAPPED): Likewise.
31717         (CLD_STOPPED): Likewise.
31718         (CLD_CONTINUED): Likewise.
31719         (POLL_IN): Likewise.
31720         (POLL_OUT): Likewise.
31721         (POLL_MSG): Likewise.
31722         (POLL_ERR): Likewise.
31723         (POLL_PRI): Likewise.
31724         (POLL_HUP): Likewise.
31725         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
31726         (ILL_ILLOPN): Likewise.
31727         (ILL_ILLADR): Likewise.
31728         (ILL_ILLTRP): Likewise.
31729         (ILL_PRVOPC): Likewise.
31730         (ILL_PRVREG): Likewise.
31731         (ILL_COPROC): Likewise.
31732         (ILL_BADSTK): Likewise.
31733         (ILL_DBLFLT): Likewise.
31734         (ILL_HARDWALL): Likewise.
31735         (FPE_INTDIV): Likewise.
31736         (FPE_INTOVF): Likewise.
31737         (FPE_FLTDIV): Likewise.
31738         (FPE_FLTOVF): Likewise.
31739         (FPE_FLTUND): Likewise.
31740         (FPE_FLTRES): Likewise.
31741         (FPE_FLTINV): Likewise.
31742         (FPE_FLTSUB): Likewise.
31743         (SEGV_MAPERR): Likewise.
31744         (SEGV_ACCERR): Likewise.
31745         (BUS_ADRALN): Likewise.
31746         (BUS_ADRERR): Likewise.
31747         (BUS_OBJERR): Likewise.
31748         (BUS_MCEERR_AR): Likewise.
31749         (BUS_MCEERR_AO): Likewise.
31750         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31751         (TRAP_TRACE): Likewise.
31752         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31753         __USE_XOPEN2K8].
31754         (CLD_KILLED): Likewise.
31755         (CLD_DUMPED): Likewise.
31756         (CLD_TRAPPED): Likewise.
31757         (CLD_STOPPED): Likewise.
31758         (CLD_CONTINUED): Likewise.
31759         (POLL_IN): Likewise.
31760         (POLL_OUT): Likewise.
31761         (POLL_MSG): Likewise.
31762         (POLL_ERR): Likewise.
31763         (POLL_PRI): Likewise.
31764         (POLL_HUP): Likewise.
31765         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
31766         (ILL_ILLOPN): Likewise.
31767         (ILL_ILLADR): Likewise.
31768         (ILL_ILLTRP): Likewise.
31769         (ILL_PRVOPC): Likewise.
31770         (ILL_PRVREG): Likewise.
31771         (ILL_COPROC): Likewise.
31772         (ILL_BADSTK): Likewise.
31773         (FPE_INTDIV): Likewise.
31774         (FPE_INTOVF): Likewise.
31775         (FPE_FLTDIV): Likewise.
31776         (FPE_FLTOVF): Likewise.
31777         (FPE_FLTUND): Likewise.
31778         (FPE_FLTRES): Likewise.
31779         (FPE_FLTINV): Likewise.
31780         (FPE_FLTSUB): Likewise.
31781         (SEGV_MAPERR): Likewise.
31782         (SEGV_ACCERR): Likewise.
31783         (BUS_ADRALN): Likewise.
31784         (BUS_ADRERR): Likewise.
31785         (BUS_OBJERR): Likewise.
31786         (BUS_MCEERR_AR): Likewise.
31787         (BUS_MCEERR_AO): Likewise.
31788         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31789         (TRAP_TRACE): Likewise.
31790         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31791         __USE_XOPEN2K8].
31792         (CLD_KILLED): Likewise.
31793         (CLD_DUMPED): Likewise.
31794         (CLD_TRAPPED): Likewise.
31795         (CLD_STOPPED): Likewise.
31796         (CLD_CONTINUED): Likewise.
31797         (POLL_IN): Likewise.
31798         (POLL_OUT): Likewise.
31799         (POLL_MSG): Likewise.
31800         (POLL_ERR): Likewise.
31801         (POLL_PRI): Likewise.
31802         (POLL_HUP): Likewise.
31803         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
31804         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31806         [BZ #16670]
31807         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
31808         before #include of <time.h>.
31809         [!__USE_XOPEN2K] (__need_timespec): Likewise.
31810         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
31811         (test-xfail-UNIX98/sched.h/conform): Likewise.
31813 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31815         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
31816         error absence of trapping exception support.
31817         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
31819 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
31821         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
31822         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
31823         * timezone/Makefile (testdata): Move definition above include of
31824         Rules.
31825         (test-zones): New variable.
31826         (tests-special): Add zone files.
31827         (build-testdata): Use $(evaluate-test).
31829         * elf/Makefile (tests-special): Rename tests to end with .out.
31830         ($(objpfx)noload-mem): Likewise.
31831         ($(objpfx)tst-leaks1-mem): Likewise.
31832         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
31833         * iconv/Makefile (xtests-special): Change test-iconvconfig to
31834         $(objpfx)test-iconvconfig.out.
31835         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
31836         set -e inside subshell and redirect output to file.
31837         * iconvdata/Makefile (generated): Rename tests to end with .out.
31838         Correct type.
31839         (tests-special): Rename tests to end with .out.
31840         ($(objpfx)mtrace-tst-loading): Likewise.
31841         * intl/Makefile (generated): Likewise.
31842         (tests-special): Likewise.
31843         ($(objpfx)mtrace-tst-gettext): Likewise.
31844         * misc/Makefile (generated): Likewise.
31845         (tests-special): Likewise.
31846         ($(objpfx)tst-error1-mem): Likewise.
31847         * nptl/Makefile (tests-special): Likewise.
31848         ($(objpfx)tst-stack3-mem): Likewise.
31849         (generated): Likewise.
31850         * posix/Makefile (generated): Likewise.
31851         (tests-special): Likewise.
31852         (xtests-special): Likewise.
31853         ($(objpfx)tst-fnmatch-mem): Likewise.
31854         ($(objpfx)bug-regex2-mem): Likewise.
31855         ($(objpfx)bug-regex14-mem): Likewise.
31856         ($(objpfx)bug-regex21-mem): Likewise.
31857         ($(objpfx)bug-regex31-mem): Likewise.
31858         ($(objpfx)tst-vfork3-mem): Likewise.
31859         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
31860         ($(objpfx)tst-pcre-mem): Likewise.
31861         ($(objpfx)tst-boost-mem): Likewise.
31862         ($(objpfx)bug-ga2-mem): Likewise.
31863         ($(objpfx)bug-glob2-mem): Likewise.
31864         * resolv/Makefile (generate): Likewise.
31865         (tests-special): Likewise.
31866         (xtests-special): Likewise.
31867         (generated): Likewise.
31868         ($(objpfx)mtrace-tst-leaks): Likewise.
31869         ($(objpfx)mtrace-tst-leaks2): Likewise.
31871         * scripts/merge-test-results.sh: New file.
31872         * Makefile (tests-special-notdir): New variable.
31873         (tests): Run merge-test-results.sh.
31874         (xtests): Likewise.
31875         * Rules (tests-special-notdir): New variable.
31876         (xtests-special-notdir): Likewise.
31877         (tests): Run merge-test-results.sh
31878         (xtests): Likewise.
31880         * Makeconfig (test-xfail-name): New variable.
31881         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
31882         compute variable name for expected failures.
31883         * conform/Makefile (conformtest-headers-data): New variable.
31884         (conformtest-standards): Likewise.
31885         (conformtest-headers-ISO): Likewise.
31886         (conformtest-headers-ISO99): Likewise.
31887         (conformtest-headers-ISO11): Likewise.
31888         (conformtest-headers-POSIX): Likewise.
31889         (conformtest-headers-XPG3): Likewise.
31890         (conformtest-headers-XPG4): Likewise.
31891         (conformtest-headers-UNIX98): Likewise.
31892         (conformtest-headers-XOPEN2K): Likewise.
31893         (conformtest-headers-POSIX2008): Likewise.
31894         (conformtest-headers-XOPEN2K8): Likewise.
31895         (conformtest-header-list-base): Likewise.
31896         (conformtest-header-list-tests): Likewise.
31897         (conformtest-header-base): Likewise.
31898         (conformtest-header-tests): Likewise.
31899         (tests-special): Add $(conformtest-header-list-tests).  If
31900         [$(fast-check) && !$(cross-compiling)], add
31901         $(conformtest-header-tests) instead of
31902         $(objpfx)run-conformtest.out.
31903         (generated): Add $(conformtest-header-list-base).  If
31904         [$(fast-check) && !$(cross-compiling)], add
31905         $(conformtest-header-base).  Remove previous setting.
31906         ($(conformtest-header-list-tests)): New target.
31907         (test-xfail-run-conformtest): Remove variable.
31908         ($(objpfx)run-conformtest.out): Remove target.
31909         (test-xfail-ISO11/complex.h/conform): New variable.
31910         (test-xfail-ISO11/stdalign.h/conform): Likewise.
31911         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
31912         (test-xfail-XPG3/varargs.h/conform): Likewise.
31913         (test-xfail-XPG4/varargs.h/conform): Likewise.
31914         (test-xfail-UNIX98/varargs.h/conform): Likewise.
31915         (test-xfail-XPG4/ndbm.h/conform): Likewise.
31916         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
31917         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
31918         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
31919         (test-xfail-XPG3/fcntl.h/conform): Likewise.
31920         (test-xfail-XPG3/ftw.h/conform): Likewise.
31921         (test-xfail-XPG3/grp.h/conform): Likewise.
31922         (test-xfail-XPG3/langinfo.h/conform): Likewise.
31923         (test-xfail-XPG3/limits.h/conform): Likewise.
31924         (test-xfail-XPG3/pwd.h/conform): Likewise.
31925         (test-xfail-XPG3/search.h/conform): Likewise.
31926         (test-xfail-XPG3/signal.h/conform): Likewise.
31927         (test-xfail-XPG3/stdio.h/conform): Likewise.
31928         (test-xfail-XPG3/stdlib.h/conform): Likewise.
31929         (test-xfail-XPG3/string.h/conform): Likewise.
31930         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
31931         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
31932         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
31933         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
31934         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
31935         (test-xfail-XPG3/sys/types.h/conform): Likewise.
31936         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
31937         (test-xfail-XPG3/termios.h/conform): Likewise.
31938         (test-xfail-XPG3/time.h/conform): Likewise.
31939         (test-xfail-XPG3/unistd.h/conform): Likewise.
31940         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
31941         (test-xfail-XPG4/fcntl.h/conform): Likewise.
31942         (test-xfail-XPG4/langinfo.h/conform): Likewise.
31943         (test-xfail-XPG4/netdb.h/conform): Likewise.
31944         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
31945         (test-xfail-XPG4/signal.h/conform): Likewise.
31946         (test-xfail-XPG4/stdio.h/conform): Likewise.
31947         (test-xfail-XPG4/stdlib.h/conform): Likewise.
31948         (test-xfail-XPG4/stropts.h/conform): Likewise.
31949         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
31950         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
31951         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
31952         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
31953         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
31954         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
31955         (test-xfail-XPG4/sys/time.h/conform): Likewise.
31956         (test-xfail-XPG4/sys/types.h/conform): Likewise.
31957         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
31958         (test-xfail-XPG4/termios.h/conform): Likewise.
31959         (test-xfail-XPG4/ucontext.h/conform): Likewise.
31960         (test-xfail-XPG4/unistd.h/conform): Likewise.
31961         (test-xfail-XPG4/utmpx.h/conform): Likewise.
31962         (test-xfail-POSIX/sched.h/conform): Likewise.
31963         (test-xfail-POSIX/signal.h/conform): Likewise.
31964         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31965         (test-xfail-POSIX/tar.h/conform): Likewise.
31966         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
31967         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
31968         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
31969         (test-xfail-UNIX98/netdb.h/conform): Likewise.
31970         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
31971         (test-xfail-UNIX98/sched.h/conform): Likewise.
31972         (test-xfail-UNIX98/signal.h/conform): Likewise.
31973         (test-xfail-UNIX98/stdio.h/conform): Likewise.
31974         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
31975         (test-xfail-UNIX98/stropts.h/conform): Likewise.
31976         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
31977         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
31978         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
31979         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
31980         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
31981         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
31982         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31983         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31984         (test-xfail-UNIX98/unistd.h/conform): Likewise.
31985         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
31986         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
31987         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
31988         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
31989         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
31990         (test-xfail-XOPEN2K/math.h/conform): Likewise.
31991         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
31992         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
31993         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
31994         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
31995         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31996         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
31997         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
31998         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
31999         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
32000         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
32001         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
32002         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
32003         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
32004         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32005         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
32006         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
32007         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32008         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
32009         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
32010         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
32011         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
32012         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
32013         (test-xfail-POSIX2008/signal.h/conform): Likewise.
32014         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
32015         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
32016         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32017         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
32018         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
32019         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
32020         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
32021         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
32022         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
32023         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32024         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
32025         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
32026         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
32027         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
32028         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
32029         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
32030         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
32031         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
32032         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
32033         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32034         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
32035         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
32036         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
32037         (conformtest-cc-flags): Likewise.
32038         ($(conformtest-header-tests): New target.
32039         * conform/check-header-lists.sh: New file.
32040         * conform/run-conformtest.sh: Remove.
32042         * conform/conformtest.pl: Allow ' and \ in values given for
32043         constants.
32044         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
32045         inclusion.
32046         [POSIX] (sys/types.h): Likewise.
32047         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
32048         inclusion.
32049         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
32050         inclusion.
32051         * conform/data/signal.h-data (SIGIO): Remove expectation.
32052         [XPG3] (SIGBUS): Do not expect.
32053         [POSIX || XPG3] (SIGPOLL): Likewise.
32054         [POSIX || XPG3] (SIGPROF): Likewise.
32055         [POSIX || XPG3] (SIGSYS): Likewise.
32056         [XPG3] (SIGTRAP): Likewise.
32057         [POSIX || XPG3] (SIGURG): Likewise.
32058         [POSIX || XPG3] (SIGVTALRM): Likewise.
32059         [POSIX || XPG3] (SIGXCPU): Likewise.
32060         [POSIX || XPG3] (SIGXFSZ): Likewise.
32061         [POSIX] (SA_SIGINFO): Expect.
32062         [XPG3] (siginfo_t): Do not expect type or contents.
32063         [POSIX] (si_pid): Do not expect element.
32064         [POSIX] (si_uid): Likewise.
32065         [POSIX] (si_addr): Likewise.
32066         [POSIX] (si_status): Likewise.
32067         [POSIX] (si_band): Likewise.
32068         [XPG4] (si_value): Likewise.
32069         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
32070         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
32071         [POSIX || XPG3] (ILL_ILLADR): Likewise.
32072         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
32073         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
32074         [POSIX || XPG3] (ILL_PRVREG): Likewise.
32075         [POSIX || XPG3] (ILL_COPROC): Likewise.
32076         [POSIX || XPG3] (ILL_BADSTK): Likewise.
32077         [POSIX || XPG3] (FPE_INTDIV): Likewise.
32078         [POSIX || XPG3] (FPE_INTOVF): Likewise.
32079         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
32080         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
32081         [POSIX || XPG3] (FPE_FLTUND): Likewise.
32082         [POSIX || XPG3] (FPE_FLTRES): Likewise.
32083         [POSIX || XPG3] (FPE_FLTINV): Likewise.
32084         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
32085         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
32086         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
32087         [POSIX || XPG3] (BUS_ADRALN): Likewise.
32088         [POSIX || XPG3] (BUS_ADRERR): Likewise.
32089         [POSIX || XPG3] (BUS_OBJERR): Likewise.
32090         [POSIX || XPG3] (CLD_EXITED): Likewise.
32091         [POSIX || XPG3] (CLD_KILLED): Likewise.
32092         [POSIX || XPG3] (CLD_DUMPED): Likewise.
32093         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
32094         [POSIX || XPG3] (CLD_STOPPED): Likewise.
32095         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
32096         [POSIX || XPG3] (POLL_IN): Likewise.
32097         [POSIX || XPG3] (POLL_OUT): Likewise.
32098         [POSIX || XPG3] (POLL_MSG): Likewise.
32099         [POSIX || XPG3] (POLL_ERR): Likewise.
32100         [POSIX || XPG3] (POLL_PRI): Likewise.
32101         [POSIX || XPG3] (POLL_HUP): Likewise.
32102         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
32103         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
32104         (SIG*): Do not allow.
32105         [XPG3] (si_*): Likewise.
32106         [XPG3] (SI_*): Likewise.
32107         [XPG3 || XPG4] (sigev_*): Likewise.
32108         [XPG3 || XPG4] (SIGEV_*): Likewise.
32109         [XPG3 || XPG4] (sival_*): Likewise.
32110         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
32111         [POSIX || XPG3] (BUS_*): Likewise.
32112         [POSIX || XPG3] (CLD_*): Likewise.
32113         [POSIX || XPG3] (FPE_*): Likewise.
32114         [POSIX || XPG3] (ILL_*): Likewise.
32115         [POSIX || XPG3] (POLL_*): Likewise.
32116         [POSIX || XPG3] (SEGV_*): Likewise.
32117         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
32118         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
32119         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
32120         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
32121         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
32122         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
32123         Specify type and value.
32124         (TVERSLEN): Likewise.
32125         (REGTYPE): Likewise.
32126         (AREGTYPE): Likewise.
32127         (LNKTYPE): Likewise.
32128         (SYMTYPE): Likewise.
32129         (CHRTYPE): Likewise.
32130         (BLKTYPE): Likewise.
32131         (DIRTYPE): Likewise.
32132         (FIFOTYPE): Likewise.
32133         (CONTTYPE): Likewise.
32134         (TSUID): Likewise.
32135         (TSGID): Likewise.
32136         (TSVTX): Likewise.
32137         (TUREAD): Likewise.
32138         (TUWRITE): Likewise.
32139         (TUEXEC): Likewise.
32140         (TGREAD): Likewise.
32141         (TGWRITE): Likewise.
32142         (TGEXEC): Likewise.
32143         (TOREAD): Likewise.
32144         (TOWRITE): Likewise.
32145         (TOEXEC): Likewise.
32146         [POSIX] (TSVTX): Expect constant.
32148 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
32150         * Makefile (tests): Change dependencies to ....
32151         (tests-special): ... additions to this variable.
32152         (tests): Depend on $(tests-special).
32153         * Makerules (check-abi-list): New variable.
32154         (check-abi): Depend on $(check-abi-list).
32155         [$(subdir) = elf] (tests-special): Add
32156         $(objpfx)check-abi-libc.out.
32157         [$(build-shared) = yes && subdir] (tests-special): Add
32158         $(check-abi-list).
32159         [$(build-shared) = yes && subdir] (tests): Do not depend on
32160         check-abi.
32161         * Rules (tests): Depend on $(tests-special).
32162         (xtests): Depend on $(xtests-special).
32163         * catgets/Makefile (tests): Change dependencies to ....
32164         (tests-special): ... additions to this variable.
32165         * conform/Makefile (tests): Change dependencies to ....
32166         (tests-special): ... additions to this variable.
32167         * elf/Makefile (tests): Change dependencies to ....
32168         (tests-special): ... additions to this variable.
32169         * grp/Makefile (tests): Change dependencies to ....
32170         (tests-special): ... additions to this variable.
32171         * iconv/Makefile (xtests): Change dependencies to ....
32172         (xtests-special): ... additions to this variable.
32173         * iconvdata/Makefile (tests): Change dependencies to ....
32174         (tests-special): ... additions to this variable.
32175         * intl/Makefile (tests): Change dependencies to ....
32176         (tests-special): ... additions to this variable.  Also add
32177         $(objpfx)tst-gettext.out.
32178         * io/Makefile (tests): Change dependencies to ....
32179         (tests-special): ... additions to this variable.
32180         * libio/Makefile (tests): Change dependencies to ....
32181         (tests-special): ... additions to this variable.
32182         * malloc/Makefile (tests): Change dependencies to ....
32183         (tests-special): ... additions to this variable.
32184         * misc/Makefile (tests): Change dependencies to ....
32185         (tests-special): ... additions to this variable.
32186         * nptl/Makefile (tests): Change dependencies to ....
32187         (tests-special): ... additions to this variable.
32188         * nptl_db/Makefile (tests): Change dependencies to ....
32189         (tests-special): ... additions to this variable.
32190         * posix/Makefile (tests): Change dependencies to ....
32191         (tests-special): ... additions to this variable.
32192         (xtests): Change dependencies to ....
32193         (xtests-special): ... additions to this variable.
32194         * resolv/Makefile (tests): Change dependencies to ....
32195         (tests-special): ... additions to this variable.
32196         (xtests): Change dependencies to ....
32197         (xtests-special): ... additions to this variable.
32198         * stdio-common/Makefile (tests): Change dependencies to ....
32199         (tests-special): ... additions to this variable.
32200         (do-tst-unbputc): Remove target.
32201         (do-tst-printf): Likewise.
32202         * stdlib/Makefile (tests): Change dependencies to ....
32203         (tests-special): ... additions to this variable.
32204         * string/Makefile (tests): Change dependencies to ....
32205         (tests-special): ... additions to this variable.
32206         * sysdeps/x86/Makefile (tests): Change dependencies to ....
32207         (tests-special): ... additions to this variable.
32209         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
32210         whole file.
32211         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
32212         whole file.
32213         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
32214         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
32216         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
32217         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
32218         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
32219         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
32220         * conform/data/libgen.h-data [XPG3]: Likewise.
32221         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
32222         * conform/data/ndbm.h-data [XPG3]: Likewise.
32223         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32224         * conform/data/netdb.h-data [XPG3]: Likewise.
32225         * conform/data/netinet/in.h-data [XPG3]: Likewise.
32226         * conform/data/poll.h-data [XPG3]: Likewise.
32227         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32228         * conform/data/strings.h-data [XPG3]: Likewise.
32229         * conform/data/stropts.h-data [XPG3]: Likewise.
32230         * conform/data/sys/mman.h-data [XPG3]: Likewise.
32231         * conform/data/sys/resource.h-data [XPG3]: Likewise.
32232         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
32233         Likewise.
32234         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
32235         * conform/data/sys/time.h-data [XPG3]: Likewise.
32236         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
32237         * conform/data/sys/uio.h-data [XPG3]: Likewise.
32238         * conform/data/sys/un.h-data [XPG3]: Likewise.
32239         * conform/data/syslog.h-data [XPG3]: Likewise.
32240         * conform/data/ucontext.h-data [XPG3]: Likewise.
32241         * conform/data/utmpx.h-data [XPG3]: Likewise.
32242         * conform/data/varargs.h-data [UNIX98]: Enable file.
32244         * manual/Makefile (INSTALL_INFO): Remove variable setting.
32246         * math/libm-test.inc (struct test_f_f_data): Move expected results
32247         into structure for each rounding mode.
32248         (struct test_ff_f_data): Likewise.
32249         (struct test_ff_f_data_nexttoward): Likewise.
32250         (struct test_fi_f_data): Likewise.
32251         (struct test_fl_f_data): Likewise.
32252         (struct test_if_f_data): Likewise.
32253         (struct test_fff_f_data): Likewise.
32254         (struct test_c_f_data): Likewise.
32255         (struct test_f_f1_data): Likewise.
32256         (struct test_fF_f1_data): Likewise.
32257         (struct test_ffI_f1_data): Likewise.
32258         (struct test_c_c_data): Likewise.
32259         (struct test_cc_c_data): Likewise.
32260         (struct test_f_i_data): Likewise.
32261         (struct test_ff_i_data): Likewise.
32262         (struct test_f_l_data): Likewise.
32263         (struct test_f_L_data): Likewise.
32264         (struct test_fFF_11_data): Likewise.
32265         (RM_): New macro.
32266         (RM_FE_DOWNWARD): Likewise.
32267         (RM_FE_TONEAREST): Likewise.
32268         (RM_FE_TOWARDZERO): Likewise.
32269         (RM_FE_UPWARD): Likewise.
32270         (RUN_TEST_LOOP_f_f): Update references to expected results.
32271         (RUN_TEST_LOOP_2_f): Likewise.
32272         (RUN_TEST_LOOP_fff_f): Likewise.
32273         (RUN_TEST_LOOP_c_f): Likewise.
32274         (RUN_TEST_LOOP_f_f1): Likewise.
32275         (RUN_TEST_LOOP_fF_f1): Likewise.
32276         (RUN_TEST_LOOP_fI_f1): Likewise.
32277         (RUN_TEST_LOOP_ffI_f1): Likewise.
32278         (RUN_TEST_LOOP_c_c): Likewise.
32279         (RUN_TEST_LOOP_cc_c): Likewise.
32280         (RUN_TEST_LOOP_f_i): Likewise.
32281         (RUN_TEST_LOOP_f_i_tg): Likewise.
32282         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32283         (RUN_TEST_LOOP_f_b): Likewise.
32284         (RUN_TEST_LOOP_f_b_tg): Likewise.
32285         (RUN_TEST_LOOP_f_l): Likewise.
32286         (RUN_TEST_LOOP_f_L): Likewise.
32287         (RUN_TEST_LOOP_fFF_11): Likewise.
32288         * math/gen-libm-test.pl (parse_args): Output four copies of
32289         expected results for each test.
32291         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32292         (__ASSUME_UTIMES): Remove.
32293         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32294         (__ASSUME_UTIMES): Likewise.
32296         * math/gen-auto-libm-tests.c: Update comment on output format.
32297         (output_for_one_input_case): Generate before-rounding and
32298         after-rounding information as conditions on output flags not
32299         floating-point format.
32300         * math/auto-libm-test-out: Regenerated.
32301         * math/gen-libm-test.pl (cond_value): New function.
32302         (or_cond_value): Use cond_value.
32303         (generate_testfile): Handle conditional exceptions.
32305 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
32307         * math/libm-test.inc (max_valid_error): New variable.
32308         (init_max_error): Take new argument specifying whether function
32309         results are exactly determined.  Set max_valid_error and bound
32310         other variables for errors based on this argument.
32311         (set_max_error): Do not record results above max_valid_error.
32312         (check_float_internal): Only accept errors of up to 0.5ulps if
32313         also at most max_valid_error.
32314         (START): Take new argument EXACT and pass it to init_max_error.
32315         (acos_test): Update call to START.
32316         (acos_test_tonearest): Likewise.
32317         (acos_test_towardzero): Likewise.
32318         (acos_test_downward): Likewise.
32319         (acos_test_upward): Likewise.
32320         (acosh_test): Likewise.
32321         (asin_test): Likewise.
32322         (asin_test_tonearest): Likewise.
32323         (asin_test_towardzero): Likewise.
32324         (asin_test_downward): Likewise.
32325         (asin_test_upward): Likewise.
32326         (asinh_test): Likewise.
32327         (atan_test): Likewise.
32328         (atanh_test): Likewise.
32329         (atan2_test): Likewise.
32330         (cabs_test): Likewise.
32331         (cacos_test): Likewise.
32332         (cacosh_test): Likewise.
32333         (carg_test): Likewise.
32334         (casin_test): Likewise.
32335         (casinh_test): Likewise.
32336         (catan_test): Likewise.
32337         (catanh_test): Likewise.
32338         (cbrt_test): Likewise.
32339         (ccos_test): Likewise.
32340         (ccosh_test): Likewise.
32341         (ceil_test): Likewise.
32342         (cexp_test): Likewise.
32343         (cimag_test): Likewise.
32344         (clog_test): Likewise.
32345         (clog10_test): Likewise.
32346         (conj_test): Likewise.
32347         (copysign_test): Likewise.
32348         (cos_test): Likewise.
32349         (cos_test_tonearest): Likewise.
32350         (cos_test_towardzero): Likewise.
32351         (cos_test_downward): Likewise.
32352         (cos_test_upward): Likewise.
32353         (cosh_test): Likewise.
32354         (cosh_test_tonearest): Likewise.
32355         (cosh_test_towardzero): Likewise.
32356         (cosh_test_downward): Likewise.
32357         (cosh_test_upward): Likewise.
32358         (cpow_test): Likewise.
32359         (cproj_test): Likewise.
32360         (creal_test): Likewise.
32361         (csin_test): Likewise.
32362         (csinh_test): Likewise.
32363         (csqrt_test): Likewise.
32364         (ctan_test): Likewise.
32365         (ctan_test_tonearest): Likewise.
32366         (ctan_test_towardzero): Likewise.
32367         (ctan_test_downward): Likewise.
32368         (ctan_test_upward): Likewise.
32369         (ctanh_test): Likewise.
32370         (ctanh_test_tonearest): Likewise.
32371         (ctanh_test_towardzero): Likewise.
32372         (ctanh_test_downward): Likewise.
32373         (ctanh_test_upward): Likewise.
32374         (erf_test): Likewise.
32375         (erfc_test): Likewise.
32376         (exp_test): Likewise.
32377         (exp_test_tonearest): Likewise.
32378         (exp_test_towardzero): Likewise.
32379         (exp_test_downward): Likewise.
32380         (exp_test_upward): Likewise.
32381         (exp10_test): Likewise.
32382         (exp10_test_tonearest): Likewise.
32383         (exp10_test_towardzero): Likewise.
32384         (exp10_test_downward): Likewise.
32385         (exp10_test_upward): Likewise.
32386         (pow10_test): Likewise.
32387         (exp2_test): Likewise.
32388         (expm1_test): Likewise.
32389         (expm1_test_tonearest): Likewise.
32390         (expm1_test_towardzero): Likewise.
32391         (expm1_test_downward): Likewise.
32392         (expm1_test_upward): Likewise.
32393         (fabs_test): Likewise.
32394         (fdim_test): Likewise.
32395         (floor_test): Likewise.
32396         (fma_test): Likewise.
32397         (fma_test_towardzero): Likewise.
32398         (fma_test_downward): Likewise.
32399         (fma_test_upward): Likewise.
32400         (fmax_test): Likewise.
32401         (fmin_test): Likewise.
32402         (fmod_test): Likewise.
32403         (fpclassify_test): Likewise.
32404         (frexp_test): Likewise.
32405         (hypot_test): Likewise.
32406         (ilogb_test): Likewise.
32407         (isfinite_test): Likewise.
32408         (finite_test): Likewise.
32409         (isgreater_test): Likewise.
32410         (isgreaterequal_test): Likewise.
32411         (isinf_test): Likewise.
32412         (isless_test): Likewise.
32413         (islessequal_test): Likewise.
32414         (islessgreater_test): Likewise.
32415         (isnan_test): Likewise.
32416         (isnormal_test): Likewise.
32417         (issignaling_test): Likewise.
32418         (isunordered_test): Likewise.
32419         (j0_test): Likewise.
32420         (j1_test): Likewise.
32421         (jn_test): Likewise.
32422         (ldexp_test): Likewise.
32423         (lgamma_test): Likewise.
32424         (gamma_test): Likewise.
32425         (lrint_test): Likewise.
32426         (lrint_test_tonearest): Likewise.
32427         (lrint_test_towardzero): Likewise.
32428         (lrint_test_downward): Likewise.
32429         (lrint_test_upward): Likewise.
32430         (llrint_test): Likewise.
32431         (llrint_test_tonearest): Likewise.
32432         (llrint_test_towardzero): Likewise.
32433         (llrint_test_downward): Likewise.
32434         (llrint_test_upward): Likewise.
32435         (log_test): Likewise.
32436         (log10_test): Likewise.
32437         (log1p_test): Likewise.
32438         (log2_test): Likewise.
32439         (logb_test): Likewise.
32440         (logb_test_downward): Likewise.
32441         (lround_test): Likewise.
32442         (llround_test): Likewise.
32443         (modf_test): Likewise.
32444         (nearbyint_test): Likewise.
32445         (nextafter_test): Likewise.
32446         (nexttoward_test): Likewise.
32447         (pow_test): Likewise.
32448         (pow_test_tonearest): Likewise.
32449         (pow_test_towardzero): Likewise.
32450         (pow_test_downward): Likewise.
32451         (pow_test_upward): Likewise.
32452         (remainder_test): Likewise.
32453         (drem_test): Likewise.
32454         (remainder_test_tonearest): Likewise.
32455         (drem_test_tonearest): Likewise.
32456         (remainder_test_towardzero): Likewise.
32457         (drem_test_towardzero): Likewise.
32458         (remainder_test_downward): Likewise.
32459         (drem_test_downward): Likewise.
32460         (remainder_test_upward): Likewise.
32461         (drem_test_upward): Likewise.
32462         (remquo_test): Likewise.
32463         (rint_test): Likewise.
32464         (rint_test_tonearest): Likewise.
32465         (rint_test_towardzero): Likewise.
32466         (rint_test_downward): Likewise.
32467         (rint_test_upward): Likewise.
32468         (round_test): Likewise.
32469         (scalb_test): Likewise.
32470         (scalbn_test): Likewise.
32471         (scalbln_test): Likewise.
32472         (signbit_test): Likewise.
32473         (sin_test): Likewise.
32474         (sin_test_tonearest): Likewise.
32475         (sin_test_towardzero): Likewise.
32476         (sin_test_downward): Likewise.
32477         (sin_test_upward): Likewise.
32478         (sincos_test): Likewise.
32479         (sinh_test): Likewise.
32480         (sinh_test_tonearest): Likewise.
32481         (sinh_test_towardzero): Likewise.
32482         (sinh_test_downward): Likewise.
32483         (sinh_test_upward): Likewise.
32484         (sqrt_test): Likewise.
32485         (sqrt_test_tonearest): Likewise.
32486         (sqrt_test_towardzero): Likewise.
32487         (sqrt_test_downward): Likewise.
32488         (sqrt_test_upward): Likewise.
32489         (tan_test): Likewise.
32490         (tan_test_tonearest): Likewise.
32491         (tan_test_towardzero): Likewise.
32492         (tan_test_downward): Likewise.
32493         (tan_test_upward): Likewise.
32494         (tanh_test): Likewise.
32495         (tgamma_test): Likewise.
32496         (trunc_test): Likewise.
32497         (y0_test): Likewise.
32498         (y1_test): Likewise.
32499         (yn_test): Likewise.
32500         (significand_test): Likewise.
32502         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
32503         individual tests in comment.
32504         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
32505         (prev_max_error): New variable.
32506         (prev_real_max_error): Likewise.
32507         (prev_imag_max_error): Likewise.
32508         (compare_ulp_data): Don't refer to test names in comment.
32509         (find_test_ulps): Remove function.
32510         (find_function_ulps): Likewise.
32511         (find_complex_function_ulps): Likewise.
32512         (init_max_error): Take function name as argument.  Look up ulps
32513         for that function.
32514         (print_ulps): Remove function.
32515         (print_max_error): Use prev_max_error instead of calling
32516         find_function_ulps.
32517         (print_complex_max_error): Use prev_real_max_error and
32518         prev_imag_max_error instead of calling find_complex_function_ulps.
32519         (check_float_internal): Take max_ulp parameter instead of calling
32520         find_test_ulps.  Don't call print_ulps.
32521         (check_float): Update call to check_float_internal.
32522         (check_complex): Update calls to check_float_internal.
32523         (START): Pass argument to init_max_error.
32524         * math/gen-libm-test.pl (%results): Don't include "kind"
32525         information.
32526         (parse_ulps): Don't handle ulps of individual tests.
32527         (print_ulps_file): Likewise.
32528         (output_ulps): Likewise.
32529         * math/README.libm-test: Update.
32530         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
32531         individual tests.
32532         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
32533         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32534         * sysdeps/arm/libm-test-ulps: Likewise.
32535         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32536         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
32537         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
32538         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
32539         * sysdeps/microblaze/libm-test-ulps: Likewise.
32540         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32541         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32542         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32543         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32544         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32545         * sysdeps/sh/libm-test-ulps: Likewise.
32546         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32547         * sysdeps/tile/libm-test-ulps: Likewise.
32548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32550 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
32552         * math/libm-test.inc (print_complex_max_error): Check separately
32553         whether real and imaginary errors are within allowed range and
32554         pass 0 to print_complex_function_ulps instead of value within
32555         allowed range.
32557 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32559         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
32560         formatting.
32561         (get_handles_fopen): Likewise.
32562         (do_write_test): Likewise.
32564         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
32566         * libio/fileops.c (do_ftell): Use cached offset when
32567         available.
32568         * libio/iofwide.c (do_ftell_wide): Likewise.
32569         * libio/iofdopen.c (_IO_new_fdopen): Don't use
32570         _IO_file_attach.
32571         * libio/wfileops.c (_IO_fwide): Don't cache offset.
32573         [BZ #16532]
32574         * libio/libioP.h (get_file_offset): New function.
32575         * libio/fileops.c (get_file_offset): Likewise.
32576         (do_ftell): Likewise.
32577         (_IO_new_file_seekoff): Split out ftell logic.
32578         * libio/wfileops.c (do_ftell_wide): Likewise.
32579         (_IO_wfile_seekoff): Split out ftell logic.
32580         * libio/tst-ftell-active-handler.c: New test case.
32581         * libio/Makefile (tests): Add it.
32583 2014-03-03  Roland McGrath  <roland@hack.frob.com>
32585         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
32586         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
32588 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32590         [BZ #16639]
32591         * nscd/connections.c (nscd_init): Call do_exit.
32592         (start_threads): Call do_exit and notify_parent.
32593         (begin_drop_privileges): Call do_exit.
32594         (finish_drop_privileges): Likewise.
32595         * nscd/selinux.c (preserve_capabilities): Likewise.
32596         (install_real_capabilities): Likewise.
32597         (nscd_selinux_enabled): Likewise.
32598         (avc_create_thread): Likewise.
32599         (avc_alloc_lock): Likewise.
32600         (nscd_avc_init): Likewise.
32601         * nscd/nscd.c (parent_fd): New static variable.
32602         (main): Create a pipe between parent and child processes.
32603         Skip closing parent_fd.
32604         (monitor_child): New function.
32605         (do_exit): Likewise.
32606         (notify_parent): Likewise.
32607         * nscd/nscd.h (notify_parent): Likewise.
32608         (do_exit): Likewise.
32610 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
32612         * malloc/malloc.c (__libc_calloc): Revert last change.
32614 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32618 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32620         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
32621         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
32622         implementation.
32623         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32624         (__libc_ifunc_impl_list): Likewise.
32625         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
32626         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
32627         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
32628         * string/strrchr.c: Define STRRCHR.
32630 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
32632         * benchtest/bench-strtok.c (simple_strtok): Delete.
32633         (strtok_string): Use as benchmark.
32634         * string/strtok (STRTOK): New macro.
32636 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
32638         * manual/threads.texi: Add header and standard comments to all
32639         functions.
32641         * elf/dl-lookup.c (check_match): New function.
32642         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
32643         (do_lookup_x): Remove nested function check_match. Use non-nested
32644         function check_match.
32646 2014-02-28  Roland McGrath  <roland@hack.frob.com>
32648         * csu/Makefile (generated, before-compile): Use += rather than =.
32649         * catgets/Makefile (generated, generated-dirs): Likewise.
32650         * debug/Makefile (generated): Likewise.
32651         * dlfcn/Makefile (generated): Likewise.
32652         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
32653         * iconvdata/Makefile (before-compile, generated): Likewise.
32654         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
32655         * libio/Makefile (generated): Likewise.
32656         * malloc/Makefile (generated): Likewise.
32657         * manual/Makefile (generated, generated-dirs): Likewise.
32658         * misc/Makefile (generated): Likewise.
32659         * posix/Makefile (generated): Likewise.
32660         * resolv/Makefile (generated): Likewise.
32661         * sunrpc/Makefile (generated, generated-dirs): Likewise.
32662         * timezone/Makefile (generated, generated-dirs): Likewise.
32664         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
32666 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32668         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
32669         power8 implementation.
32670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
32671         file: POWER8 llround ifunc implementation.
32672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
32673         (__lllround): Add POWER8 implementation.
32674         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
32675         POWER8 llround implementation.
32677         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
32678         power8 implementation.
32679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
32680         file: POWER8 llrint ifunc implementation.
32681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
32682         Add POWER8 implementation.
32683         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
32684         POWER8 llrint implementation.
32686         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
32687         power8 implementation.
32688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
32689         file: POWER8 finite ifunc implementation.
32690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
32691         Add POWER8 implementation.
32692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
32693         Likewise.
32694         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
32695         POWER8 finite implementation.
32696         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
32698         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
32699         power8 implementation.
32700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
32701         file: POWER8 isinf ifunc implementation.
32702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
32703         POWER8 implementation.
32704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
32705         Likewise.
32706         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
32707         isinf implementation.
32708         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
32710         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
32711         (INIT_ARCH): Add hwcap2 initialization.
32712         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
32713         power8 implementation.
32714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
32715         file: POWER8 isnan ifunc implementation.
32716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
32717         POWER8 implementation.
32718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
32719         Likewise.
32720         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
32721         isnan implementation.
32722         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
32724 2014-02-27  Joey Ye  <joey.ye@arm.com>
32726         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32727         (_FP_NANFRAC_Q): Set to zero.
32729 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32731         [BZ #16623]
32732         * math/auto-libm-test-in: New test inputs.
32733         * math/auto-libm-test-out: Regenerate.
32734         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
32735         and DA.
32736         (__cos): Likewise.
32737         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32739 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
32741         * scripts/evaluate-test.sh: Take new argument indicating whether
32742         failure is expected.
32743         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
32744         indicating whether failure is expected.
32745         * conform/Makefile (test-xfail-run-conformtest): New variable.
32746         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
32747         level.
32748         * posix/Makefile (test-xfail-annexc): New variable.
32749         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
32751 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
32753         * argp/Makefile: Include Makeconfig immediately after defining
32754         subdir.
32755         * assert/Makefile: Likewise.
32756         * benchtests/Makefile: Likewise.
32757         * catgets/Makefile: Likewise.
32758         * conform/Makefile: Likewise.
32759         * crypt/Makefile: Likewise.
32760         * csu/Makefile: Likewise.
32761         (all): Remove target.
32762         * ctype/Makefile: Include Makeconfig immediately after defining
32763         subdir.
32764         * debug/Makefile: Likewise.
32765         * dirent/Makefile: Likewise.
32766         * dlfcn/Makefile: Likewise.
32767         * gmon/Makefile: Likewise.
32768         * gnulib/Makefile: Likewise.
32769         * grp/Makefile: Likewise.
32770         * gshadow/Makefile: Likewise.
32771         * hesiod/Makefile: Likewise.
32772         * hurd/Makefile: Likewise.
32773         (all): Remove target.
32774         * iconvdata/Makefile: Include Makeconfig immediately after
32775         defining subdir.
32776         * inet/Makefile: Likewise.
32777         * intl/Makefile: Likewise.
32778         * io/Makefile: Likewise.
32779         * libio/Makefile: Likewise.
32780         (all): Remove target.
32781         * locale/Makefile: Include Makeconfig immediately after defining
32782         subdir.
32783         * login/Makefile: Likewise.
32784         * mach/Makefile: Likewise.
32785         (all): Remove target.
32786         * malloc/Makefile: Include Makeconfig immediately after defining
32787         subdir.
32788         (all): Remove target.
32789         * manual/Makefile: Include Makeconfig immediately after defining
32790         subdir.
32791         * math/Makefile: Likewise.
32792         * misc/Makefile: Likewise.
32793         * nis/Makefile: Likewise.
32794         * nss/Makefile: Likewise.
32795         * po/Makefile: Likewise.
32796         (all): Remove target.
32797         * posix/Makefile: Include Makeconfig immediately after defining
32798         subdir.
32799         * pwd/Makefile: Likewise.
32800         * resolv/Makefile: Likewise.
32801         * resource/Makefile: Likewise.
32802         * rt/Makefile: Likewise.
32803         * setjmp/Makefile: Likewise.
32804         * shadow/Makefile: Likewise.
32805         * signal/Makefile: Likewise.
32806         * socket/Makefile: Likewise.
32807         * soft-fp/Makefile: Likewise.
32808         * stdio-common/Makefile: Likewise.
32809         * stdlib/Makefile: Likewise.
32810         * streams/Makefile: Likewise.
32811         * string/Makefile: Likewise.
32812         * sunrpc/Makefile: Likewise.
32813         (all): Remove target.
32814         * sysvipc/Makefile: Include Makeconfig immediately after defining
32815         subdir.
32816         * termios/Makefile: Likewise.
32817         * time/Makefile: Likewise.
32818         * timezone/Makefile: Likewise.
32819         (all): Remove target.
32820         * wcsmbs/Makefile: Include Makeconfig immediately after defining
32821         subdir.
32822         * wctype/Makefile: Likewise.
32824 2014-02-26  Steve Ellcey  <sellcey@mips.com>
32826         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
32827         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
32828         (libc_feholdexcept_setround_mips): Ditto.
32829         (libc_feholdsetround): New.
32830         (libc_feholdsetroundf): New.
32831         (libc_feholdsetroundl): New.
32832         (libc_feupdateenv_test_mips): New.
32833         (libc_feupdateenv_test): New.
32834         (libc_feupdateenv_testf): New.
32835         (libc_feupdateenv_testl): New.
32836         (libc_feresetround): New.
32837         (libc_feresetroundf): New.
32838         (libc_feresetroundl): New.
32839         (libc_fetestexcept_mips): New.
32840         (libc_fetestexcept): New.
32841         (libc_fetestexceptf): New.
32842         (libc_fetestexceptl): New.
32843         (HAVE_RM_CTX): New.
32844         (libc_feholdexcept_setround_mips_ctx): New.
32845         (libc_feholdexcept_setround_ctx): New.
32846         (libc_feholdexcept_setroundf_ctx): New.
32847         (libc_feholdexcept_setroundl_ctx): New.
32848         (libc_fesetenv_mips_ctx): New.
32849         (libc_fesetenv_ctx): New.
32850         (libc_fesetenv_ctxf): New.
32851         (libc_fesetenv_ctxl): New.
32852         (libc_feupdateenv_mips_ctx): New.
32853         (libc_feupdateenv_ctx): New.
32854         (libc_feupdateenvf_ctx): New.
32855         (libc_feupdateenvl_ctx): New.
32856         (libc_feholdsetround_mips_ctx): New.
32857         (libc_feholdsetround_ctx): New.
32858         (libc_feholdsetroundf_ctx): New.
32859         (libc_feholdsetroundl_ctx): New.
32860         (libc_feresetround_mips_ctx): New.
32861         (libc_feresetround_ctx): New.
32862         (libc_feresetroundf_ctx): New.
32863         (libc_feresetroundl_ctx): New.
32865 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
32867         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
32869         * manual/ipc.texi: New file.
32870         * manual/Makefile (chapters): Add ipc.
32871         * manual/job.texi: Add "Inter-Process Communication" to next.
32872         * manual/process.texi: Add "Inter-Process Communication" to prev.
32874 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32878 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
32880         * malloc/malloc.c (__libc_calloc): Simplify implementation.
32882         * manual/arith.texi: Fix spaces after sentences.
32883         * manual/charset.texi: Likewise.
32884         * manual/errno.texi: Likewise.
32885         * manual/install.texi: Likewise.
32886         * manual/llio.texi: Likewise.
32887         * manual/locale.texi: Likewise.
32888         * manual/maint.texi: Likewise.
32889         * manual/math.texi: Likewise.
32890         * manual/memory.texi: Likewise.
32891         * manual/message.texi: Likewise.
32892         * manual/probes.texi: Likewise.
32893         * manual/resource.texi: Likewise.
32894         * manual/signal.texi: Likewise.
32895         * manual/socket.texi: Likewise.
32896         * manual/stdio.texi: Likewise.
32897         * manual/string.texi: Likewise.
32898         * manual/time.texi: Likewise.
32899         * manual/users.texi: Likewise.
32901 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
32903         [BZ #16632]
32904         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
32905         _DEFAULT_SOURCE is defined.
32907 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
32908             Carlos O'Donell  <carlos@redhat.com>
32910         [BZ #16613]
32911         * elf/dl-tls.c (_dl_count_modids): New function.
32912         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
32913         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
32914         audit library and increment generation counter.
32915         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
32916         * elf/tst-audit9.c: New file.
32917         * elf/tst-auditmod9a.c: New file.
32918         * elf/tst-auditmod9b.c: New file.
32919         * elf/Makefile: Add rules to build and run tst-audit9.
32921 2014-02-25  Florian Weimer  <fweimer@redhat.com>
32923         [BZ #15347]
32924         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
32926 2014-02-25  Will Newton  <will.newton@linaro.org>
32928         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
32929         (__longjmp): Restore sp and lr before restoring callee
32930         saved registers.  Add longjmp and longjmp_target
32931         SystemTap probe point.
32932         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
32933         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
32934         Define to zero to match jmpbuf layout.
32935         * sysdeps/arm/setjmp.S: Include stap-probe.h.
32936         (__sigsetjmp): Save sp and lr before saving callee
32937         saved registers.  Add setjmp SystemTap probe point.
32939 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32941         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32943 2014-02-24  Andreas Schwab  <schwab@suse.de>
32945         [BZ #15804]
32946         * elf/pldd.c (wait_for_ptrace_stop): New function.
32947         (main): Call it after attaching.
32949 2014-02-22  Roland McGrath  <roland@hack.frob.com>
32951         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
32952         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
32953         Versions files is now verboten.
32954         * hurd/Versions (libc: GLIBC_2.0):
32955         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
32956         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
32957         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
32958         * mach/Versions: Likewise.
32960         * csu/Versions: Remove unused %include.
32961         * resolv/Versions: Likewise.
32963 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
32965         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
32966         ($(objpfx)check-local-headers.out): Likewise.
32967         ($(objpfx)begin-end-check.out): Likewise.
32968         * Makerules (check-abi-%.out): Likewise.
32969         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
32970         ($(objpfx)test2.cat): Likewise.
32971         ($(objpfx)de/libc.cat): Likewise.
32972         ($(objpfx)test-gencat.out): Likewise.
32973         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
32974         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
32975         ($(objpfx)noload-mem): Likewise.
32976         ($(objpfx)tst-pathopt.out): Likewise.
32977         ($(objpfx)tst-rtld-load-self.out): Likewise.
32978         ($(objpfx)tst-array1-cmp.out): Likewise.
32979         ($(objpfx)tst-array1-static-cmp.out): Likewise.
32980         ($(objpfx)tst-array2-cmp.out): Likewise.
32981         ($(objpfx)tst-array3-cmp.out): Likewise.
32982         ($(objpfx)tst-array4-cmp.out): Likewise.
32983         ($(objpfx)tst-array5-cmp.out): Likewise.
32984         ($(objpfx)tst-array5-static-cmp.out): Likewise.
32985         ($(objpfx)check-textrel.out): Likewise.
32986         ($(objpfx)check-execstack.out): Likewise.
32987         ($(objpfx)check-localplt.out): Likewise.
32988         ($(objpfx)order2-cmp.out): Likewise.
32989         ($(objpfx)tst-leaks1-mem): Likewise.
32990         ($(objpfx)tst-leaks1-static-mem): Likewise.
32991         ($(objpfx)tst-initorder-cmp.out): Likewise.
32992         ($(objpfx)tst-initorder2-cmp.out): Likewise.
32993         ($(objpfx)tst-unused-dep.out): Likewise.
32994         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
32995         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32996         * iconv/Makefile (test-iconvconfig): Likewise.
32997         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
32998         ($(objpfx)iconv-test.out): Likewise.
32999         ($(objpfx)tst-tables.out): Likewise.
33000         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
33001         ($(objpfx)tst-gettext.out): Likewise.
33002         ($(objpfx)tst-translit.out): Likewise.
33003         ($(objpfx)tst-gettext2.out): Likewise.
33004         ($(objpfx)tst-gettext4.out): Likewise.
33005         ($(objpfx)tst-gettext6.out): Likewise.
33006         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
33007         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33008         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
33009         ($(objpfx)tst-fopenloc-mem.out): Likewise.
33010         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33011         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
33012         * posix/Makefile ($(objpfx)globtest.out): Likewise.
33013         ($(objpfx)wordexp-tst.out): Likewise.
33014         ($(objpfx)annexc.out): Likewise.
33015         ($(objpfx)tst-fnmatch-mem): Likewise.
33016         ($(objpfx)bug-regex2-mem): Likewise.
33017         ($(objpfx)bug-regex14-mem): Likewise.
33018         ($(objpfx)bug-regex21-mem): Likewise.
33019         ($(objpfx)bug-regex31-mem): Likewise.
33020         ($(objpfx)tst-vfork3-mem): Likewise.
33021         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
33022         ($(objpfx)tst-pcre-mem): Likewise.
33023         ($(objpfx)tst-boost-mem): Likewise.
33024         ($(objpfx)tst-getconf.out): Likewise.
33025         ($(objpfx)bug-ga2-mem): Likewise.
33026         ($(objpfx)bug-glob2-mem): Likewise.
33027         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
33028         ($(objpfx)mtrace-tst-leaks2): Likewise.
33029         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
33030         ($(objpfx)tst-printf.out): Likewise.
33031         ($(objpfx)tst-setvbuf1.out): Likewise.
33032         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
33033         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
33034         ($(objpfx)tst-fmtmsg.out): Likewise.
33035         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
33036         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
33038         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
33039         * bits/sigaction.h [__USE_MISC]: Likewise.
33040         * bits/waitstatus.h: Update #endif comments.
33041         * ctype/ctype.h: Likewise.
33042         * dirent/dirent.h: Likewise.
33043         [__USE_MISC]: Remove redundant conditionals.
33044         * grp/grp.h: Update #endif comments.
33045         [__USE_GNU]: Remove redundant conditionals.
33046         [__USE_MISC]: Likewise.
33047         * inet/netinet/in.h [__USE_GNU]: Likewise.
33048         * io/sys/stat.h [__USE_MISC]: Likewise.
33049         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
33050         * libio/bits/stdio.h: Update #endif comments.
33051         [__USE_MISC]: Remove redundant conditionals.
33052         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
33053         * libio/stdio.h: Update #endif comments.
33054         [__USE_MISC]: Remove redundant conditionals.
33055         * math/bits/math-finite.h [__USE_MISC]: Likewise.
33056         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
33057         * math/math.h: Update #else and #endif comments.
33058         [__USE_MISC]: Remove redundant conditionals.
33059         * misc/sys/uio.h: Update #endif comments.
33060         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
33061         * posix/glob.h [__USE_MISC]: Likewise.
33062         * posix/sys/types.h: Update #endif comments.
33063         [__USE_MISC]: Remove redundant conditionals.
33064         * posix/sys/wait.h: Update #endif comments.
33065         [__USE_MISC]: Remove redundant conditionals.
33066         * posix/unistd.h: Update #endif comments.
33067         [__USE_MISC]: Remove redundant conditionals.
33068         * pwd/pwd.h [__USE_GNU]: Likewise.
33069         [__USE_MISC]: Likewise.
33070         * resolv/netdb.h [__USE_GNU]: Likewise.
33071         * signal/signal.h: Update #endif comments.
33072         [__USE_MISC]: Remove redundant conditionals.
33073         * stdlib/stdlib.h: Update #else and #endif comments.
33074         [__USE_MISC]: Remove redundant conditionals.
33075         [__USE_GNU]: Likewise.
33076         * string/bits/string2.h [__USE_MISC]: Likewise.
33077         * string/string.h: Update #endif comments.
33078         [__USE_MISC]: Remove redundant conditionals.
33079         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
33080         Likewise.
33081         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
33082         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
33083         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
33084         Likewise.
33085         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
33086         Likewise.
33087         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
33088         comments.
33089         [__USE_MISC]: Remove redundant conditionals.
33090         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
33091         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
33092         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
33093         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
33094         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
33095         Likewise.
33096         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
33097         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
33098         Likewise.
33099         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
33100         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
33101         Likewise.
33102         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
33103         Likewise.
33104         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
33105         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
33106         Likewise.
33107         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
33108         Likewise.
33109         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
33110         * sysdeps/x86/bits/string.h: Update #endif comments.
33111         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
33112         conditionals.
33113         * time/sys/time.h: Update #endif comments.
33114         * time/time.h: Likewise.
33115         [__USE_MISC]: Remove redundant conditionals.
33117 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
33119         [BZ #16600]
33120         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
33122 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
33124         * Versions.def (librt): Add GLIBC_2.17.
33126 2014-02-21  Adam Conrad  <adconrad@0c3.net>
33128         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
33129         synonym for _SYS_AUXV_H to allow direct inclusion.
33130         * sysdeps/sparc/bits/hwcap.h: Likewise.
33131         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
33132         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
33133         * sysdeps/sparc/sysdep.h: Likewise.
33135 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33137         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
33139 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33141         * benchtests/bench-strrchr.c: Print length instead of position.
33143 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
33145         [BZ #16611]
33146         * sysdeps/unix/sysv/linux/kernel-features.h
33147         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
33148         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
33149         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
33150         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
33151         Likewise.
33152         [__i386__ || __powerpc__ || __sh__ || __sparc__]
33153         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33154         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
33155         (__ASSUME_SENDMMSG): Define instead of using previous
33156         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
33157         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33158         (__ASSUME_SENDMMSG_SYSCALL): Define.
33159         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33160         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
33161         Likewise.
33162         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33163         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33164         Likewise.
33165         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33166         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33167         Likewise.
33168         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
33169         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33170         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33171         [__ASSUME_SENDMMSG]: Change conditionals to
33172         [__ASSUME_SENDMMSG_SOCKETCALL].
33173         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33174         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
33175         Define.
33176         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33177         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
33178         Likewise.
33179         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
33180         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33181         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33182         [!__ASSUME_SENDMMSG]: Change conditional to
33183         [!__ASSUME_SENDMMSG_SOCKETCALL].
33184         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33185         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33186         Define.
33188         [BZ #16610]
33189         * sysdeps/unix/sysv/linux/kernel-features.h
33190         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
33191         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
33192         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
33193         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
33194         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33195         [__i386__ || __sparc__]
33196         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33197         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
33198         (__ASSUME_RECVMMSG): Define instead of using previous
33199         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
33200         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33201         (__ASSUME_RECVMMSG_SYSCALL): Define.
33202         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33203         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33204         Likewise.
33205         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33206         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33207         Likewise.
33208         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33209         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33210         Likewise.
33211         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
33212         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33213         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33214         [__ASSUME_RECVMMSG]: Change condition to
33215         [__ASSUME_RECVMMSG_SOCKETCALL].
33216         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33217         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33218         Define.
33219         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33220         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33221         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33222         Likewise.
33223         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
33224         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33225         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33226         [!__ASSUME_RECVMMSG]: Change condition to
33227         [!__ASSUME_RECVMMSG_SOCKETCALL].
33228         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33229         (__ASSUME_RECVMMSG_SYSCALL): Define.
33231         [BZ #16609]
33232         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
33233         __powerpc__ || __s390__ || __sh__ || __sparc__]
33234         (__ASSUME_SOCKETCALL): Define.
33235         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
33236         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
33237         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
33238         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
33239         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33240         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
33241         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
33242         (__ASSUME_ACCEPT4): Define instead of using previous
33243         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
33244         __powerpc__ || __sparc__ || __s390__)] condition.
33245         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33246         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33247         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
33248         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33249         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33250         [!__ASSUME_ACCEPT4]: Change condition to
33251         [!__ASSUME_ACCEPT4_SOCKETCALL].
33252         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33253         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
33254         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
33255         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33256         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
33257         __ASSUME_ACCEPT4_SYSCALL.
33258         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
33259         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
33260         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33261         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
33262         __ASSUME_ACCEPT4_SYSCALL.
33263         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
33264         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33265         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33266         [__ASSUME_ACCEPT4]: Change condition to
33267         [__ASSUME_ACCEPT4_SOCKETCALL].
33268         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33269         (__ASSUME_SOCKETCALL): Define.
33270         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
33271         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33272         (__ASSUME_SOCKETCALL): Define.
33273         (__ASSUME_ACCEPT4): Remove.
33274         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
33275         Define.
33276         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33277         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
33278         Likewise.
33279         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33280         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33282         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
33283         macro.
33284         (HWCAP_ARM_LPAE): Likewise.
33285         (HWCAP_ARM_EVTSTRM): Likewise.
33286         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
33287         Add vpfd32, lpae and evtstrm.
33288         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
33289         Increase to 22.
33291 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
33293         * math/auto-libm-test-in: Add tests of clog10.
33294         * math/auto-libm-test-out: Regenerated.
33295         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
33296         * sysdeps/i386/fpu/libm-test-ulps: Update.
33297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33299 2014-02-18  Andreas Schwab  <schwab@suse.de>
33301         [BZ #16574]
33302         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
33303         Store non-zero if the second buffer was newly allocated.
33304         (send_dg): Likewise.
33305         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
33306         to send_vc and send_dg.
33307         (res_nsend): Pass NULL for ansp2_malloced.
33308         * resolv/res_query.c (__libc_res_nquery): Add parameter
33309         answerp2_malloced and pass it down to __libc_res_nsend.
33310         (res_nquery): Pass additional NULL to __libc_res_nquery.
33311         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
33312         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
33313         second answer buffer if answerp2_malloced was set.
33314         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
33315         (__libc_res_nquerydomain): Add parameter
33316         answerp2_malloced and pass it down to __libc_res_nquery.
33317         (res_nquerydomain): Pass additional NULL to
33318         __libc_res_nquerydomain.
33319         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
33320         additional NULL to __libc_res_nsend and __libc_res_nquery.
33321         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
33322         additional NULL to __libc_res_nsearch.
33323         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
33324         parameter of __libc_res_nsearch to check for separately allocated
33325         second buffer.
33326         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
33327         __libc_res_nquery.
33328         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
33329         additional NULL to __libc_res_nquery.
33330         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
33331         __libc_res_nsearch.
33332         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
33333         * include/resolv.h: Update prototypes of __libc_res_nquery,
33334         __libc_res_nsearch, __libc_res_nsend.
33336 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
33338         * math/auto-libm-test-in: Add tests of fma.
33339         * math/auto-libm-test-out: Regenerated.
33340         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
33341         (fma_towardzero_test_data): Likewise.
33342         (fma_downward_test_data): Likewise.
33343         (fma_upward_test_data): Likewise.
33344         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
33345         mpc_mode.
33346         (rounding_modes): Add values for new field.
33347         (func_calc_method): Add value mpfr_fff_f.
33348         (func_calc_desc): Add mpfr_fff_f union field.
33349         (test_function): Add field exact_args.
33350         (FUNC): Add macro argument EXACT_ARGS.
33351         (FUNC_mpfr_f_f): Update call to FUNC.
33352         (FUNC_mpfr_f_f): Likewise.
33353         (FUNC_mpfr_ff_f): Likewise.
33354         (FUNC_mpfr_if_f): Likewise.
33355         (FUNC_mpc_c_f): Likewise.
33356         (FUNC_mpc_c_c): Likewise.
33357         (test_functions): Add fma.  Update calls to FUNC.
33358         (handle_input_arg): Add argument exact_args.
33359         (add_test): Update call to handle_input_arg.
33360         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
33361         (output_for_one_input_case): Update call to calc_generic_results.
33362         Recalculate exact zero results in each rounding mode.
33364         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
33365         non-negative before setting low bit.
33366         * math/auto-libm-test-in: Mark one asin test possibly having
33367         spurious underflow.
33368         * math/auto-libm-test-out: Regenerated.
33369         * sysdeps/i386/fpu/libm-test-ulps: Update.
33370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33372 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
33374         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
33375         * sysdeps/unix/sysv/linux/microblaze: Move directory from
33376         ports/sysdeps/unix/sysv/linux/microblaze.
33377         * README: Add missing listing for microblaze*-*-linux-gnu.
33379 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
33381         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
33382         duplicate code
33384 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
33386         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
33387         * sysdeps/unix/sysv/linux/ia64: Move directory from
33388         ports/sysdeps/unix/sysv/linux/ia64.
33389         * README: Update listing for ia64-*-linux-gnu.
33391 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
33392             Joseph Myers  <joseph@codesourcery.com>
33394         * Makeconfig (test-name): New variable.
33395         (evaluate-test): Likewise.
33396         * Makerules (do-test-clean): Remove .test-result files.
33397         (common-mostlyclean): Likewise.
33398         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
33399         * scripts/evaluate-test.sh: New file.
33401 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
33403         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
33404         separate $(objpfx)tst-fopenloc-cmp.out and
33405         $(objpfx)tst-fopenloc-mem.out targets.
33406         (tests): Update dependencies.
33407         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
33408         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
33409         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
33410         (tst-rxspencer-no-utf8-ARGS): New variable.
33411         (tst-rxspencer-no-utf8-ENV): Likewise.
33412         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
33413         instead of $(objpfx)tst-rxspencer-mem.
33414         ($(objpfx)tst-rxspencer-mem): Change target to
33415         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
33416         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
33417         * posix/tst-rxspencer-no-utf8.c: New file.
33419         * elf/Makefile ($(objpfx)order.out): Remove rule.
33420         [$(run-built-tests) = yes] (tests): Depend on
33421         $(objpfx)order-cmp.out.
33422         ($(objpfx)order-cmp.out): New rule.
33423         [$(run-built-tests) = yes] (tests): Depend on
33424         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
33425         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
33426         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
33427         $(objpfx)tst-array5-static-cmp.out.
33428         ($(objpfx)tst-array1.out): Remove rule.
33429         ($(objpfx)tst-array1-cmp.out): New rule.
33430         ($(objpfx)tst-array1-static.out): Remove rule.
33431         ($(objpfx)tst-array1-static-cmp.out): New rule.
33432         ($(objpfx)tst-array2.out): Remove rule.
33433         ($(objpfx)tst-array2-cmp.out): New rule.
33434         ($(objpfx)tst-array3.out): Remove rule.
33435         ($(objpfx)tst-array3-cmp.out): New rule.
33436         ($(objpfx)tst-array4.out): Remove rule.
33437         ($(objpfx)tst-array4-cmp.out): New rule.
33438         ($(objpfx)tst-array5.out): Remove rule.
33439         ($(objpfx)tst-array5-cmp.out): New rule.
33440         ($(objpfx)tst-array5-static.out): Remove rule.
33441         ($(objpfx)tst-array5-static-cmp.out): New rule.
33442         [$(run-built-tests) = yes] (tests): Depend on
33443         $(objpfx)order2-cmp.out.
33444         ($(objpfx)order2.out): Remove rule.
33445         ($(objpfx)order2-cmp.out): New rule.
33446         ($(objpfx)tst-initorder.out): Remove rule.
33447         [$(run-built-tests) = yes] (tests): Depend on
33448         $(objpfx)tst-initorder-cmp.out.
33449         ($(objpfx)tst-initorder-cmp.out): New rule.
33450         ($(objpfx)tst-initorder2.out): Remove rule.
33451         [$(run-built-tests) = yes] (tests): Depend on
33452         $(objpfx)tst-initorder2-cmp.out.
33453         ($(objpfx)tst-initorder2-cmp.out): New rule.
33454         [$(run-built-tests) = yes] (tests): Depend on
33455         $(objpfx)tst-unused-dep-cmp.out.
33456         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
33457         ($(objpfx)tst-unused-dep-cmp.out): New rule.
33458         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
33459         on $(objpfx)tst-setvbuf1-cmp.out.
33460         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
33461         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
33462         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
33463         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
33464         ($(objpfx)tst-svc.out): Remove rule.
33465         ($(objpfx)tst-svc-cmp.out): New rule.
33467 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
33469         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
33470         * ctype/ctype.h [__USE_MISC]: Likewise.
33471         * dirent/dirent.h [__USE_MISC]: Likewise.
33472         * grp/grp.h [__USE_MISC]: Likewise.
33473         * io/fcntl.h [__USE_MISC]: Likewise.
33474         * io/sys/stat.h [__USE_MISC]: Likewise.
33475         * libio/stdio.h [__USE_MISC]: Likewise.
33476         * posix/unistd.h [__USE_MISC]: Likewise.
33477         * pwd/pwd.h [__USE_MISC]: Likewise.
33478         * stdlib.h [__USE_MISC]: Likewise.
33479         * string/bits/string2.h [__USE_MISC]: Likewise.
33480         * string/string.h [__USE_MISC]: Likewise.
33481         * time/time.h [__USE_MISC]: Likewise.
33483 2014-02-13  Andreas Schwab  <schwab@suse.de>
33485         [BZ #16574]
33486         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
33487         second answer buffer if it was separately allocated.
33489 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
33491         * sysdeps/mips/math-tests.h: Include <features.h>.
33492         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33493         (ROUNDING_TESTS_long_double): Do not define.
33494         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33495         (EXCEPTION_TESTS_long_double): Likewise.
33496         * sysdeps/mips/mips64/libm-test-ulps: Update.
33498         * include/features.h (__USE_BSD): Remove macro definitions.
33499         (__USE_SVID): Likewise.
33500         (_BSD_SOURCE): Likewise.
33501         (_SVID_SOURCE): Likewise.
33502         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
33503         from definition of _DEFAULT_SOURCE.
33504         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
33505         [_DEFAULT_SOURCE].
33506         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
33507         * bits/mman.h [__USE_BSD]: Likewise.
33508         * bits/termios.h [__USE_BSD]: Likewise.
33509         * bits/waitstatus.h [__USE_BSD]: Likewise.
33510         * ctype/ctype.h [__USE_SVID]: Likewise.
33511         * dirent/dirent.h [__USE_BSD]: Likewise.
33512         * grp/grp.h [__USE_SVID]: Likewise.
33513         [__USE_BSD]: Likewise.
33514         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
33515         * io/fcntl.h [__USE_BSD]: Likewise.
33516         * io/ftw.h [__USE_BSD]: Likewise.
33517         * io/sys/stat.h [__USE_BSD]: Likewise.
33518         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
33519         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
33520         * libio/stdio.h [__USE_SVID]: Likewise.
33521         [__USE_BSD]: Likewise.
33522         * math/math.h [__USE_SVID]: Likewise.
33523         [__USE_BSD]: Likewise.
33524         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
33525         * misc/bits/syslog.h [__USE_BSD]: Likewise.
33526         * misc/search.h [__USE_SVID]: Likewise.
33527         * misc/sys/mman.h [__USE_BSD]: Likewise.
33528         * misc/sys/syslog.h [__USE_BSD]: Likewise.
33529         * misc/sys/uio.h [__USE_BSD]: Likewise.
33530         * posix/bits/unistd.h [__USE_BSD]: Likewise.
33531         * posix/glob.h [__USE_BSD]: Likewise.
33532         * posix/regex.h [__USE_BSD]: Likewise.
33533         * posix/sys/types.h [__USE_BSD]: Likewise.
33534         [__USE_SVID]: Likewise.
33535         * posix/sys/utsname.h [__USE_SVID]: Likewise.
33536         * posix/sys/wait.h [__USE_BSD]: Likewise.
33537         [__USE_SVID]: Likewise.
33538         * posix/unistd.h [__USE_BSD]: Likewise.
33539         [__USE_SVID]: Likewise.
33540         * pwd/pwd.h [__USE_SVID]: Likewise.
33541         * resolv/netdb.h [__USE_BSD]: Likewise.
33542         * setjmp/setjmp.h [__USE_BSD]: Likewise.
33543         * signal/signal.h [__USE_BSD]: Likewise.
33544         [__USE_SVID]: Likewise.
33545         * socket/sys/socket.h [__USE_BSD]: Likewise.
33546         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
33547         * stdlib/stdlib.h [__USE_BSD]: Likewise.
33548         [__USE_SVID]: Likewise.
33549         * string/bits/string2.h [__USE_BSD]: Likewise.
33550         [__USE_SVID]: Likewise.
33551         * string/bits/string3.h [__USE_BSD]: Likewise.
33552         * string/endian.h [__USE_BSD]: Likewise.
33553         * string/string.h [__USE_SVID]: Likewise.
33554         [__USE_BSD]: Likewise.
33555         * string/strings.h [__USE_BSD]: Likewise.
33556         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
33557         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
33558         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
33559         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
33560         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
33561         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
33562         Likewise.
33563         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
33564         Likewise.
33565         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
33566         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
33567         Likewise.
33568         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
33569         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
33570         Likewise.
33571         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
33572         Likewise.
33573         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
33574         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
33575         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
33576         Likewise.
33577         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
33578         Likewise.
33579         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
33580         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
33581         * termios/termios.h [__USE_BSD]: Likewise.
33582         * time/sys/time.h [__USE_BSD]: Likewise.
33583         * time/time.h [__USE_BSD]: Likewise.
33584         [__USE_SVID]: Likewise.
33586         * Makefile (subdir_targets): Remove subdir_lint.out.
33588         * stdio-common/Makefile (do-tst-unbputc): Remove target.
33589         (do-tst-printf): Likewise.
33590         (tests): Depend directly on $(objpfx)tst-unbputc.out and
33591         $(objpfx)tst-printf.out.
33593         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
33595         * Makerules (check-abi-%): Change target to
33596         $(objpfx)check-abi-%.out.
33597         (check-abi target): Update dependencies.
33598         (check-abi-pattern variable): Redirect output of diff to $@.
33599         (check-abi variable): Likewise.
33600         * elf/Makefile (check-abi): Update dependencies.
33602         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
33603         unused.
33604         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
33605         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
33606         subnormal range.
33607         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
33608         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
33609         value has largest subnormal exponent.
33610         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
33611         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
33612         * sysdeps/aarch64/soft-fp/sfp-machine.h
33613         (_FP_TININESS_AFTER_ROUNDING): New macro.
33614         * sysdeps/alpha/soft-fp/sfp-machine.h
33615         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33616         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33617         Likewise.
33618         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
33619         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33620         * sysdeps/mips/soft-fp/sfp-machine.h
33621         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33622         * sysdeps/powerpc/soft-fp/sfp-machine.h
33623         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33624         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33625         Likewise.
33626         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33627         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33628         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33629         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33630         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33631         Likewise.
33633 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
33635         [BZ #16545]
33636         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
33637         model 1.
33639 2014-02-12  Richard Henderson  <rth@redhat.com>
33641         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
33642         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
33643         * sysdeps/unix/sysv/linux/alpha: Move directory from
33644         ports/sysdeps/unix/sysv/linux/alpha.
33645         * README: Update listing for alpha-*-linux-gnu.
33647 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
33649         * include/features.h: Update comment documenting feature test
33650         macros.
33651         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
33652         _DEFAULT_SOURCE.
33653         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
33654         (_SVID_SOURCE): Likewise.
33655         (_DEFAULT_SOURCE): Update description of default features.
33656         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
33657         with _GNU_SOURCE.
33658         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
33659         (S_ISVTX): Likewise.
33660         * manual/math.texi (Mathematical Constants): Likewise.
33661         * manual/signal.texi (Interrupted Primitives): Likewise.
33662         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
33663         * math/test-matherr.c (_SVID_SOURCE): Do not define.
33664         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
33665         Don't refer to _SVID_SOURCE in warning text.
33667         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33669         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
33670         already defined.
33671         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
33672         * sysdeps/mips/dl-lookup.c: Remove.
33673         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
33675 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33677         [BZ #16447]
33678         * math/auto-libm-test-in: Add testcase for expl.
33679         * math/auto-libm-test-out: Regenerate.
33680         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
33681         calculation of unsafe.
33682         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
33684 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33686         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
33687         * sysdeps/unix/sysv/linux/aarch64: Move directory from
33688         ports/sysdeps/unix/sysv/linux/aarch64.
33689         * README: Update listing for aarch64*-*-linux-gnu.
33691 2014-02-11  Will Newton  <will.newton@linaro.org>
33693         * manual/probes.texi (Mathematical Function Probes): Use
33694         "triggered" instead of "hit".
33696         * manual/probes.texi (Internal Probes): Add documentation
33697         of setjmp, longjmp and longjmp_target probes.
33699         * include/stap-probe.h: Add comment about probe argument
33700         format.
33702         * malloc/mtrace.c (attribute_hidden): Remove unused macro
33703         definition.  (tr_where, tr_freehook, tr_mallochook,
33704         tr_reallochook, tr_memalignhook): Use ANSI protoype.
33706 2014-02-11  David S. Miller  <davem@davemloft.net>
33708         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
33709         processing int_tests.
33711 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
33713         * sysdeps/mips: Move directory from ports/sysdeps/mips.
33714         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
33715         * sysdeps/unix/sysv/linux/mips: Move directory from
33716         ports/sysdeps/unix/sysv/linux/mips.
33717         * README: Update listing for mips-*-linux-gnu and
33718         mips64-*-linux-gnu.
33720 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
33722         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
33723         * sysdeps/unix/sysv/linux/m68k: Move directory from
33724         ports/sysdeps/unix/sysv/linux/m68k.
33725         * README: Update listing for m68k-*-linux-gnu.
33727 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
33729         * sysdeps/tile: Move directory from ports/sysdeps/tile.
33730         * sysdeps/unix/sysv/linux/generic: Move directory from
33731         ports/sysdeps/unix/sysv/linux/generic.
33732         * sysdeps/unix/sysv/linux/tile: Move directory from
33733         ports/sysdeps/unix/sysv/linux/tile.
33734         * README: Update listing for tile*-*-linux-gnu.
33736 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
33738         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
33739         __builtin_expect.
33740         * benchtests/bench-memmem.c (simple_memmem): Likewise.
33741         * catgets/open_catalog.c (__open_catalog): Likewise.
33742         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
33743         * debug/confstr_chk.c: Likewise.
33744         * debug/fread_chk.c (__fread_chk): Likewise.
33745         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
33746         * debug/getgroups_chk.c: Likewise.
33747         * debug/mbsnrtowcs_chk.c: Likewise.
33748         * debug/mbsrtowcs_chk.c: Likewise.
33749         * debug/mbstowcs_chk.c: Likewise.
33750         * debug/memcpy_chk.c: Likewise.
33751         * debug/memmove_chk.c: Likewise.
33752         * debug/mempcpy_chk.c: Likewise.
33753         * debug/memset_chk.c: Likewise.
33754         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33755         * debug/strcat_chk.c (__strcat_chk): Likewise.
33756         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
33757         * debug/strncat_chk.c (__strncat_chk): Likewise.
33758         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
33759         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
33760         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
33761         * debug/wcpncpy_chk.c: Likewise.
33762         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33763         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
33764         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
33765         * debug/wcsncpy_chk.c: Likewise.
33766         * debug/wcsnrtombs_chk.c: Likewise.
33767         * debug/wcsrtombs_chk.c: Likewise.
33768         * debug/wcstombs_chk.c: Likewise.
33769         * debug/wmemcpy_chk.c: Likewise.
33770         * debug/wmemmove_chk.c: Likewise.
33771         * debug/wmempcpy_chk.c: Likewise.
33772         * debug/wmemset_chk.c: Likewise.
33773         * dirent/scandirat.c (SCANDIRAT): Likewise.
33774         * dlfcn/dladdr1.c (dladdr1): Likewise.
33775         * dlfcn/dladdr.c (dladdr): Likewise.
33776         * dlfcn/dlclose.c (dlclose_doit): Likewise.
33777         * dlfcn/dlerror.c (__dlerror): Likewise.
33778         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
33779         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
33780         * dlfcn/dlopen.c (dlopen_doit): Likewise.
33781         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
33782         * dlfcn/dlsym.c (dlsym_doit): Likewise.
33783         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
33784         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
33785         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
33786         Likewise.
33787         * elf/dl-conflict.c: Likewise.
33788         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33789         * elf/dl-dst.h: Likewise.
33790         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
33791         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
33792         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33793         * elf/dl-init.c (call_init, _dl_init): Likewise.
33794         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
33795         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
33796         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
33797         Likewise.
33798         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
33799         Likewise.
33800         * elf/dl-minimal.c (__libc_memalign): Likewise.
33801         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
33802         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33803         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
33804         * elf/dl-sym.c (do_sym): Likewise.
33805         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
33806         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
33807         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
33808         * elf/dl-writev.h (_dl_writev): Likewise.
33809         * elf/ldconfig.c (search_dir): Likewise.
33810         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
33811         (dl_main): Likewise.
33812         * elf/setup-vdso.h (setup_vdso): Likewise.
33813         * grp/compat-initgroups.c (compat_call): Likewise.
33814         * grp/fgetgrent.c (fgetgrent): Likewise.
33815         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
33816         * grp/putgrent.c (putgrent): Likewise.
33817         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33818         Likewise.
33819         * hurd/hurdinit.c: Likewise.
33820         * iconvdata/8bit-gap.c (struct): Likewise.
33821         * iconvdata/ansi_x3.110.c : Likewise.
33822         * iconvdata/big5.c : Likewise.
33823         * iconvdata/big5hkscs.c : Likewise.
33824         * iconvdata/cp1255.c: Likewise.
33825         * iconvdata/cp1258.c : Likewise.
33826         * iconvdata/cp932.c : Likewise.
33827         * iconvdata/euc-cn.c: Likewise.
33828         * iconvdata/euc-jisx0213.c : Likewise.
33829         * iconvdata/euc-jp.c: Likewise.
33830         * iconvdata/euc-jp-ms.c : Likewise.
33831         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
33832         * iconvdata/gb18030.c : Likewise.
33833         * iconvdata/gbbig5.c (const): Likewise.
33834         * iconvdata/gbgbk.c: Likewise.
33835         * iconvdata/gbk.c : Likewise.
33836         * iconvdata/ibm1364.c : Likewise.
33837         * iconvdata/ibm930.c : Likewise.
33838         * iconvdata/ibm932.c: Likewise.
33839         * iconvdata/ibm933.c : Likewise.
33840         * iconvdata/ibm935.c : Likewise.
33841         * iconvdata/ibm937.c : Likewise.
33842         * iconvdata/ibm939.c : Likewise.
33843         * iconvdata/ibm943.c: Likewise.
33844         * iconvdata/iso_11548-1.c: Likewise.
33845         * iconvdata/iso-2022-cn.c : Likewise.
33846         * iconvdata/iso-2022-cn-ext.c : Likewise.
33847         * iconvdata/iso-2022-jp-3.c: Likewise.
33848         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
33849         * iconvdata/iso-2022-kr.c : Likewise.
33850         * iconvdata/iso646.c (gconv_end): Likewise.
33851         * iconvdata/iso_6937-2.c : Likewise.
33852         * iconvdata/iso_6937.c : Likewise.
33853         * iconvdata/iso8859-1.c: Likewise.
33854         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
33855         * iconvdata/shift_jisx0213.c : Likewise.
33856         * iconvdata/sjis.c : Likewise.
33857         * iconvdata/t.61.c : Likewise.
33858         * iconvdata/tcvn5712-1.c : Likewise.
33859         * iconvdata/tscii.c: Likewise.
33860         * iconvdata/uhc.c : Likewise.
33861         * iconvdata/unicode.c (gconv_end): Likewise.
33862         * iconvdata/utf-16.c (gconv_end): Likewise.
33863         * iconvdata/utf-32.c (gconv_end): Likewise.
33864         * iconvdata/utf-7.c (base64): Likewise.
33865         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33866         * iconv/gconv_close.c (__gconv_close): Likewise.
33867         * iconv/gconv_open.c (__gconv_open): Likewise.
33868         * iconv/gconv_simple.c (internal_ucs4_loop_single)
33869         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
33870         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
33871         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
33872         (ucs4le_internal_loop_single): Likewise.
33873         * iconv/iconv.c (iconv): Likewise.
33874         * iconv/iconv_close.c: Likewise.
33875         * iconv/loop.c (SINGLE): Likewise.
33876         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
33877         * include/atomic.h: Likewise.
33878         * inet/inet6_option.c (option_alloc): Likewise.
33879         * intl/bindtextdom.c (set_binding_values): Likewise.
33880         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
33881         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
33882         * intl/localealias.c (read_alias_file): Likewise.
33883         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33884         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
33885         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
33886         * libio/fmemopen.c (fmemopen): Likewise.
33887         * libio/iofgets.c (_IO_fgets): Likewise.
33888         * libio/iofgets_u.c (fgets_unlocked): Likewise.
33889         * libio/iofgetws.c (fgetws): Likewise.
33890         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
33891         * libio/iogetdelim.c (_IO_getdelim): Likewise.
33892         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
33893         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
33894         * locale/findlocale.c (_nl_find_locale): Likewise.
33895         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33896         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
33897         Likewise.
33898         * locale/setlocale.c (setlocale): Likewise.
33899         * login/programs/pt_chown.c (main): Likewise.
33900         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
33901         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
33902         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
33903         (mmap, mmap64, mremap, munmap): Likewise.
33904         * math/e_exp2l.c: Likewise.
33905         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
33906         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
33907         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
33908         * math/s_catan.c (__catan): Likewise.
33909         * math/s_catanf.c (__catanf): Likewise.
33910         * math/s_catanh.c (__catanh): Likewise.
33911         * math/s_catanhf.c (__catanhf): Likewise.
33912         * math/s_catanhl.c (__catanhl): Likewise.
33913         * math/s_catanl.c (__catanl): Likewise.
33914         * math/s_ccosh.c (__ccosh): Likewise.
33915         * math/s_ccoshf.c (__ccoshf): Likewise.
33916         * math/s_ccoshl.c (__ccoshl): Likewise.
33917         * math/s_cexp.c (__cexp): Likewise.
33918         * math/s_cexpf.c (__cexpf): Likewise.
33919         * math/s_cexpl.c (__cexpl): Likewise.
33920         * math/s_clog10.c (__clog10): Likewise.
33921         * math/s_clog10f.c (__clog10f): Likewise.
33922         * math/s_clog10l.c (__clog10l): Likewise.
33923         * math/s_clog.c (__clog): Likewise.
33924         * math/s_clogf.c (__clogf): Likewise.
33925         * math/s_clogl.c (__clogl): Likewise.
33926         * math/s_csin.c (__csin): Likewise.
33927         * math/s_csinf.c (__csinf): Likewise.
33928         * math/s_csinh.c (__csinh): Likewise.
33929         * math/s_csinhf.c (__csinhf): Likewise.
33930         * math/s_csinhl.c (__csinhl): Likewise.
33931         * math/s_csinl.c (__csinl): Likewise.
33932         * math/s_csqrt.c (__csqrt): Likewise.
33933         * math/s_csqrtf.c (__csqrtf): Likewise.
33934         * math/s_csqrtl.c (__csqrtl): Likewise.
33935         * math/s_ctan.c (__ctan): Likewise.
33936         * math/s_ctanf.c (__ctanf): Likewise.
33937         * math/s_ctanh.c (__ctanh): Likewise.
33938         * math/s_ctanhf.c (__ctanhf): Likewise.
33939         * math/s_ctanhl.c (__ctanhl): Likewise.
33940         * math/s_ctanl.c (__ctanl): Likewise.
33941         * math/w_pow.c: Likewise.
33942         * math/w_powf.c: Likewise.
33943         * math/w_powl.c: Likewise.
33944         * math/w_scalb.c (sysv_scalb): Likewise.
33945         * math/w_scalbf.c (sysv_scalbf): Likewise.
33946         * math/w_scalbl.c (sysv_scalbl): Likewise.
33947         * misc/error.c (error_tail): Likewise.
33948         * misc/pselect.c (__pselect): Likewise.
33949         * nis/nis_callback.c (__nis_create_callback): Likewise.
33950         * nis/nis_call.c (__nisfind_server): Likewise.
33951         * nis/nis_creategroup.c (nis_creategroup): Likewise.
33952         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
33953         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
33954         * nis/nis_getservlist.c (nis_getservlist): Likewise.
33955         * nis/nis_lookup.c (nis_lookup): Likewise.
33956         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
33957         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
33958         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
33959         * nis/nis_xdr.c (xdr_endpoint): Likewise.
33960         * nis/nss_compat/compat-grp.c (getgrent_next_file)
33961         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
33962         * nis/nss_compat/compat-initgroups.c (add_group)
33963         (internal_getgrent_r): Likewise.
33964         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
33965         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
33966         * nis/nss_compat/compat-spwd.c (getspent_next_file)
33967         (internal_getspnam_r): Likewise.
33968         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
33969         (_nss_nis_getaliasbyname_r): Likewise.
33970         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
33971         (_nss_nis_getntohost_r): Likewise.
33972         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
33973         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
33974         (_nss_nis_getgrgid_r): Likewise.
33975         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
33976         (internal_nis_gethostent_r, internal_gethostbyname2_r)
33977         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
33978         (_nss_nis_gethostbyname4_r): Likewise.
33979         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
33980         (initgroups_netid): Likewise.
33981         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
33982         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
33983         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
33984         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
33985         (_nss_nis_getprotobynumber_r): Likewise.
33986         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
33987         (_nss_nis_getsecretkey): Likewise.
33988         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
33989         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
33990         (_nss_nis_getpwuid_r): Likewise.
33991         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
33992         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
33993         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
33994         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
33995         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
33996         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
33997         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
33998         Likewise.
33999         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
34000         (_nss_nisplus_getntohost_r): Likewise.
34001         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
34002         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
34003         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
34004         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
34005         Likewise.
34006         * nis/nss_nisplus/nisplus-initgroups.c
34007         (_nss_nisplus_initgroups_dyn): Likewise.
34008         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
34009         (_nss_nisplus_getnetbyaddr_r): Likewise.
34010         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
34011         (_nss_nisplus_getprotobynumber_r): Likewise.
34012         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
34013         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
34014         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
34015         Likewise.
34016         * nis/nss_nisplus/nisplus-service.c
34017         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
34018         (_nss_nisplus_getservbyport_r): Likewise.
34019         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
34020         (_nss_nisplus_getspnam_r): Likewise.
34021         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
34022         Likewise.
34023         * nscd/aicache.c (addhstaiX): Likewise.
34024         * nscd/cache.c (cache_search, prune_cache): Likewise.
34025         * nscd/connections.c (register_traced_file, send_ro_fd)
34026         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
34027         (main_loop_epoll): Likewise.
34028         * nscd/grpcache.c (addgrbyX): Likewise.
34029         * nscd/hstcache.c (addhstbyX): Likewise.
34030         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34031         * nscd/mem.c (gc, mempool_alloc): Likewise.
34032         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
34033         (addinnetgrX): Likewise.
34034         * nscd/nscd-client.h (__nscd_acquire_maplock)
34035         (__nscd_drop_map_ref): Likewise.
34036         * nscd/nscd_getai.c (__nscd_getai): Likewise.
34037         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34038         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
34039         Likewise.
34040         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34041         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34042         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
34043         (__nscd_get_map_ref): Likewise.
34044         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34045         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
34046         Likewise.
34047         * nscd/pwdcache.c (addpwbyX): Likewise.
34048         * nscd/selinux.c (preserve_capabilities): Likewise.
34049         * nscd/servicescache.c (addservbyX): Likewise.
34050         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
34051         * posix/fnmatch.c (fnmatch): Likewise.
34052         * posix/getopt.c (_getopt_internal_r): Likewise.
34053         * posix/glob.c (glob, glob_in_dir): Likewise.
34054         * posix/wordexp.c (exec_comm_child): Likewise.
34055         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
34056         (getanswer_r, gaih_getanswer_slice): Likewise.
34057         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
34058         * resolv/res_init.c: Likewise.
34059         * resolv/res_mkquery.c (res_nmkquery): Likewise.
34060         * resolv/res_query.c (__libc_res_nquery): Likewise.
34061         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
34062         Likewise.
34063         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
34064         * stdio-common/perror.c (perror): Likewise.
34065         * stdio-common/printf_fp.c (___printf_fp): Likewise.
34066         * stdio-common/tmpnam.c (tmpnam): Likewise.
34067         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34068         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
34069         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34070         Likewise.
34071         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
34072         * stdlib/putenv.c (putenv): Likewise.
34073         * stdlib/setenv.c (__add_to_environ): Likewise.
34074         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34075         * stdlib/strtol_l.c (INTERNAL): Likewise.
34076         * string/memmem.c (memmem): Likewise.
34077         * string/strerror.c (strerror): Likewise.
34078         * string/strnlen.c (__strnlen): Likewise.
34079         * string/test-memmem.c (simple_memmem): Likewise.
34080         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
34081         * sunrpc/pm_getport.c (__get_socket): Likewise.
34082         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
34083         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
34084         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
34085         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
34086         Likewise.
34087         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
34088         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
34089         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34090         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
34091         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34092         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
34093         Likewise.
34094         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
34095         Likewise.
34096         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34097         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34098         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34099         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34100         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
34101         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
34102         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34103         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
34104         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34105         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
34106         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34107         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
34108         Likewise.
34109         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
34110         Likewise.
34111         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
34112         Likewise.
34113         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
34114         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34115         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
34116         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
34117         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
34118         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
34119         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34120         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
34121         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
34122         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
34123         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
34124         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34125         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
34126         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
34127         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34128         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34129         Likewise.
34130         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
34131         Likewise.
34132         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
34133         Likewise.
34134         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
34135         Likewise.
34136         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34137         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34138         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
34139         Likewise.
34140         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
34141         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
34142         * sysdeps/posix/opendir.c (__opendirat): Likewise.
34143         * sysdeps/posix/sleep.c: Likewise.
34144         * sysdeps/posix/tempname.c: Likewise.
34145         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
34146         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
34147         Likewise.
34148         * sysdeps/powerpc/powerpc32/dl-machine.h
34149         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
34150         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
34151         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34152         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
34153         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
34154         Likewise.
34155         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
34156         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
34157         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34158         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
34159         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34160         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
34161         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
34162         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
34163         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34164         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
34165         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
34166         (elf_machine_lazy_rel): Likewise.
34167         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34168         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
34169         (elf_machine_lazy_rel): Likewise.
34170         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
34171         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
34172         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
34173         * sysdeps/unix/grantpt.c (grantpt): Likewise.
34174         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
34175         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
34176         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34177         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34178         Likewise.
34179         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
34180         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
34181         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
34182         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
34183         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34184         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34185         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
34186         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
34187         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
34188         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34189         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34190         Likewise.
34191         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
34192         (__posix_fallocate64_l64): Likewise.
34193         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
34194         (posix_fallocate): Likewise.
34195         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
34196         Likewise.
34197         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34198         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
34199         (getifaddrs_internal): Likewise.
34200         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
34201         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
34202         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
34203         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
34204         * sysdeps/unix/sysv/linux/posix_fallocate64.c
34205         (__posix_fallocate64_l64): Likewise.
34206         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
34207         Likewise.
34208         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
34209         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
34210         (__get_clockfreq): Likewise.
34211         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
34212         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
34213         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
34214         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34215         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34216         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
34217         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
34218         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
34219         Likewise.
34220         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
34221         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
34222         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
34223         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
34224         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34225         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
34226         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
34227         Likewise.
34228         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34229         (posix_fallocate): Likewise.
34230         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34231         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
34232         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
34233         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
34234         (elf_machine_rela, elf_machine_rela_relative)
34235         (elf_machine_lazy_rel): Likewise.
34236         * time/asctime.c (asctime_internal): Likewise.
34237         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
34238         * time/tzset.c (__tzset_parse_tz): Likewise.
34239         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34240         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
34241         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
34242         * wcsmbs/wcsmbsload.h: Likewise.
34244         [BZ #15894]
34245         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
34247         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
34248         (arena_get2): Remove THREAD_STATS conditionals.
34249         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
34250         (__malloc_stats, int): Likewise.
34252 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
34254         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
34255         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
34257         * manual/setjmp.texi: Fix typos/grammar errors.
34259         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
34260         Only return early when n is <= 0.  Delete unused return statement.
34262         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
34263         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
34264         * debug/tst-longjmp_chk3.c: New file.
34266         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
34267         (test_main): Replace code with set_fortify_handler call.
34268         * debug/test-strcpy_chk.c: Likewise.
34269         * debug/tst-chk1.c: Likewise.
34270         * debug/tst-longjmp_chk.c: Likewise.
34271         * test-skeleton.c: Include fcntl.h & paths.h
34272         (set_fortify_handler): Define.
34274         * debug/tst-longjmp_chk.c: Add header comment and include
34275         ../test-skeleton.c.
34276         (do_test): Mark static.
34277         (TEST_FUNCTION): Define.
34279         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
34280         (IP_PMTUDISC_INTERFACE): Likewise.
34281         (IP_MULTICAST_IF): Likewise.
34282         (IP_MULTICAST_TTL): Likewise.
34283         (IP_MULTICAST_LOOP): Likewise.
34284         (IP_ADD_MEMBERSHIP): Likewise.
34285         (IP_DROP_MEMBERSHIP): Likewise.
34286         (IP_UNBLOCK_SOURCE): Likewise.
34287         (IP_BLOCK_SOURCE): Likewise.
34288         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
34289         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
34290         (IP_MSFILTER): Likewise.
34291         (MCAST_JOIN_GROUP): Likewise.
34292         (MCAST_BLOCK_SOURCE): Likewise.
34293         (MCAST_UNBLOCK_SOURCE): Likewise.
34294         (MCAST_LEAVE_GROUP): Likewise.
34295         (MCAST_JOIN_SOURCE_GROUP): Likewise.
34296         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
34297         (MCAST_MSFILTER): Likewise.
34298         (IP_MULTICAST_ALL): Likewise.
34299         (IP_UNICAST_IF): Likewise.
34301         * timezone/Makefile: Delete $(have-ksh) check.
34302         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
34303         * timezone/tzselect.ksh: Add +x mode bits.
34305         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
34306         (ANON_INODE_FS_MAGIC): Likewise.
34307         (BDEVFS_MAGIC): Likewise.
34308         (BINFMTFS_MAGIC): Likewise.
34309         (BTRFS_TEST_MAGIC): Likewise.
34310         (CRAMFS_MAGIC_WEND): Likewise.
34311         (DEBUGFS_MAGIC): Likewise.
34312         (ECRYPTFS_SUPER_MAGIC): Likewise.
34313         (EXT3_SUPER_MAGIC): Likewise.
34314         (EXT4_SUPER_MAGIC): Likewise.
34315         (FUTEXFS_SUPER_MAGIC): Likewise.
34316         (HOSTFS_SUPER_MAGIC): Likewise.
34317         (HUGETLBFS_MAGIC): Likewise.
34318         (MINIX3_SUPER_MAGIC): Likewise.
34319         (MTD_INODE_FS_MAGIC): Likewise.
34320         (NILFS_SUPER_MAGIC): Likewise.
34321         (OPENPROM_SUPER_MAGIC): Likewise.
34322         (PIPEFS_MAGIC): Likewise.
34323         (PSTOREFS_MAGIC): Likewise.
34324         (QNX6_SUPER_MAGIC): Likewise.
34325         (RAMFS_MAGIC): Likewise.
34326         (REISERFS_SUPER_MAGIC_STRING): Likewise.
34327         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
34328         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
34329         (SECURITYFS_MAGIC): Likewise.
34330         (SELINUX_MAGIC): Likewise.
34331         (SMACK_MAGIC): Likewise.
34332         (SOCKFS_MAGIC): Likewise.
34333         (SQUASHFS_MAGIC): Likewise.
34334         (STACK_END_MAGIC): Likewise.
34335         (TMPFS_MAGIC): Likewise.
34336         (USBDEVICE_SUPER_MAGIC): Likewise.
34337         (V9FS_MAGIC): Likewise.
34338         (XENFS_SUPER_MAGIC): Likewise.
34339         (CRAMFS_MAGIC): Fix typo in comment.
34340         (EXT2_SUPER_MAGIC): Update comment.
34341         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
34343 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
34345         * sysdeps/arm: Move directory from ports/sysdeps/arm.
34346         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
34347         * sysdeps/unix/sysv/linux/arm: Move directory from
34348         ports/sysdeps/unix/sysv/linux/arm.
34349         * README: Update listing for arm-*-linux-gnueabi.
34351         * README: Remove mention of am33.
34353 2014-02-07  Roland McGrath  <roland@hack.frob.com>
34355         * bits/sigset.h (__sigemptyset): Use a statement expression rather
34356         than the comma operator, to avoid "rhs of comma has no effect"
34357         compiler warnings.
34358         (__sigfillset, __sigandset, __sigorset): Likewise.
34359         * include/signal.h (__sigemptyset): Likewise.
34360         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
34362 2014-02-07  Allan McRae  <allan@archlinux.org>
34364         * version.h (RELEASE): Set to "development".
34365         (VERSION): Set to "2.19.90"
34366         * NEWS: Add 2.20 section.
34368 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
34370         [BZ #16529]
34371         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
34373 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34375         * manual/contrib.texi: Update entry for Carlos O'Donell,
34376         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
34378 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
34380         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
34382         * sysdeps/unix/sysv/linux/kernel-features.h
34383         [__LINUX_KERNEL_VERSION >= 0x020621]
34384         (__ASSUME_PROC_PID_TASK_COMM): Define.
34386 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34388         [BZ #16398]
34389         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
34390         conversion when destination buffer does not have enough space.
34391         * libio/tst-ftell-partial-wide.c: New test case.
34392         * libio/Makefile (tests): Add tst-ftell-partial-wide.
34394         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
34395         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
34396         Leonard and Allan McRae.
34398 2014-02-04  David S. Miller  <davem@davemloft.net>
34400         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
34401         32-bit.
34403 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34406         New file
34407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34408         New file
34409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34410         New file.
34411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34412         New file.
34413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34414         New file.
34415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34416         New file.
34417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34418         New file.
34419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34420         New file.
34421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34422         New file.
34423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34424         New file.
34425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34426         New file.
34427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34428         New file.
34429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34430         New file.
34432 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34434         * nptl/shlib-versions: Change powerpc*le start to 2.17.
34435         * shlib-versions: Likewise.
34437 2014-02-04  Roland McGrath  <roland@hack.frob.com>
34438             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34440         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
34441         (abilist-pattern): New variable, set to %-le.abilist.
34443         * Makerules (abilist-pattern): New variable.
34444         (vpath): Use $(abilist-pattern) in place of %.abilist.
34445         (check-abi-% pattern rule): Likewise.
34446         (check-abi, update-abi): Likewise.
34448 2014-02-04  Eric Wong  <normalperson@yhbt.net>
34450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34452 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
34454         * manual/startup.texi: Add next, previous, and top entries for
34455         the `Program Arguments' and `Environment Variables' nodes.
34457 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
34459         * manual/macros.texi: Add comments before MTASC-safety macros.
34461         * manual/users.texi: Document MTASC-safety properties.
34463         * manual/threads.texi (pthread_key_create, pthread_key_delete)
34464         (pthread_getspecific, pthread_setspecific): Format with
34465         @deftypefun, and add @safety note.
34466         * manual/signal.texi: Move comments that analyze the above
34467         functions to their home place.
34469 2014-02-03  Allan McRae  <allan@archlinux.org>
34471         * po/sl.po: Update Slovenian translation from translation project.
34473 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
34475         * manual/time.texi (timegm): Add missing blank after @c.
34476         Reported by Joseph Myers <joseph@codesourcery.com>.
34478 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
34480         * manual/check-safety.sh: New.
34481         * manual/Makefile ($(objpfx)stamp-summary): Run it.
34483         * manual/terminal.texi: Document MTASC-safety properties.
34485         * manual/filesys.texi: Document MTASC-safety properties.
34487         * manual/errno.texi: Document MTASC-safety properties.
34489         * manual/intro.texi: Document safety identifiers and
34490         conditionals.
34492         * manual/string.texi (wcstok): Fix prototype.
34493         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
34495         * manual/time.texi: Document MTASC-safety properties.
34497         * manual/string.texi: Document MTASC-safety properties.
34499         * manual/threads.texi: Document MTASC-safety properties.
34501         * manual/stdio.texi: Document MTASC-safety properties.
34503         * manual/syslog.texi: Document MTASC-safety properties.
34505         * manual/sysinfo.texi: Document MTASC-safety properties.
34507         * manual/startup.texi: Document MTASC-safety properties.
34509         * manual/socket.texi: Document MTASC-safety properties.
34511         * manual/signal.texi: Document MTASC-safety properties.
34513 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
34515         * manual/setjmp.texi: Document MTASC-safety properties.
34517         * manual/search.texi: Document MTASC-safety properties.
34519         * manual/resource.texi: Document MTASC-safety properties.
34521         * manual/process.texi: Document MTASC-safety properties.
34523         * manual/platform.texi: Document MTASC-safety properties.
34525         * manual/pipe.texi: Document MTASC-safety properties.
34527         * manual/pattern.texi: Document MTASC-safety properties.
34529         * manual/message.texi: Document MTASC-safety properties.
34531         [BZ #12751]
34532         * manual/memory.texi: Document MTASC-safety properties.
34534         * manual/math.texi: Document MTASC-safety properties.
34536         * manual/locale.texi: Document MTASC-safety properties.
34538         * manual/llio.texi: Document MTASC-safety properties.
34540         * manual/libdl.texi: New.
34542         * manual/lang.texi: Document MTASC-safety properties.
34544         * manual/job.texi: Document MTASC-safety properties.
34546         * manual/getopt.texi: Document MTASC-safety properties.
34548         * manual/ctype.texi: Document MTASC-safety properties.
34550 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
34552         [BZ #16046]
34553         * csu/libc-tls.c (static_map): Remove variable.
34554         (__libc_setup_tls): Use main executable's link map for TLS data.
34555         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
34556         casing for LM_ID_BASE and GL(dl_nns).
34557         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
34558         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
34559         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
34560         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
34561         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
34562         member.
34563         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
34564         l_phnum members.
34566 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
34568         * manual/debug.texi: Document MTASC-safety properties.
34570 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
34572         [BZ #16510]
34573         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
34574         of __x86_64__ when disabling x87 inline functions.
34576 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
34578         * manual/charset.texi: Document MTASC-safety properties.
34580         * manual/crypt.texi: Document MTASC-safety properties.
34582         * manual/conf.texi: Document MTASC-safety properties.
34584         * manual/arith.texi: Document MTASC-safety properties.
34586         * manual/argp.texi: Document MTASC-safety properties.
34588         * manual/macros.texi: Introduce macros to document multi
34589         thread, asynchronous signal and asynchronous cancellation
34590         safety properties.
34591         * manual/intro.texi: Introduce the properties themselves.
34593 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34595         * sysdeps/sh/sh4/Makefile: New file.
34597 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
34599         * math/gen-libm-test.pl ($srcdir): New variable.
34600         ($auto_input): Use it.
34602 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34604         [BZ #16506]
34605         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
34606         access beyond array bounds when parsing netgroups file.
34608         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
34609         the old buffer before realloc.
34611 2014-01-27  Allan McRae  <allan@archlinux.org>
34613         * po/fr.po: Update French translation from translation project.
34615 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34617         * sysdeps/sh/libm-test-ulps: Regenerate.
34619 2014-01-24  David S. Miller  <davem@davemloft.net>
34621         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
34623 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34625         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
34626         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
34628 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34630         [BZ #16474]
34631         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
34632         string pointers after reallocation.
34634 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34636         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
34637         __SH4A__ instead of __SH_FPU_ANY__.
34639 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34641         * sysdeps/sh/fpu_control.h: New file.
34642         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
34643         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
34644         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
34645         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
34646         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
34647         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
34648         * sysdeps/sh/sys/ucontext.h: Remove.
34649         * sysdeps/sh/sys: Remove directory.
34651 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34653         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
34654         s390/sys/ucontext.h.
34655         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
34656         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
34658 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
34660         [BZ #15605]
34661         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
34663 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34665         [BZ#16431]
34666         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34667         Adjust the vDSO correctly for internal calls.
34668         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
34670 2014-01-20  Allan McRae  <allan@archlinux.org>
34672         * po/ca.po: Update Catalan translation from translation project.
34674 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
34676         * sysdeps/s390/sotruss-lib.c: New file.
34678 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34680         [BZ#16430]
34681         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
34682         (__GI___gettimeofday): Alias for a different internal symbol to avoid
34683         local calls issues by not having a PLT stub required for IFUNC calls.
34684         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
34686 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
34688         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
34689         * math/test-fpucw-static.c: Likewise.
34691 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34693         [BZ #16453]
34694         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
34696 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34698         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
34699         implementation for powerpc.
34701 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
34703         [BZ #14782]
34704         * sysdeps/posix/system.c (__libc_system): Do not enable
34705         asynchronous cancellation.
34707 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34709         [BZ #16427]
34710         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
34711         handling only for numbers special also in the IEEE case.
34713 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34715         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34717 2014-01-11  Allan McRae  <allan@archlinux.org>
34719         * po/bg.po: Update Bulgarian translation from translation project.
34721         * po/de.po: Update German translation from translation project.
34723 2014-01-10  Roland McGrath  <roland@hack.frob.com>
34725         * sysdeps/generic/gcc-compat.h: New file.
34727 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34729         * benchtests/asin-inputs: Correct slow inputs.
34730         * benchtests/acos-inputs: Likewise.
34732 2014-01-10  Allan McRae  <allan@archlinux.org>
34734         * po:sv.po: Update Swedish translation from translation project.
34736         * po/vi.po: Update Vietnamese translation from translation project.
34738         * po/eo.po: Update Esperanto translation from translation project.
34740         * po/cs.po: Update Czech translation from translation project.
34742         * po/nl.po: Update Dutch translation from translation project.
34744         * po/pl.po: Update Polish translation from translation project.
34746         * po/ru.po: Update Russian translation from translation project.
34748         * po/uk.po: Update Ukrainian translation from translation project.
34750 2014-01-08  Brooks Moses  <bmoses@google.com>
34752         * elf/dl-load.c: Fix comment typo.
34754 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
34756         * po/header.pot: Rename to...
34757         * po/pot.header: ... this.
34758         * po/Makefile: Use pot.header.
34760 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
34761             Maxim Kuvyrkov  <maxim@kugelworks.com>
34763         [BZ #16394]
34764         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
34765         SRC and DEST against LEN.
34767 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34769         [BZ #16414]
34770         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
34771         implementation.
34772         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
34774 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34778 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
34780         [BZ #16408]
34781         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
34782         for large positive arguments.
34784 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
34786         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34788         * math/auto-libm-test-in: Mark various tests with
34789         xfail-rounding:ldbl-128ibm.
34790         * math/auto-libm-test-out: Regenerated.
34792         [BZ #16407]
34793         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
34794         Increase overflow threshold.
34796 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
34798         [BZ #14286]
34799         * stdio-common/vfprintf.c: Check for integer overflow.
34801 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34803         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
34804         the first argument and return value of __tls_get_addr_internal.
34806 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34808         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
34809         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
34811 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34813         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
34814         * sysdeps/s390/rtld-global-offsets.sym: New file.
34815         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
34816         GLIBC_2.19 symbol.
34817         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
34818         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
34819         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
34820         ... this.
34821         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
34822         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
34823         ... this.
34824         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34825         Regenerate.
34826         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34827         Regenerate.
34828         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
34829         halfs of GPRs for high_gprs contexts.
34830         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
34831         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
34832         field.
34833         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
34834         uc_flags field.
34835         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
34836         64 bit versions:
34837         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
34838         for high GPRs (uc_high_gprs) and for future extensions
34839         (__reserved).
34840         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
34841         for future extensions (__reserved).
34842         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
34843         64 bit versions:
34844         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
34845         SC_HIGHGPRS offset definition.
34846         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
34847         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
34849         * Versions.def: Add GLIBC_2.19 for libpthread.
34850         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
34851         siglongjmp for libpthread with GLIBC_2.19 symver.
34852         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
34853         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
34854         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
34855         * sysdeps/s390/__longjmp.c: New file.
34856         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
34857         * sysdeps/s390/longjmp.c: New file.
34858         * sysdeps/s390/setjmp.S: New file.
34859         * sysdeps/s390/sigjmp.S: New file.
34860         * sysdeps/s390/v1-longjmp.c: New file.
34861         * sysdeps/s390/v1-setjmp.h: New file.
34862         * sysdeps/s390/v1-sigjmp.c: New file.
34863         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
34864         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
34865         GLIBC_2.19 version.
34866         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
34867         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
34868         versioned symbols for ____longjmp_chk.
34869         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
34870         Likewise.
34871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34872         Regenerate.
34873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34874         Regenerate.
34875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34876         Regenerate.
34877         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34878         Regenerate.
34879         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
34880         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
34881         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
34882         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
34883         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
34884         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
34885         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
34886         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
34887         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
34888         * sysdeps/s390/rtld-__longjmp.c: New file.
34889         * sysdeps/s390/rtld-setjmp.S: New file.
34891 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
34893         [BZ #16400]
34894         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34895         Return -__logl (x) for small positive arguments without evaluating
34896         a polynomial.
34898 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
34900         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
34901         Rename to ...
34902         (__ptrace_peeksiginfo_args): ... this.
34903         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34904         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34905         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34907 2014-01-06  Allan McRae  <allan@archlinux.org>
34909         * inet/netinet/in.h: Fix typo in comment.
34911 2014-01-05  Andreas Jaeger  <aj@suse.de>
34913         * sysdeps/i386/fpu/libm-test-ulps: Update.
34915 2014-01-05  Allan McRae  <allan@archlinux.org>
34917         * po/libc.pot: Regenerated.
34919         * malloc/memusagestat.c: Fix gettext call formatting.
34921 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
34923         * nscd/nscd.c: Improve usage() output.
34925 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
34927         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
34928         * sysdeps/unix/sysv/linux/configure: Regenerated.
34929         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
34930         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
34932 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
34934         [BZ #16390]
34935         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
34936         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
34938 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34940         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
34941         extra tokens at end of #undef directive.
34942         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
34943         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
34944         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
34946 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
34948         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34950         * math/auto-libm-test-in: Mark various tests with
34951         xfail-rounding:ldbl-128ibm.
34952         * math/auto-libm-test-out: Regenerated.
34954 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
34956         [BZ #16386]
34957         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
34958         numbers with subnormal high part when calculating exponent.
34960         [BZ #16385]
34961         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
34962         fabs.
34964         [BZ #16384]
34965         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
34966         M_LN2l.
34967         (__ieee754_acoshl): Use __log1pl not __log1p.
34969 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
34971         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
34972         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
34973         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
34974         (grow_heap, heap_trim, _int_new_arena, get_free_list)
34975         (reused_arena, arena_get2): Convert to GNU style.
34976         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
34977         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
34978         (memalign_check, __malloc_set_state): Likewise.
34979         * malloc/mallocbug.c (main): Likewise.
34980         * malloc/malloc.c (__malloc_assert, malloc_init_state)
34981         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
34982         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
34983         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
34984         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
34985         (__posix_memalign, malloc_info): Likewise.
34986         * malloc/malloc.h: Likewise.
34987         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
34988         (mallochook, memalignhook, reallochook, mabort): Likewise.
34989         * malloc/mcheck.h: Likewise.
34990         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
34991         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
34992         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
34993         * malloc/morecore.c (__default_morecore): Likewise.
34994         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
34995         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
34996         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
34997         (print_and_abort): Likewise.
34998         * malloc/obstack.h: Likewise.
34999         * malloc/set-freeres.c (__libc_freeres): Likewise.
35000         * malloc/tst-mallocstate.c (main): Likewise.
35001         * malloc/tst-mtrace.c (main): Likewise.
35002         * malloc/tst-realloc.c (do_test): Likewise.
35004 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35006         [BZ #16366]
35007         * nscd/netgroupcache.c (do_notfound): New function.
35008         (addgetnetgrentX): Use it.
35010         [BZ # 16365]
35011         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
35012         NSS_STATUS_NOTFOUND.
35014 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
35016         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35019 2014-01-01  Allan McRae  <allan@archlinux.org>
35021         * scripts/update-copyrights: Update configure input file suffix.
35023         * NEWS: Update copyright year.
35024         * catgets/gencat.c: Likewise.
35025         * csu/version.c: Likewise.
35026         * debug/catchsegv.sh: Likewise.
35027         * debug/pcprofiledump.c: Likewise.
35028         * debug/xtrace.sh: Likewise.
35029         * elf/ldconfig.c: Likewise.
35030         * elf/ldd.bash.in: Likewise.
35031         * elf/pldd.c: Likewise.
35032         * elf/sotruss.ksh: Likewise.
35033         * elf/sprof.c: Likewise.
35034         * iconv/iconv_prog.c: Likewise.
35035         * iconv/iconvconfig.c: Likewise.
35036         * locale/programs/locale.c: Likewise.
35037         * locale/programs/localedef.c: Likewise.
35038         * login/programs/pt_chown.c: Likewise.
35039         * malloc/memusage.sh: Likewise.
35040         * malloc/memusagestat.c: Likewise.
35041         * malloc/mtrace.pl: Likewise.
35042         * manual/libc.texinfo: Likewise.
35043         * nscd/nscd.c: Likewise.
35044         * nss/getent.c: Likewise.
35045         * nss/makedb.c: Likewise.
35046         * posix/getconf.c: Likewise.
35047         * scripts/test-installation.pl: Likewise.
35049         * All files with FSF copyright notices: Update copyright dates
35050         using scripts/update-copyrights.
35051         * intl/plural.c: Regenerated.
35052         * locale/programs/charmap-kw.h: Likewise.
35053         * locale/programs/locfile-kw.h: Likewise.
35055 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
35057         * sysdeps/unix/sysv/linux/configure: Regenerated.
35058         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
35059         the linux/fanotify.h header.
35060         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
35061         HAVE_LINUX_FANOTIFY_H is defined.
35063 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35065         * benchtests/cos-inputs: New inputs.
35066         * benchtests/sin-inputs: Likewise.
35068         * benchtests/atan-inputs: New inputs. Fix name of multiple
35069         precision fallback inputs.
35071         * benchtests/atanh-inputs: New inputs.
35072         * benchtests/tanh-inputs: Likewise.
35074         * benchtests/acosh-inputs: New inputs.
35075         * benchtests/asinh-inputs: Likewise.
35077         * benchtests/cosh-inputs: New inputs.
35078         * benchtests/sinh-inputs: Likewise.
35080         * benchtests/acos-inputs: Add more inputs.
35081         * benchtests/asin-inputs: Likewise.
35083 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
35085         [BZ #16375]
35086         * manual/arith.texi: Fix spelling.
35087         * manual/charset.texi: Likewise.
35088         * manual/errno.texi: Likewise.
35089         * manual/filesys.texi: Likewise.
35090         * manual/lang.texi: Likewise.
35091         * manual/llio.texi: Likewise.
35092         * manual/locale.texi: Likewise.
35093         * manual/message.texi: Likewise.
35094         * manual/resource.texi: Likewise.
35095         * manual/search.texi: Likewise.
35096         * manual/setjmp.texi: Likewise.
35097         * manual/stdio.texi: Likewise.
35098         * manual/string.texi: Likewise.
35099         * manual/sysinfo.texi: Likewise.
35100         * manual/time.texi: Likewise.
35102 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
35104         * po/sl.po: New file.
35106 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
35108         * .gitignore: Add core/.gdbinit/.gdb_history.
35110 2013-12-27  Allan McRae  <allan@archlinux.org>
35112         [BZ #16369]
35113         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
35114         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
35116 2013-12-24  Brooks Moses  <bmoses@google.com>
35118         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
35119         all compilers that claim C++98 compliance, not just GCC.
35120         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
35121         Likewise.
35123 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
35125         * NEWS: Restore accidentally deleted bug-fix entries.
35127 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
35128             Ondřej Bílka  <neleai@seznam.cz>
35130         [BZ #15073]
35131         * malloc/malloc.c (_int_free): Perform sanity check only if we
35132         have_lock.
35134 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
35136         [BZ #12986]
35137         * manual/stdio.texi (String Input Conversions): Clarify that character
35138         classes are not supported.
35140 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35144 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
35146         [BZ #16337]
35147         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35148         Calculate results for small negative arguments directly rather
35149         than using reflection formula with special underflow handling.
35151         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
35152         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
35153         sysdeps/unix/bsd/bsd4.4/syscalls.list.
35154         (fchflags): Likewise.
35155         (revoke): Likewise.
35156         (setlogin): Likewise.
35157         (sigaltstack): Likewise.
35158         (wait4): Likewise.
35159         (sigblock): Remove.
35160         (sigsetmask): Likewise.
35161         (wait3): Likewise.
35162         (waitpid): Likewise.
35163         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
35164         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
35165         file.
35166         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
35167         * sysdeps/unix/bsd/Makefile: ... here.
35168         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
35169         * sysdeps/unix/bsd/Versions: ... here.
35170         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
35171         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
35172         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
35173         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
35174         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
35175         * sysdeps/unix/bsd/sigblock.c: ... here.
35176         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
35177         * sysdeps/unix/bsd/sigsetmask.c: ... here.
35178         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
35179         * sysdeps/unix/bsd/sigvec.c: ... here.
35180         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
35181         * sysdeps/unix/bsd/tcdrain.c: ... here.
35182         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
35183         * sysdeps/unix/bsd/tcgetattr.c: ... here.
35184         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
35185         * sysdeps/unix/bsd/tcsetattr.c: ... here.
35186         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
35187         * sysdeps/unix/bsd/wait.c: ... here.
35188         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
35189         * sysdeps/unix/bsd/wait3.c: ... here.
35190         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
35191         * sysdeps/unix/bsd/waitpid.c: ... here.
35193 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
35195         [BZ #16356]
35196         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
35197         round-to-nearest for [!USE_AS_EXPM1L].
35198         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
35199         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
35200         more tests of exp and exp10.  Expect some exp10 tests to miss
35201         exceptions or fail in directed rounding modes.
35202         * math/auto-libm-test-out: Regenerated.
35203         * math/libm-test.inc (exp10_tonearest_test_data): New array.
35204         (exp10_test_tonearest): New function.
35205         (exp10_towardzero_test_data): New array.
35206         (exp10_test_towardzero): New function.
35207         (exp10_downward_test_data): New array.
35208         (exp10_test_downward): New function.
35209         (exp10_upward_test_data): New array.
35210         (exp10_test_upward): New function.
35211         (main): Call the new functions.
35212         * sysdeps/i386/fpu/libm-test-ulps: Update.
35213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35215 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
35217         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
35218         asinh, atan, atan2, atanh, cbrt, cos and cosh.
35219         * math/auto-libm-test-out: Regenerated.
35220         * math/libm-test.inc (acosh_test_data): Add more tests.
35221         (atanh_test_data): Likewise.
35222         (ceil_test_data): Likewise.
35223         (copysign_test_data): Likewise.
35224         * sysdeps/i386/fpu/libm-test-ulps: Update.
35225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35227         * timezone/checktab.awk: Update from tzcode 2013i.
35228         * timezone/private.h: Likewise.
35229         * timezone/scheck.c: Likewise.
35230         * timezone/tzfile.h: Likewise.
35231         * timezone/tzselect.ksh: Likewise.
35232         * timezone/zdump.c: Likewise.
35233         * timezone/zic.c: Likewise.
35235         * math/auto-libm-test-in: Add tests of cpow.
35236         * math/auto-libm-test-out: Regenerated.
35237         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
35238         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35239         mpc_cc_c.
35240         (func_calc_desc): Add mpc_cc_c union field.
35241         (test_functions): Add cpow.
35242         (special_fill_2pi): New function.
35243         (special_real_inputs): Add 2pi.
35244         (calc_generic_results): Handle mpc_cc_c.
35245         * sysdeps/i386/fpu/libm-test-ulps: Update.
35246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35248         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
35249         csqrt, ctan and ctanh.
35250         * math/auto-libm-test-out: Regenerated.
35251         * math/libm-test.inc (TEST_COND_x86_64): New macro.
35252         (TEST_COND_x86): Likewise.
35253         (ccos_test_data): Use AUTO_TESTS_c_c.
35254         (ccosh_test_data): Likewise.
35255         (cexp_test_data): Likewise.
35256         (clog_test_data): Likewise.
35257         (csqrt_test_data): Likewise.
35258         (ctan_test_data): Likewise.
35259         (ctan_tonearest_test_data): Likewise.
35260         (ctan_towardzero_test_data): Likewise.
35261         (ctan_downward_test_data): Likewise.
35262         (ctan_upward_test_data): Likewise.
35263         (ctanh_test_data): Likewise.
35264         (ctanh_tonearest_test_data): Likewise.
35265         (ctanh_towardzero_test_data): Likewise.
35266         (ctanh_downward_test_data): Likewise.
35267         (ctanh_upward_test_data): Likewise.
35268         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35269         mpc_c_c.
35270         (func_calc_desc): Add mpc_c_c union field.
35271         (FUNC_mpc_c_c): New macro.
35272         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
35273         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
35274         ctanh.
35275         (special_fill_min_subnorm_p120): New function.
35276         (special_real_inputs): Add min_subnorm_p120.
35277         (calc_generic_results): Handle mpc_c_c.
35278         * sysdeps/i386/fpu/libm-test-ulps: Update.
35279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35281 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35283         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
35284         (do_sin_slow): New functions.
35285         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
35286         (cslow2, csloww1, csloww2): Use the new functions.
35288         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
35289         Use M to change sign of result instead of X.  Assume X is
35290         positive.
35291         (csloww1): Likewise.
35292         (__sin): Adjust.
35293         (__cos): Adjust.
35295         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
35296         arguments A and DA.
35297         (__sin): Adjust.
35298         (__cos): Likewise.
35300         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
35301         (__cos): Likewise.
35302         (sloww1): Don't adjust sign of DX.
35303         (csloww1): Likewise.
35304         (sloww2): Use X directly and don't adjust sign of DX.
35305         (csloww2): Likewise.
35307 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35309         * math/auto-libm-test-in: Add tests of cabs and carg.
35310         * math/auto-libm-test-out: Regenerated.
35311         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
35312         (carg_test_data): Likewise.
35313         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35314         mpc_c_f.
35315         (func_calc_desc): Add mpc_c_f union field.
35316         (test_functions): Add cabs and carg.
35317         (calc_generic_results): Handle mpc_c_f.
35319         * sysdeps/powerpc/powerpc32/libgcc-compat.S
35320         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
35321         as a macro and a compat symbol.
35322         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
35323         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
35324         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
35325         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
35326         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
35327         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
35328         not use .hidden.
35329         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
35330         Likewise.
35331         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
35332         Likewise.
35333         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
35334         Likewise.
35335         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
35336         Likewise.
35337         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
35338         Likewise.
35339         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
35340         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
35341         from GLIBC_2.3.2.
35343 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35347 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35349         * manual/texinfo.tex: Update to version 2013-11-26.10 with
35350         trailing whitespace removed.
35351         * scripts/config.guess: Update to version 2013-11-29.
35352         * scripts/config.sub: Update to version 2013-10-01.
35354         * math/auto-libm-test-in: Add tests of sincos.
35355         * math/auto-libm-test-out: Regenerated.
35356         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
35357         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35358         mpfr_f_11.
35359         (func_calc_desc): Add mpfr_f_11 union field.
35360         (test_functions): Add sincos.
35361         (calc_generic_results): Handle mpfr_f_11.
35362         * sysdeps/i386/fpu/libm-test-ulps: Update.
35363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35365 2013-12-19  Andreas Schwab  <schwab@suse.de>
35367         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
35368         CALL_MCOUNT.
35369         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35370         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
35371         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
35373 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35375         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
35376         * sysdeps/i386/fpu/libm-test-ulps: Update.
35377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35379         [BZ #16293]
35380         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
35381         round-to-nearest mode when using frndint.
35382         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
35383         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35384         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35385         Likewise.
35386         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
35387         sinh test to fail.
35388         * math/auto-libm-test-out: Regenerated.
35389         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
35390         (TEST_COND_x86): Likewise.
35391         (expm1_tonearest_test_data): New array.
35392         (expm1_test_tonearest): New function.
35393         (expm1_towardzero_test_data): New array.
35394         (expm1_test_towardzero): New function.
35395         (expm1_downward_test_data): New array.
35396         (expm1_test_downward): New function.
35397         (expm1_upward_test_data): New array.
35398         (expm1_test_upward): New function.
35399         (main): Run the new test functions.
35400         * sysdeps/i386/fpu/libm-test-ulps: Update.
35401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35403         * include/features.h: Update comment documenting feature test
35404         macros.  Mention _DEFAULT_SOURCE in comment.
35405         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
35406         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
35407         _BSD_SOURCE and _SVID_SOURCE.
35408         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
35409         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
35410         !_SVID_SOURCE]: Likewise.
35411         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35412         (__USE_POSIX_IMPLICITLY): Define.
35413         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35414         (_POSIX_SOURCE): Undefine and redefine.
35415         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35416         (_POSIX_C_SOURCE): Likewise.
35417         * manual/creature.texi (_DEFAULT_SOURCE): Document.
35418         (Feature Test Macros): Update documentation of default features.
35420 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35422         * benchtests/Makefile: Add bench-strtok.
35423         * benchtests/bench-strtok.c: New file: strtok benchtest.
35425 2013-12-19  Allan McRae  <allan@archlinux.org>
35427         * manual/install.texi: Suppress menu for plain text output.
35428         * INSTALL: Regenerated.
35430 2013-12-18  Brooks Moses  <bmoses@google.com>
35432         [BZ #15846]
35433         * misc/getauxval.c: Include errno.h.
35434         (__getauxval): Set errno to ENOENT if the requested type is not
35435         found.
35436         * misc/sys/auxv.h (getauxval): Document that it may set errno;
35437         don't declare with __attribute_const__.
35438         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
35439         * manual/startup.texi: Document that getauxval sets errno.
35441 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
35443         * math/auto-libm-test-in: Add tests of jn and yn.
35444         * math/auto-libm-test-out: Regenerated.
35445         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
35446         (yn_test_data): Likewise.
35447         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35448         mpfr_if_f.
35449         (func_calc_desc): Add mpfr_if_f union field.
35450         (FUNC_mpfr_if_f): New macro.
35451         (test_functions): Add jn and yn.
35452         (calc_generic_results): Assert type of second input for
35453         mpfr_ff_f.  Handle mpfr_if_f.
35454         (output_for_one_input_case): Disable all checking for arguments
35455         fitting floating-point types in case of an integer argument.
35456         * sysdeps/i386/fpu/libm-test-ulps: Update.
35457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35460         Don't expect fegetround reference in libm.so.
35462 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35464         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
35465         $(config-cflags-nofma).
35467 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
35469         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
35470         * math/auto-libm-test-out: Regenerated.
35472         [BZ #16338]
35473         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
35474         to determine exponent and adjust argument to have exponent of -1.
35475         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
35476         log2.
35477         * math/auto-libm-test-out: Regenerated.
35478         * sysdeps/i386/fpu/libm-test-ulps: Update.
35479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35481 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
35483         * manual/probes.texi: Remove cases when per-thread arenas are
35484         disabled.
35486 2013-12-18  Andreas Schwab  <schwab@suse.de>
35488         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
35489         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
35490         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
35491         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
35492         * sysdeps/i386/i686/multiarch/Makefile: Update.
35493         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
35495 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35497         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
35498         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
35500 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
35502         [BZ #15968]
35503         Support TZ transition times < 00:00:00.
35504         This is needed for version-3 tz-format files; it supports time
35505         stamps past 2037 for America/Godthab (the only entry in the tz
35506         database for which this change is relevant).
35507         * manual/time.texi (TZ Variable): Document transition times
35508         from -167:59:59 through -00:00:01.
35509         * time/tzset.c (tz_rule): Time of day is now signed.
35510         (__tzset_parse_tz): Parse negative time of day.
35512         Document TZ transition times >= 25:00:00.
35513         * manual/time.texi (TZ Variable): Document transition times from
35514         25:00:00 through 167:59:59.  These are already supported, and this
35515         support will help with version-3 tz-format files.
35517         * manual/time.texi (TZ Variable): Modernize North America example
35518         to reflect current (i.e., 2007-and-later) daylight saving rules.
35520         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
35522 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35524         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
35525         * sysdeps/unix/bsd/bits/stat.h: Likewise.
35526         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
35527         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35528         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
35529         * sysdeps/unix/bsd/bsdstat.h: Likewise.
35530         * sysdeps/unix/bsd/clock.c: Likewise.
35531         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
35532         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
35533         * sysdeps/unix/bsd/init-posix.c: Likewise.
35534         * sysdeps/unix/bsd/poll.c: Likewise.
35535         * sysdeps/unix/bsd/ptsname.c: Likewise.
35536         * sysdeps/unix/bsd/seekdir.c: Likewise.
35537         * sysdeps/unix/bsd/setegid.c: Likewise.
35538         * sysdeps/unix/bsd/seteuid.c: Likewise.
35539         * sysdeps/unix/bsd/setgid.c: Likewise.
35540         * sysdeps/unix/bsd/setrgid.c: Likewise.
35541         * sysdeps/unix/bsd/setruid.c: Likewise.
35542         * sysdeps/unix/bsd/setsid.c: Likewise.
35543         * sysdeps/unix/bsd/setuid.c: Likewise.
35544         * sysdeps/unix/bsd/sigaction.c: Likewise.
35545         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
35546         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
35547         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
35548         * sysdeps/unix/bsd/telldir.c: Likewise.
35549         * sysdeps/unix/bsd/times.c: Likewise.
35550         * sysdeps/unix/bsd/usleep.c: Likewise.
35552         * misc/Makefile (install-lib): Remove libbsd-compat.a.
35553         ($(objpfx)libbsd-compat.a): Remove rule.
35555         * include/features.h (__FAVOR_BSD): Do not define.
35556         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
35557         features conflicting with POSIX.
35558         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
35559         (_BSD_SOURCE): Remove description of not being a subset of other
35560         feature test macros.
35561         * manual/job.texi (getpgrp): Do not document BSD version.
35562         (getpgid): Do not document by reference to BSD getpgrp.
35563         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
35564         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
35565         * signal/signal.h [__FAVOR_BSD]: Likewise.
35566         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
35567         instead of making contents conditional on [__FAVOR_BSD].
35568         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
35570 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35574 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35576         [BZ #16314]
35577         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
35578         values below 2**-450, not 2**-500.
35579         * math/auto-libm-test-in: Don't allow spurious underflow from
35580         hypot.
35581         * math/auto-libm-test-out: Regenerated.
35583         [BZ #16316]
35584         [BZ #16330]
35585         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
35586         values of ha and hb and sort them after adjusting subnormal
35587         arguments.
35588         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35589         Likewise.
35590         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
35591         values of ea and eb and sort them after adjusting subnormal
35592         arguments.
35593         * math/auto-libm-test-in: Do not expect some hypot tests of
35594         subnormals to fail.  Add more hypot tests.
35595         * math/auto-libm-test-out: Regenerated.
35597 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35599         [BZ #13304]
35600         * sysdeps/sh/s_fma.c: New file.
35601         * sysdeps/sh/s_fmaf.c: New file.
35602         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
35603         version.
35604         * sysdeps/sh/Implies: Add sh/soft-fp.
35606 2013-12-16  Roland McGrath  <roland@hack.frob.com>
35608         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
35609         level of indirection to members `objname', `errstring', `malloced'.
35610         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
35611         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
35612         it as the __longjmp argument (just pass 1 instead).
35613         (_dl_catch_error): Initialize C with argument pointers and address of
35614         volatile local ERRCODE rather than copying values out of C at return.
35616 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
35618         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
35619         * math/auto-libm-test-out: Regenerated.
35620         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
35621         (hypot_test_data): Likewise.
35622         (pow_test_data): Likewise.
35623         (pow_tonearest_test_data): Likewise.
35624         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35625         mpfr_ff_f.
35626         (func_calc_desc): Add mpfr_ff_f union field.
35627         (FUNC_mpfr_ff_f): New macro.
35628         (test_functions): Add atan2, hypot and pow.
35629         (special_fill_min): New function.
35630         (special_fill_minus_min): Likewise.
35631         (special_fill_min_subnorm): Likewise.
35632         (special_fill_minus_min_subnorm): Likewise.
35633         (special_real_inputs): Add min, -min, min_subnorm and
35634         -min_subnorm.
35635         (calc_generic_results): Handle mpfr_ff_f.
35636         * sysdeps/i386/fpu/libm-test-ulps: Update.
35637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35639 2013-12-16  Will Newton  <will.newton@linaro.org>
35641         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
35642         (Aligned Memory Blocks): Add documentation for aligned_alloc
35643         and suggest it as an alternative to posix_memalign.
35644         (Hooks for Malloc): Document __memalign_hook is also called
35645         for aligned_alloc.  (Summary of Malloc): Add summary for
35646         aligned alloc.  Document __memalign_hook is also called
35647         for aligned_alloc.
35649 2013-12-16  Will Newton  <will.newton@linaro.org>
35651         * manual/memory.texi (Malloc Examples): Clarify default
35652         alignment documentation.  Suggest posix_memalign rather
35653         than memalign or valloc.
35654         (Aligned Memory Blocks): Remove suggestion to use memalign
35655         or valloc.  Remove obsolete comment about BSD.
35656         Document memalign errno values and mark the function obsolete.
35657         Document posix_memalign returned error codes.  Mark valloc
35658         as obsolete.  (Hooks for Malloc): __memalign_hook is also
35659         called for posix_memalign and valloc.
35660         (Summary of Malloc): Add posix_memalign to function summary.
35661         __memalign_hook is also called for posix_memalign and valloc.
35663 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35665         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
35666         TAYLOR_SIN.
35667         (__sin): Adjust.
35668         (__cos): Likewise.
35669         (sloww): Use mynumber union.  Expand ternary operator into
35670         if-else statements.
35671         (cslow): use mynumber union.
35673 2013-12-16  Allan McRae  <allan@archlinux.org>
35675         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
35676         * configure: Regenerated.
35678         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
35680         [BZ #14120]
35681         * configure.ac: Added --enable-maintainer-mode. Check for
35682         autoconf when enabled.
35683         * configure: Regenerated.
35685         * nscd/nscd.service: New file.
35686         * nscd/nscd.tmpfiles: New file.
35688 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
35690         [BZ #12100]
35691         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
35692         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
35693         * sysdeps/x86_64/multiarch/strstr.c: ... here.
35694         (strstr): Add __strstr_sse2_unaligned ifunc.
35695         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
35696         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
35697         (strcasestr): Remove __strcasestr_sse42 ifunc.
35698         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
35699         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35700         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
35702 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35704         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
35705         * sysdeps/sh/bits/fenv.h: ... here.
35706         * sysdeps/sh/sh4/fpu/bits: Remove directory.
35708 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35710         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
35712         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
35713         hypotf multiarch implementations.
35714         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
35715         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
35716         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
35717         multiarch hypot for PPC64.
35718         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
35719         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
35720         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
35721         multiarch hypotf for PPC64.
35723         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
35724         modff multiarch implementations.
35725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
35726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
35727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
35728         multiarch modf for PPC64.
35729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
35730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
35731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
35732         multiarch modff for PPC64.
35734         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
35735         and logl multiarch implementations.
35736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
35737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
35738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
35739         multiarch logb for PPC64.
35740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
35741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
35742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
35743         multiarch logb for PPC64.
35744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
35745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
35746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
35747         multiarch logb for PPC64.
35749         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
35750         isinff multiarch implementation.
35751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
35752         file.
35753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
35754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
35755         multiarch isinf for PPC64.
35756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
35757         file.
35758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
35759         multiarch isinff for PPC64.
35761         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
35762         finitef multiarch implementation.
35763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
35764         file.
35765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
35766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
35767         multiarch finite for PPC64.
35768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
35769         file.
35770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
35771         multiarch finitef for PPC64.
35773         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
35774         lrint multiarch implementation.
35775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
35776         file.
35777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
35778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
35779         multiarch llrint for PPC64.
35780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
35781         multiarch lrint for PPC64.
35783         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
35784         copysignf multiarch implementation.
35785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
35786         file.
35787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
35788         file.
35789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
35790         multiarch copysign for PPC64.
35791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
35792         multiarch copysignf for PPC64.
35794         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
35795         multiarch implementation.
35796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
35797         file.
35798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
35799         file.
35800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
35801         file.
35802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
35803         file.
35804         multiarch llround for PPC64.
35805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
35806         multiarch trunc for PPC64.
35807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
35808         multiarch truncf for PPC64.
35810         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
35811         multiarch implementation.
35812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
35813         file.
35814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
35815         file.
35816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
35817         file.
35818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
35819         file.
35820         multiarch llround for PPC64.
35821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
35822         multiarch round for PPC64.
35823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
35824         multiarch roundf for PPC64.
35826         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
35827         multiarch implementation.
35828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
35829         file.
35830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
35831         file.
35832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
35833         file.
35834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
35835         file.
35836         multiarch llround for PPC64.
35837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
35838         multiarch floor for PPC64.
35839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
35840         multiarch floorf for PPC64.
35842         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
35843         multiarch implementation.
35844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
35845         file.
35846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
35847         file.
35848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
35849         file.
35850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
35851         file.
35852         multiarch llround for PPC64.
35853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
35854         multiarch ceil for PPC64.
35855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
35856         multiarch ceilf for PPC64.
35858         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35859         multiarch implementation.
35860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
35861         file.
35862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
35863         file.
35864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
35865         file.
35866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
35867         multiarch llround for PPC64.
35868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
35869         multiarch lround for PPC64.
35871         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35872         multiarch implementation.
35873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
35874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
35875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
35876         file.
35877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
35878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
35879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
35880         multiarch isnan for PPC64.
35881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
35882         multiarch isnanf for PPC64.
35884         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
35885         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
35886         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
35887         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
35888         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
35889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
35891         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
35892         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35893         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35894         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35896         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
35897         multiarch implementations.
35898         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35899         (__libc_ifunc_impl_list): Likewise.
35900         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
35901         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
35902         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
35903         multiarch stpcpy for PPC64.
35905         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
35906         multiarch implementations.
35907         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35908         (__libc_ifunc_impl_list): Likewise.
35909         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
35910         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
35911         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
35912         multiarch strcpy for PPC64.
35914         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
35915         redefine function name.
35916         (_wordcopy_fwd_dest_aligned): Likewise.
35917         (_wordcopy_bwd_aligned): Likewise.
35918         (_wordcopy_bwd_dest_aligned): Likewise.
35919         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
35920         multiarch implementations.
35921         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35922         (__libc_ifunc_impl_list): Likewise.
35923         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
35924         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
35925         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
35926         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
35927         multiarch wcscpy for PPC64.
35929         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
35930         multiarch implementations.
35931         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35932         (__libc_ifunc_impl_list): Likewise.
35933         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
35934         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
35935         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
35936         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
35937         multiarch wcscpy for PPC64.
35939         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
35940         multiarch implementations.
35941         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35942         (__libc_ifunc_impl_list): Likewise.
35943         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
35944         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
35945         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
35946         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
35947         multiarch wcsrchr for PPC64.
35949         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
35950         multiarch implementations.
35951         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35952         (__libc_ifunc_impl_list): Likewise.
35953         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
35954         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
35955         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
35956         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
35957         multiarch wcschr for PPC64.
35959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
35960         multiarch implementations.
35961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35962         (__libc_ifunc_impl_list): Likewise.
35963         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
35964         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
35965         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
35966         multiarch strchrnul for PPC64.
35968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
35969         implementations.
35970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35971         (__libc_ifunc_impl_list): Likewise.
35972         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
35973         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
35974         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
35975         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
35976         strchr for PPC64.
35978         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
35979         implementations.
35980         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35981         (__libc_ifunc_impl_list): Likewise.
35982         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
35983         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
35984         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
35985         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
35986         strncmp for PPC64.
35988         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
35989         multiarch implementations.
35990         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35991         (__libc_ifunc_impl_list): Likewise.
35992         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
35993         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
35994         strncasecmp for PPC64.
35995         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
35996         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
35997         multiarch strncasecmp_l for PPC64.
35999         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
36000         multiarch implementations.
36001         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36002         (__libc_ifunc_impl_list): Likewise.
36003         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
36004         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
36005         multiarch strcasecmp for PPC64.
36006         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
36007         file.
36008         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
36009         multiarch strcasecmp_l for PPC64.
36011         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
36012         implementations.
36013         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36014         (__libc_ifunc_impl_list): Likewise.
36015         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
36016         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
36017         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
36018         strnlen for PPC64.
36020         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
36021         implementations.
36022         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36023         (__libc_ifunc_impl_list): Likewise.
36024         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
36025         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
36026         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
36027         strlen for PPC64.
36029         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
36030         implementations.
36031         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36032         (__libc_ifunc_impl_list): Likewise.
36033         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
36034         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
36035         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
36036         rawmemrchr for PPC64.
36038         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
36039         implementation.
36040         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36041         (__libc_ifunc_impl_list): Likewise.
36042         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
36043         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
36044         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
36045         memrchr for PPC64.
36047         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
36048         implementation.
36049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36050         (__libc_ifunc_impl_list): Likewise.
36051         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
36052         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
36053         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
36054         memchr for PPC64.
36056         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
36057         implementation.
36058         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36059         (__libc_ifunc_impl_list): Likewise.
36060         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
36061         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
36062         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
36063         mempcpy for PPC64.
36065         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
36066         avoid cretion of __bzero symbol.
36067         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
36068         Likewise.
36069         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
36070         Likewise.
36071         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
36072         Likewise.
36073         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
36074         multiarch implementations.
36075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36076         (__libc_ifunc_impl_list): Likewise.
36077         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
36078         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
36079         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
36080         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
36081         bzero for PPC32.
36082         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
36083         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
36084         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
36085         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
36086         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
36087         memset for PPC64.
36088         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
36090         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
36091         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
36092         implementations.
36093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36094         (__libc_ifunc_impl_list): Likewise.
36095         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
36096         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
36097         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
36098         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
36099         memcmp for PPC64.
36101         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
36102         multiarch for POWER/PPC64.
36103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
36104         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
36105         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
36106         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
36107         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
36108         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
36109         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
36110         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
36111         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
36112         memcpy for PPC64.
36114         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
36115         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
36116         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
36117         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
36118         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
36119         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
36120         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
36121         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
36122         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
36123         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
36124         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
36125         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
36126         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
36127         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
36128         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
36129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
36130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
36131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
36132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
36133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
36134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
36135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
36137 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36139         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
36141 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36143         * benchtests/Makefile (bench): Add exp2 and log2.
36144         (LDLIBS-bench-exp2): Add -lm.
36145         (LDLIBS-bench-log2): Likewise.
36146         * benchtests/exp2-inputs: New inputs file.
36147         * benchtests/log2-inputs: New inputs file.
36148         * benchtests/log-inputs: Add new inputs.
36149         * benchtests/tan-inputs: Likewise.
36151 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36153         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
36154         definition...
36155         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
36156         (csloww2): ... from here.
36158         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
36159         instead of structures.
36160         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
36161         (POLYNOMIAL): Likewise.
36162         (TAYLOR_SLOW): Likewise.
36163         (__sin): Likewise.
36164         (__cos): Likewise.
36165         (slow1): Likewise.
36166         (slow2): Likewise.
36167         (sloww): Likewise.
36168         (sloww1); Likewise.
36169         (sloww2): Likewise.
36170         (bsloww1): Likewise.
36171         (bsloww2): Likewise.
36172         (cslow2): Likewise.
36173         (csloww): Likewise.
36174         (csloww1): Likewise.
36175         (csloww2): Likewise.
36177 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
36179         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
36180         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
36181         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
36182         * malloc/hooks.c (realloc_check): Likewise.
36184         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
36185         * malloc/arena.c: Remove PER_THREAD conditional.
36186         [!PER_THREAD]: Remove code.
36187         (ptmalloc_unlock_all2): Likewise.
36188         (ptmalloc_init): Likewise.
36189         (_int_new_arena): Likewise.
36190         (arena_get2): Likewise.
36191         * malloc/hooks.c (__malloc_get_state): Likewise.
36192         (__malloc_set_state): Likewise.
36193         * malloc/malloc.c: Likewise.
36194         (struct malloc_state): Likewise.
36195         (struct malloc_par): Likewise.
36196         (__libc_realloc): Likewise.
36197         (__libc_mallopt): Likewise.
36199 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36201         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
36203 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
36205         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
36206         macro to a function.  Check for zero perturb_byte.
36207         (_int_malloc, _int_free): Remove zero perturb_byte checks.
36209         * malloc/malloc.c: (force_reg): Remove.
36210         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
36211         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
36212         force_reg by atomic_forced_read.
36213         * malloc/arena.c (ptmalloc_init): Likewise.
36214         * malloc/hooks.c (top_check): Likewise.
36216 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36220 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
36222         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36224 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
36226         * math/auto-libm-test-in: Add tests of lgamma.
36227         * math/auto-libm-test-out: Regenerated.
36228         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
36229         (M_LOG_2_SQRT_PIl): Likewise.
36230         (lgamma_test_data): Use AUTO_TESTS_f_f1.
36231         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36232         mpfr_f_f1.
36233         (func_calc_desc): Add mpfr_f_f1 union field.
36234         (ARGS1): New macro.
36235         (ARGS2): Likewise.
36236         (ARGS3): Likewise.
36237         (ARGS4): Likewise.
36238         (RET1): Likewise.
36239         (RET2): Likewise.
36240         (CALC): Likewise.
36241         (FUNC): Likewise.
36242         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
36243         (test_functions): Add lgamma.
36244         (calc_generic_results): Handle mpfr_f_f1.
36245         * sysdeps/i386/fpu/libm-test-ulps: Update.
36246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36248 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36250         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
36251         __mpn_add_n for PowerPC64/POWER7.
36252         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
36253         __mpn_sub_n for PowerPC64/POWER7.
36255         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
36256         __mpn_addmul_1 for PowerPC64.
36257         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
36258         __mpn_submul_1 for PowerPC64.
36259         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
36260         for PowerPC64.
36261         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
36262         for PowerPC64.
36264 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
36266         [BZ #15089]
36267         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
36269 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36271         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
36273         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
36274         add multiarch folders.
36275         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
36276         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
36277         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
36278         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
36279         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
36280         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
36281         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
36282         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
36283         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
36284         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
36285         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
36286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
36287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
36288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
36289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
36290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
36291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
36293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36294         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
36295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
36296         New file.
36297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
36298         New file.
36299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
36300         multiarch __ieee754_hypot for PowerPC32.
36301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
36302         New file.
36303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
36304         New file.
36305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
36306         multiarch __ieee754_hypotf for PowerPC32.
36308         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
36309         long_double_symbol only if __logbl is defined.
36310         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
36311         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
36312         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
36313         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
36314         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
36315         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
36316         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
36317         path for implementation.
36318         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
36319         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
36320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
36321         logb, and logbl multiarch implementations for PowerPC32.
36322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
36323         file.
36324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
36325         file.
36326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
36327         multiarch logb for PowerPC32.
36328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
36329         file.
36330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
36331         file.
36332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
36333         multiarch logbf for PowerPC32.
36334         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
36335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
36336         file.
36337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
36338         multiarch logbl implementation for PowerPC32.
36340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
36341         and modff multiarch implementations.
36342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
36343         New file.
36344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
36345         New file.
36346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
36347         multiarch modf for PowerPC32.
36348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
36349         New file.
36350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
36351         New file.
36352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
36353         multiarch modff for PowerPC32.
36355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
36356         and lrintf multiarch implementations.
36357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
36358         New file.
36359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
36360         New file.
36361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
36362         multiarch lrint for PowerPC32.
36363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
36364         file: multiarch lrintf for PowerPC32.
36366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
36367         and lroundf multiarch implementations.
36368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
36369         New file.
36370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
36371         New file.
36372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
36373         New file.
36374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
36375         multiarch lround for PowerPC32.
36376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
36377         file: multiarch lroundf for PowerPC32.
36379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36380         copysign and copysignf multiarch implementations.
36381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
36382         New file.
36383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
36384         New file.
36385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
36386         file: multiarch copysign for PowerPC32.
36387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
36388         file: multiarch copysignf for PowerPC32.
36390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
36391         and truncf multiarch implementations.
36392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
36393         New file.
36394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
36395         file.
36396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
36397         multiarch trunc for PowerPC32.
36398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
36399         New file.
36400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
36401         New file.
36402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
36403         multiarch truncf for PowerPC32.
36405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
36406         and roundf multiarch implementations.
36407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
36408         New file.
36409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
36410         file.
36411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
36412         multiarch round for PowerPC32.
36413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
36414         New file.
36415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
36416         New file.
36417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
36418         multiarch roundf for PowerPC32.
36420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
36421         and floorf multiarch implementations.
36422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
36423         New file.
36424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
36425         file.
36426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
36427         multiarch floor for PowerPC32.
36428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
36429         New file.
36430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
36431         New file.
36432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
36433         multiarch floorf for PowerPC32.
36435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
36436         and ceilf multiarch implementations.
36437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
36438         New file.
36439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
36440         file.
36441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
36442         multiarch ceil for PowerPC32.
36443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
36444         New file.
36445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
36446         file.
36447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
36448         multiarch ceilf for PowerPC32.
36450         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
36451         is defined.
36452         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
36453         FINITEF is defined.
36454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
36455         and finitef multiarch implementations.
36456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
36457         New file.
36458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
36459         file.
36460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
36461         multiarch finite for PowerPC32.
36462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
36463         New file.
36464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
36465         file: multiarch finitef for PowerPC32.
36467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
36468         and isinff multiarch implementations.
36469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
36470         file.
36471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
36472         file.
36473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
36474         multiarch isinf for PowerPC32.
36475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
36476         New file.
36477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
36478         multiarch isinff for PowerPC32.
36480         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
36481         alias when __isnan is defined.
36482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
36483         and isnanf multiarch implementations.
36484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
36485         file.
36486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
36487         file.
36488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
36489         file.
36490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
36491         file.
36492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
36493         multiarch isnan for PowerPC32.
36494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
36495         New file.
36496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
36497         New file.
36498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
36499         multiarch isnanf for PowerPC32.
36501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
36502         and sqrtf multiarch implementations.
36503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
36504         file.
36505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
36506         file.
36507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
36508         multiarch sqrt for PowerPC32.
36509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
36510         file.
36511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
36512         file.
36513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
36514         multiarch sqrtf for PowerPC32.
36516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
36517         and llroundf multiarch implementations.
36518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
36519         New file.
36520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
36521         New file.
36522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
36523         New file.
36524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
36525         file: multiarch llround for PowerPC32.
36526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
36527         file: multiarch llroundf for PowerPC32.
36529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
36530         multiarch PowerPC32 fpu implementations.
36531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
36532         New file.
36533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
36534         New file.
36535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
36536         multiarch llrint for PowerPC32.
36537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
36538         New file.
36539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
36540         New file.
36541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
36542         file.
36544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
36546         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
36547         file.
36548         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
36549         file.
36550         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
36551         file.
36552         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
36553         multiarch wordcopy for PPC32.
36554         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36555         wordcopy objects.
36556         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36557         (__libc_ifunc_impl_list): Likewise.
36558         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
36559         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
36560         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
36561         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
36562         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
36563         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
36565         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
36566         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
36567         file.
36568         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
36569         file.
36570         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
36571         file.
36572         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
36573         multiarch wcscpy for PPC32.
36574         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36575         multiarch objects.
36576         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36577         (__libc_ifunc_impl_list): Likewise.
36578         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
36579         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36580         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
36581         sysdeps/powerpc/power6/wcscpy.c.
36583         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
36584         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
36585         file.
36586         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
36587         file.
36588         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
36589         file.
36590         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
36591         multiarch wcsrchr for PPC32.
36592         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
36593         multiarch objects.
36594         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36595         (__libc_ifunc_impl_list): Likewise.
36596         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
36597         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36598         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
36599         sysdeps/powerpc/power6/wcsrchr.c.
36601         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
36602         file.
36603         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
36604         file.
36605         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
36606         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
36607         multiarch wcschr for PPc32.
36608         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
36609         multiarch objects.
36610         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36611         (__libc_ifunc_impl_list): Likewise.
36612         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
36613         * sysdeps/powerpc/power6/wcschr.c: ... to here.
36614         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
36615         sysdeps/powerpc/power6/wcschr.c.
36617         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
36618         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
36619         file.
36620         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
36621         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
36622         file: multiarch strchr for PPC32.
36623         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
36624         multiarch objects.
36625         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36626         (__libc_ifunc_impl_list): Likewise.
36628         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
36629         name.
36630         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
36631         file.
36632         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
36633         file.
36634         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
36635         multiarch strchrnul for PPC32.
36636         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
36637         multiarch objects.
36638         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36639         (__libc_ifunc_impl_list): Likewise.
36641         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
36642         file.
36643         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
36644         multiarch strncasecmp for PPC32.
36645         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
36646         file.
36647         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
36648         multiarch strncasecmp_l for PPC32.
36649         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
36650         strncasecmp multiarch objects.
36651         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36652         (__libc_ifunc_impl_list): Likewise.
36654         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
36655         file.
36656         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
36657         multiarch strncasecmp for PPC32.
36658         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36659         New file.
36660         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
36661         multiarch strcasecmp_l for PPC32.
36662         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
36663         multiarch objects.
36664         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36665         (__libc_ifunc_impl_list): Likewise.
36667         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
36668         file.
36669         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
36670         file.
36671         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
36672         multiarch strncmp for PPC32.
36673         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
36674         multiarch objects.
36675         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36676         (__libc_ifunc_impl_list): Likewise.
36678         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
36679         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
36680         file.
36681         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
36682         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
36683         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
36684         multiarch objects.
36685         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36686         (__libc_ifunc_impl_list): Likewise.
36688         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
36689         file.
36690         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
36691         file.
36692         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
36693         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
36694         multiarch objects.
36695         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36696         (__libc_ifunc_impl_list): Likewise.
36698         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
36699         file.
36700         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
36701         file.
36702         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
36703         multiarch rawmemchr for PPC32.
36704         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
36705         multiarch objects.
36706         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36707         (__libc_ifunc_impl_list): Likewise.
36709         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
36710         file.
36711         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
36712         file.
36713         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
36714         file: memrchr multiarch for PPC32.
36715         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
36716         multiarch objects.
36717         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36718         (__libc_ifunc_impl_list): Likewise.
36720         * string/memchr.c (__memchr): Using macro to redefine symbol name.
36721         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
36722         file.
36723         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
36724         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
36725         multiarch memchr for PPC32.
36726         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
36727         multiarch objects.
36728         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36729         (__libc_ifunc_impl_list): Likewise.
36731         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
36732         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
36733         file.
36734         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
36735         file.
36736         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
36737         file: multiarch mempcpy for PPC32.
36738         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
36739         multiarch objects.
36740         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36741         (__libc_ifunc_impl_list): Likewise.
36743         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
36744         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
36745         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
36746         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
36747         multiarch bzero for PPC32.
36748         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
36749         file.
36750         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
36751         file.
36752         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
36753         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
36754         file: multiarch memset for PPC32.
36755         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
36756         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
36757         memset multiarch objects.
36758         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36759         (__libc_ifunc_impl_list): Likewise.
36761         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
36762         file.
36763         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
36764         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
36765         memcmp for PPC32.
36766         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
36767         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
36768         multiarch objects.
36769         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36770         (__libc_ifunc_impl_list): Likewise.
36772         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
36773         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
36774         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
36775         file.
36776         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
36777         file.
36778         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
36779         file.
36780         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
36781         multiarch memcpy for PPC32.
36782         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
36783         multiarch objects.
36784         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36785         (__libc_ifunc_impl_list): Likewise.
36787         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
36788         support multiarch for POWER/PPC32.
36789         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
36790         Likewise.
36791         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
36792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
36793         Implies file to make multiarch folder appers before the fpu and
36794         default folder for power4 configuration.
36796 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36798         * scripts/bench.pl: Append volatile keyword to type.
36800 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36802         * sysdeps/sh/sotruss-lib.c: New file.
36803         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
36805 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36809 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
36811         [BZ #6810]
36812         * math/w_tgamma.c: Include <errno.h>.
36813         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
36814         * math/w_tgammaf.c: Include <errno.h>.
36815         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
36816         * math/w_tgammal.c: Include <errno.h>.
36817         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
36818         * math/auto-libm-test-in: Do not allow missing errno on tgamma
36819         underflow.  Add more tgamma tests.
36820         * math/auto-libm-test-out: Regenerated.
36821         * sysdeps/i386/fpu/libm-test-ulps: Update.
36822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36824         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
36825         sin, sinh, tan, tanh, tgamma, y0 and y1.
36826         * math/auto-libm-test-out: Regenerated.
36827         * math/libm-test.inc (TEST_COND_x86_64): New macro.
36828         (TEST_COND_x86): Likewise.
36829         (M_E2l): Remove macro.
36830         (M_E3l): Likewise.
36831         (M_2_SQRT_PIl): Likewise.
36832         (M_SQRT_PIl): Likewise.
36833         (M_1_DIV_El): Likewise.
36834         (log_test_data): Use AUTO_TESTS_f_f.
36835         (log10_test_data): Likewise.
36836         (log1p_test_data): Likewise.
36837         (log2_test_data): Likewise.
36838         (sin_test_data): Likewise.
36839         (sin_tonearest_test_data): Likewise.
36840         (sin_towardzero_test_data): Likewise.
36841         (sin_downward_test_data): Likewise.
36842         (sin_upward_test_data): Likewise.
36843         (sinh_test_data): Likewise.
36844         (sinh_tonearest_test_data): Likewise.
36845         (sinh_towardzero_test_data): Likewise.
36846         (sinh_downward_test_data): Likewise.
36847         (sinh_upward_test_data): Likewise.
36848         (tan_test_data): Likewise.
36849         (tan_tonearest_test_data): Likewise.
36850         (tan_towardzero_test_data): Likewise.
36851         (tan_downward_test_data): Likewise.
36852         (tan_upward_test_data): Likewise.
36853         (tanh_test_data): Likewise.
36854         (tgamma_test_data): Likewise.
36855         (y0_test_data): Likewise.
36856         (y1_test_data): Likewise.
36857         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
36858         (special_real_inputs): Add pi/4.
36859         * sysdeps/i386/fpu/libm-test-ulps: Update.
36860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36862 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36864         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
36865         "longjmp_target" static probes.
36866         (__longjmp): Rename to __longjmp_symbol.
36867         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36868         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
36869         on which longjmp to generate.
36870         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36871         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
36872         probe.
36873         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36874         (__sigjmp_save): Rename to __sigjmp_save_symbol.
36875         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36876         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
36877         and __sigjmp_save_symbol based on which sigsetjmp to generated.
36878         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
36880         __longjmp_symbol based on which __longjmp to generate.
36881         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
36882         probe.
36883         (setjmp): Rename to setjmp_symbol.
36884         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36885         (_setjmp): Rename to _setjmp_symbol.
36886         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36887         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
36888         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
36889         which setjmp to generate.
36890         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
36891         "longjmp_target" static probes.
36893 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36895         * benchtests/README: Add note about output arguments.
36896         * benchtests/bench-sincos.c: Remove file.
36897         * benchtests/sincos-inputs: New file.
36898         * scripts/bench.pl: Identify output arguments and define
36899         static variables for them.
36901         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
36903         [BZ #15941]
36904         * Makefile (INSTALL): Add install-plain.texi as the primary
36905         dependency.
36906         * manual/install-plain.texi: New file.
36907         * manual/install.texi: Include node directive only for
36908         non-plaintext output.
36910 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
36912         * stdlib/longlong.h: Update from GCC.
36914         [BZ #6807]
36915         [BZ #15901]
36916         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
36917         * math/w_j0f.c (y0f): Likewise.
36918         * math/w_j0l.c (__y0l): Likewise.
36919         * math/w_j1.c (y1): Likewise.
36920         * math/w_j1f.c (y1f): Likewise.
36921         * math/w_j1l.c (__y1l): Likewise.
36922         * math/w_jn.c (yn): Likewise.
36923         * math/w_jnf.c (ynf): Likewise.
36924         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
36925         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
36926         value for Bessel function domain errors outside _SVID_ mode.
36927         Adjust sign of return value for yn (negative integer, 0).
36928         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
36929         by zero in return for negative x and set sign appropriately for
36930         negative n.
36931         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
36932         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36933         * math/libm-test.inc (y0_test_data): Add more tests and adjust
36934         expectations in error cases.
36935         (y1_test_data): Likewise.
36936         (yn_test_data): Likewise.
36937         * sysdeps/i386/fpu/libm-test-ulps: Update.
36938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36940 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36942         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
36943         "64" to "64-v1".  Add "64-v2".
36944         (abi-64-options): Rename to ...
36945         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
36946         (abi-64-condition): Rename to ...
36947         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
36948         (abi-64-ld-soname): Rename to ...
36949         (abi-64-v1-ld-soname): ... this.
36950         (abi-64-v2-options): Define.
36951         (abi-64-v2-condition): Likewise.
36952         (abi-64-v2-ld-soname): Likewise.
36953         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
36954         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
36955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
36956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
36957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
36959 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36960             Alan Modra  <amodra@gmail.com>
36962         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
36963         New versions for use with the ELFv2 ABI.
36964         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
36965         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
36966         declaration.
36967         (struct La_ppc64v2_retval): Likewise.
36968         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
36969         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
36970         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
36971         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
36972         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
36973         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36974         Do not save or restore CR.
36975         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
36976         (_dl_profile_resolve): Do no save or restore CR.  Support extended
36977         return values for ELFv2 ABI.  Fix location of FPR return registers.
36978         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
36979         updated values for _CALL_ELF == 2.
36980         (La_regs, La_retval, int_retval): Likewise.
36982 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36984         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
36985         (FRAME_MIN_SIZE_PARM): Likewise.
36986         (FRAME_BACKCHAIN): Likewise.
36987         (FRAME_CR_SAVE): Likewise.
36988         (FRAME_LR_SAVE): Likewise.
36989         (FRAME_TOC_SAVE): Likewise.
36990         (FRAME_PARM_SAVE): Likewise.
36991         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
36992         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
36993         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36994         (call_mcount_parm_offset): New macro.
36995         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
36996         (PROF): Use symbolic stack frame offsets.
36997         (TAIL_CALL_SYSCALL_ERROR): Likewise.
36998         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
36999         Redefine in terms of FRAME_MIN_SIZE.
37000         (_dl_runtime_resolve): Use symbolic stack frame offsets.
37001         (_dl_profile_resolve): Likewise.  Update comment.
37002         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
37003         symbols stack frame offsets.
37004         (__sigsetjmp): Likewise.
37005         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
37006         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
37007         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
37008         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
37010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
37011         (FRAME_BACKCHAIN): Remove.
37012         (FRAME_CR_SAVE): Likewise.
37013         (FRAME_LR_SAVE): Likewise.
37014         (FRAME_COMPILER_DW): Likewise.
37015         (FRAME_LINKER_DW): Likewise.
37016         (FRAME_TOC_SAVE): Likewise.
37017         (FRAME_PARM_SAVE): Likewise.
37018         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
37019         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
37020         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
37022         (CHECK_SP): Use symbolic stack frame offsets.
37023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
37024         zone" instead of caller's parameter save area for temp storage.
37025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37026         Likewise.  Also, use symbolic stack frame offsets.
37027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
37028         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
37029         our own stack frame instead of the caller's.
37030         (__socket): Use symbolic stack frame offsets.
37032 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37033             Alan Modra  <amodra@gmail.com>
37035         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
37036         Define.
37037         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
37038         (PPC64_LOCAL_ENTRY_OFFSET): Define.
37039         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
37040         New function.
37041         (elf_machine_fixup_plt): Call it.
37042         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
37043         reloc arguments.
37044         (elf_machine_rela): Update call to elf_machine_plt_conflict.
37045         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37046         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
37047         r2 before calling target.
37049 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37050             Alan Modra  <amodra@gmail.com>
37052         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
37053         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
37054         versions of macros to support ELFv2 ABI.
37055         (LOCALENTRY): New macro.
37056         (ENTRY, EALIGN): Use it.
37057         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
37058         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
37059         fall through into ENTRY entry point.
37060         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
37061         Only define if _CALL_ELF != 2.
37063         (elf_machine_matches_host): Verify ABI version matches.
37064         (RTLD_START): Use LOCALENTRY.
37065         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
37066         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
37067         (PLT_ENTRY_WORDS): New macro.
37068         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
37069         (elf_machine_runtime_setup): Support ELFv2 ABI.
37070         (elf_machine_fixup_plt): Likewise.
37071         (elf_machine_plt_conflict): Likewise.
37072         (resolve_ifunc): Likewise.
37073         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37074         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37075         Likewise.
37076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
37077         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
37078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37079         (makecontext): Support ELFv2 ABI.
37080         * elf/elf.h (EF_PPC64_ABI): Define.
37082 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37084         * sysdeps/powerpc/powerpc64/sysdep.h
37085         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
37086         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
37087         (ENTRY) [ASSEMBLER]: ... but instead here ...
37088         (EALIGN) [ASSEMBLER]: ... and here.
37089         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
37090         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
37091         (ENTRY_2) [!ASSEMBLER]: Use it.
37092         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
37093         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
37094         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37095         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
37096         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
37097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
37098         Use PPC64_LOAD_FUNCPTR.
37100         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
37102 2013-12-04  Alan Modra  <amodra@gmail.com>
37104         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
37105         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
37106         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
37107         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
37109         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
37110         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
37111         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
37112         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
37113         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
37114         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
37116 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37119         (__makecontext): Fix incorrect CFI when backtracing out of
37120         context created via makecontext.
37121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
37122         (__setcontext): Fix incorrect CFI during switch to new context.
37123         (__novec_setcontext): Likewise.
37125 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
37127         [BZ #4772]
37128         * time/strptime_l.c (__strptime_internal): Allow modifiers
37129         in strptime.
37130         * time/tst-strptime.c (day_tests): Add testcase.
37132 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37134         * scripts/bench.pl: Skip over blank lines.
37136 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
37138         [BZ #926]
37139         * manual/time.texi (Calendar Time): Clarify what timezone functions
37140         use.
37142 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37146 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
37148         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
37149         implementation.
37150         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
37151         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
37152         * debug/memset_chk.c (__memset_chk): Likewise.
37153         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
37154         * debug/strncpy_chk.c: Likewise.
37156 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
37158         [BZ #15268]
37159         [BZ #15425]
37160         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
37161         (__ieee754_exp): For possibly underflowing results, check size of
37162         result and force underflow exception if required.
37163         * math/auto-libm-test-in: Add more tests of exp.
37164         * math/auto-libm-test-out: Regenerated.
37165         * sysdeps/i386/fpu/libm-test-ulps: Update.
37166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37168         [BZ #16283]
37169         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
37170         * math/w_exp2f.c (__exp2f): Likewise.
37171         * math/w_exp2l.c (__exp2l): Likewise.
37172         * math/auto-libm-test-in: Do not allow missing errno on exp2
37173         underflow.
37174         * math/auto-libm-test-out: Regenerated.
37176 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
37178         [BZ #16274]
37179         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
37180         handle filename validation.
37181         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
37182         (do_open): Delete.
37184 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
37186         [BZ #6786]
37187         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
37188         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
37189         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
37190         <float.h>.
37191         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
37192         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
37193         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37194         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
37195         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37196         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
37197         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37198         * math/auto-libm-test-in: Don't allow missing errno from erfc.
37199         Add more erfc tests.
37200         * math/auto-libm-test-out: Regenerated.
37201         * sysdeps/i386/fpu/libm-test-ulps: Update.
37202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37204         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
37205         exp2, expm1, j0 and j1.
37206         * math/auto-libm-test-out: Regenerated.
37207         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
37208         (erfc_test_data): Likewise.
37209         (exp_test_data): Likewise.
37210         (exp_tonearest_test_data): Likewise.
37211         (exp_towardzero_test_data): Likewise.
37212         (exp_downward_test_data): Likewise.
37213         (exp_upward_test_data): Likewise.
37214         (exp10_test_data): Likewise.
37215         (exp2_test_data): Likewise.
37216         (expm1_test_data): Likewise.
37217         (j0_test_data): Likewise.
37218         (j1_test_data): Likewise.
37219         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
37220         (input_flag_type): Add flag_xfail_rounding.
37221         (input_flags): Add xfail-rounding.
37222         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
37223         (output_for_one_input_case): Handle flag_xfail_rounding.
37224         * sysdeps/i386/fpu/libm-test-ulps: Update.
37225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37227 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
37229         [BZ #16289]
37230         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
37231         division by 0.
37233 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37235         [BZ #16195]
37236         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
37237         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
37238         (STAP_PROBE0): New macro.
37239         (STAP_PROBE1): Likewise.
37240         (STAP_PROBE2): Likewise.
37241         (STAP_PROBE3): Likewise.
37242         (STAP_PROBE4): Likewise.
37244 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
37246         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
37248 2013-12-02  Steve Ellcey  <sellcey@mips.com>
37250         * benchtests/Makefile (bench): Add sqrt.
37251         (LDLIBS-bench-sqrt): New.
37252         * benchtests/sqrt-input: New.
37254 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
37256         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
37257         (GAIH_EAI): Likewise.
37258         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
37259         (gaih_inet): Likewise.
37260         (getaddrinfo): Don't use GAIH_EAI.
37262         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
37263         (struct gaih): Remove definition.
37265 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37267         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
37268         Use HERRNOP directly.
37270 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37272         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37274 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
37276         * math/gen-auto-libm-tests.c (test_functions): Add more
37277         single-argument functions.
37278         (special_fill_pi_2): New function.
37279         (special_fill_minus_pi_2): Likewise.
37280         (special_fill_pi_6): Likewise.
37281         (special_fill_minus_pi_6): Likewise.
37282         (special_fill_pi_3): Likewise.
37283         (special_fill_2pi_3): Likewise.
37284         (special_fill_e): Likewise.
37285         (special_fill_1_e): Likewise.
37286         (special_fill_e_minus_1): Likewise.
37287         (special_real_inputs): Add more special inputs.
37288         (output_for_one_input_case): Do not require ERANGE on underflow to
37289         zero if round-to-nearest result does not underflow to zero, unless
37290         exact results required.
37291         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
37292         atan, atanh, cbrt, cos and cosh.
37293         * math/auto-libm-test-out: Regenerated.
37294         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
37295         (acos_tonearest_test_data): Likewise.
37296         (acos_towardzero_test_data): Likewise.
37297         (acos_downward_test_data): Likewise.
37298         (acos_upward_test_data): Likewise.
37299         (acosh_test_data): Likewise.
37300         (asin_test_data): Likewise.
37301         (asin_tonearest_test_data): Likewise.
37302         (asin_towardzero_test_data): Likewise.
37303         (asin_upward_test_data): Likewise.
37304         (asinh_test_data): Likewise.
37305         (atan_test_data): Likewise.
37306         (atanh_test_data): Likewise.
37307         (cbrt_test_data): Likewise.
37308         (cos_test_data): Likewise.
37309         (cos_tonearest_test_data): Likewise.
37310         (cos_towardzero_test_data): Likewise.
37311         (cos_downward_test_data): Likewise.
37312         (cos_upward_test_data): Likewise.
37313         (cosh_test_data): Likewise.
37314         (cosh_tonearest_test_data): Likewise.
37315         (cosh_towardzero_test_data): Likewise.
37316         (cosh_downward_test_data): Likewise.
37317         (cosh_upward_test_data): Likewise.
37318         * sysdeps/i386/fpu/libm-test-ulps: Update.
37319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37321 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
37323         [BZ #6787]
37324         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
37325         * math/w_exp10f.c (__exp10f): Likewise.
37326         * math/w_exp10l.c (__exp10l): Likewise.
37327         * math/libm-test.inc (exp10_test_data): Add more tests and expect
37328         errno settings in existing tests.
37330         [BZ #14032]
37331         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
37332         precision control set to double precision.
37333         * sysdeps/i386/fpu/w_sqrt.c: New file.
37334         * math/auto-libm-test-in: Add more tests.
37335         * math/auto-libm-test-out: Update.
37337         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
37338         (sqrt_test_tonearest): New function.
37339         (sqrt_towardzero_test_data): New variable.
37340         (sqrt_test_towardzero): New function.
37341         (sqrt_downward_test_data): New variable.
37342         (sqrt_test_downward): New function.
37343         (sqrt_upward_test_data): New variable.
37344         (sqrt_test_upward): New function.
37345         (main): Call the new functions.
37347         * math/gen-auto-libm-tests.c: New file.
37348         * math/auto-libm-test-in: Likewise.
37349         * math/auto-libm-test-out: New generated file.
37350         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
37351         variables.
37352         (%beautify): Add generated representations of zero.
37353         (top level): Set $auto_input and call parse_auto_input.
37354         (beautify): Remove trailing "f" from hex float constants.
37355         (parse_args): Handle XFAIL_TEST.
37356         (convert_condition): New function.
37357         (or_value): Likewise.
37358         (or_cond_value): Likewise.
37359         (generate_testfile): Handle AUTO_TESTS_* lines.
37360         (parse_auto_input): New function.
37361         * math/libm-test.inc (XFAIL_TEST): New macro.
37362         (ERRNO_UNCHANGED): Update value.
37363         (ERRNO_EDOM): Likewise.
37364         (ERRNO_ERANGE): Likewise.
37365         (IGNORE_RESULT): Likewise.
37366         (TEST_COND_flt_32): New macro.
37367         (TEST_COND_dbl_64): Likewise.
37368         (TEST_COND_ldbl_96_intel): Likewise.
37369         (TEST_COND_ldbl_96_m68k): Likewise.
37370         (TEST_COND_ldbl_128): Likewise.
37371         (TEST_COND_ldbl_128ibm): Likewise.
37372         (TEST_COND_long32): Likewise.
37373         (TEST_COND_long64): Likewise.
37374         (TEST_COND_before_rounding): Likewise.
37375         (TEST_COND_after_rounding): Likewise.
37376         (enable_test): Handle XFAIL_TEST flag.
37377         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
37378         with finite results.
37379         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
37380         auto-libm-test-out.
37382 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37383             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37385         [BZ #16214]
37386         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
37387         __tls_get_addr_internal instead of __tls_get_offset in order to
37388         avoid GOT pointer dependency.  Make rtld export
37389         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
37390         __tls_get_addr since we are a __tls_get_offset platform.
37391         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
37392         GOT pointer being set up before.
37393         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
37395 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
37397         * manual/math.texi (Errors in Math Functions): Document accuracy
37398         goals.
37400         [BZ #15004]
37401         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
37402         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
37403         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37404         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37405         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37406         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37407         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37408         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37409         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37410         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37411         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37412         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37413         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37414         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37415         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37416         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37418         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
37419         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
37420         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
37421         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
37422         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
37423         Likewise.
37424         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
37425         Likewise.
37426         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
37427         Likewise.
37428         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
37429         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
37430         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
37431         atomic-feupdateenv and flt-rounds.
37432         * sysdeps/powerpc/nofpu/Versions (libc): Add
37433         __atomic_feholdexcept, __atomic_feclearexcept,
37434         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
37435         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
37436         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
37437         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
37438         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
37439         here.
37440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
37441         Update.
37443         * manual/arith.texi (FP Exceptions): Document that exceptions may
37444         not be raised when matherr is used.
37445         (Math Error Reporting): Document overflow in directed rounding
37446         modes.  Document that errno may not be set when finite values are
37447         returned on overflow.  Document intent to set errno on underflow
37448         only for underflow to zero.
37450         [BZ #16271]
37451         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
37452         round-to-nearest then adjust result for other rounding modes.
37453         * include/fenv.h (fegetround): Use libm_hidden_proto.
37454         * math/fegetround.c (fegetround): Use libm_hidden_def.
37455         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
37456         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
37457         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37458         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
37459         Likewise.
37460         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
37461         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37462         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
37463         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
37465 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37467         [BZ #16077]
37468         * nss/Versions (libnss_files): Add
37469         _nss_files_gethostbyname3_r.
37470         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
37471         New function.
37472         (HOST_DB_LOOKUP): Remove macro.
37473         (_nss_files_gethostbyname_r): Implement function without the
37474         HOST_DB_LOOKUP macro.
37475         (_nss_files_gethostbyname2_r): Likewise.
37477 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
37479         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
37481 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
37483         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
37484         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
37485         warning.
37487 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37489         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
37490         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
37491         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37492         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37493         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
37494         __fe_nomask_env_priv and attribute_hidden.
37495         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
37496         (libc_feupdateenv_test_ppc): Likewise.
37497         (libc_feresetround_ppc): Likewise.
37498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37499         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
37500         compat_symbol macro.
37501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37502         (__fe_nomask_env): Likewise.
37503         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
37505 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37507         * string/Makefile: Remove ifunc tests.
37508         * string/test-string.h: Define TEST_IFUNC.
37509         * string/test-bcopy-ifunc.c: Remove.
37510         * string/test-bzero-ifunc.c: Likewise.
37511         * string/test-memccpy-ifunc.c: Likewise.
37512         * string/test-memchr-ifunc.c: Likewise.
37513         * string/test-memcmp-ifunc.c: Likewise.
37514         * string/test-memcpy-ifunc.c: Likewise.
37515         * string/test-memmem-ifunc.c: Likewise.
37516         * string/test-memmove-ifunc.c: Likewise.
37517         * string/test-mempcpy-ifunc.c: Likewise.
37518         * string/test-memrchr-ifunc.c: Likewise.
37519         * string/test-memset-ifunc.c: Likewise.
37520         * string/test-rawmemchr-ifunc.c: Likewise.
37521         * string/test-stpcpy-ifunc.c: Likewise.
37522         * string/test-stpncpy-ifunc.c: Likewise.
37523         * string/test-strcasecmp-ifunc.c: Likewise.
37524         * string/test-strcasestr-ifunc.c: Likewise.
37525         * string/test-strcat-ifunc.c: Likewise.
37526         * string/test-strchr-ifunc.c: Likewise.
37527         * string/test-strchrnul-ifunc.c: Likewise.
37528         * string/test-strcmp-ifunc.c: Likewise.
37529         * string/test-strcpy-ifunc.c: Likewise.
37530         * string/test-strcspn-ifunc.c: Likewise.
37531         * string/test-strlen-ifunc.c: Likewise.
37532         * string/test-strncasecmp-ifunc.c: Likewise.
37533         * string/test-strncat-ifunc.c: Likewise.
37534         * string/test-strncmp-ifunc.c: Likewise.
37535         * string/test-strncpy-ifunc.c: Likewise.
37536         * string/test-strnlen-ifunc.c: Likewise.
37537         * string/test-strpbrk-ifunc.c: Likewise.
37538         * string/test-strrchr-ifunc.c: Likewise.
37539         * string/test-strspn-ifunc.c: Likewise.
37540         * string/test-strstr-ifunc.c: Likewise.
37542 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37544         * benchtests/Makefile: Remove ifunc tests.
37545         * benchtests/bench-string.h: Define TEST_IFUNC.
37546         * benchtests/bench-bcopy-ifunc.c: Remove.
37547         * benchtests/bench-bzero-ifunc.c: Likewise.
37548         * benchtests/bench-memccpy-ifunc.c: Likewise.
37549         * benchtests/bench-memchr-ifunc.c: Likewise.
37550         * benchtests/bench-memcmp-ifunc.c: Likewise.
37551         * benchtests/bench-memcpy-ifunc.c: Likewise.
37552         * benchtests/bench-memmem-ifunc.c: Likewise.
37553         * benchtests/bench-memmove-ifunc.c: Likewise.
37554         * benchtests/bench-mempcpy-ifunc.c: Likewise.
37555         * benchtests/bench-memrchr-ifunc.c: Likewise.
37556         * benchtests/bench-memset-ifunc.c: Likewise.
37557         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
37558         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
37559         * benchtests/bench-stpcpy-ifunc.c: Likewise.
37560         * benchtests/bench-stpncpy-ifunc.c: Likewise.
37561         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
37562         * benchtests/bench-strcasestr-ifunc.c: Likewise.
37563         * benchtests/bench-strcat-ifunc.c: Likewise.
37564         * benchtests/bench-strchr-ifunc.c: Likewise.
37565         * benchtests/bench-strchrnul-ifunc.c: Likewise.
37566         * benchtests/bench-strcmp-ifunc.c: Likewise.
37567         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
37568         * benchtests/bench-strcpy-ifunc.c: Likewise.
37569         * benchtests/bench-strcspn-ifunc.c: Likewise.
37570         * benchtests/bench-strlen-ifunc.c: Likewise.
37571         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
37572         * benchtests/bench-strncat-ifunc.c: Likewise.
37573         * benchtests/bench-strncmp-ifunc.c: Likewise.
37574         * benchtests/bench-strncpy-ifunc.c: Likewise.
37575         * benchtests/bench-strnlen-ifunc.c: Likewise.
37576         * benchtests/bench-strpbrk-ifunc.c: Likewise.
37577         * benchtests/bench-strrchr-ifunc.c: Likewise.
37578         * benchtests/bench-strsep-ifunc.c: Likewise.
37579         * benchtests/bench-strspn-ifunc.c: Likewise.
37580         * benchtests/bench-strstr-ifunc.c: Likewise.
37582 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37584         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
37586 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37588         * resolv/netdb.h: Use __glibc_reserved instead __unused.
37589         * rt/aio.h: Likewise.
37590         * sysdeps/gnu/bits/utmp.h: Likewise.
37591         * sysdeps/gnu/bits/utmpx.h: Likewise.
37592         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37593         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
37594         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
37595         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
37596         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
37597         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
37598         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
37599         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
37600         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
37601         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
37602         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
37603         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
37604         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
37605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
37606         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
37607         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
37608         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
37609         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
37610         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
37611         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
37612         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
37613         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
37614         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
37615         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37616         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
37617         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37618         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
37619         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
37620         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
37621         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
37622         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
37623         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
37624         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
37625         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
37626         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
37627         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
37628         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
37629         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
37630         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
37631         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
37632         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
37633         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
37635 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
37637         [BZ #16245]
37638         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
37639         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
37641 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
37643         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
37644         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
37645         Likewise.
37647 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37649         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
37650         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
37651         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
37652         (__fesetround): Remove define.
37653         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
37654         rounding and exceptions handling.
37655         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
37656         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
37657         (__fe_nomask_env): Likewise.
37658         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
37659         __fegetround instead of fegetround.
37660         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37661         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
37663 2013-11-21  Roland McGrath  <roland@hack.frob.com>
37665         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
37666         it's there.
37668         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
37670 2013-11-21  Meador Inge  <meadori@codesourcery.com>
37672         [BZ #11157]
37673         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
37674         (encrypt_r): Likewise.
37675         * malloc/obstack.h (obstack_free): Likewise.
37676         * posix/unistd.h (encrypt): Likewise.
37678 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
37680         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
37681         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
37682         DL_CALL_DT_FINI() that call the functions directly.
37683         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
37684         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
37685         * elf/dl-fini.c: Likewise.
37687 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
37689         * malloc/hooks.c (memalign_check): Add alignment rounding.
37690         * malloc/malloc.c (_mid_memalign): New function.
37691         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
37692         Implement by calling _mid_memalign.
37693         * manual/probes.texi (Memory Allocation Probes): Remove
37694         memory_valloc_retry and memory_pvalloc_retry.
37696 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37698         * locale/programs/locarchive.c (open_archive): Add const
37699         qualifier to ARCHIVEFNAME and copy default fname to
37700         DEFAULT_FNAME.
37702         [BZ #15601]
37703         * libio/tst-widetext.input: Rename Oriya to Odia.
37704         * locale/iso-639.def: Likewise.
37706         * manual/probes.texi (Mathematical Function Probes): Add
37707         documentation for sin, cos, asin and acos probes.
37708         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
37709         (__sin32): Add slowasin probe.
37710         (__cos32): Add slowacos probe.
37711         (__mpsin): Add slowsin probe.
37712         (__mpcos): Add slowcos probe.
37714 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
37716         [BZ #15483]
37717         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
37718         thread-local __sim_exceptions_thread and global
37719         __sim_exceptions_global.
37720         (__sim_disabled_exceptions): Change to thread-local
37721         __sim_disabled_exceptions_thread and global
37722         __sim_disabled_exceptions_global.
37723         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
37724         and global __sim_round_mode_global.
37725         (__simulate_exceptions): Use thread-local floating-point state and
37726         set global state from it as needed.
37727         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
37728         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
37729         __sim_round_mode_thread.
37730         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
37731         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
37732         and global __sim_exceptions_global.
37733         (__sim_disabled_exceptions): Change to thread-local
37734         __sim_disabled_exceptions_thread and global
37735         __sim_disabled_exceptions_global.
37736         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
37737         and global __sim_round_mode_global.
37738         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
37739         (SIM_SET_GLOBAL): Likewise.
37740         * sysdeps/powerpc/soft-fp/sfp-machine.h
37741         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
37742         __sim_round_mode_thread.
37743         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
37744         __sim_disabled_exceptions_thread.
37745         (__sim_exceptions): Change to __sim_exceptions_thread.
37746         (__sim_disabled_exceptions): Change to
37747         __sim_disabled_exceptions_thread.
37748         (__sim_round_mode): Change to __sim_round_mode_thread.
37749         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
37750         thread-local floating-point state and set global state from it as
37751         needed.
37752         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
37753         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
37754         (__sim_disabled_exceptions): Remove extern declaration.
37755         (feenableexcept): Use thread-local floating-point state and set
37756         global state from it as needed.
37757         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
37758         extern declaration.
37759         (__sim_disabled_exceptions): Likewise.
37760         (__sim_round_mode): Likewise.
37761         (__fegetenv): Use thread-local floating-point state.
37762         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
37763         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37764         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
37765         floating-point state and set global state from it as needed.
37766         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
37767         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37768         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
37769         Likewise.
37770         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
37771         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
37772         Likewise.
37773         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
37774         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
37775         Use __sim_round_mode_thread.
37776         * math/test-fenv-tls.c: New file.
37777         * math/Makefile (tests): Add test-fenv-tls.
37778         ($(objpfx)test-fenv-tls): Depend on
37779         $(common-objpfx)nptl/libpthread.so.
37781 2013-11-19  Andreas Schwab  <schwab@suse.de>
37783         * locale/programs/locale.c (show_info): Decode wordarray elements.
37784         * locale/categories.def (LC_MONETARY): Add element for
37785         _NL_MONETARY_CRNCYSTR.
37786         * locale/C-monetary.c (conversion_rate): New variable.
37787         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
37788         element.
37790 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
37792         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
37793         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
37795 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
37797         * elf/Makefile (tst-auxv): New test.
37798         * elf/tst-auxv.c: New
37799         * elf/rtld.c (dl_main): Adjust AT_EXECFN
37801 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
37803         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
37804         (hidden_proto): Caller changed.
37805         (hidden_tls_proto): New macro.
37806         (libc_hidden_tls_proto): Likewise.
37807         (rtld_hidden_tls_proto): Likewise.
37808         (libm_hidden_tls_proto): Likewise.
37809         (libresolv_hidden_tls_proto): Likewise.
37810         (librt_hidden_tls_proto): Likewise.
37811         (libdl_hidden_tls_proto): Likewise.
37812         (libnss_files_hidden_tls_proto): Likewise.
37813         (libnsl_hidden_tls_proto): Likewise.
37814         (libnss_nisplus_hidden_tls_proto): Likewise.
37815         (libutil_hidden_tls_proto): Likewise.
37817 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
37819         [BZ #10253]
37820         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
37821         (decompose_rpath): Defer expansion to fillin_rpath.
37822         (_dl_init_paths): Pass linkmap to fillin_rpath.
37824 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37826         * benchtests/Makefile: Add strsep.
37827         * benchtests/bench-strsep.c: New file: strsep benchtest.
37828         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
37830 2013-11-18  Andreas Schwab  <schwab@suse.de>
37832         * locale/programs/locale.c (show_info) [case byte]: Check for
37833         '\377' instead of '\177'.
37834         * locale/C-monetary.c (not_available): Always use "\377".
37835         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
37836         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
37837         detect unavailable sign_posn locale elements.
37838         * locale/localeconv.c (__localeconv): For grouping and
37839         mon_grouping handle "\177" and "\377" like no grouping.
37840         (INT_ELEM): New macro.  Use it to set all numeric members.
37841         * locale/programs/ld-monetary.c (monetary_read)
37842         <tok_mon_grouping>: Normalize single -1 to the empty string.
37843         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
37844         Likewise.
37846 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
37848         [BZ #16055]
37849         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
37850         when we match (nil).
37851         * stdio-common/tst-sscanf.c (struct test): Add testcase.
37853 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
37855         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
37856         (NO_TEST_INLINE): Update value.
37857         (ERRNO_UNCHANGED): Likewise.
37858         (ERRNO_EDOM): Likewise.
37859         (ERRNO_ERANGE): Likewise.
37860         (IGNORE_RESULT): Likewise.
37861         (check_float_internal): Check signs of NaN results if
37862         TEST_NAN_SIGN used.
37863         (check_complex): Pass TEST_NAN_SIGN flag through to second
37864         check_float_internal call.
37865         (copysign_test_data): Add tests with quiet NaNs as second
37866         argument.  Use TEST_NAN_SIGN.
37867         (fabs_test_data): Add test of negative quiet NaN argument.  Use
37868         TEST_NAN_SIGN.
37869         (signbit_test_data): Add tests of quiet NaN argument.
37870         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
37872         * math/gen-libm-test.pl (show_exceptions): Take extra argument
37873         $ignore_result.
37874         (parse_args): Handle function results specified as IGNORE.
37875         * math/libm-test.inc (IGNORE_RESULT): New macro.
37876         (check_float_internal): Do not check numerical result if flag
37877         IGNORE_RESULT set.
37878         (check_complex): Pass through IGNORE_RESULT to second
37879         check_float_internal call.
37880         (check_int): Do not check numerical result if flag IGNORE_RESULT
37881         set.
37882         (check_long): Likewise.
37883         (check_bool): Likewise.
37884         (check_longlong): Likewise.
37885         (lrint_test_data): Add tests of infinite and NaN arguments.
37886         (lrint_tonearest_test_data): Likewise.
37887         (lrint_towardzero_test_data): Likewise.
37888         (lrint_downward_test_data): Likewise.
37889         (lrint_upward_test_data): Likewise.
37890         (llrint_test_data): Likewise.
37891         (llrint_tonearest_test_data): Likewise.
37892         (llrint_towardzero_test_data): Likewise.
37893         (llrint_downward_test_data): Likewise.
37894         (llrint_upward_test_data): Likewise.
37895         (lround_test_data): Likewise.
37896         (llround_test_data): Likewise.
37898         * math/libm-test.inc (NO_TEST_INLINE): New macro.
37899         (ERRNO_UNCHANGED): Update value.
37900         (ERRNO_EDOM): Likewise.
37901         (ERRNO_ERANGE): Likewise.
37902         (NO_TEST_INLINE_FLOAT): New macro.
37903         (NO_TEST_INLINE_DOUBLE): Likewise.
37904         (enable_test): New function.
37905         (RUN_TEST_f_f): Check enable_test before running test.
37906         (RUN_TEST_2_f): Likewise.
37907         (RUN_TEST_fff_f): Likewise.
37908         (RUN_TEST_c_f): Likewise.
37909         (RUN_TEST_f_f1): Likewise.
37910         (RUN_TEST_fF_f1): Likewise.
37911         (RUN_TEST_fI_f1): Likewise.
37912         (RUN_TEST_ffI_f1): Likewise.
37913         (RUN_TEST_c_c): Likewise.
37914         (RUN_TEST_cc_c): Likewise.
37915         (RUN_TEST_f_i): Likewise.
37916         (RUN_TEST_f_i_tg): Likewise.
37917         (RUN_TEST_ff_i_tg): Likewise.
37918         (RUN_TEST_f_b): Likewise.
37919         (RUN_TEST_f_b_tg): Likewise.
37920         (RUN_TEST_f_l): Likewise.
37921         (RUN_TEST_f_L): Likewise.
37922         (RUN_TEST_fFF_11): Likewise.
37923         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
37924         conditionals.
37925         (cosh_test_data): Likewise.
37926         (exp_test_data): Likewise.
37927         (expm1_test_data): Likewise.
37928         (hypot_test_data): Likewise.
37929         (pow_test_data): Likewise.
37930         (sinh_test_data): Likewise.
37931         (tanh_test_data): Likewise.
37932         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
37933         flags argument.
37935         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
37936         tests with quiet NaN input and output.
37937         (acosh_test_data): Likewise.
37938         (asin_test_data): Likewise.
37939         (asinh_test_data): Likewise.
37940         (atan_test_data): Likewise.
37941         (atanh_test_data): Likewise.
37942         (atan2_test_data): Likewise.
37943         (cbrt_test_data): Likewise.
37944         (cos_test_data): Likewise.
37945         (cosh_test_data): Likewise.
37946         (erf_test_data): Likewise.
37947         (erfc_test_data): Likewise.
37948         (exp_test_data): Likewise.
37949         (exp10_test_data): Likewise.
37950         (exp2_test_data): Likewise.
37951         (expm1_test_data): Likewise.
37952         (hypot_test_data): Likewise.
37953         (j0_test_data): Likewise.
37954         (j1_test_data): Likewise.
37955         (jn_test_data): Likewise.
37956         (lgamma_test_data): Likewise.
37957         (log_test_data): Likewise.
37958         (log10_test_data): Likewise.
37959         (log1p_test_data): Likewise.
37960         (log2_test_data): Likewise.
37961         (pow_test_data): Likewise.
37962         (scalb_test_data): Likewise.
37963         (sin_test_data): Likewise.
37964         (sincos_test_data): Likewise.
37965         (sinh_test_data): Likewise.
37966         (tan_test_data): Likewise.
37967         (tanh_test_data): Likewise.
37968         (tgamma_test_data): Likewise.
37969         (y0_test_data): Likewise.
37970         (y1_test_data): Likewise.
37971         (yn_test_data): Likewise.
37973         [BZ #16167]
37974         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
37975         argument being NaN and avoid computations with second argument in
37976         that case.
37977         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37978         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
37979         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37981 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
37983         * locale/iso-639.def: Add Chitwani Tharu (the).
37985 2013-11-14  Andreas Schwab  <schwab@suse.de>
37987         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
37988         word instead of empty string.
37990 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37993         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
37994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37995         (__fe_nomask_env): Likewise.
37997 2013-11-13  Steve Ellcey  <sellcey@mips.com>
37999         * benchtests/bench-timing.h: Include time.h.
38001 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
38003         [BZ #15997]
38004         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
38005         to 3.4.0 for x32.
38006         * sysdeps/unix/sysv/linux/configure: Regenerated.
38008 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
38010         [BZ #16151]
38011         * stdlib/strtod_l.c (round_and_return): Do not consider
38012         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
38013         exponent one less than half the least subnormal exponent.
38014         * stdlib/test-strtod-round-data: Add more tests.
38015         * stdlib/tst-strtod-round.c (tests): Regenerated.
38017 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38019         [BZ #14143]
38020         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
38021         (__fe_mask_env): Likewise.
38022         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
38023         libm_hidden_proto and add function prototype.
38024         (__fe_mask_env): Add function prototype.
38025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38026         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
38027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38028         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
38029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38030         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
38032 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38034         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
38035         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
38037 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38039         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
38040         of htab_find_slot().
38042 2013-11-11  David S. Miller  <davem@davemloft.net>
38044         [BZ #16150]
38045         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
38046         symbol in the non-vis3 case in static builds.
38047         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
38048         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
38049         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
38050         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
38052 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
38054         [BZ #387]
38055         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
38056         it is empty.
38058 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38060         * benchtests/Makefile: Add bench-strtod.
38061         * benchtests/bench-strtod.c: New file: strtod benchtest
38063 2013-11-11  Andreas Schwab  <schwab@suse.de>
38065         [BZ #16153]
38066         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
38067         terminating NUL in key length.
38069 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38071         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
38072         Add artificial ODP entry for vDSO symbol for PPC64.
38073         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
38074         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38076 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
38078         [BZ #15374]
38079         * nss/getent.c (services_keys): Recognize services starting with digit.
38081 2013-11-06  David S. Miller  <davem@davemloft.net>
38083         [BZ #15985]
38084         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
38085         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
38087 2013-11-06  Will Newton  <will.newton@linaro.org>
38089         * manual/memory.texi (Malloc Examples): Remove register
38090         keyword from examples.
38092 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
38094         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
38096 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
38098         [BZ #6981]
38099         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
38100         depending on [__GCC_IEC_559 > 0].
38101         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
38102         depending on [__GCC_IEC_559_COMPLEX > 0].
38104 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
38106         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
38107         to iso-639.def.
38109 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
38111         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
38113 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
38115         [BZ #16112]
38116         * malloc/malloc (malloc_info): Do not handle first bin as
38117         special case.
38119 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
38121         * locale/iso-639.def: Add Central Nahuatl (nhn).
38123 2013-11-01  Bruno Haible  <bruno@clisp.org>
38125         [BZ #7003]
38126         * manual/math.texi (BSD Random): Specify range upper bound as
38127         in POSIX.
38129 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
38131         * locale/iso-639.def: Add Meadow Mari (mhr).
38133 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
38135         [BZ #14752], [BZ #15763]
38136         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
38137         Validate name.
38138         * rt/tst_shm.c: Add test for escaping directory.
38140 2013-10-31  Andreas Schwab  <schwab@suse.de>
38142         [BZ #15917]
38143         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
38144         followed by 'x' as part of digit sequence.
38145         * stdio-common/tst-sscanf.c (double_tests2): New tests.
38147 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
38149         [BZ #16037]
38150         * configure.ac: allow GNU Make 4.0 and greater.
38151         * configure: Regenerated.
38153 2013-10-30  Will Newton  <will.newton@linaro.org>
38155         [BZ #16038]
38156         * malloc/hooks.c (memalign_check): Limit alignment to the
38157         maximum representable power of two.
38158         * malloc/malloc.c (__libc_memalign): Likewise.
38159         * malloc/tst-memalign.c (do_test): Add test for very
38160         large alignment values.
38161         * malloc/tst-posix_memalign.c (do_test): Likewise.
38163 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
38165         [BZ #11087]
38166         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
38167         (munmap_chunk): Likewise.
38168         (mremap_chunk): Likewise.
38170 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
38172         [BZ #15799]
38173         * stdlib/div.c (div): Remove obsolete code.
38174         * stdlib/ldiv.c (ldiv): Likewise.
38175         * stdlib/lldiv.c (lldiv): Likewise.
38177 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38179         [BZ #16071]
38180         * nss/nss_files/files-XXX.c (get_contents_ret): New
38181         enumerator.
38182         (get_contents): New function.
38183         (internal_getent): Use it.  Expand size of LINEBUFLEN.
38185 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
38187         * configure.in: Moved to ...
38188         * configure.ac: ... here. Change reference to configure.in
38189         to configure.ac.
38190         * sysdeps/arm/preconfigure.ac: ... here.
38191         configure.in to configure.ac.
38192         * sysdeps/gnu/configure.in: Moved to ...
38193         * sysdeps/gnu/configure.ac: ... here.
38194         * sysdeps/i386/configure.in: Moved to ...
38195         * sysdeps/i386/configure.ac: ... here.
38196         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
38197         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
38198         * sysdeps/mach/configure.in: Moved to ...
38199         * sysdeps/mach/configure.ac: ... here.
38200         * sysdeps/mach/hurd/configure.in: Moved to ...
38201         * sysdeps/mach/hurd/configure.ac: ... here.
38202         * sysdeps/powerpc/configure.in: Moved to ...
38203         * sysdeps/powerpc/configure.ac: ... here.
38204         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
38205         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
38206         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
38207         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
38208         * sysdeps/s390/s390-32/configure.in: Moved to ...
38209         * sysdeps/s390/s390-32/configure.ac: ... here.
38210         * sysdeps/s390/s390-64/configure.in: Moved to ...
38211         * sysdeps/s390/s390-64/configure.ac: ... here.
38212         * sysdeps/sh/configure.in: Moved to ...
38213         * sysdeps/sh/configure.ac: ... here.
38214         * sysdeps/sparc/configure.in: Moved to ...
38215         * sysdeps/sparc/configure.ac: ... here.
38216         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
38217         * sysdeps/unix/sysv/linux/configure.ac: ... here.
38218         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
38219         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
38220         * sysdeps/x86_64/configure.in: Moved to ...
38221         * sysdeps/x86_64/configure.ac: ... here.
38222         * sysdeps/x86_64/preconfigure.in: Moved to ...
38223         * sysdeps/x86_64/preconfigure.ac: ... here.
38224         * aclocal.m4: Change reference to configure.in to configure.ac.
38225         * config.h.in: Likewise.
38226         * manual/install.texi: Likewise.
38227         * manual/maint.texi: Likewise.
38228         * Makefile: Likewise.
38229         * malloc/Makefile: Likewise.
38230         * nscd/Makefile: Likewise.
38231         * Makeconfig: Change reference to configure.in and
38232         preconfigure.in to configure.ac and preconfigure.ac
38233         respectively.
38234         * INSTALL: Regenerated.
38235         * configure: Likewise.
38236         * sysdeps/gnu/configure: Likewise.
38237         * sysdeps/i386/configure: Likewise.
38238         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
38239         * sysdeps/mach/configure: Likewise.
38240         * sysdeps/mach/hurd/configure: Likewise.
38241         * sysdeps/powerpc/configure: Likewise.
38242         * sysdeps/powerpc/powerpc32/configure: Likewise.
38243         * sysdeps/powerpc/powerpc64/configure: Likewise.
38244         * sysdeps/s390/s390-32/configure: Likewise.
38245         * sysdeps/s390/s390-64/configure: Likewise.
38246         * sysdeps/sh/configure: Likewise.
38247         * sysdeps/sparc/configure: Likewise.
38248         * sysdeps/unix/sysv/linux/configure: Likewise.
38249         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
38250         * sysdeps/x86_64/configure: Likewise.
38251         * sysdeps/x86_64/preconfigure: Likewise.
38253 2013-10-29  Andreas Schwab  <schwab@suse.de>
38255         * stdio-common/Makefile (tst-swscanf-ENV): Define.
38257 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38259         * benchtests/pow-inputs: Add new inputs.
38261         * benchtests/exp-inputs: Add new inputs.
38263         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
38264         conditional check for return value.
38265         (__cos32): Likewise.
38267 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38269         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
38270         to provide a boost for large inputs with word alignment.
38271         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
38272         implementation based on optimized PPC64 strcpy.
38273         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
38274         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
38275         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
38276         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
38278 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38280         [BZ #2801]
38281         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
38283 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38285         [BZ #14876]
38286         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
38287         * time/tst-strptime.c (day_tests): Add testcase.
38289 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38291         [BZ #14029]
38292         * manual/pattern.texi: Acknowledge that fnmatch can fail.
38294 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
38296         [BZ #16074]
38297         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
38298         MAP_FAILED on error.
38300 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38302         [BZ #16072]
38303         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
38304         heap for large requests.
38306 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
38308         [BZ #9954]
38309         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
38310         result if the result has no associated interface.
38311         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
38312         interface for all 127.X.Y.Z addresses.
38314 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
38316         * locale/iso-639.def: Add Ligurian (lij)
38318 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
38320         [BZ #15825]
38321         * sunrpc/rpc_main.c: Document rpcgen -5.
38323 2013-10-19  Michael Stahl  <mstahl@redhat.com>
38325         * elf/rtld.c (do_preload): Print the reason why preloading failed.
38327 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38329         [BZ #10278]
38330         * posix/glob.c: Match only directories when trailing slash is present.
38331         * posix/tst-gnuglob.c (my_opendir): Do not open files.
38332         (main): Add testcase.
38334 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38336         [BZ #15670]
38337         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
38339 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
38341         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
38342         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
38343         AUTH_DES and cindex for FIPS 140-2.
38344         (DES Encryption): Add cindex FIPS 46-3.
38346         * locale/locarchive.h (struct locarhandle): Add fname.
38347         * locale/programs/localedef.c (main): Pass ARGV[remaining]
38348         if an optional argument was specified to --list-archive,
38349         otherwise NULL.
38350         * locale/programs/locarchive.c (show_archive_content): Take new
38351         argument fname and pass it via ah.fname to open_archive.
38352         * locale/programs/localedef.h: Update decl.
38353         (open_archive): If AH->fname is non-null, open that file
38354         rather than the default file name, and don't ignore ENOENT.
38355         (create_archive): Set AH.fname to NULL.
38356         (delete_locales_from_archive): Likewise.
38357         (add_locales_to_archive): Likewise.
38358         * locale/programs/locfile.c (write_all_categories): Likewise.
38360 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
38361             Aldy Hernandez  <aldyh@redhat.com>
38363         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
38364         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
38365         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
38366         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
38367         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
38368         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
38369         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
38370         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
38371         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
38372         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
38373         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
38374         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
38375         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
38376         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
38377         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
38378         Likewise.
38379         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
38380         Likewise.
38381         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
38382         Likewise.
38383         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
38384         Likewise.
38385         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
38386         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
38387         Likewise.
38388         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
38389         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
38390         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
38391         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
38392         Likewise.
38393         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
38394         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
38395         * sysdeps/powerpc/preconfigure: Likewise.
38396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
38397         Likewise.
38398         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
38399         Replace contents of file by #include of <fenv_libc.h>.
38400         * sysdeps/powerpc/soft-fp/sfp-machine.h
38401         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
38402         and <sys/prctl.h>.
38403         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
38404         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
38405         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
38406         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
38407         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
38408         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
38409         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
38410         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
38411         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
38412         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
38413         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
38414         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
38415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38416         Allow copysignl PLT reference to be missing.
38418 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
38419             Joseph Myers  <joseph@codesourcery.com
38421         [BZ #15948]
38422         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
38423         single character.
38424         (add_to_tablewc): Assert sequence of wide characters is nonempty.
38426 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38428         * elf/tst-tls-dlinfo.c: Don't include tls.h.
38429         * elf/tst-tls1.c: Likewise.
38430         * elf/tst-tls10.h: Likewise.
38431         * elf/tst-tls14.c: Likewise.
38432         * elf/tst-tls2.c: Likewise.
38433         * elf/tst-tls3.c: Likewise.
38434         * elf/tst-tls4.c: Likewise.
38435         * elf/tst-tls5.c: Likewise.
38436         * elf/tst-tls6.c: Likewise.
38437         * elf/tst-tls7.c: Likewise.
38438         * elf/tst-tls8.c: Likewise.
38439         * elf/tst-tls9.c: Likewise.
38440         * elf/tst-tlsmod1.c: Likewise.
38441         * elf/tst-tlsmod13.c: Likewise.
38442         * elf/tst-tlsmod13a.c: Likewise.
38443         * elf/tst-tlsmod14a.c: Likewise.
38444         * elf/tst-tlsmod16a.c: Likewise.
38445         * elf/tst-tlsmod16b.c: Likewise.
38446         * elf/tst-tlsmod2.c: Likewise.
38447         * elf/tst-tlsmod3.c: Likewise.
38448         * elf/tst-tlsmod4.c: Likewise.
38449         * elf/tst-tlsmod5.c: Likewise.
38450         * elf/tst-tlsmod6.c: Likewise.
38452 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
38454         [BZ #12486]
38455         * malloc/malloc.c: remove checks for statistics.
38457 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
38459         [BZ #15277]
38460         * inet/inet_net.c (inet_network): Detect additional invalid strings.
38461         * inet/tst-network.c: Add testcase.
38463 2013-10-17  Andreas Schwab  <schwab@suse.de>
38465         [BZ #15218]
38466         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
38467         to determine canonical name.
38469 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
38471         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
38472         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
38473         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38474         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38475         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38476         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38477         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38478         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38479         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38480         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38481         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38482         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38483         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38484         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38485         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38486         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38487         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38488         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38489         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38490         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38491         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38492         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38493         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38494         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
38495         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
38496         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38497         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38498         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
38499         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38500         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
38501         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38502         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38503         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38504         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38505         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38506         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38507         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38508         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38509         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38510         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38511         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38512         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38513         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38514         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38515         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38516         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38517         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38518         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38519         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38520         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38521         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38522         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38523         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38524         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38525         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38526         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38527         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38528         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38530 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
38532         [BZ #16041]
38533         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
38534         make result into a quiet NaN.
38536 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
38538         * soft-fp/adddf3.c: Fix horizontal whitespace.
38539         * soft-fp/addsf3.c: Likewise.
38540         * soft-fp/addtf3.c: Likewise.
38541         * soft-fp/divdf3.c: Likewise.
38542         * soft-fp/divsf3.c: Likewise.
38543         * soft-fp/divtf3.c: Likewise.
38544         * soft-fp/double.h: Likewise.
38545         * soft-fp/eqdf2.c: Likewise.
38546         * soft-fp/eqsf2.c: Likewise.
38547         * soft-fp/eqtf2.c: Likewise.
38548         * soft-fp/extenddftf2.c: Likewise.
38549         * soft-fp/extended.h: Likewise.
38550         * soft-fp/extendsfdf2.c: Likewise.
38551         * soft-fp/extendsftf2.c: Likewise.
38552         * soft-fp/extendxftf2.c: Likewise.
38553         * soft-fp/fixdfdi.c: Likewise.
38554         * soft-fp/fixdfsi.c: Likewise.
38555         * soft-fp/fixdfti.c: Likewise.
38556         * soft-fp/fixsfdi.c: Likewise.
38557         * soft-fp/fixsfsi.c: Likewise.
38558         * soft-fp/fixsfti.c: Likewise.
38559         * soft-fp/fixtfdi.c: Likewise.
38560         * soft-fp/fixtfsi.c: Likewise.
38561         * soft-fp/fixtfti.c: Likewise.
38562         * soft-fp/fixunsdfdi.c: Likewise.
38563         * soft-fp/fixunsdfsi.c: Likewise.
38564         * soft-fp/fixunsdfti.c: Likewise.
38565         * soft-fp/fixunssfdi.c: Likewise.
38566         * soft-fp/fixunssfsi.c: Likewise.
38567         * soft-fp/fixunssfti.c: Likewise.
38568         * soft-fp/fixunstfdi.c: Likewise.
38569         * soft-fp/fixunstfsi.c: Likewise.
38570         * soft-fp/fixunstfti.c: Likewise.
38571         * soft-fp/floatdidf.c: Likewise.
38572         * soft-fp/floatdisf.c: Likewise.
38573         * soft-fp/floatditf.c: Likewise.
38574         * soft-fp/floatsidf.c: Likewise.
38575         * soft-fp/floatsisf.c: Likewise.
38576         * soft-fp/floatsitf.c: Likewise.
38577         * soft-fp/floattidf.c: Likewise.
38578         * soft-fp/floattisf.c: Likewise.
38579         * soft-fp/floattitf.c: Likewise.
38580         * soft-fp/floatundidf.c: Likewise.
38581         * soft-fp/floatundisf.c: Likewise.
38582         * soft-fp/floatunditf.c: Likewise.
38583         * soft-fp/floatunsidf.c: Likewise.
38584         * soft-fp/floatunsisf.c: Likewise.
38585         * soft-fp/floatunsitf.c: Likewise.
38586         * soft-fp/floatuntidf.c: Likewise.
38587         * soft-fp/floatuntisf.c: Likewise.
38588         * soft-fp/floatuntitf.c: Likewise.
38589         * soft-fp/fmadf4.c: Likewise.
38590         * soft-fp/fmasf4.c: Likewise.
38591         * soft-fp/fmatf4.c: Likewise.
38592         * soft-fp/gedf2.c: Likewise.
38593         * soft-fp/gesf2.c: Likewise.
38594         * soft-fp/getf2.c: Likewise.
38595         * soft-fp/ledf2.c: Likewise.
38596         * soft-fp/lesf2.c: Likewise.
38597         * soft-fp/letf2.c: Likewise.
38598         * soft-fp/muldf3.c: Likewise.
38599         * soft-fp/mulsf3.c: Likewise.
38600         * soft-fp/multf3.c: Likewise.
38601         * soft-fp/negdf2.c: Likewise.
38602         * soft-fp/negsf2.c: Likewise.
38603         * soft-fp/negtf2.c: Likewise.
38604         * soft-fp/op-1.h: Likewise.
38605         * soft-fp/op-2.h: Likewise.
38606         * soft-fp/op-4.h: Likewise.
38607         * soft-fp/op-8.h: Likewise.
38608         * soft-fp/op-common.h: Likewise.
38609         * soft-fp/quad.h: Likewise.
38610         * soft-fp/single.h: Likewise.
38611         * soft-fp/soft-fp.h: Likewise.
38612         * soft-fp/sqrtdf2.c: Likewise.
38613         * soft-fp/sqrtsf2.c: Likewise.
38614         * soft-fp/sqrttf2.c: Likewise.
38615         * soft-fp/subdf3.c: Likewise.
38616         * soft-fp/subsf3.c: Likewise.
38617         * soft-fp/subtf3.c: Likewise.
38618         * soft-fp/truncdfsf2.c: Likewise.
38619         * soft-fp/trunctfdf2.c: Likewise.
38620         * soft-fp/trunctfsf2.c: Likewise.
38621         * soft-fp/trunctfxf2.c: Likewise.
38622         * soft-fp/unorddf2.c: Likewise.
38623         * soft-fp/unordsf2.c: Likewise.
38624         * soft-fp/unordtf2.c: Likewise.
38626 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
38628         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
38629         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
38631 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
38633         * elf/dl-libc.c: Clear initfini list after freeing.
38635 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
38637         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
38638         * soft-fp/addsf3.c: Likewise.
38639         * soft-fp/addtf3.c: Likewise.
38640         * soft-fp/divdf3.c: Likewise.
38641         * soft-fp/divsf3.c: Likewise.
38642         * soft-fp/divtf3.c: Likewise.
38643         * soft-fp/double.h: Likewise.
38644         * soft-fp/eqdf2.c: Likewise.
38645         * soft-fp/eqsf2.c: Likewise.
38646         * soft-fp/eqtf2.c: Likewise.
38647         * soft-fp/extenddftf2.c: Likewise.
38648         * soft-fp/extended.h: Likewise.
38649         * soft-fp/extendsfdf2.c: Likewise.
38650         * soft-fp/extendsftf2.c: Likewise.
38651         * soft-fp/extendxftf2.c: Likewise.
38652         * soft-fp/fixdfdi.c: Likewise.
38653         * soft-fp/fixdfsi.c: Likewise.
38654         * soft-fp/fixdfti.c: Likewise.
38655         * soft-fp/fixsfdi.c: Likewise.
38656         * soft-fp/fixsfsi.c: Likewise.
38657         * soft-fp/fixsfti.c: Likewise.
38658         * soft-fp/fixtfdi.c: Likewise.
38659         * soft-fp/fixtfsi.c: Likewise.
38660         * soft-fp/fixtfti.c: Likewise.
38661         * soft-fp/fixunsdfdi.c: Likewise.
38662         * soft-fp/fixunsdfsi.c: Likewise.
38663         * soft-fp/fixunsdfti.c: Likewise.
38664         * soft-fp/fixunssfdi.c: Likewise.
38665         * soft-fp/fixunssfsi.c: Likewise.
38666         * soft-fp/fixunssfti.c: Likewise.
38667         * soft-fp/fixunstfdi.c: Likewise.
38668         * soft-fp/fixunstfsi.c: Likewise.
38669         * soft-fp/fixunstfti.c: Likewise.
38670         * soft-fp/floatdidf.c: Likewise.
38671         * soft-fp/floatdisf.c: Likewise.
38672         * soft-fp/floatditf.c: Likewise.
38673         * soft-fp/floatsidf.c: Likewise.
38674         * soft-fp/floatsisf.c: Likewise.
38675         * soft-fp/floatsitf.c: Likewise.
38676         * soft-fp/floattidf.c: Likewise.
38677         * soft-fp/floattisf.c: Likewise.
38678         * soft-fp/floattitf.c: Likewise.
38679         * soft-fp/floatundidf.c: Likewise.
38680         * soft-fp/floatundisf.c: Likewise.
38681         * soft-fp/floatunsidf.c: Likewise.
38682         * soft-fp/floatunsisf.c: Likewise.
38683         * soft-fp/floatuntidf.c: Likewise.
38684         * soft-fp/floatuntisf.c: Likewise.
38685         * soft-fp/floatuntitf.c: Likewise.
38686         * soft-fp/fmadf4.c: Likewise.
38687         * soft-fp/fmasf4.c: Likewise.
38688         * soft-fp/fmatf4.c: Likewise.
38689         * soft-fp/gedf2.c: Likewise.
38690         * soft-fp/gesf2.c: Likewise.
38691         * soft-fp/getf2.c: Likewise.
38692         * soft-fp/ledf2.c: Likewise.
38693         * soft-fp/lesf2.c: Likewise.
38694         * soft-fp/letf2.c: Likewise.
38695         * soft-fp/muldf3.c: Likewise.
38696         * soft-fp/mulsf3.c: Likewise.
38697         * soft-fp/multf3.c: Likewise.
38698         * soft-fp/negdf2.c: Likewise.
38699         * soft-fp/negsf2.c: Likewise.
38700         * soft-fp/negtf2.c: Likewise.
38701         * soft-fp/op-1.h: Likewise.
38702         * soft-fp/op-2.h: Likewise.
38703         * soft-fp/op-4.h: Likewise.
38704         * soft-fp/op-8.h: Likewise.
38705         * soft-fp/op-common.h: Likewise.
38706         * soft-fp/quad.h: Likewise.
38707         * soft-fp/single.h: Likewise.
38708         * soft-fp/soft-fp.h: Likewise.
38709         * soft-fp/sqrtdf2.c: Likewise.
38710         * soft-fp/sqrtsf2.c: Likewise.
38711         * soft-fp/sqrttf2.c: Likewise.
38712         * soft-fp/subdf3.c: Likewise.
38713         * soft-fp/subsf3.c: Likewise.
38714         * soft-fp/subtf3.c: Likewise.
38715         * soft-fp/truncdfsf2.c: Likewise.
38716         * soft-fp/trunctfdf2.c: Likewise.
38717         * soft-fp/trunctfsf2.c: Likewise.
38718         * soft-fp/trunctfxf2.c: Likewise.
38719         * soft-fp/unorddf2.c: Likewise.
38720         * soft-fp/unordsf2.c: Likewise.
38721         * soft-fp/unordtf2.c: Likewise.
38723 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
38725         [BZ #15672]
38726         * misc/error.c (error_tail): Fix possible buffer overflow.
38728 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
38730         [BZ #13028]
38731         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
38732         address.
38734 2013-10-14  P. J. McDermott  <pj@pehjota.net>
38736         [BZ #832]
38737         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
38738         testing pipefail option.
38740 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
38742         * soft-fp/double.h: Indent preprocessor directives inside #if.
38743         * soft-fp/extended.h: Likewise.
38744         * soft-fp/op-2.h: Likewise.
38745         * soft-fp/op-4.h: Likewise.
38746         * soft-fp/op-common.h: Likewise.
38747         * soft-fp/quad.h: Likewise.
38748         * soft-fp/single.h: Likewise.
38749         * soft-fp/soft-fp.h: Likewise.
38751 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
38753         * iconv/iconv_prog.c: Fix typos.
38754         * stdio-common/psiginfo-data.h: Likewise.
38756 2013-10-12   Reuben Thomas <rrt@sc3d.org>
38758         [BZ #15764]
38759         * locale/setlocale.c: Fix typo.
38761 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
38763         [BZ #16036]
38764         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
38765         signaling NaN arguments.
38766         * soft-fp/unordsf2.c (__unordsf2): Likewise.
38767         * soft-fp/unordtf2.c (__unordtf2): Likewise.
38769         [BZ #14910]
38770         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
38771         unordered operands.
38772         * soft-fp/gesf2.c (__gesf2): Likewise.
38773         * soft-fp/getf2.c (__getf2): Likewise.
38774         * soft-fp/ledf2.c (__ledf2): Likewise.
38775         * soft-fp/lesf2.c (__lesf2): Likewise.
38776         * soft-fp/letf2.c (__letf2): Likewise.
38778         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
38779         * soft-fp/eqsf2.c (__eqsf2): Likewise.
38780         * soft-fp/eqtf2.c (__eqtf2): Likewise.
38781         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
38782         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
38783         * soft-fp/fixdfti.c (__fixdfti): Likewise.
38784         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
38785         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
38786         * soft-fp/fixsfti.c (__fixsfti): Likewise.
38787         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
38788         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
38789         * soft-fp/fixtfti.c (__fixtfti): Likewise.
38790         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
38791         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
38792         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
38793         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
38794         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
38795         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
38796         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
38797         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
38798         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
38799         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
38800         * soft-fp/floatdisf.c (__floatdisf): Likewise.
38801         * soft-fp/floatsisf.c (__floatsisf): Likewise.
38802         * soft-fp/floattidf.c (__floattidf): Likewise.
38803         * soft-fp/floattisf.c (__floattisf): Likewise.
38804         * soft-fp/floattitf.c (__floattitf): Likewise.
38805         * soft-fp/floatundidf.c (__floatundidf): Likewise.
38806         * soft-fp/floatundisf.c (__floatundisf): Likewise.
38807         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
38808         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
38809         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
38810         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
38811         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
38812         * soft-fp/gesf2.c (__gesf2): Likewise.
38813         * soft-fp/getf2.c (__getf2): Likewise.
38814         * soft-fp/ledf2.c (__ledf2): Likewise.
38815         * soft-fp/lesf2.c (__lesf2): Likewise.
38816         * soft-fp/letf2.c (__letf2): Likewise.
38818         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
38819         Undefine and redefine.
38820         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
38821         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
38822         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
38823         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
38824         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38825         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
38826         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38827         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
38828         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38829         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
38830         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38831         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
38832         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38833         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
38834         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38836         [BZ #16032]
38837         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
38838         without decrementing exponent if mantissa >= that for the
38839         denominator, not >.
38840         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
38841         denominator, not >.  Decrement exponent in < case instead of
38842         incrementing in >= case.
38843         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
38844         without decrementing exponent if mantissa >= that for the
38845         denominator, not >.
38847         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
38848         computing saturated result for unsigned overflow.
38850 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38851             Jeff Law  <law@redhat.com>
38853         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
38854         (atan2Mp): Add systemtap probe marker.
38855         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
38856         (__ieee754_log): Add systemtap probe marker.
38857         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
38858         (atanMp): Add systemtap probe marker.
38859         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
38860         (tanMp): Add systemtap probe marker.
38861         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
38862         (__slowexp): Add systemtap probe marker.
38863         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
38864         (__slowpow): Add systemtap probe marker.
38865         * manual/probes.texi: Document probes.
38867 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
38869         [BZ #15362]
38870         * libio/fileops.c (_IO_new_file_write): Return count of bytes
38871         written.
38872         (_IO_new_file_xsputn): Don't return EOF if nothing has been
38873         written.
38874         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
38875         written to buffer but not flushed.
38876         * libio/iofwrite_u.c:  Likewise.
38877         * libio/iopadn.c:  Return bytes returned even if EOF was
38878         encountered.
38879         * libio/iowpadn.c:  Likewise.
38880         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
38881         if _IO_padn does not write the whole buffer.
38882         [!COMPILE_WPRINTF] (PAD): Likewise.
38884 2013-10-10  David S. Miller  <davem@davemloft.net>
38886         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
38887         directory block.
38889 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
38891         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
38892         instead of FSF address.
38893         * soft-fp/fixdfti.c: Likewise.
38894         * soft-fp/fixsfti.c: Likewise.
38895         * soft-fp/fixtfti.c: Likewise.
38896         * soft-fp/fixunsdfti.c: Likewise.
38897         * soft-fp/fixunssfti.c: Likewise.
38898         * soft-fp/fixunstfti.c: Likewise.
38899         * soft-fp/floattidf.c: Likewise.
38900         * soft-fp/floattisf.c: Likewise.
38901         * soft-fp/floattitf.c: Likewise.
38902         * soft-fp/floatuntidf.c: Likewise.
38903         * soft-fp/floatuntisf.c: Likewise.
38904         * soft-fp/floatuntitf.c: Likewise.
38905         * soft-fp/trunctfxf2.c: Likewise.
38907         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
38908         * soft-fp/fixdfti.c: Likewise.
38909         * soft-fp/fixsfti.c: Likewise.
38910         * soft-fp/fixtfti.c: Likewise.
38911         * soft-fp/fixunsdfti.c: Likewise.
38912         * soft-fp/fixunssfti.c: Likewise.
38913         * soft-fp/fixunstfti.c: Likewise.
38914         * soft-fp/floattidf.c: Likewise.
38915         * soft-fp/floattisf.c: Likewise.
38916         * soft-fp/floattitf.c: Likewise.
38917         * soft-fp/floatuntidf.c: Likewise.
38918         * soft-fp/floatuntisf.c: Likewise.
38919         * soft-fp/floatuntitf.c: Likewise.
38920         * soft-fp/trunctfxf2.c: Likewise.
38922 2013-10-10  David S. Miller  <davem@davemloft.net>
38924         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38926 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
38928         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38929         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
38930         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
38931         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
38932         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
38933         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
38934         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
38936         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
38937         for NaNs before doing comparisons on argument.
38938         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
38939         Likewise.
38941 2013-10-10  Will Newton  <will.newton@linaro.org>
38943         * malloc/hooks.c (memalign_check): Ensure the value of bytes
38944         passed to _int_memalign does not overflow.
38946 2013-10-10  Torvald Riegel  <triegel@redhat.com>
38948         * scripts/bench.pl: Add include-sources directive.
38949         * benchtests/README: Update documentation.
38951 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
38953         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
38954         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
38955         instead of FP_INIT_ROUNDMODE.
38956         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
38957         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
38959         [BZ #16034]
38960         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
38961         copy class of input value.
38962         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
38963         not handle exceptions.
38964         * soft-fp/negsf2.c (__negsf2): Likewise.
38965         * soft-fp/negtf2.c (__negtf2): Likewise.
38966         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
38968 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
38970         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
38971         semicolon.  From Linux kernel.
38973 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
38975         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
38977 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
38979         [BZ #156]
38980         * manual/socket.texi: Added statement about buffer
38981         for gethostbyname2_r.
38983 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
38985         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
38986         Use .p2align directive instead, throughout.
38987         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38988         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
38989         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
38990         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38991         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38992         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
38993         * sysdeps/x86_64/strchr.S: Likewise.
38994         * sysdeps/x86_64/strrchr.S: Likewise.
38996 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38998         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
39000         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
39002         * sysdeps/generic/math_private.h (__mpsin1): Remove
39003         declaration.
39004         (__mpcos1): Likewise.
39005         (__mpsin): New argument __range_reduce.
39006         (__mpcos): Likewise.
39007         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39008         (slow): Use __mpsin and __mpcos.
39009         (slow1): Likewise.
39010         (slow2): Likewise.
39011         (sloww): Likewise.
39012         (sloww1): Likewise.
39013         (sloww2): Likewise.
39014         (bsloww): Likewise.
39015         (bsloww1): Likewise.
39016         (bsloww2): Likewise.
39017         (cslow2): Likewise.
39018         (csloww): Likewise.
39019         (csloww1): Likewise.
39020         (csloww2): Likewise.
39021         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
39022         range_reduce.  Merge in __mpsin1.
39023         (__mpcos): Likewise.
39024         (__mpsin1): Remove.
39025         (__mpcos1): Likewise.
39027 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
39029         * locale/loadlocale.c (_nl_intern_locale_data): Use
39030         LOCFILE_ALIGNED_P.
39031         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
39032         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
39033         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
39034         obstack data is appropriately aligned.
39035         (obstack_int32_grow_fast): Likewise.
39036         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
39037         * locale/programs/locfile.c (add_locale_uint32): Likewise.
39038         (add_locale_uint32_array): Likewise.
39040 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
39042         * benchtests/Makefile: Remove ARGLIST and RET variables.
39043         ($(objpfx)bench-%.c): Pass only function name to the script.
39044         * benchtests/README: Update documentation.
39045         * benchtests/acos-inputs: Add new directives.
39046         * benchtests/acosh-inputs: Likewise.
39047         * benchtests/asin-inputs: Likewise.
39048         * benchtests/asinh-inputs: Likewise.
39049         * benchtests/atan-inputs: Likewise.
39050         * benchtests/atanh-inputs: Likewise.
39051         * benchtests/cos-inputs: Likewise.
39052         * benchtests/cosh-inputs: Likewise.
39053         * benchtests/exp-inputs: Likewise.
39054         * benchtests/log-inputs: Likewise.
39055         * benchtests/pow-inputs: Likewise.
39056         * benchtests/rint-inputs: Likewise.
39057         * benchtests/sin-inputs: Likewise.
39058         * benchtests/sinh-inputs: Likewise.
39059         * benchtests/tan-inputs: Likewise.
39060         * benchtests/tanh-inputs: Likewise.
39061         * scripts/bench.pl: Add support for new directives.
39063 2013-10-07  Alan Modra  <amodra@gmail.com>
39065         * README: Fix careless merge.
39067 2013-10-05  Alan Modra  <amodra@gmail.com>
39069         * NEWS: Mention powerpc64le support and bugs fixed.
39070         * README: Both big-endian and little-endian powerpc64 supported.
39072 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39074         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
39075         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
39076         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
39077         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
39079 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
39081         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
39082         match prototype.
39084 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
39086         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
39087         Move -mhard-float appending from
39088         ports/sysdeps/powerpc/powerpc32/Makefile.
39089         [$(with-fp) = yes] (ASFLAGS): Likewise.
39090         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
39091         * sysdeps/powerpc/nofpu: Move directory from
39092         ports/sysdeps/powerpc/nofpu.
39093         * sysdeps/powerpc/soft-fp: Move directory from
39094         ports/sysdeps/powerpc/soft-fp.
39095         * sysdeps/powerpc/powerpc32/405: Move directory from
39096         ports/sysdeps/powerpc/powerpc32/405.
39097         * sysdeps/powerpc/powerpc32/440: Move directory from
39098         ports/sysdeps/powerpc/powerpc32/440.
39099         * sysdeps/powerpc/powerpc32/464: Move directory from
39100         ports/sysdeps/powerpc/powerpc32/464.
39101         * sysdeps/powerpc/powerpc32/476: Move directory from
39102         ports/sysdeps/powerpc/powerpc32/476.
39103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
39104         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
39105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
39106         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
39107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
39108         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
39109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
39110         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
39111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
39112         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
39113         * README: Update for powerpc-*-linux-gnu software floating point
39114         support in libc.
39116         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
39117         case to powerpc/powerpc32*.
39118         * sysdeps/unix/sysv/linux/configure: Regenerated.
39120         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
39121         (_FPU_MASK_OM): Define as 0x04.
39122         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
39123         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
39124         0x00c10080.
39125         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
39126         0x0000003c.
39127         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
39129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
39130         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39131         getcontext_e500.
39132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
39133         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39134         setcontext_e500.
39135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
39136         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
39137         and setcontext_e500.
39139 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
39141         * locale/iso-3166.def: Update iso-1366.def and related occurrences
39143 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39145         * manual/threads.texi (Default Thread Attributes): Fix typo.
39147 2013-10-04  Will Newton  <will.newton@linaro.org>
39149         * malloc/Makefile: Add tst-memalign.
39150         * malloc/tst-memalign.c: New file.
39152         * malloc/tst-posix_memalign.c: Add comments.
39153         (do_test): Add comments and call free on all potentially
39154         allocated pointers. Add space after cast.
39156         * malloc/tst-pvalloc.c: Add comments.
39157         (do_test): Add comments and call free on all potentially
39158         allocated pointers. Remove duplicate check for NULL pointer.
39159         Add space after cast.
39161         * malloc/tst-valloc.c: Add comments.
39162         (do_test): Add comments and call free on all potentially
39163         allocated pointers. Remove duplicate check for NULL pointer.
39164         Add space after cast.
39166 2013-10-04  Alan Modra  <amodra@gmail.com>
39168         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39169         Use stdint types in rather than __attribute__((mode())).
39170         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39172 2013-10-04  Alan Modra  <amodra@gmail.com>
39174         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39175         Correct handling of unaligned relocs for little-endian.
39176         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39178 2013-10-04  Alan Modra  <amodra@gmail.com>
39180         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
39181         * configure: Regenerate.
39182         * nptl/shlib-versions: Powerpc*le starts at 2.18.
39183         * shlib-versions: Likewise.
39185 2013-10-04  Alan Modra  <amodra@gmail.com>
39187         * string/tester.c (test_memrchr): Increment reported test cycle.
39189 2013-10-04  Alan Modra  <amodra@gmail.com>
39191         * string/test-memcpy.c (do_one_test): When reporting errors, print
39192         string address and don't overrun end of string.
39194 2013-10-04  Alan Modra  <amodra@gmail.com>
39196         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
39197         insrdi.  Make better use of reg selection to speed exit slightly.
39198         Schedule entry path a little better.  Remove useless "are we done"
39199         checks on entry to main loop.  Handle wrapping around zero address.
39200         Correct main loop count.  Handle single left-over word from main
39201         loop inline rather than by using loop_small.  Remove extra word
39202         case in loop_small caused by wrong loop count.  Add little-endian
39203         support.
39204         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39205         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
39206         cache hint.
39207         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39208         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
39209         support.  Avoid rlwimi.
39210         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
39212 2013-10-04  Alan Modra  <amodra@gmail.com>
39214         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
39215         insrdi.  Formatting.
39216         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
39217         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39218         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39219         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39220         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39221         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
39223 2013-10-04  Alan Modra  <amodra@gmail.com>
39225         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
39226         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39227         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
39228         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
39229         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39230         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39231         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39232         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39233         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
39234         use of regs.  Use power7 mtocrf.  Tidy function tails.
39236 2013-10-04  Alan Modra  <amodra@gmail.com>
39238         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
39239         Formatting.  Consistently use rXXX register defines or rN defines.
39240         Use early exit labels that avoid restoring unused non-volatile regs.
39241         Make cr field use more consistent with rWORDn compares.  Rename
39242         regs used as shift registers for unaligned loop, using rN defines
39243         for short lifetime/multiple use regs.
39244         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39245         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
39246         addi 1,1,64 to pop stack frame.  Simplify return value code.
39247         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39249 2013-10-04  Alan Modra  <amodra@gmail.com>
39251         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
39252         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
39253         rather than rlwimi.
39254         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
39255         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
39256         little-endian support.  Correct typos.
39257         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
39258         rather than rlwimi.
39259         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
39260         in loop and entry code to keep "and." results.
39261         (strchr): Add little-endian support.  Comment.  Move cntlzd
39262         earlier in tail.
39263         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
39265 2013-10-04  Alan Modra  <amodra@gmail.com>
39267         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
39268         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
39269         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
39270         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
39272 2013-10-04  Alan Modra  <amodra@gmail.com>
39274         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
39275         (rTMP): Define as r11.
39276         (strcmp): Add little-endian support.  Optimise tail.
39277         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
39278         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39279         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39280         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39281         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39282         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39283         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39285 2013-10-04  Alan Modra  <amodra@gmail.com>
39287         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
39288         little-endian support.  Remove unnecessary "are we done" tests.
39289         Handle "s" wrapping around zero and extremely large "size".
39290         Correct main loop count.  Handle single left-over word from main
39291         loop inline rather than by using small_loop.  Correct comments.
39292         Delete "zero" tail, use "end_max" instead.
39293         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
39295 2013-10-04  Alan Modra  <amodra@gmail.com>
39297         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
39298         support.  Don't branch over align.
39299         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
39300         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
39301         support.  Rearrange tmp reg use to suit.  Comment.
39302         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
39304 2013-10-04  Alan Modra  <amodra@gmail.com>
39306         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
39308 2013-10-04  Alan Modra  <amodra@gmail.com>
39310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
39311         conditional form of branch and link when obtaining pc.
39312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
39314 2013-10-04  Alan Modra  <amodra@gmail.com>
39316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
39317         HIWORD/LOWORD.
39318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
39319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
39321 2013-10-04  Alan Modra  <amodra@gmail.com>
39323         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
39324         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
39325         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39326         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
39327         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39328         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39329         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
39330         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39331         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39332         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
39334 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39335             Alistair Popple <alistair@ozlabs.au.ibm.com>
39336             Alan Modra <amodra@gmail.com>
39338         [BZ #15723]
39339         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
39340         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
39341         _dl_hwcap access for little-endian.
39342         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
39343         destroy vmx regs when saving unaligned.
39344         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
39345         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
39346         destroy vmx regs when saving unaligned.
39348 2013-10-04  Alan Modra  <amodra@gmail.com>
39350         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
39351         Don't use a union to pack hi/low value.
39353 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39355         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
39356         for little-endian.
39357         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39358         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
39359         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39360         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39361         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39363 2013-10-04  Alan Modra  <amodra@gmail.com>
39365         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
39366         constants to usual value for .cst8 section, and remove redundant
39367         high address load.
39368         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
39369         constant for 0x1p52.  Load little-endian words of double from
39370         correct stack offsets.
39372 2013-10-04  Alan Modra  <amodra@gmail.com>
39374         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
39375         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
39376         words of double from correct stack offsets.
39377         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
39378         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
39379         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39380         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39381         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39382         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39383         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39384         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
39385         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39386         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39387         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39388         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39389         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39390         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39391         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39392         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
39393         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
39395 2013-10-04  Alan Modra  <amodra@gmail.com>
39397         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
39398         64-bit int/double union.
39399         (_FPU_SETCW): Likewise.
39400         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
39401         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
39403 2013-10-04  Alan Modra  <amodra@gmail.com>
39405         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
39406         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
39408 2013-10-04  Alan Modra  <amodra@gmail.com>
39410         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
39411         use vector int constants.
39412         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
39414 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39416         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
39417         array with long long.
39418         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
39419         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
39420         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
39421         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
39422         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
39423         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
39424         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
39425         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
39426         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
39427         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
39428         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
39429         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
39430         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
39432 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39434         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
39435         (__signbit): Likewise.  Correct for little-endian.
39436         (__signbitl): Call __signbit.
39437         (lrint): Correct for little-endian.
39438         (lrintf): Call lrint.
39440 2013-10-04  Alan Modra  <amodra@gmail.com>
39442         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
39443         union 32-bit int array member with 64-bit int array.
39444         (t515, tm256): Double rather than long double.
39445         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
39447 2013-10-04  Alan Modra  <amodra@gmail.com>
39449         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
39450         Delete.
39451         (IEEE854_LONG_DOUBLE_BIAS): Delete.
39452         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
39453         version of math_ldbl.h.
39455 2013-10-04  Alan Modra  <amodra@gmail.com>
39457         [BZ #15734], [BZ #15735]
39458         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
39459         all uses of ieee875 long double macros and unions.  Simplify test
39460         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
39461         ldbl_extract_mantissa value for ix,iy exponents.  Properly
39462         normalize after ldbl_extract_mantissa, and don't add hidden bit
39463         already handled.  Don't treat low word of ieee854 mantissa like
39464         low word of IBM long double and mask off bit when testing for
39465         zero.
39466         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
39467         all uses of ieee875 long double macros and unions.  Simplify tests
39468         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
39469         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
39470         two1022, instead use their values.  Recognise that tests for large
39471         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
39472         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
39473         Rewrite all uses of ieee875 long double macros and unions.  Simplify
39474         test for 0.0L and nan.  Correct negation.
39475         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
39476         ieee875 long double macros and unions.  Correct output for large
39477         magnitude x.  Correct absolute value calculation.
39478         (__erfcl): Likewise.
39479         * math/libm-test.inc: Add tests for errors discovered in IBM long
39480         double versions of fmodl, remainderl, erfl and erfcl.
39482 2013-10-04  Alan Modra  <amodra@gmail.com>
39484         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
39485         all uses of ieee854 long double macros and unions.  Simplify tests
39486         for long doubles that are fully specified by the high double.
39487         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
39488         Likewise.
39489         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
39490         Remove dead code too.
39491         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
39492         (__ieee754_ynl): Likewise.
39493         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
39494         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
39495         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
39496         Remove dead code too.
39497         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
39498         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
39499         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
39500         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
39501         Simplify.
39502         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
39503         Simplify.
39504         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
39505         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
39506         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
39507         Comment on variable precision.
39508         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
39509         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39510         Likewise.
39511         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39512         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39513         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39514         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
39515         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
39517 2013-10-04  Alan Modra  <amodra@gmail.com>
39519         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
39520         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
39521         all uses of ieee854 long double macros and unions.
39522         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
39523         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39524         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
39525         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
39526         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
39527         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39528         Likewise.
39529         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
39530         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39531         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
39532         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39533         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
39534         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
39535         Simplify sign and nan test too.
39536         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
39537         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
39538         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
39539         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
39540         Likewise.
39541         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39542         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
39543         Likewise.
39544         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39545         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
39546         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
39547         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
39548         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
39549         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
39551 2013-10-04  Alan Modra  <amodra@gmail.com>
39553         * stdio-common/printf_size.c (__printf_size): Don't use
39554         union ieee854_long_double in fpnum union.
39555         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
39556         signbit macro to retrieve sign from long double.
39557         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
39558         retrieve sign from long double.
39559         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
39560         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
39561         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
39562         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39563         * math/test-misc.c (main): Don't use union ieee854_long_double.
39565 2013-10-04  Alan Modra  <amodra@gmail.com>
39567         [BZ #15680]
39568         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
39569         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
39570         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
39571         calculation.  Remove unnecessary test for denormal exponent.
39572         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
39573         Correct handling of denormals.  Avoid undefined shift behaviour.
39574         Correct normalisation of low mantissa when low double is denormal.
39575         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
39576         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
39577         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
39578         Correct normalisation of low mantissa.  Test for overflow of high
39579         mantissa and normalise.
39580         (ldbl_nearbyint): Use more readable constant for two52.
39581         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
39582         (__mpn_construct_long_double): Fix test for overflow of high
39583         mantissa and correct normalisation.  Avoid undefined shift.
39585 2013-10-04  Alan Modra  <amodra@gmail.com>
39587         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39588         (union ibm_extended_long_double): Define as an array of ieee754_double.
39589         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
39590         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
39591         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
39592         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39593         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39594         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
39595         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39596         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39597         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39598         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
39599         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
39601 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
39603         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
39604         page size instead of calling getpagesize.
39606         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
39607         (LOCFILE_ALIGN_MASK): Likewise.
39608         (LOCFILE_ALIGN_UP): Likewise.
39609         (LOCFILE_ALIGNED_P): Likewise.
39610         * locale/programs/ld-collate.c (collate_output): Use the new
39611         macros instead of __alignof__ (int32_t).
39612         * locale/weight.h (findidx): Likewise.
39614 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
39616         [BZ #431]
39617         * manual/string.texi: Fix strncat and wcsncat.
39619 2013-10-03  Brooks Moses  <bmoses@google.com>
39621         [BZ #15915]
39622         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
39623         * Makerules: ...here, and adjust associated comments.
39625 2013-10-02  Will Newton  <will.newton@linaro.org>
39627         * malloc/Makefile: Add tst-pvalloc.
39628         * malloc/tst-pvalloc.c: New file.
39630 2013-10-02  Will Newton  <will.newton@linaro.org>
39632         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
39633         improve test coverage.
39635 2013-10-02  Will Newton  <will.newton@linaro.org>
39637         * malloc/Makefile: Add tst-posix_memalign.
39638         * malloc/tst-posix_memalign.c: New file.
39640 2013-10-01  Eric Blake  <eblake@redhat.com>
39642         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
39643         Use __THROWNL rather than __THROW on static functions.
39645 2013-09-30  Petr Machata  <pmachata@redhat.com>
39647         * elf/elf.h (R_AARCH64_ABS16): New macro.
39648         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
39649         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
39650         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
39651         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
39652         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
39653         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
39654         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
39655         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
39656         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
39657         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
39658         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
39659         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
39660         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
39661         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
39662         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
39663         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
39664         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
39665         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
39666         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
39667         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
39668         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
39669         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
39670         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
39671         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
39672         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
39673         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
39674         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
39675         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
39676         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
39677         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
39678         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
39679         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
39680         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
39681         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
39682         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
39683         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
39684         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
39685         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
39686         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
39687         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
39688         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
39689         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
39690         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
39691         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
39692         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
39693         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
39694         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
39695         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
39696         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
39697         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
39698         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
39699         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
39700         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
39701         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
39702         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
39703         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
39704         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
39705         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
39706         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
39707         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
39708         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
39709         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
39710         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
39711         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
39712         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
39713         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
39714         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
39715         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
39716         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
39717         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
39718         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
39719         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
39720         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
39721         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
39722         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
39723         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
39724         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
39725         (R_AARCH64_TLSDESC_LDR): Likewise.
39726         (R_AARCH64_TLSDESC_ADD): Likewise.
39727         (R_AARCH64_TLSDESC_CALL): Likewise.
39729 2013-09-30  Andreas Schwab  <schwab@suse.de>
39731         [BZ #15048]
39732         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
39733         the nss database lookup.
39734         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39735         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39737 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
39739         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
39741 2013-09-28  P. J. McDermott  <pj@pehjota.net>
39743         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
39744         ${Bash-specific parameter/pattern/string} parameter expansion.
39745         * sysdeps/unix/make-syscalls.sh: Likewise.
39747 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39749         * sysdeps/sh/stackguard-macros.h: New file.
39751 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
39753         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
39754         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
39755         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
39756         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
39757         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39758         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
39760 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39762         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
39763         Fix thread ID register.
39765 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
39767         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
39768         [POSIX || UNIX98]: Require rather than permitting all symbols from
39769         <time.h>.
39770         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
39771         element of struct sched_param.
39772         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
39773         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
39774         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
39775         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
39776         constant.
39778 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
39780         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
39781         argument calculation.
39783 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
39785         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
39786         Expect macro.
39787         [POSIX] (pthread_attr_t): Do not require type.
39788         [POSIX] (pthread_cond_t): Likewise.
39789         [POSIX] (pthread_condattr_t): Likewise.
39790         [POSIX] (pthread_key_t): Likewise.
39791         [POSIX] (pthread_mutex_t): Likewise.
39792         [POSIX] (pthread_mutexattr_t): Likewise.
39793         [POSIX] (pthread_once_t): Likewise.
39794         [POSIX] (pthread_t): Likewise.
39795         [POSIX-based standards] (pthread_atfork): Expect function.
39797 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
39798             Richard Sandiford  <richard@codesourcery.com>
39800         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
39801         (swap_endianness_p): New extern variable.
39802         (set_big_endian): New inline function.
39803         (maybe_swap_uint32): Likewise.
39804         (maybe_swap_uint32_array): Likewise.
39805         (maybe_swap_uint32_obstack): Likewise.
39806         * locale/programs/locfile.c: Include <stdbool.h>.
39807         (swap_endianness_p): New variable.
39808         (add_locale_uint32): Call maybe_swap_uint32.
39809         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
39810         (write_locale_data): Call maybe_swap_uint32_array.
39811         * locale/programs/ld-collate.c (obstack_int32_grow): Call
39812         maybe_swap_uint32.
39813         (obstack_int32_grow_fast): Likewise.
39814         (output_weightwc): Call maybe_swap_uint32_obstack.
39815         (collate_output): Likewise.
39816         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
39817         (OPT_LITTLE_ENDIAN): Likewise.
39818         (options): Add --little-endian and --big-endian options.
39819         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
39820         * locale/programs/locarchive.c: Include "locfile.h".
39821         (GET): New macro.
39822         (SET): Likewise.
39823         (INC): Likewise.
39824         (create_archive): Use the new macros to access fields of
39825         structures directly mapped from or written to locale archives.
39826         (oldlocrecentcmp): Likewise.
39827         (enlarge_archive): Likewise.
39828         (insert_name): Likewise.
39829         (add_alias): Likewise.
39830         (add_locale): Likewise.
39831         (delete_locales_from_archive): Likewise.
39832         (show_archive_content): Likewise.
39833         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
39834         locale data.
39836 2013-09-24  Roland McGrath  <roland@hack.frob.com>
39838         * manual/freemanuals.texi: Updated from (newly) canonical copy at
39839         http://www.gnu.org/doc/freemanuals.texi.
39840         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
39842 2013-09-24  Will Newton  <will.newton@linaro.org>
39844         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
39845         macro.
39847 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
39849         * locale/hashval.h (compute_hashval): Interpret bytes of key as
39850         unsigned char.
39852 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
39854         * manual/threads.texi (POSIX Threads): Fix a typo.
39856 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
39858         [BZ #14547]
39859         * string/tst-strcoll-overflow.c: New test case.
39860         * string/Makefile (xtests): Add tst-strcoll-overflow.
39861         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
39862         cache if string sizes may cause integer overflow.
39864         [BZ #14547]
39865         * string/strcoll_l.c (coll_seq): New members rule, idx,
39866         save_idx and back_us.
39867         (get_next_seq_nocache): New function.
39868         (do_compare_nocache): New function.
39869         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
39870         when malloc fails.
39872 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
39874         [BZ #15754]
39875         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
39876         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
39877         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
39879         [BZ #15754]
39880         * elf/Makefile (tests): Add tst-ptrguard1.
39881         (tests-static): Add tst-ptrguard1-static.
39882         (tst-ptrguard1-ARGS): Define.
39883         (tst-ptrguard1-static-ARGS): Define.
39884         * elf/tst-ptrguard1.c: New file.
39885         * elf/tst-ptrguard1-static.c: New file.
39886         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
39887         * sysdeps/i386/stackguard-macros.h: Likewise.
39888         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39889         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39890         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39891         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39892         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39893         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39895 2013-09-23  Hector Marco  <hecmargi@upv.es>
39896             Ismael Ripoll  <iripoll@disca.upv.es>
39897             Carlos O'Donell  <carlos@redhat.com>
39899         [BZ #15754]
39900         * sysdeps/generic/stackguard-macros.h: Define
39901         __pointer_chk_guard_local and POINTER_CHK_GUARD.
39902         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
39903         Define __pointer_chk_guard_local.
39904         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
39905         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
39907 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
39909         [BZ #15859]
39910         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
39912 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
39914         * include/string.h (__ffs): Declare as hidden.
39915         * string/ffs.c (__ffs): Define as hidden.
39916         * sysdeps/i386/ffs.c (__ffs): Likewise.
39917         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
39918         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
39919         * sysdeps/s390/ffs.c (__ffs): Likewise.
39920         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
39922 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
39924         * NEWS: Mention malloc probes.
39926         * malloc/arena.c (new_heap): New memory_heap_new probe.
39927         (grow_heap): New memory_heap_more probe.
39928         (shrink_heap): New memory_heap_less probe.
39929         (heap_trim): New memory_heap_free probe.
39930         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
39931         (systrim): New memory_sbrk_less probe.
39932         * manual/probes.texi: Document them.
39934         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
39935         * manual/probes.texi: Document it.
39937         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
39938         (__libc_realloc): Add memory_realloc_retry probe.
39939         (__libc_memalign): Add memory_memalign_retry probe.
39940         (__libc_valloc): Add memory_valloc_retry probe.
39941         (__libc_pvalloc): Add memory_pvalloc_retry probe.
39942         (__libc_calloc): Add memory_calloc_retry probe.
39943         * manual/probes.texi: Document them.
39945         * malloc/arena.c (get_free_list): Add probe
39946         memory_arena_reuse_free_list.
39947         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
39948         and memory_arena_reuse.
39949         (arena_get2) [!PER_THREAD]: Likewise.
39950         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
39951         memory_arena_reuse_realloc.
39952         * manual/probes.texi: Document them.
39954         * malloc/malloc.c (__libc_free): Add
39955         memory_mallopt_free_dyn_thresholds probe.
39956         (__libc_mallopt): Add multiple memory_mallopt probes.
39957         * manual/probes.texi: Document them.
39959         * malloc/malloc.c: Include stap-probe.h.
39960         (__libc_mallopt): Add memory_mallopt probe.
39961         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
39962         * manual/probes.texi: New.
39963         * manual/Makefile (chapters): Add probes.
39964         * manual/threads.texi: Set next node.
39966 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
39968         [BZ #15963, #13985]
39969         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
39970         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
39971         Add `Chinese' to `nan' entry name.
39973 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39975         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
39976         (POLYNOMIAL): Likewise.
39977         (TAYLOR_SINCOS): Likewise.
39978         (TAYLOR_SLOW): Likewise.
39979         (__sin): Use TAYLOR_SINCOS.
39980         (__cos): Likewise.
39981         (slow): Use TAYLOR_SLOW.
39982         (sloww): Likewise.
39983         (bsloww): Likewise.
39984         (csloww): Likewise.
39986 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39988         * stdlib/strtod_l.c: Fix buffer overrun.
39990 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39992         * benchtests/Makefile (bench): Add sincos.
39993         * benchtests/bench-sincos.c: New file.
39995         * math/libm-test.inc (cos_test_data): New test inputs.
39996         (sin_test_data): Likewise.
39998         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
39999         macro.
40000         (__sin): Use it.
40001         (__cos): Likewise.
40002         (slow1): Likewise.
40003         (slow2): Likewise.
40004         (sloww1): Likewise.
40005         (sloww2): Likewise.
40006         (bsloww1): Likewise.
40007         (bsloww2): Likewise.
40008         (cslow2): Likewise.
40009         (csloww1): Likewise.
40010         (csloww2): Likewise.
40012         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
40013         function.
40014         (__sin): Use it.
40015         (__cos): Likewise.
40017         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
40018         gotos.
40019         (__cos): Likewise.
40021 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
40023         * config.h.in (HAVE_MIPS_NAN2008): New macro.
40024         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
40025         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
40026         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
40027         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
40028         * elf/cache.c (print_entry): Handle the new cache flags.
40030 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
40031             Aldy Hernandez  <aldyh@redhat.com>
40033         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
40034         Change condition to [_SOFT_FLOAT].
40035         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
40036         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
40037         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
40038         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
40039         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
40040         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
40041         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
40042         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
40043         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
40044         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
40045         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
40046         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
40047         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
40048         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
40049         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
40050         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
40051         declaration.
40053 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
40055         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
40056         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40057         (__longjmp): Use LOAD_GP to load saved GPRs.
40058         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
40059         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40060         (__sigsetjmp): Use SAVE_GP to save GPRs.
40062         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
40063         Do not append -msoft-float.
40064         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
40066 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40068         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
40070 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
40072         [BZ #15966]
40073         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
40074         (_FPU_GETCW): Use initial "__" on variable and field names but not
40075         on macro parameter name.
40076         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
40077         parentheses around reference to macro parameter.
40079 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
40081         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
40082         prototype.
40083         (ctype_startup): Use uint32_t in cast and sizeof for
40084         ctype->charnames.
40086 2013-09-11  Jia Liu  <proljc@gmail.com>
40088         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
40089         __daddr_t_defined.
40090         [__FreeBSD__]: Likewise.
40092 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
40094         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
40095         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
40096         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
40097         (strchr): Remove __strchr_sse42 ifunc selection.
40098         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
40099         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
40101 2013-09-11  Will Newton  <will.newton@linaro.org>
40103         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
40104         parameter to RES. Remove hardcoded 1000 value.
40105         * benchtests/bench-skeleton.c (main): Pass RES parameter
40106         to TIMING_INIT and multiply result by 1000.
40108 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40112 2013-09-11  Andreas Schwab  <schwab@suse.de>
40114         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40115         if not defined.
40116         (O_TMPFILE) [__USE_GNU]: Define.
40117         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
40118         Define.
40120 2013-09-11  Will Newton  <will.newton@linaro.org>
40122         [BZ #15857]
40123         * malloc/malloc.c (__libc_memalign): Check the value of bytes
40124         does not overflow.
40126 2013-09-11  Will Newton  <will.newton@linaro.org>
40128         [BZ #15856]
40129         * malloc/malloc.c (__libc_valloc): Check the value of bytes
40130         does not overflow.
40132 2013-09-11  Will Newton  <will.newton@linaro.org>
40134         [BZ #15855]
40135         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
40136         does not overflow.
40138 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
40140         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
40141         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40142         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40143         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40144         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40146 2013-09-10  Allan McRae  <allan@archlinux.org>
40148         [BZ #15748]
40149         * manual/arith.texi (Parsing of Floats): Clarify
40150         cross-reference.
40152         [BZ #15849]
40153         * manual/install.texi (Running make install): Mention
40154         --enable-pt-chown.
40155         * INSTALL: Regenerated.
40157 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
40159         * csu/init-first.c (_init): Remove the !SHARED condition around
40160         FPU control word initialization.
40161         * elf/dl-support.c (_dl_fpu_control): New variable.
40162         (_dl_aux_init) <AT_FPUCW>: Initialize it.
40163         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
40164         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
40165         * math/test-fpucw-static.c: New file.
40166         * math/test-fpucw-ieee.c: New file.
40167         * math/test-fpucw-ieee-static.c: New file.
40168         * math/Makefile (tests): Add `test-fpucw-ieee' and
40169         `$(tests-static)'.
40170         (tests-static): New variable.
40171         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
40172         dependency to...
40173         [($(build-shared),yes)]
40174         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
40175         ... this.
40176         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
40177         New dependency.
40179 2013-09-09  Allan McRae  <allan@archlinux.org>
40181         [BZ #15939]
40182         * manual/string.texi (Collation Functions): Fix typo in
40183         strcoll example.
40184         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
40186         [BZ #15893]
40187         * stdlib/isomac.c (get_null_defines): Fix memory leak.
40189         [BZ #15892]
40190         * libio/memstream.c (open_memstream): Fix memory leak.
40191         * libio/wmemstream.c (open_wmemstream): Likewise.
40193         [BZ #15895]
40194         * nscd/netgroupcache.c: Fix nesting of ifdefs.
40196 2013-09-09  Will Newton  <will.newton@linaro.org>
40198         * malloc/Makefile: Add tst-realloc to tests.
40199         * malloc/tst-realloc.c: New file.
40201 2013-09-09  Allan McRae  <allan@archlinux.org>
40203         [BZ #15844]
40204         * COPYING: Update from GNU website to fix FSF address.
40205         * COPYING.LIB: Likewise.
40207 2013-09-06  David S. Miller  <davem@davemloft.net>
40209         * po/zh_TW.po: Update Chinese (traditional) translation from
40210         translation project.
40212 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
40213             Joseph Myers  <joseph@codesourcery.com>
40215         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
40216         "localeinfo.h".
40217         (obstack_chunk_alloc): New macro.
40218         (obstack_chunk_free): Likewise.
40219         (record_offset): New function.
40220         (init_locale_data): Likewise.
40221         (align_locale_data): Likewise.
40222         (add_locale_empty): Likewise.
40223         (add_locale_raw_data): Likewise.
40224         (add_locale_raw_obstack): Likewise.
40225         (add_locale_string): Likewise.
40226         (add_locale_wstring): Likewise.
40227         (add_locale_uint32): Likewise.
40228         (add_locale_uint32_array): Likewise.
40229         (add_locale_char): Likewise.
40230         (start_locale_structure): Likewise.
40231         (end_locale_structure): Likewise.
40232         (start_locale_prelude): Likewise.
40233         (end_locale_prelude): Likewise.
40234         (write_locale_data): Take locale_file structure rather than an
40235         iovec.
40236         * locale/programs/locfile.h: Include "obstack.h".
40237         (struct locale_file): Change to store locale file contents instead
40238         of header.
40239         (init_locale_data): New prototype.
40240         (align_locale_data): Likewise.
40241         (add_locale_empty): Likewise.
40242         (add_locale_raw_data): Likewise.
40243         (add_locale_raw_obstack): Likewise.
40244         (add_locale_string): Likewise.
40245         (add_locale_wstring): Likewise.
40246         (add_locale_uint32): Likewise.
40247         (add_locale_uint32_array): Likewise.
40248         (add_locale_char): Likewise.
40249         (start_locale_structure): Likewise.
40250         (end_locale_structure): Likewise.
40251         (start_locale_prelude): Likewise.
40252         (end_locale_prelude): Likewise.
40253         (write_locale_data): Update prototype.
40254         * locale/programs/3level.h (struct TABLE): Remove result field.
40255         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
40256         Use new locale_file interface.
40257         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
40258         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
40259         * locale/programs/ld-address.c (address_output): Use new
40260         locale_file interface.
40261         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
40262         NO_ADD_LOCALE.
40263         (collate_finish): Don't call collseq_table_finalize.
40264         (collate_output): Use new locale_file interface.
40265         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
40266         in file.
40267         (NO_FINALIZE): Change to NO_ADD_LOCALE.
40268         (TABLE): Move defines earlier in file.
40269         (ELEMENT): Likewise.
40270         (DEFAULT): Likewise.
40271         (wctrans_table_add): Move macro and inline function earlier in
40272         file.
40273         (struct wctype_table): Move type earlier in file.
40274         (add_locale_wctype_table): New static prototype.
40275         (struct locale_ctype_t): Use logical types instead of struct iovec
40276         pointers for members.
40277         (ctype_output): Use new locale_file interface.
40278         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
40279         new locale_file interface.
40280         (allocate_arrays): Update for use of new locale_file interface.
40281         * locale/programs/ld-identification.c (identification_output): Use
40282         new locale_file interface.
40283         * locale/programs/ld-measurement.c (measurement_output): Likewise.
40284         * locale/programs/ld-messages.c (messages_output): Likewise.
40285         * locale/programs/ld-monetary.c (monetary_output): Likewise.
40286         * locale/programs/ld-name.c (name_output): Likewise.
40287         * locale/programs/ld-numeric.c (numeric_output): Likewise.
40288         * locale/programs/ld-paper.c (paper_output): Likewise.
40289         * locale/programs/ld-telephone.c (telephone_output): Likewise.
40290         * locale/programs/ld-time.c (time_output): Likewise.
40292 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40294         * benchtests/Makefile: Add memrchr benchmark.
40295         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
40296         benchmark as memrchr.
40297         * benchtests/bench-memrchr-ifunc.c: New file.
40298         * benchtests/bench-memrchr.c: New file.
40300 2013-09-06   Will Newton  <will.newton@linaro.org>
40302         * benchtests/Makefile (string-bench): Add memcpy.
40304 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
40305             Cong Wang  <amwang@redhat.com>
40307         [BZ #15850]
40308         * sysdeps/unix/sysv/linux/bits/in.h
40309         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
40310         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
40311         before __USE_KERNEL_IPV6_DEFS uses.
40312         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
40313         IPPROTO_BEETPH.
40314         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
40315         sockaddr_in6, or ipv6_mreq.
40317 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40319         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
40320         memory access for final bytes in some large inputs.
40321         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
40323 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40325         * string/test-memrchr.c: New file.
40326         * string/test-memrchr-ifunc.c: New file.
40327         * string/Makefile: Add new memrchr testcase.
40329 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
40331         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
40332         fanotify_init returns EPERM.
40334 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40336         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
40337         errors.
40338         (top level): Treat second token from macro or constant entries for
40339         allowed headers as allowed.
40340         * include/complex.h: Condition internal declarations on
40341         [!_ISOMAC].
40342         * include/fenv.h: Condition include of <stdbool.h> and internal
40343         declarations on [!_ISOMAC].
40345 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
40347         [BZ #15923]
40348         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
40350 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40352         * configure.in (--enable-versioning): Remove configure option.
40353         (libc_cv_asm_symver_directive): Remove configure test.
40354         (libc_cv_ld_version_script_option): Likewise.
40355         (VERSIONING): Remove variable and AC_SUBST.
40356         (DO_VERSIONING): Remove AC_DEFINE.
40357         * configure: Regenerated.
40358         * config.h.in (DO_VERSIONING): Remove macro.
40359         * Makerules [$(versioning) = yes]: Change conditionals to
40360         [$(build-shared) = yes].
40361         * config.make.in (versioning): Remove variable.
40362         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
40363         [$(build-shared) = yes].
40364         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
40365         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
40366         * elf/Makefile [$(versioning) = yes]: Change conditionals to
40367         [$(build-shared) = yes].
40368         * extra-lib.mk [$(versioning) = yes]: Likewise.
40369         * hurd/Makefile [$(versioning) = yes]: Likewise.
40370         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
40371         [SHARED].
40372         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
40373         [SHARED].
40374         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40375         [SHARED && !NO_HIDDEN].
40376         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
40377         [SHARED].
40378         [SHARED && DO_VERSIONING]: Likewise..
40379         * libio/Makefile [$(versioning) = yes]: Change conditionals to
40380         [$(build-shared) = yes].
40381         * manual/install.texi (--disable-versioning): Remove
40382         documentation.
40383         * INSTALL: Regenerated.
40384         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
40385         to [SHARED].
40386         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
40387         [$(build-shared) = yes].
40388         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
40389         * sysdeps/i386/i686/multiarch/strstr-c.c
40390         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40391         [SHARED && !NO_HIDDEN].
40392         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
40393         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
40394         * sysdeps/powerpc/powerpc32/dl-machine.c
40395         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
40396         * sysdeps/powerpc/powerpc32/sysdep.h
40397         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
40398         to [SHARED && PIC && !NO_HIDDEN].
40399         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
40400         conditional to [SHARED].
40402 2013-09-04   Will Newton  <will.newton@linaro.org>
40404         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
40405         * benchtests/bench-string.h: Include bench-timing.h instead
40406         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
40407         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
40408         call to HP_TIMING_DIFF_INIT.
40409         * benchtests/bench-memccpy.c: Use bench-timing.h macros
40410         instead of hp-timing.h macros.
40411         * benchtests/bench-memchr.c: Likewise.
40412         * benchtests/bench-memcmp.c: Likewise.
40413         * benchtests/bench-memcpy.c: Likewise.
40414         * benchtests/bench-memmem.c: Likewise.
40415         * benchtests/bench-memmove.c: Likewise.
40416         * benchtests/bench-memset.c: Likewise.
40417         * benchtests/bench-rawmemchr.c: Likewise.
40418         * benchtests/bench-strcasecmp.c: Likewise.
40419         * benchtests/bench-strcasestr.c: Likewise.
40420         * benchtests/bench-strcat.c: Likewise.
40421         * benchtests/bench-strchr.c: Likewise.
40422         * benchtests/bench-strcmp.c: Likewise.
40423         * benchtests/bench-strcpy.c: Likewise.
40424         * benchtests/bench-strcpy_chk.c: Likewise.
40425         * benchtests/bench-strlen.c: Likewise.
40426         * benchtests/bench-strncasecmp.c: Likewise.
40427         * benchtests/bench-strncat.c: Likewise.
40428         * benchtests/bench-strncmp.c: Likewise.
40429         * benchtests/bench-strncpy.c: Likewise.
40430         * benchtests/bench-strnlen.c: Likewise.
40431         * benchtests/bench-strpbrk.c: Likewise.
40432         * benchtests/bench-strrchr.c: Likewise.
40433         * benchtests/bench-strspn.c: Likewise.
40434         * benchtests/bench-strstr.c: Likewise.
40436 2013-09-04  Will Newton  <will.newton@linaro.org>
40438         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
40440 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
40442         [BZ #15427]
40443         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
40444         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
40445         * math/libm-test.inc (lgamma_test_data): Add more tests.
40446         * sysdeps/i386/fpu/libm-test-ulps: Update.
40447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40449 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
40451         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
40452         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40453         Add ifunc.
40454         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40455         Add strcmp-sse2-unaligned
40456         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
40458 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
40460         * Versions.def (libc): Add GLIBC_2.19.
40462 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
40464         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
40465         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
40467 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
40469         [BZ #14155]
40470         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
40471         intermediate calculations in recurrence.
40472         (__ieee754_ynf): Likewise.
40473         * math/libm-test.inc (jn_test_data): Do not allow spurious
40474         underflow exception.  Add more tests.
40475         (yn_test_data): Add more tests.
40476         * sysdeps/i386/fpu/libm-test-ulps: Update.
40477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40479 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
40481         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
40483 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
40485         * csu/init-first.c: Fix then/than typos.
40486         * locale/programs/ld-collate.c: Likewise.
40487         * locale/programs/linereader.h: Likewise.
40488         * manual/charset.texi: Likewise.
40489         * manual/filesys.texi: Likewise.
40490         * manual/stdio.texi: Likewise.
40491         * manual/string.texi: Likewise.
40492         * stdlib/fmtmsg.c: Likewise.
40493         * sysdeps/i386/stpncpy.S: Likewise.
40494         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40495         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40496         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40497         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40499 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
40501         * elf/dl-open.c: Fix typos.
40502         * iconvdata/gbbig5.c: Likewise.
40503         * iconvdata/iso-2022-jp.c: Likewise.
40504         * iconv/gconv_int.h: Likewise.
40505         * iconv/loop.c: Likewise.
40506         * nis/rpcsvc/nis.h: Likewise.
40507         * resolv/ns_name.c: Likewise.
40508         * stdio-common/vfscanf.c: Likewise.
40509         * streams/stropts.h: Likewise.
40510         * sunrpc/rpc_thread.c: Likewise.
40511         * sysdeps/i386/strpbrk.S: Likewise.
40512         * sysdeps/ieee754/k_standard.c: Likewise.
40513         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40514         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40515         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
40516         * sysdeps/mach/hurd/profil.c: Likewise.
40517         * sysdeps/s390/dl-procinfo.h: Likewise.
40518         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
40519         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
40520         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
40521         * sysdeps/x86_64/dl-trampoline.S: Likewise.
40522         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40524 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
40526         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
40527         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
40529 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
40531         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
40532         aix specific files.
40533         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
40534         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
40535         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
40536         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
40537         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
40538         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
40539         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
40540         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
40542 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
40543             Roland McGrath  <roland@hack.frob.com>
40545         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
40546         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
40548 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40550         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
40551         __executable_start symbol instead of _start.
40553 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
40555         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
40556         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
40557         Move macros to...
40558         * sysdeps/gnu/ldsodefs.h: ... this new file.
40560         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
40561         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
40562         instead of ELFOSABI_LINUX.
40564         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
40565         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
40566         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
40567         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
40568         Likewise.
40569         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
40570         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
40571         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
40572         Likewise.
40573         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
40574         (ibm_extended_long_double): Add ieee_nan member.
40575         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
40576         (do_test): New function.
40578         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
40579         TEST_TRUNC.
40580         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
40581         functions, renamed from truncdfsf_test, trunctfsf_test,
40582         trunctfdf_test.
40583         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
40584         functions.
40585         (do_test): Run all these.
40587 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
40589         * argp/argp-help.c: Fix typos.
40590         * argp/argp-parse.c: Likewise.
40591         * debug/backtracesyms.c: Likewise.
40592         * elf/elf.h: Likewise.
40593         * malloc/malloc.c: Likewise.
40594         * nis/nis_print.c: Likewise.
40595         * resolv/res_comp.c: Likewise.
40596         * stdlib/stdlib.h: Likewise.
40597         * sunrpc/clnt_tcp.c: Likewise.
40598         * sunrpc/clnt_udp.c: Likewise.
40599         * sunrpc/clnt_unix.c: Likewise.
40600         * sysdeps/unix/bsd/ptsname.c: Likewise.
40601         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
40602         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
40603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
40604         Likewise.
40605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
40606         Likewise.
40607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
40608         Likewise.
40609         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40611 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40613         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
40614         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40616 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
40618         [BZ #15897]
40619         * dlfcn/Makefile (tests): Add bug-dl-leaf.
40620         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
40621         ($(objpfx)bug-dl-leaf): New rule.
40622         ($(objpfx)bug-dl-leaf.so): Likewise.
40623         ($(objpfx)bug-dl-leaf.out): Likewise.
40624         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
40625         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
40626         * dlfcn/bug-dl-leaf.c: New test.
40627         * dlfcn/bug-dl-leaf-lib.c: Likewise.
40628         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
40629         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
40630         (dlclose): Likewise.
40631         (dlmopen): Likewise.
40633 2013-08-27  Roland McGrath  <roland@hack.frob.com>
40635         * include/netdb.h [!_ISOMAC]:
40636         Don't include <tls.h>.
40637         (h_errno, __libc_h_errno): Move declaration and macros out of
40638         [_LIBC_REENTRANT].
40640         * include/resolv.h [_RESOLV_H_]:
40641         Don't include <tls.h>.
40642         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
40643         * resolv/res_libc.c: Don't include <tls.h>.
40644         (_res): Use __attribute__ ((nocommon)) in place of
40645         __attribute__ ((section (".bss"))).
40647         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
40648         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
40650         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
40652         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
40653         only under [SIOCGIFCONF && SIOCGIFNETMASK].
40655         * resolv/res_mkquery.c: Include <sys/time.h>.
40657         * inet/ifreq.c: Moved to ...
40658         * sysdeps/unix/ifreq.c: ... here.
40659         * inet/ifreq.c: New file, true stub version.
40661         * socket/sa_len.c: New file.
40662         * socket/Makefile (aux): Add it.
40663         * sysdeps/unix/sysv/linux/Makefile
40664         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
40665         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
40666         and #include <socket/sa_len.c>.
40667         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
40668         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
40670         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
40671         * bits/socket.h: ... here.
40673         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
40674         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
40675         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
40677 2013-08-27  Andreas Schwab  <schwab@suse.de>
40679         [BZ #15736]
40680         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
40681         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
40682         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
40683         * string/test-strcasecmp.c (test_main): Run tests in several
40684         locales.
40685         * string/test-strncasecmp.c (test_main): Likewise.
40687         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
40688         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
40689         to __strcasecmp_nonascii and __strncasecmp_nonascii.
40690         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
40691         (__strncasecmp_ssse3) [PIC]: Likewise.
40693 2013-08-26  Roland McGrath  <roland@hack.frob.com>
40695         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
40697         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
40698         instead of explicitly declaring xdecrypt.
40699         * nis/nss_nis/nis-publickey.c: Likewise.
40701 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40703         [BZ #15890]
40704         * nscd/aicache.c: Include res_hconf.h.
40705         (addhstaiX): Initialize res_hconf.
40707 2013-08-26  Andreas Schwab  <schwab@suse.de>
40709         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
40710         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
40712 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40714         * nscd/aicache.c (addhstaiX): Fix indentation.
40716 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
40718         * configure.ac: Quote $build_pt_chown test.
40719         * configure: Regenerated.
40721 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
40723         [BZ #15532]
40724         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
40725         * math/s_cexpf.c (__cexpf): Likewise.
40726         * math/s_cexpl.c (__cexpl): Likewise.
40727         * math/libm-test.inc (cexp_test_data): Correct expected return
40728         value for NaN + i0.  Add another test.
40730 2013-08-22  David S. Miller  <davem@davemloft.net>
40732         * po/ca.po: Update Catalan translation from translation project.
40733         * po/uk.po: Add Ukrainian translations from translation project.
40735 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
40737         [BZ #15797]
40738         * math/s_fdim.c (__fdim): Check for infinite arguments if result
40739         is infinite, not alongside NaN test.
40740         * math/s_fdimf.c (__fdimf): Likewise.
40741         * math/s_fdiml.c (__fdiml): Likewise.
40742         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
40743         errno is unchanged.
40745 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
40747         * argp/argp-help.c: Fix typos.
40748         * crypt/speeds.c: Likewise.
40749         * csu/check_fds.c: Likewise.
40750         * elf/dl-load.c: Likewise.
40751         * elf/dl-open.c: Likewise.
40752         * elf/reldep3.c: Likewise.
40753         * elf/reldep.c: Likewise.
40754         * elf/sprof.c: Likewise.
40755         * iconv/iconv_charmap.c: Likewise.
40756         * iconv/skeleton.c: Likewise.
40757         * iconv/strtab.c: Likewise.
40758         * io/lockf64.c: Likewise.
40759         * libio/libioP.h: Likewise.
40760         * resolv/gai_notify.c: Likewise.
40761         * resolv/ns_name.c: Likewise.
40762         * resolv/ns_samedomain.c: Likewise.
40763         * resolv/res_send.c: Likewise.
40764         * stdlib/random.c: Likewise.
40765         * sunrpc/rpc/xdr.h: Likewise.
40766         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
40767         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40768         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40769         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40770         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40771         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40772         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40773         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40774         * sysdeps/mach/hurd/check_fds.c: Likewise.
40775         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40776         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40777         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40778         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40779         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40780         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40781         * sysdeps/pthread/aio_notify.c: Likewise.
40782         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
40783         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
40784         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
40785         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40786         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40788 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40790         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
40791         version if bit_Slow_SSE4_2 is set.
40792         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40793         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40795 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40797         [BZ #15867]
40798         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
40799         trampoline stack frame information.
40800         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
40801         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
40802         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
40803         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
40804         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
40805         * sysdeps/unix/sysv/linux/powerpc/init-first.c
40806         (_libc_vdso_platform_setup): Initialize the signal trampolines.
40807         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
40808         sa_flags value.
40809         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
40810         interrupting a syscall and set with option SA_SIGINFO.
40812 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
40814         [BZ #15531]
40815         * math/s_cproj.c (__cproj): Only return an infinity if one part of
40816         argument is infinite.
40817         * math/s_cprojf.c (__cprojf): Likewise.
40818         * math/s_cprojl.c (__cprojl): Likewise.
40819         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
40820         * math/libm-test.inc (cproj_test_data): Add more tests.
40822         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
40824         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
40825         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
40826         size.  Use __ffs to determine corresponding shift.
40828 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
40829             Roland McGrath  <roland@hack.frob.com>
40831         * Makefile (INSTALL): Remove trailing blank lines from output of
40832         makeinfo.
40834 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40836         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
40837         Align 32 bit compat elf_greg to 8 bytes.
40839 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
40841         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
40843 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40845         * string/strcoll_l.c (coll_seq): New structure.
40846         (get_next_seq_cached): New function.
40847         (get_next_seq): New function.
40848         (do_compare): New function.
40849         (STRCOLL): Use GNU style definition.  Simplify implementation
40850         by using get_next_seq, get_next_seq_cached and do_compare.
40852 2013-08-16  Florian Weimer  <fweimer@redhat.com>
40854         [BZ #14699]
40855         CVE-2013-4237
40856         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
40857         member.
40858         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
40859         member.
40860         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
40861         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
40862         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
40863         conditional.
40864         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
40865         GETDENTS_64BIT_ALIGNED.
40866         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40867         * manual/filesys.texi (Reading/Closing Directory): Document
40868         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
40869         strongly.
40870         * manual/conf.texi (Limits for Files): Add portability note to
40871         NAME_MAX, PATH_MAX.
40872         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
40874 2013-08-13  Andreas Schwab  <schwab@suse.de>
40876         [BZ #15749]
40877         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
40878         of fabs.
40879         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
40880         LDBL_MAX_EXP >= 16384]: Add tests for it.
40882 2013-08-12  David S. Miller  <davem@davemloft.net>
40884         * version.h (RELEASE): Set to "development".
40885         (VERSION): Set to "2.18.90".
40886         * NEWS: Add 2.19 section.
40888 2013-08-03  David S. Miller  <davem@davemloft.net>
40890         * po/ko.po: Update Korean translation from translation project.
40892 2013-08-01  David S. Miller  <davem@davemloft.net>
40894         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
40895         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
40896         Bilka.
40898 2013-07-30  David S. Miller  <davem@davemloft.net>
40900         * po/fr.po: Update French translation from translation project.
40902 2013-07-28  David S. Miller  <davem@davemloft.net>
40904         * po/cs.po: Update Czech translation from translation project.
40906         * po/sv.po: Update Swedish translation from translation project.
40908 2013-07-27  David S. Miller  <davem@davemloft.net>
40910         * po/eo.po: Update Esperanto translation from translation project.
40912         * po/vi.po: Update Vietnamese translation from translation project.
40914         * po/de.po: Update German translation from translation project.
40916 2013-07-26  David S. Miller  <davem@davemloft.net>
40918         * po/bg.po: Update Bulgarian translation from translation project.
40920         * po/nl.po: Update Dutch translation from translation project.
40921         * po/pl.po: Update Polish translation from translation project.
40922         * po/ru.po: Update Russian translation from translation project.
40924 2013-07-24  David S. Miller  <davem@davemloft.net>
40926         * po/libc.pot: Update.
40928 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40930         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
40931         variable page size.
40932         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
40933         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
40934         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
40936 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40938         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
40940 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40941             Andreas Schwab  <schwab@suse.de>
40942             Roland McGrath  <roland@hack.frob.com>
40943             Joseph Myers  <joseph@codesourcery.com>
40944             Carlos O'Donell  <carlos@redhat.com>
40946         [BZ #15755]
40947         * config.h.in: Define HAVE_PT_CHOWN.
40948         * config.make.in (build-pt-chown): New variable.
40949         * configure.in (--enable-pt_chown): New configure option.
40950         * configure: Regenerate.
40951         * login/Makefile: Include Makeconfig.  Build pt_chown only if
40952         build-pt-chown is enabled.
40953         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
40954         pt_chown to fix pty ownership.
40955         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
40956         CLOSE_ALL_FDS.
40957         * manual/install.texi (Configuring and compiling): Mention
40958         --enable-pt_chown. Add @findex for grantpt.
40959         * INSTALL: Regenerate.
40961 2013-07-20  David S. Miller  <davem@davemloft.net>
40963         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
40964         difference between 32-bit and 64-bit.
40966 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
40968         [BZ #15711]
40969         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
40970         Avoid system header dependency with -ffreestanding.
40971         ($(objpfx)bits/syscall%d): Likewise.
40973 2013-07-13  David S. Miller  <davem@davemloft.net>
40975         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
40976         underflows from atanl/atan2l due to bug 15319.
40977         (casinh_test_data): Likewise.
40979 2013-07-07  David S. Miller  <davem@davemloft.net>
40981         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
40983 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
40985         * sysdeps/i386/fpu/libm-test-ulps: Update.
40986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40988 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40990         * configure.in (--enable-lock-elision): Fix message text.
40991         * INSTALL: Regenerate.
40992         * configure: Regenerate.
40994 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40998 2013-07-03  Andreas Jaeger  <aj@suse.de>
41000         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
41001         define.
41002         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
41003         (ptrace_peeksiginfo_args): Add.
41004         (__ptrace_peeksiginfo_flags): Add.
41005         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41006         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41007         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41009 2013-07-03  Allan McRae  <allan@archlinux.org>
41011         * sysdeps/i386/fpu/libm-test-ulps: Update.
41013 2013-07-02  David S. Miller  <davem@davemloft.net>
41015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41017 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
41019         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41021 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
41023         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41026 2013-07-02  Andi Kleen <ak@linux.intel.com>
41028         * config.h.in (ENABLE_LOCK_ELISION): Add.
41029         * configure.in (--enable-lock-elision): Add option.
41030         * manual/install.texi: Document --enable lock elision.
41031         * configure: Regenerate
41032         * INSTALL: Regenerate.
41034 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
41036         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
41037         SSE4.2 strcasecmp for libc.a.
41038         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
41040 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
41042         [BZ #13304]
41043         * soft-fp/op-common.h (_FP_FMA): New macro.
41044         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
41045         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
41046         (_FP_MUL_MEAT_1_imm): ... here.
41047         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
41048         (_FP_MUL_MEAT_1_wide): ... here.
41049         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
41050         (_FP_MUL_MEAT_1_hard): ... here.
41051         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
41052         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
41053         (_FP_MUL_MEAT_2_wide): ... here.
41054         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
41055         (_FP_MUL_MEAT_2_wide_3mul): ... here.
41056         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
41057         (_FP_MUL_MEAT_2_gmp): ... here.
41058         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
41059         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
41060         (_FP_MUL_MEAT_4_wide): ... here.
41061         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
41062         (_FP_MUL_MEAT_4_gmp): ... here.
41063         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
41064         (_FP_WFRACBITS_DW_S): Likewise.
41065         (_FP_WFRACXBITS_DW_S): Likewise.
41066         (_FP_HIGHBIT_DW_S): Likewise.
41067         (FP_FMA_S): Likewise.
41068         (_FP_FRAC_HIGH_DW_S): Likewise.
41069         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
41070         (_FP_WFRACBITS_DW_D): Likewise.
41071         (_FP_WFRACXBITS_DW_D): Likewise.
41072         (_FP_HIGHBIT_DW_D): Likewise.
41073         (FP_FMA_D): Likewise.
41074         (_FP_FRAC_HIGH_DW_D): Likewise.
41075         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
41076         (_FP_WFRACBITS_DW_E): Likewise.
41077         (_FP_WFRACXBITS_DW_E): Likewise.
41078         (_FP_HIGHBIT_DW_E): Likewise.
41079         (FP_FMA_E): Likewise.
41080         (_FP_FRAC_HIGH_DW_E): Likewise.
41081         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
41082         (_FP_WFRACBITS_DW_Q): Likewise.
41083         (_FP_WFRACXBITS_DW_Q): Likewise.
41084         (_FP_HIGHBIT_DW_Q): Likewise.
41085         (FP_FMA_Q): Likewise.
41086         (_FP_FRAC_HIGH_DW_Q): Likewise.
41087         * soft-fp/fmasf4.c: New file.
41088         * soft-fp/fmadf4.c: Likewise.
41089         * soft-fp/fmatf4.c: Likewise.
41091 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41093         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41094         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
41095         Silvermont.
41096         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
41097         macro.
41098         (index_Slow_SSE4_2): Likewise.
41099         (index_Prefer_PMINUB_for_stringop): Likewise.
41100         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
41101         bit_Slow_SSE4_2 is set.
41102         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41103         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41105 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41107         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
41108         rtld_global._dl_hwcap2.
41109         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
41110         POWER8.
41111         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
41112         POWER8 feature descriptions defined in _dl_hwcap2.
41113         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
41114         string handling for POWER8 feature bits.
41115         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
41116         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
41117         _dl_powerpc_cap_flags.
41118         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
41119         * sysdeps/powerpc/rtld-global-offsets.sym
41120         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
41121         _dl_hwcap2 in the rtld_global_ro structure.
41123 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41125         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
41126         hardware capabilities in support of AT_HWCAP2.
41127         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
41128         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
41129         GLRO(dl_hwcap2).
41130         (_dl_show_auxv): Add support for calling _dl_procinfo to display
41131         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
41132         explicitly the unknown a_type display mechanism is used.
41133         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
41134         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
41135         struct member.
41136         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
41137         to macro prototype for AT_HWCAP2 support.
41138         * sysdeps/i386/dl-procinfo.h: Likewise.
41139         * sysdeps/s390/dl-procinfo.h: Likewise.
41140         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
41141         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
41142         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
41143         return -1 for unknown a_type display fallback.
41144         * sysdeps/sparc/dl-procinfo.h: Likewise.
41145         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
41146         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
41148 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
41150         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
41151         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
41153 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
41155         [BZ #12492]
41156         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
41157         mprotect making __stack_prot writable.
41159 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
41160             Joseph Myers  <joseph@codesourcery.com>
41162         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
41163         as being properly aligned.
41165 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
41167         * dlfcn/modstatic5.c: New file.
41168         * dlfcn/tststatic5.c: New file.
41169         * dlfcn/Makefile (tests): Add tststatic5.
41170         (tests-static): Likewise.
41171         (modules-names): Add modstatic5.
41172         (tststatic5-ENV): New variable.
41173         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
41175         [BZ #15022]
41176         * elf/dl-support.c (_dl_main_map): New variable.
41177         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
41178         (_dl_nns, _dl_load_adds): Set to 1.
41179         (_dl_initial_searchlist): Refer to _dl_main_map.
41180         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
41181         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
41182         call to _dl_get_origin.
41183         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
41184         around call_map.
41185         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
41186         * dlfcn/modstatic3.c: New file.
41187         * dlfcn/tststatic3.c: New file.
41188         * dlfcn/tststatic4.c: New file.
41189         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
41190         (tests-static): Likewise.
41191         (modules-names): Add modstatic3.
41192         (tststatic3-ENV, tststatic4-ENV): New variables.
41193         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
41194         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
41196 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
41198         * configure.in (CC): Require GCC version 4.4 or later.
41199         * configure: Regenerated.
41200         * manual/install.texi (Tools for Compilation): Update GCC version
41201         requirement.
41202         * INSTALL: Regenerated.
41204 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41206         [BZ #15674]
41207         * string/test-memcmp.c (check2): New.
41208         (main): Call check2.
41210         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
41212 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
41214         [BZ #15022]
41215         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
41216         over to...
41217         (dl_open_worker) [!SHARED]: ... here.
41219 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41221         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
41223 2013-06-25  Richard Henderson  <rth@redhat.com>
41225         * locale/programs/locarchive.c: Include <libc-internal.h>
41227 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
41229         * manual/texinfo.tex: Update to version 2013-06-21.17, with
41230         trailing whitespace removed.
41232 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
41234         [BZ #10283]
41235         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
41236         * locale/programs/locarchive.c: Include libc-mmap.h.
41237         (prepare_address_space): Take two new outputs (the mmap base and len).
41238         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
41239         values.
41240         (create_archive): Declare new mmap base and len values for
41241         prepare_address_space, and store the result in ah.
41242         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
41243         (enlarge_archive): If ah->mmap_base is not NULL, use that and
41244         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41245         Declare new mmap base and len values for
41246         prepare_address_space, and store the result in new_ah.
41247         (open_archive): Declare new mmap base and len values for
41248         prepare_address_space, and store the result in ah.
41249         (close_archive): If ah->mmap_base is not NULL, use that and
41250         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41251         * sysdeps/generic/libc-mmap.h: New file.
41253 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
41255         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
41256         (ALIGN_UP): Likewise.
41257         (PTR_ALIGN_DOWN): Likewise.
41258         (PTR_ALIGN_UP): Likewise.
41260 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41262         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
41263         entry mapped to PPC_PLATFORM_POWER8.
41264         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
41265         POWER8.
41266         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
41267         (_dl_string_platform): Add case for exporting platform position for
41268         POWER8.
41269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
41270         search path to sysdeps/powerpc/powerpc32/power8 directory.
41271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
41272         search path to sysdeps/powerpc/powerpc64/power8 directory.
41273         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
41274         power7 directories.
41275         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
41276         power7 directories.
41278 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41280         * INSTALL: Regenerate.
41282         * nscd/connections.c (nscd_init): Fix comment.
41284 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
41286         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
41288         [BZ #15667]
41289         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
41290         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
41292 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41294         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
41295         DL_DST_REQ_STATIC.
41296         (DL_DST_REQ_STATIC): Remove macro.
41298 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
41300         [BZ #7006]
41301         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
41302         with a shift of 0 bits.
41304 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41306         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
41307         $(tststatic-ENV).
41309 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41311         [BZ #15655]
41312         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
41314 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41316         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
41317         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
41318         accepts -fno-tree-loop-distribute-patterns.
41319         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
41320         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
41321         recursive call.
41322         * string/memset.c (memset): Likewise.
41323         * string/test-memmove.c (simple_memmove): Disable loop transformation
41324         to library calls.
41325         * string/test-memset.c (simple_memset): Likewise.
41326         * benchtests/bench-memmove.c (simple_memmove): Likewise.
41327         * benchtests/bench-memset.c (simple_memset): Likewise.
41328         * configure: Regenerated.
41330 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
41332         * math/test-misc.c (main): Ignore fesetround failure when failures
41333         of subsequent rounding tests would be ignored.
41335         [BZ #15654]
41336         * math/fedisblxcpt.c (fedisableexcept): Return 0.
41337         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
41338         * math/fegetenv.c (__fegetenv): Return 0.
41339         * math/fegetexcept.c (fegetexcept): Return 0.
41340         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
41341         FE_TONEAREST.
41342         * math/feholdexcpt.c (feholdexcept): Return 0.
41343         * math/fesetenv.c (__fesetenv): Return 0.
41344         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
41345         argument FE_TONEAREST.
41346         * math/feupdateenv.c (__feupdateenv): Return 0.
41347         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
41349 2013-06-18  Roland McGrath  <roland@hack.frob.com>
41351         * elf/rtld-Rules (rtld-compile-command.S): New variable.
41352         (rtld-compile-command.s, rtld-compile-command.c): New variables.
41353         ($(objpfx)rtld-%.os rules): Use them.
41355 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41357         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
41358         fields.
41360 2013-06-17  Roland McGrath  <roland@hack.frob.com>
41362         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
41363         length of target pattern, then descending length of dependency pattern.
41364         * configure.in (AWK): Require gawk 3.1.2 or newer.
41365         * manual/install.texi (Tools for Compilation): Say that we do.
41366         * configure: Regenerated.
41368         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
41369         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
41370         * scripts/sysd-rules.awk: ... this new script.
41371         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
41372         than a glob-style pattern.
41374 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
41376         * math/test-misc.c (main): Do not treat incorrectly rounded
41377         conversions as failure unless ROUNDING_TESTS passes.
41379 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
41381         [BZ #15631]
41382         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
41383         restore exception state around main square root computation, then
41384         check for inexactness explicitly.
41386         * math/libm-test.inc (fma_test_data): Add another test.
41388 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41390         * manual/threads.texi (Non-POSIX Extensions): New document
41391         node.  Document pthread_getattr_default_np and
41392         pthread_setattr_default_np.
41394         * Versions.def (libpthread): Add GLIBC_2.18.
41395         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
41396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41397         Likewise.
41398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41399         Likewise.
41400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41401         Likewise.
41402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41403         Likewise.
41404         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
41405         Likewise.
41406         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41407         Likewise.
41408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41409         Likewise.
41410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41411         Likewise.
41412         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41413         Likewise.
41415 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41417         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41418         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
41420 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41421             H.J. Lu  <hjl.tools@gmail.com>
41423         [BZ #15627]
41424         * sysdeps/x86_64/rtld-memset.c: Remove file.
41425         * sysdeps/x86_64/rtld-memset.S: New file.
41427 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
41429         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
41430         (test_in_one_mode): Take arguments for whether the rounding mode
41431         is supported for each floating-point type.
41432         (do_test): Pass new arguments to test_in_one_mode using
41433         ROUNDING_TESTS.
41435 2013-06-13  Roland McGrath  <roland@hack.frob.com>
41437         * posix/tst-waitid.c (do_test): Distinguish different instances of
41438         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
41439         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
41440         before entering the kernel for waitpid.
41442 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41444         * NEWS: Fix note on clock function precision.  Text by Roland
41445         McGrath.
41447 2013-06-13  Roland McGrath  <roland@hack.frob.com>
41449         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
41450         it into place only when and if the sanity check passes.
41452 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
41454         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
41455         output for whether conversion result is exact.  Take argument
41456         indicating whether type is IBM long double.
41457         (round_for_all): Change need_exact field to ibm_ld.
41458         * stdlib/tst-strtod-round.c (struct exactness): New type.
41459         (struct test): Change bool ld_ok field to struct exactness exact.
41460         (TEST): Update all definitions for change to field.
41461         (tests): Regenerate array contents.
41462         (test_in_one_mode): Take pointer to new field instead of old ld_ok
41463         field value.  Check for IBM long double here.
41464         (do_test): Update calls to test_in_one_mode.
41466 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41468         [BZ #12515]
41469         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
41470         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
41472 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41474         [BZ #15605]
41475         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
41476         generated by the compiler on loop optimizations.
41477         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
41478         general definitions.
41480 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
41482         * math/bug-nextafter.c: Include <math-tests.h>.
41483         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41484         the relevant type.
41485         * math/bug-nexttoward.c: Include <math-tests.h>.
41486         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41487         the relevant type.
41488         * math/test-misc.c: Include <math-tests.h>.
41489         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41490         the relevant type.
41492 2013-06-12  Andreas Jaeger  <aj@suse.de>
41494         * po/ia.po: Update Interlingua translation from translation
41495         project.
41497 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41499         * include/fenv.h: Include stdbool.h.
41500         (struct rm_ctx): New structure.
41501         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
41502         Define macro.
41503         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
41504         (SET_RESTORE_ROUNDF): Likewise.
41505         (SET_RESTORE_ROUNDL): Likewise.
41506         (SET_RESTORE_ROUND_NOEX): Likewise.
41507         (SET_RESTORE_ROUND_NOEXF): Likewise.
41508         (SET_RESTORE_ROUND_NOEXL): Likewise.
41509         (SET_RESTORE_ROUND_53BIT): Likewise.
41510         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
41511         (libc_feresetround_noexf_ctx): Likewise.
41512         (libc_feresetround_noexl_ctx): Likewise.
41513         (libc_feholdsetround_53bit_ctx): Likewise.
41514         (libc_feresetround_53bit_ctx): Likewise.
41515         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
41516         (libc_feholdexcept_setround_sse_ctx): New function.
41517         (libc_fesetenv_sse_ctx): Likewise.
41518         (libc_feupdateenv_sse_ctx): Likewise.
41519         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
41520         (libc_feholdexcept_setround_387_ctx): Likewise.
41521         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
41522         (libc_feholdsetround_387_prec_ctx): Likewise.
41523         (libc_feholdsetround_387_ctx): Likewise.
41524         (libc_feholdsetround_387_53bit_ctx): Likewise.
41525         (libc_feholdsetround_sse_ctx): Likewise.
41526         (libc_feresetround_sse_ctx): Likewise.
41527         (libc_feresetround_387_ctx): Likewise.
41528         (libc_feupdateenv_387_ctx): Likewise.
41529         (libc_feholdexcept_setroundf_ctx): Define macro.
41530         (libc_fesetenvf_ctx): Likewise.
41531         (libc_feupdateenvf_ctx): Likewise.
41532         (libc_feholdsetroundf_ctx): Likewise.
41533         (libc_feresetroundf_ctx): Likewise.
41534         (libc_feholdexcept_setround_ctx): Likewise.
41535         (libc_fesetenv_ctx): Likewise.
41536         (libc_feupdateenv_ctx): Likewise.
41537         (libc_feholdsetround_ctx): Likewise.
41538         (libc_feresetround_ctx): Likewise.
41539         (libc_feholdexcept_setroundl_ctx): Likewise.
41540         (libc_feupdateenvl_ctx): Likewise.
41541         (libc_feholdsetroundl_ctx): Likewise.
41542         (libc_feresetroundl_ctx): Likewise.
41543         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
41544         (libc_feresetround_53bit_ctx): Likewise.
41546 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41548         * locale/iso-639.def: Convert to UTF-8.
41550 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
41552         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
41553         (EXCEPTION_TESTS_double): Likewise.
41554         (EXCEPTION_TESTS_long_double): Likewise.
41555         (EXCEPTION_TESTS): Likewise.
41556         * math/libm-test.inc (test_exceptions): Only test exceptions if
41557         EXCEPTION_TESTS (FLOAT).
41559 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41561         * benchtests/Makefile (string-bench): Add strcpy_chk and
41562         stpcpy_chk.
41563         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
41564         * benchtests/bench-stpcpy_chk.c: New file.
41565         * benchtests/bench-strcpy_chk-ifunc.c: New file.
41566         * benchtests/bench-strcpy_chk.c: New file.
41567         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
41568         code.
41569         (do_test): Likewise.
41571 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41573         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
41574         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
41575         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
41576         with tabs where appropriate.
41577         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
41578         dl-procinfo.h.
41579         [PPC_PLATFORM_PPC440]: Likewise.
41580         [PPC_PLATFORM_PPC464]: Likewise.
41581         [PPC_PLATFORM_PPC476]: Likewise.
41582         (_dl_string_platform): Add support for detecting ppc405, ppc440,
41583         ppc464, and ppc476 platform strings merging from ports/
41584         dl-procinfo.h.
41586 2013-06-11  Andreas Schwab  <schwab@suse.de>
41588         [BZ #14991]
41589         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
41590         (from_ucs4_idx): Regenerate.
41591         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
41592         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
41593         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
41594         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
41595         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
41596         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
41597         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
41598         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
41599         from FROM_LOOP and TO_LOOP specific macros.
41600         (BODY): Handle combining characters.
41601         * iconvdata/BIG5HKSCS.irreversible: Update.
41602         * iconvdata/BIG5HKSCS.precomposed: New file.
41603         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
41604         characters.
41605         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
41607 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41609         * include/sys/time.h: Fix indentation and add copyright header.
41611         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
41612         (do_test): Likewise.
41613         * string/test-memchr.c (do_one_test): Likewise.
41614         (do_test): Likewise.
41615         * string/test-memcmp.c (do_one_test): Likewise.
41616         (do_test): Likewise.
41617         * string/test-memcpy.c (do_one_test): Likewise.
41618         (do_test): Likewise.
41619         * string/test-memmem.c (do_one_test): Likewise.
41620         (do_test): Likewise.
41621         (do_random_tests): Likewise.
41622         * string/test-memmove.c (do_one_test): Likewise.
41623         (do_test): Likewise.
41624         * string/test-memset.c (do_one_test): Likewise.
41625         (do_test): Likewise.
41626         * string/test-rawmemchr.c (do_one_test): Likewise.
41627         (do_test): Likewise.
41628         * string/test-strcasecmp.c (do_one_test): Likewise.
41629         (do_test): Likewise.
41630         * string/test-strcasestr.c (do_one_test): Likewise.
41631         (do_test): Likewise.
41632         * string/test-strcat.c (do_one_test): Likewise.
41633         (do_test): Likewise.
41634         * string/test-strchr.c (do_one_test): Likewise.
41635         (do_test): Likewise.
41636         * string/test-strcmp.c (do_one_test): Likewise.
41637         (do_test): Likewise.
41638         * string/test-strcpy.c (do_one_test): Likewise.
41639         (do_test): Likewise.
41640         * string/test-string.h: Likewise.
41641         (test_init): Likewise.
41642         * string/test-strlen.c (do_one_test): Likewise.
41643         (do_test): Likewise.
41644         * string/test-strncasecmp.c (do_one_test): Likewise.
41645         (do_test): Likewise.
41646         * string/test-strncat.c (do_one_test): Likewise.
41647         (do_test): Likewise.
41648         * string/test-strncmp.c (do_one_test): Likewise.
41649         (do_test_limit): Likewise.
41650         (do_test): Likewise.
41651         * string/test-strncpy.c (do_one_test): Likewise.
41652         (do_test): Likewise.
41653         * string/test-strnlen.c (do_one_test): Likewise.
41654         (do_test): Likewise.
41655         * string/test-strpbrk.c (do_one_test): Likewise.
41656         (do_test): Likewise.
41657         * string/test-strrchr.c (do_one_test): Likewise.
41658         (do_test): Likewise.
41659         * string/test-strspn.c (do_one_test): Likewise.
41660         (do_test): Likewise.
41661         * string/test-strstr.c (do_one_test): Likewise.
41662         (do_test): Likewise.
41664         * benchtests/Makefile (string-bench): Add string benchmarks.
41665         * benchtests/bench-bcopy-ifunc.c: New file.
41666         * benchtests/bench-bcopy.c: New file.
41667         * benchtests/bench-bzero-ifunc.c: New file.
41668         * benchtests/bench-bzero.c: New file.
41669         * benchtests/bench-memccpy-ifunc.c: New file.
41670         * benchtests/bench-memccpy.c: New file.
41671         * benchtests/bench-memchr-ifunc.c: New file.
41672         * benchtests/bench-memchr.c: New file.
41673         * benchtests/bench-memcmp-ifunc.c: New file.
41674         * benchtests/bench-memcmp.c: New file.
41675         * benchtests/bench-memmem-ifunc.c: New file.
41676         * benchtests/bench-memmem.c: New file.
41677         * benchtests/bench-memmove-ifunc.c: New file.
41678         * benchtests/bench-memmove.c: New file.
41679         * benchtests/bench-mempcpy-ifunc.c: New file.
41680         * benchtests/bench-mempcpy.c: New file.
41681         * benchtests/bench-memset-ifunc.c: New file.
41682         * benchtests/bench-memset.c: New file.
41683         * benchtests/bench-rawmemchr-ifunc.c: New file.
41684         * benchtests/bench-rawmemchr.c: New file.
41685         * benchtests/bench-stpcpy-ifunc.c: New file.
41686         * benchtests/bench-stpcpy.c: New file.
41687         * benchtests/bench-stpncpy-ifunc.c: New file.
41688         * benchtests/bench-stpncpy.c: New file.
41689         * benchtests/bench-strcasecmp-ifunc.c: New file.
41690         * benchtests/bench-strcasecmp.c: New file.
41691         * benchtests/bench-strcasestr-ifunc.c: New file.
41692         * benchtests/bench-strcasestr.c: New file.
41693         * benchtests/bench-strcat-ifunc.c: New file.
41694         * benchtests/bench-strcat.c: New file.
41695         * benchtests/bench-strchr-ifunc.c: New file.
41696         * benchtests/bench-strchr.c: New file.
41697         * benchtests/bench-strchrnul-ifunc.c: New file.
41698         * benchtests/bench-strchrnul.c: New file.
41699         * benchtests/bench-strcmp-ifunc.c: New file.
41700         * benchtests/bench-strcmp.c: New file.
41701         * benchtests/bench-strcpy-ifunc.c: New file.
41702         * benchtests/bench-strcpy.c: New file.
41703         * benchtests/bench-strcspn-ifunc.c: New file.
41704         * benchtests/bench-strcspn.c: New file.
41705         * benchtests/bench-strlen-ifunc.c: New file.
41706         * benchtests/bench-strlen.c: New file.
41707         * benchtests/bench-strncasecmp-ifunc.c: New file.
41708         * benchtests/bench-strncasecmp.c: New file.
41709         * benchtests/bench-strncat-ifunc.c: New file.
41710         * benchtests/bench-strncat.c: New file.
41711         * benchtests/bench-strncmp-ifunc.c: New file.
41712         * benchtests/bench-strncmp.c: New file.
41713         * benchtests/bench-strncpy-ifunc.c: New file.
41714         * benchtests/bench-strncpy.c: New file.
41715         * benchtests/bench-strnlen-ifunc.c: New file.
41716         * benchtests/bench-strnlen.c: New file.
41717         * benchtests/bench-strpbrk-ifunc.c: New file.
41718         * benchtests/bench-strpbrk.c: New file.
41719         * benchtests/bench-strrchr-ifunc.c: New file.
41720         * benchtests/bench-strrchr.c: New file.
41721         * benchtests/bench-strspn-ifunc.c: New file.
41722         * benchtests/bench-strspn.c: New file.
41723         * benchtests/bench-strstr-ifunc.c: New file.
41724         * benchtests/bench-strstr.c: New file.
41726         * benchtests/Makefile: Disable parallel execution of targets.
41727         (string-bench): Add memcpy.
41728         (benchset): New variable to store a list of benchmark sets.
41729         (bench-func): Renamed from bench.
41730         (bench-set): New target.
41731         (bench): Depend on bench-func and bench-set.
41732         * benchtests/README: Add section on benchmark sets.
41733         * benchtests/bench-memcpy-ifunc.c: New file.
41734         * benchtests/bench-memcpy.c: New file.
41735         * benchtests/bench-string.h: New file.
41737 2013-06-11  Andreas Schwab  <schwab@suse.de>
41739         [BZ #15577]
41740         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
41741         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
41742         values in the triple.
41743         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
41744         terminator in the group key.
41746 2013-06-11  Andreas Jaeger  <aj@suse.de>
41748         * po/zh_TW.po: Update Chinese (traditional) translation from
41749         translation project.
41751 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41753         * include/time.h (__clock_gettime): Add libc_hidden_proto.
41754         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
41755         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
41756         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41757         (clock_getcpuclockid): Likewise.
41758         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
41759         Add weak_alias and libc_hidden_def.
41760         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
41761         * rt/clock_gettime.c (clock_gettime): Rename to
41762         __clock_gettime.  Add weak_alias and libc_hidden_def.
41763         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
41764         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
41765         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
41766         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
41767         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
41768         Likewise.
41769         * rt/clock_settime.c (clock_settime): Rename to
41770         __clock_settime.  Add weak_alias and libc_hidden_def.
41771         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
41773 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
41775         * mach/err_boot.sub: Remove trailing whitespace.
41776         * mach/err_ipc.sub: Likewise.
41777         * mach/err_mach.sub: Likewise.
41779         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
41780         (ROUNDING_TESTS_double): Likewise.
41781         (ROUNDING_TESTS_long_double): Likewise.
41782         (ROUNDING_TESTS): Likewise.
41783         * math/libm-test.inc: Include <math-tests.h>.
41784         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
41785         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41786         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
41787         (IF_ROUND_INIT_FE_UPWARD): Likewise.
41789 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41791         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
41792         of assigning.
41794 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
41796         * sysdeps/gnu/errlist.awk: Do not generate space at end of
41797         otherwise empty TRANS lines.
41798         * sysdeps/gnu/errlist.c: Regenerated.
41800         * catgets/gencat.c (error_print): Use (void) in function
41801         definition.
41802         * crypt/crypt_util.c (__init_des): Likewise.
41803         * crypt/speeds.c (Stop): Likewise.
41804         (main): Likewise.
41805         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
41806         * inet/ruserpass.c (token): Likewise.
41807         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
41808         * intl/localealias.c (extend_alias_table): Likewise.
41809         * intl/plural-exp.c (init_germanic_plural): Likewise.
41810         * libio/fcloseall.c (__fcloseall): Likewise.
41811         * libio/genops.c (_IO_flush_all): Likewise.
41812         (_IO_flush_all_linebuffered): Likewise.
41813         (_IO_cleanup): Likewise.
41814         (_IO_iter_begin): Likewise.
41815         (_IO_iter_end): Likewise.
41816         (_IO_list_lock): Likewise.
41817         (_IO_list_unlock): Likewise.
41818         (_IO_list_resetlock): Likewise.
41819         * libio/getchar.c (getchar): Likewise.
41820         * libio/getchar_u.c (getchar_unlocked): Likewise.
41821         * libio/getwchar.c (getwchar): Likewise.
41822         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
41823         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
41824         * login/getpt.c (__getpt): Likewise.
41825         * login/tst-utmp.c (main): Likewise.
41826         * malloc/hooks.c (__malloc_check_init): Likewise.
41827         * malloc/malloc.c (__malloc_stats): Likewise.
41828         * malloc/mtrace.c (tr_break): Likewise.
41829         (mtrace): Likewise.
41830         (muntrace): Likewise.
41831         * misc/fstab.c (endfsent): Likewise.
41832         * misc/getclktck.c (__getclktck): Likewise.
41833         * misc/getdtsz.c (__getdtablesize): Likewise.
41834         * misc/gethostid.c (gethostid): Likewise.
41835         * misc/getpagesize.c (__getpagesize): Likewise.
41836         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
41837         (__get_nprocs): Likewise.
41838         (__get_phys_pages): Likewise.
41839         (__get_avphys_pages): Likewise.
41840         * misc/getttyent.c (getttyent): Likewise.
41841         (setttyent): Likewise.
41842         (endttyent): Likewise.
41843         * misc/getusershell.c (getusershell): Likewise.
41844         (endusershell): Likewise.
41845         (setusershell): Likewise.
41846         (initshells): Likewise.
41847         * misc/hsearch.c (__hdestroy): Likewise.
41848         * misc/sync.c (sync): Likewise.
41849         * misc/syslog.c (closelog_internal): Likewise.
41850         (closelog): Likewise.
41851         * misc/ttyslot.c (ttyslot): Likewise.
41852         * misc/vhangup.c (vhangup): Likewise.
41853         * posix/fork.c (__fork): Likewise.
41854         * posix/getegid.c (__getegid): Likewise.
41855         * posix/geteuid.c (__geteuid): Likewise.
41856         * posix/getgid.c (__getgid): Likewise.
41857         * posix/getpid.c (__getpid): Likewise.
41858         * posix/getppid.c (__getppid): Likewise.
41859         * posix/getuid.c (__getuid): Likewise.
41860         * posix/pause.c (pause): Likewise.
41861         * posix/setpgrp.c (setpgrp): Likewise.
41862         * posix/setsid.c (__setsid): Likewise.
41863         * posix/test-vfork.c (noop): Likewise.
41864         * resolv/gethnamaddr.c (_endhtent): Likewise.
41865         (_gethtent): Likewise.
41866         (ht_endhostent): Likewise.
41867         (gethostent): Likewise.
41868         (dns_service): Likewise.
41869         * stdlib/drand48.c (drand48): Likewise.
41870         * stdlib/lrand48.c (lrand48): Likewise.
41871         * stdlib/mrand48.c (mrand48): Likewise.
41872         * stdlib/rand.c (rand): Likewise.
41873         * stdlib/random.c (__random): Likewise.
41874         * stdlib/setenv.c (clearenv): Likewise.
41875         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
41876         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
41877         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
41878         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
41879         (__get_nprocs): Likewise.
41880         (__get_phys_pages): Likewise.
41881         (__get_avphys_pages): Likewise.
41882         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
41883         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
41884         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
41885         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
41886         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
41887         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
41888         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
41889         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
41890         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
41891         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
41892         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
41893         * sysdeps/mach/hurd/sync.c (sync): Likewise.
41894         * sysdeps/posix/clock.c (clock): Likewise.
41895         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
41896         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
41897         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
41898         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
41899         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
41900         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
41901         (__get_nprocs_conf): Likewise.
41902         (__get_phys_pages): Likewise.
41903         (__get_avphys_pages): Likewise.
41904         * time/clock.c (clock): Likewise.
41905         * time/tzset.c (__tzname_max): Likewise.
41907 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
41909         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
41910         (__bswap_32): Do not use "register".
41911         * crypt/crypt.c (_ufc_doit_r): Likewise.
41912         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41913         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41914         * gmon/gmon.c (__monstartup): Likewise.
41915         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
41916         * hurd/hurdmalloc.c (more_memory): Likewise.
41917         (malloc): Likewise.
41918         (free): Likewise.
41919         (realloc): Likewise.
41920         (malloc_fork_prepare): Likewise.
41921         (malloc_fork_parent): Likewise.
41922         (malloc_fork_child): Likewise.
41923         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
41924         (_svcauth_des): Likewise.
41925         * inet/inet_lnaof.c (inet_lnaof): Likewise.
41926         * inet/inet_net.c (inet_network): Likewise.
41927         * inet/inet_netof.c (inet_netof): Likewise.
41928         * inet/rcmd.c (__validuser2_sa): Likewise.
41929         * io/fts.c (fts_open): Likewise.
41930         (fts_load): Likewise.
41931         (fts_close): Likewise.
41932         (fts_read): Likewise.
41933         (fts_children): Likewise.
41934         (fts_build): Likewise.
41935         (fts_stat): Likewise.
41936         (fts_sort): Likewise.
41937         (fts_alloc): Likewise.
41938         (fts_lfree): Likewise.
41939         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
41940         (_IO_file_xsgetn): Likewise.
41941         (_IO_file_xsgetn_mmap): Likewise.
41942         * libio/iofopncook.c (_IO_cookie_read): Likewise.
41943         (_IO_cookie_write): Likewise.
41944         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
41945         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
41946         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
41947         * malloc/obstack.c (_obstack_begin): Likewise.
41948         (_obstack_begin_1): Likewise.
41949         (_obstack_newchunk): Likewise.
41950         (_obstack_allocated_p): Likewise.
41951         (obstack_free): Likewise.
41952         (_obstack_memory_used): Likewise.
41953         * misc/getttyent.c (getttynam): Likewise.
41954         (getttyent): Likewise.
41955         (skip): Likewise.
41956         (value): Likewise.
41957         * misc/getusershell.c (initshells): Likewise.
41958         * misc/syslog.c (__vsyslog_chk): Likewise.
41959         * misc/ttyslot.c (ttyslot): Likewise.
41960         * nis/nis_hash.c (__nis_hash): Likewise.
41961         * posix/fnmatch_loop.c (FCT): Likewise.
41962         * posix/getconf.c (print_all): Likewise.
41963         (main): Likewise.
41964         * posix/getopt.c (exchange): Likewise.
41965         * posix/glob.c (globfree): Likewise.
41966         (prefix_array): Likewise.
41967         (__glob_pattern_type): Likewise.
41968         * resolv/arpa/nameser.h (NS_GET16): Likewise.
41969         (NS_GET32): Likewise.
41970         (NS_PUT16): Likewise.
41971         (NS_PUT32): Likewise.
41972         * resolv/gethnamaddr.c (getanswer): Likewise.
41973         (gethostbyname2): Likewise.
41974         (gethostbyaddr): Likewise.
41975         (_gethtent): Likewise.
41976         (_gethtbyname2): Likewise.
41977         (_gethtbyaddr): Likewise.
41978         * resolv/ns_print.c (dst_s_get_int16): Likewise.
41979         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
41980         * resolv/res_init.c (__res_vinit): Likewise.
41981         (net_mask): Likewise.
41982         * resolv/res_mkquery.c (outchar): Likewise.
41983         (PRINT): Likewise.
41984         * stdio-common/printf_fp.c (outchar): Likewise.
41985         (PRINT): Likewise.
41986         * stdio-common/printf_fphex.c (outchar): Likewise.
41987         (PRINT): Likewise.
41988         * stdio-common/printf_size.c (outchar): Likewise.
41989         (PRINT): Likewise.
41990         * stdio-common/test_rdwr.c (main): Likewise.
41991         * stdio-common/tfformat.c (matches): Likewise.
41992         * stdio-common/vfprintf.c (outchar): Likewise.
41993         (printf_unknown): Likewise.
41994         (buffered_vfprintf): Likewise.
41995         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41996         * stdio-common/xbug.c (AppendToBuffer): Likewise.
41997         (ReadFile): Likewise.
41998         * stdlib/qsort.c (SWAP): Likewise.
41999         (_quicksort): Likewise.
42000         * stdlib/setenv.c (__add_to_environ): Likewise.
42001         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42002         * stdlib/strtol_l.c (__strtol_l): Likewise.
42003         * stdlib/tst-strtod.c (main): Likewise.
42004         * stdlib/tst-strtol.c (main): Likewise.
42005         * stdlib/tst-strtoll.c (main): Likewise.
42006         * string/bits/string2.h (__strcmp_cc): Likewise.
42007         (__strcmp_cg): Likewise.
42008         (__strcspn_c1): Likewise.
42009         (__strcspn_c2): Likewise.
42010         (__strcspn_c3): Likewise.
42011         (__strspn_c1): Likewise.
42012         (__strspn_c2): Likewise.
42013         (__strspn_c3): Likewise.
42014         (__strsep_1c): Likewise.
42015         (__strsep_2c): Likewise.
42016         (__strsep_3c): Likewise.
42017         * string/memccpy.c (__memccpy): Likewise.
42018         * string/stpcpy.c (__stpcpy): Likewise.
42019         * string/strcmp.c (strcmp): Likewise.
42020         * string/strrchr.c (strrchr): Likewise.
42021         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
42022         Likewise.
42023         * sysdeps/mach/hurd/getcwd.c
42024         (_hurd_canonicalize_directory_name_internal): Likewise.
42025         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
42026         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
42027         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
42028         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
42029         Likewise, in both definitions.
42030         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
42031         definitions.
42032         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
42033         64] (__bswap_64): Likewise.
42034         * time/test_time.c (main): Likewise.
42035         * time/tzfile.c (__tzfile_read): Likewise.
42036         (__tzfile_compute): Likewise.
42037         * time/tzset.c (__tzset_parse_tz): Likewise.
42038         (tzset_internal): Likewise.
42039         (compute_change): Likewise.
42040         * wcsmbs/wcscat.c (__wcscat): Likewise.
42041         * wcsmbs/wcschr.c (wcschr): Likewise.
42042         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
42043         * wcsmbs/wcscspn.c (wcscspn): Likewise.
42044         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
42045         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
42046         * wcsmbs/wcsspn.c (wcsspn): Likewise.
42047         * wcsmbs/wcsstr.c (wcsstr): Likewise.
42048         * wcsmbs/wmemchr.c (wmemchr): Likewise.
42049         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42050         * wcsmbs/wmemset.c (wmemset): Likewise.
42052 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
42054         * scripts/config.guess: Update to version 2013-05-16.
42055         * scripts/config.sub: Update to version 2013-04-24.
42056         * scripts/install-sh: Update to version 2011-11-20.07.
42057         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
42058         * scripts/move-if-change: Update to version 2012-01-06 07:23.
42060 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
42062         * debug/fgetws_u_chk.c: Fix leading whitespaces.
42063         * elf/sln.c: Likewise.
42064         * hurd/hurd/ioctl.h: Likewise.
42065         * hurd/hurdmalloc.c: Likewise.
42066         * hurd/xattr.c: Likewise.
42067         * include/shlib-compat.h: Likewise.
42068         * inet/ruserpass.c: Likewise.
42069         * libio/iofgets_u.c: Likewise.
42070         * libio/iofgetws_u.c: Likewise.
42071         * locale/programs/ld-identification.c: Likewise.
42072         * locale/programs/ld-time.c: Likewise.
42073         * mach/msg-destroy.c: Likewise.
42074         * nss/nss_files/files-netgrp.c: Likewise.
42075         * resolv/res_data.c: Likewise.
42076         * soft-fp/op-1.h: Likewise.
42077         * soft-fp/op-2.h: Likewise.
42078         * soft-fp/op-4.h: Likewise.
42079         * soft-fp/op-common.h: Likewise.
42080         * stdio-common/printf_fphex.c: Likewise.
42081         * stdlib/strtod_l.c: Likewise.
42082         * sunrpc/rpc/clnt.h: Likewise.
42083         * sysdeps/generic/framestate.c: Likewise.
42084         * sysdeps/i386/bsd-_setjmp.S: Likewise.
42085         * sysdeps/i386/bsd-setjmp.S: Likewise.
42086         * sysdeps/i386/__longjmp.S: Likewise.
42087         * sysdeps/i386/setjmp.S: Likewise.
42088         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42089         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42090         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42091         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42092         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42093         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42094         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42095         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42096         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42097         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42098         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42099         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42100         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42101         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42102         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42103         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42104         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42105         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
42106         * sysdeps/ieee754/support.c: Likewise.
42107         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42108         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
42109         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
42110         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
42111         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
42112         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
42113         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
42114         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
42115         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
42116         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
42117         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
42118         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
42119         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
42120         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
42121         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
42122         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
42123         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42126 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
42128         * posix/transbug.c: Remove executable mode.
42130 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
42132         * crypt/speeds.c: Remove trailing whitespace.
42133         * dlfcn/default.c: Likewise.
42134         * elf/ifuncdep2.c: Likewise.
42135         * elf/ifuncmain1.c: Likewise.
42136         * elf/ifuncmain1vis.c: Likewise.
42137         * elf/testobj.h: Likewise.
42138         * elf/tst-stackguard1.c: Likewise.
42139         * gmon/sys/gmon.h: Likewise.
42140         * hurd/hurdmsg.c: Likewise.
42141         * hurd/new-fd.c: Likewise.
42142         * hurd/ports-get.c: Likewise.
42143         * iconvdata/ibm1008_420.c: Likewise.
42144         * inet/tst-getni1.c: Likewise.
42145         * inet/tst-getni2.c: Likewise.
42146         * libio/ioungetc.c: Likewise.
42147         * libio/wfiledoalloc.c: Likewise.
42148         * manual/libm-err-tab.pl: Likewise.
42149         * math/w_dremf.c: Likewise.
42150         * misc/ftruncate.c: Likewise.
42151         * posix/bug-glob2.c: Likewise.
42152         * posix/tst-pcre.c: Likewise.
42153         * posix/wait4.c: Likewise.
42154         * resolv/README: Likewise.
42155         * resolv/res_debug.h: Likewise.
42156         * resolv/tst-inet_ntop.c: Likewise.
42157         * setjmp/bug269-setjmp.c: Likewise.
42158         * soft-fp/extended.h: Likewise.
42159         * soft-fp/op-1.h: Likewise.
42160         * soft-fp/op-2.h: Likewise.
42161         * soft-fp/op-4.h: Likewise.
42162         * soft-fp/op-8.h: Likewise.
42163         * soft-fp/testit.c: Likewise.
42164         * stdio-common/bug16.c: Likewise.
42165         * stdlib/random.c: Likewise.
42166         * sunrpc/rpcsvc/rquota.x: Likewise.
42167         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
42168         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42169         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42170         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42171         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42172         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42173         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42174         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42175         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42176         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42177         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42178         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42179         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42180         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42181         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42182         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42183         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42184         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42185         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42186         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42187         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42188         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42189         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
42190         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42191         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42192         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42193         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42194         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42195         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42196         * sysdeps/ieee754/s_lib_version.c: Likewise.
42197         * sysdeps/mach/hurd/check_fds.c: Likewise.
42198         * sysdeps/mach/hurd/getsockname.c: Likewise.
42199         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
42200         * sysdeps/mach/hurd/recvfrom.c: Likewise.
42201         * sysdeps/powerpc/bits/link.h: Likewise.
42202         * sysdeps/powerpc/dl-procinfo.c: Likewise.
42203         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
42204         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
42205         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
42206         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42207         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42208         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
42209         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42210         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
42211         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42212         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
42213         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42214         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
42215         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42216         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42217         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42218         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42219         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42220         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42221         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42222         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42223         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
42224         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42225         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42226         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
42227         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42228         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42229         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42230         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42231         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42232         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42233         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42234         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42235         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42236         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
42237         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42238         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
42239         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42240         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
42241         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
42242         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
42243         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
42244         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
42245         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
42246         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42247         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
42248         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
42249         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42250         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
42251         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
42252         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42253         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42254         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42255         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42256         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
42257         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
42258         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
42259         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42260         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
42261         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
42262         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
42263         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
42264         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
42265         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42266         * sysdeps/powerpc/sysdep.h: Likewise.
42267         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42268         * sysdeps/s390/s390-64/sub_n.S: Likewise.
42269         * sysdeps/sh/dl-trampoline.S: Likewise.
42270         * sysdeps/sh/memset.S: Likewise.
42271         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
42272         * sysdeps/sh/strlen.S: Likewise.
42273         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
42274         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
42275         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
42276         * sysdeps/sparc/sparc32/rem.S: Likewise.
42277         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
42278         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
42279         * sysdeps/sparc/sparc32/strchr.S: Likewise.
42280         * sysdeps/sparc/sparc32/udiv.S: Likewise.
42281         * sysdeps/sparc/sparc32/urem.S: Likewise.
42282         * sysdeps/sparc/sparc64/add_n.S: Likewise.
42283         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42284         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
42285         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
42286         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
42287         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
42288         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
42289         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
42290         * sysdeps/unix/bsd/times.c: Likewise.
42291         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
42292         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
42293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42296         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
42297         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42298         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
42299         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
42300         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
42301         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
42302         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42303         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
42304         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42305         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42306         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
42307         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42308         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
42309         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
42310         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
42311         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
42312         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
42313         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42314         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
42315         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
42316         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
42317         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
42318         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42319         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
42320         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
42321         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
42322         * sysdeps/x86_64/strcspn.S: Likewise.
42324 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42326         * locale/C-translit.h: Revert #include <stdint.h> because this is a
42327         generated file.  Regenerate properly from gen-translit.pl.
42328         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
42329         locale/C-translit.h.
42331 2013-06-05  Andreas Schwab  <schwab@suse.de>
42333         [BZ #15100]
42334         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
42335         week as 6 instead of -1.
42336         * time/tst-strptime.c (day_tests): Add test case.
42338 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42340         * sysdeps/generic/math_private.h
42341         (libc_feholdexcept_setround_53bit): Replace with
42342         libc_feholdsetround_53bit.
42343         (libc_feupdateenv_53bit): Replace with
42344         libc_feresetround_53bit.
42345         (SET_RESTORE_ROUND_53BIT): Adjust.
42347 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42349         * string/test-strchrnul.c: Add copyright header.
42351         * posix/tst-getaddrinfo4.c: Increase test timeout.
42353 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
42355         [BZ #15536]
42356         * math/libm-test.inc (MAX_EXP): Remove
42357         (MIN_EXP): Define.
42358         (ulp): Use MIN_EXP - MANT_DIG.
42359         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
42361 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
42363         * po/be.po: Revert last change.
42364         * po/zh_CN.po: Likewise.
42365         * po/header.pot: Likewise.
42367 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
42369         * Makefile ($(common-objpfx)linkobj/libc.so): Define
42370         link-libc-deps to empty as target-specific variable.
42371         * Makerules (link-libc-args): New variable.
42372         (libc-for-link): Likewise.
42373         (link-libc-deps): Likewise.
42374         (lib%.so): Depend on $(link-libc-deps).  Link with
42375         $(link-libc-args).
42376         (build-module): Link with $(link-libc-args).
42377         (build-module-asneeded): Likewise.
42378         (build-module-helper-objlist): Filter out $(link-libc-deps) from
42379         list of objects.
42380         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
42381         target-specific variable.
42382         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
42383         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
42384         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
42385         libc.
42386         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
42387         libc and ld.so.
42388         ($(objpfx)libpcprofile.so): Likewise.
42389         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
42390         libc_nonshared.a.
42391         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
42392         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
42393         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
42394         $(link-libc-deps).
42395         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
42396         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
42397         * login/Makefile ($(objpfx)libutil.so): Likewise.
42398         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
42399         * math/Makefile ($(objpfx)libm.so): Likewise.
42400         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
42401         $(objpfx)libnsl.so): Define libc-for-link as target-specific
42402         variable instead of depending directly on libc.
42403         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
42404         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
42405         $(link-libc-deps).
42406         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
42407         libc.
42408         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
42409         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
42410         ($(objpfx)libanl.so): Likewise.
42411         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
42412         ld.so.
42413         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
42414         $(link-libc-deps).
42415         * sysdeps/i386/fpu/Makefile: Remove file.
42416         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
42417         ($(objpfx)libm.so): Remove dependency on ld.so.
42419 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
42421         [BZ # 15553]
42422         * nis/yp_xdr.c (XDRMAXNAME): Define.
42423         (XDRMAXRECORD): Define.
42424         (xdr_domainname): Use XDRMAXNAME.
42425         (xdr_mapname): Likewise.
42426         (xdr_peername): Likewise.
42427         (xdr_keydat): Use XDRMAXRECORD.
42428         (xdr_valdat): Likewise.
42430 2013-05-30  Jeff Law  <law@redhat.com>
42432         [BZ #14256]
42433         * manual/errno.texi (ESTALE): Update to account for more than
42434         just NFS file systems.
42435         * sysdeps/gnu/errlist.c: Regenerated.
42437 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42439         [BZ #15465]
42440         * elf/Makefile (tests): Add tst-null-argv.
42441         (modules-names):  Add tst-null-argv-lib.
42442         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
42443         (tst-null-argv-ENV): Set environment for tst-null-argv.
42444         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
42445         (RTLD_PROGNAME): New macro.
42446         * elf/tst-null-argv.c: New test case.
42447         * elf/tst-null-argv-lib.c: Library for test case.
42448         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
42449         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
42450         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
42451         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
42452         * elf/dl-init.c (call_init): Likewise.
42453         (_dl_init): Likewise.
42454         * elf/dl-load.c (print_search_path): Likewise.
42455         (_dl_map_object): Likewise.
42456         * elf/dl-lookup.c (do_lookup_x): Likewise.
42457         (add_dependency): Likewise.
42458         (_dl_lookup_symbol_x): Likewise.
42459         (_dl_debug_bindings): Likewise.
42460         * elf/dl-open.c (_dl_show_scope): Likewise.
42461         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42462         * elf/dl-version.c (match_symbol): Likewise.
42463         (_dl_check_map_versions): Likewise.
42464         * elf/rtld.c (dl_main): Likewise.
42465         (print_unresolved): Use RTLD_PROGNAME.
42466         (print_missing_version): Likewise.
42467         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
42468         (elf_machine_rela): Likewise.
42469         * sysdeps/powerpc/powerpc32/dl-machine.c
42470         (__process_machine_rela): Likewise.
42471         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42472         Likewise.
42473         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42474         Likewise.
42475         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42476         Likewise.
42477         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42478         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
42479         Likewise.
42480         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
42481         Likewise.
42482         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42484 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
42486         * po/be.po: Add descriptive title.
42487         * po/zh_CN.po: Likewise.
42488         * po/header.pot: Likewise.
42490 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
42492         * locale/programs/locarchive.c (create_archive): Inlucde fname in
42493         error message.
42494         (enlarge_archive): Likewise.
42496 2013-05-28  Ben North  <ben@redfrontdoor.org>
42498         * manual/arith.texi (frexp): It is the magnitude of the return
42499         value which lies in [0.5, 1), not the return value itself.
42501 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42505 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
42507         * stdio-common/bug26.c (main): Correct fscanf template.
42509         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
42510         declare _dl_skip_args.
42512         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
42513         Don't declare.
42515         * manual/platform.texi: Add missing @end deftypefun.
42517 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
42519         [BZ #15529]
42520         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
42521         bit of mantissa of 2^16382.
42522         * math/libm-test.inc (hypot_test_data): Add more tests.
42524         * math/libm-test.inc: Add drem and pow10 to list of tested
42525         functions.
42526         (pow10_test): New function.
42527         (drem_test): Likewise.
42528         (drem_test_tonearest): Likewise.
42529         (drem_test_towardzero): Likewise.
42530         (drem_test_downward): Likewise.
42531         (drem_test_upward): Likewise.
42532         (main): Call the new functions.
42534         * math/libm-test.inc (finite_test_data): Remove.
42535         (finite_test): Run tests from isfinite_test_data.
42536         (gamma_test_data): Remove.
42537         (gamma_test): Run tests from lgamma_test_data.
42538         * sysdeps/i386/fpu/libm-test-ulps: Update.
42539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42541 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42543         * manual/platform.texi: Add PowerPC PPR function set documentation.
42544         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
42545         implementation.
42547 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
42549         * math/libm-test.inc (MAX_EXP): Define.
42550         (ULPDIFF): Define.
42551         (ulp): New function.
42552         (check_float_internal): Use ULPDIFF.
42553         (cpow_test): Disable failing test.
42554         (check_ulp): Test ulp() implemetnation.
42555         (main): Call check_ulp before starting tests.
42557 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
42559         * math/gen-libm-test.pl (generate_testfile): Do not handle
42560         START_DATA and END_DATA.
42561         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
42562         END_DATA.
42563         (acos_tonearest_test_data): Likewise.
42564         (acos_towardzero_test_data): Likewise.
42565         (acos_downward_test_data): Likewise.
42566         (acos_upward_test_data): Likewise.
42567         (acosh_test_data): Likewise.
42568         (asin_test_data): Likewise.
42569         (asin_tonearest_test_data): Likewise.
42570         (asin_towardzero_test_data): Likewise.
42571         (asin_downward_test_data): Likewise.
42572         (asin_upward_test_data): Likewise.
42573         (asinh_test_data): Likewise.
42574         (atan_test_data): Likewise.
42575         (atanh_test_data): Likewise.
42576         (atan2_test_data): Likewise.
42577         (cabs_test_data): Likewise.
42578         (cacos_test_data): Likewise.
42579         (cacosh_test_data): Likewise.
42580         (carg_test_data): Likewise.
42581         (casin_test_data): Likewise.
42582         (casinh_test_data): Likewise.
42583         (catan_test_data): Likewise.
42584         (catanh_test_data): Likewise.
42585         (cbrt_test_data): Likewise.
42586         (ccos_test_data): Likewise.
42587         (ccosh_test_data): Likewise.
42588         (ceil_test_data): Likewise.
42589         (cexp_test_data): Likewise.
42590         (cimag_test_data): Likewise.
42591         (clog_test_data): Likewise.
42592         (clog10_test_data): Likewise.
42593         (conj_test_data): Likewise.
42594         (copysign_test_data): Likewise.
42595         (cos_test_data): Likewise.
42596         (cos_tonearest_test_data): Likewise.
42597         (cos_towardzero_test_data): Likewise.
42598         (cos_downward_test_data): Likewise.
42599         (cos_upward_test_data): Likewise.
42600         (cosh_test_data): Likewise.
42601         (cosh_tonearest_test_data): Likewise.
42602         (cosh_towardzero_test_data): Likewise.
42603         (cosh_downward_test_data): Likewise.
42604         (cosh_upward_test_data): Likewise.
42605         (cpow_test_data): Likewise.
42606         (cproj_test_data): Likewise.
42607         (creal_test_data): Likewise.
42608         (csin_test_data): Likewise.
42609         (csinh_test_data): Likewise.
42610         (csqrt_test_data): Likewise.
42611         (ctan_test_data): Likewise.
42612         (ctan_tonearest_test_data): Likewise.
42613         (ctan_towardzero_test_data): Likewise.
42614         (ctan_downward_test_data): Likewise.
42615         (ctan_upward_test_data): Likewise.
42616         (ctanh_test_data): Likewise.
42617         (ctanh_tonearest_test_data): Likewise.
42618         (ctanh_towardzero_test_data): Likewise.
42619         (ctanh_downward_test_data): Likewise.
42620         (ctanh_upward_test_data): Likewise.
42621         (erf_test_data): Likewise.
42622         (erfc_test_data): Likewise.
42623         (exp_test_data): Likewise.
42624         (exp_tonearest_test_data): Likewise.
42625         (exp_towardzero_test_data): Likewise.
42626         (exp_downward_test_data): Likewise.
42627         (exp_upward_test_data): Likewise.
42628         (exp10_test_data): Likewise.
42629         (exp2_test_data): Likewise.
42630         (expm1_test_data): Likewise.
42631         (fabs_test_data): Likewise.
42632         (fdim_test_data): Likewise.
42633         (finite_test_data): Likewise.
42634         (floor_test_data): Likewise.
42635         (fma_test_data): Likewise.
42636         (fma_towardzero_test_data): Likewise.
42637         (fma_downward_test_data): Likewise.
42638         (fma_upward_test_data): Likewise.
42639         (fmax_test_data): Likewise.
42640         (fmin_test_data): Likewise.
42641         (fmod_test_data): Likewise.
42642         (fpclassify_test_data): Likewise.
42643         (frexp_test_data): Likewise.
42644         (gamma_test_data): Likewise.
42645         (hypot_test_data): Likewise.
42646         (ilogb_test_data): Likewise.
42647         (isfinite_test_data): Likewise.
42648         (isgreater_test_data): Likewise.
42649         (isgreaterequal_test_data): Likewise.
42650         (isinf_test_data): Likewise.
42651         (isless_test_data): Likewise.
42652         (islessequal_test_data): Likewise.
42653         (islessgreater_test_data): Likewise.
42654         (isnan_test_data): Likewise.
42655         (isnormal_test_data): Likewise.
42656         (issignaling_test_data): Likewise.
42657         (isunordered_test_data): Likewise.
42658         (j0_test_data): Likewise.
42659         (j1_test_data): Likewise.
42660         (jn_test_data): Likewise.
42661         (ldexp_test_data): Likewise.
42662         (lgamma_test_data): Likewise.
42663         (lrint_test_data): Likewise.
42664         (lrint_tonearest_test_data): Likewise.
42665         (lrint_towardzero_test_data): Likewise.
42666         (lrint_downward_test_data): Likewise.
42667         (lrint_upward_test_data): Likewise.
42668         (llrint_test_data): Likewise.
42669         (llrint_tonearest_test_data): Likewise.
42670         (llrint_towardzero_test_data): Likewise.
42671         (llrint_downward_test_data): Likewise.
42672         (llrint_upward_test_data): Likewise.
42673         (log_test_data): Likewise.
42674         (log10_test_data): Likewise.
42675         (log1p_test_data): Likewise.
42676         (log2_test_data): Likewise.
42677         (logb_test_data): Likewise.
42678         (logb_downward_test_data): Likewise.
42679         (lround_test_data): Likewise.
42680         (llround_test_data): Likewise.
42681         (modf_test_data): Likewise.
42682         (nearbyint_test_data): Likewise.
42683         (nextafter_test_data): Likewise.
42684         (nexttoward_test_data): Likewise.
42685         (pow_test_data): Likewise.
42686         (pow_tonearest_test_data): Likewise.
42687         (pow_towardzero_test_data): Likewise.
42688         (pow_downward_test_data): Likewise.
42689         (pow_upward_test_data): Likewise.
42690         (remainder_test_data): Likewise.
42691         (remainder_tonearest_test_data): Likewise.
42692         (remainder_towardzero_test_data): Likewise.
42693         (remainder_downward_test_data): Likewise.
42694         (remainder_upward_test_data): Likewise.
42695         (remquo_test_data): Likewise.
42696         (rint_test_data): Likewise.
42697         (rint_tonearest_test_data): Likewise.
42698         (rint_towardzero_test_data): Likewise.
42699         (rint_downward_test_data): Likewise.
42700         (rint_upward_test_data): Likewise.
42701         (round_test_data): Likewise.
42702         (scalb_test_data): Likewise.
42703         (scalbn_test_data): Likewise.
42704         (scalbln_test_data): Likewise.
42705         (signbit_test_data): Likewise.
42706         (sin_test_data): Likewise.
42707         (sin_tonearest_test_data): Likewise.
42708         (sin_towardzero_test_data): Likewise.
42709         (sin_downward_test_data): Likewise.
42710         (sin_upward_test_data): Likewise.
42711         (sincos_test_data): Likewise.
42712         (sinh_test_data): Likewise.
42713         (sinh_tonearest_test_data): Likewise.
42714         (sinh_towardzero_test_data): Likewise.
42715         (sinh_downward_test_data): Likewise.
42716         (sinh_upward_test_data): Likewise.
42717         (sqrt_test_data): Likewise.
42718         (tan_test_data): Likewise.
42719         (tan_tonearest_test_data): Likewise.
42720         (tan_towardzero_test_data): Likewise.
42721         (tan_downward_test_data): Likewise.
42722         (tan_upward_test_data): Likewise.
42723         (tanh_test_data): Likewise.
42724         (tgamma_test_data): Likewise.
42725         (trunc_test_data): Likewise.
42726         (y0_test_data): Likewise.
42727         (y1_test_data): Likewise.
42728         (yn_test_data): Likewise.
42729         (significand_test_data): Likewise.
42731         * math/gen-libm-test.pl (@functions): Remove variable.
42732         (generate_testfile): Don't handle START and END lines.
42733         * math/libm-test.inc (START): New macro.
42734         (END): Likewise.
42735         (END_COMPLEX): Likewise.
42736         (acos_test): Use END macro without arguments.
42737         (acos_test_tonearest): Likewise.
42738         (acos_test_towardzero): Likewise.
42739         (acos_test_downward): Likewise.
42740         (acos_test_upward): Likewise.
42741         (acosh_test): Likewise.
42742         (asin_test): Likewise.
42743         (asin_test_tonearest): Likewise.
42744         (asin_test_towardzero): Likewise.
42745         (asin_test_downward): Likewise.
42746         (asin_test_upward): Likewise.
42747         (asinh_test): Likewise.
42748         (atan_test): Likewise.
42749         (atanh_test): Likewise.
42750         (atan2_test): Likewise.
42751         (cabs_test): Likewise.
42752         (cacos_test): Use END_COMPLEX macro without arguments.
42753         (cacosh_test): Likewise.
42754         (carg_test): Use END macro without arguments.
42755         (casin_test): Use END_COMPLEX macro without arguments.
42756         (casinh_test): Likewise.
42757         (catan_test): Likewise.
42758         (catanh_test): Likewise.
42759         (cbrt_test): Use END macro without arguments.
42760         (ccos_test): Use END_COMPLEX macro without arguments.
42761         (ccosh_test): Likewise.
42762         (ceil_test): Use END macro without arguments.
42763         (cexp_test): Use END_COMPLEX macro without arguments.
42764         (cimag_test): Use END macro without arguments.
42765         (clog_test): Use END_COMPLEX macro without arguments.
42766         (clog10_test): Likewise.
42767         (conj_test): Likewise.
42768         (copysign_test): Use END macro without arguments.
42769         (cos_test): Likewise.
42770         (cos_test_tonearest): Likewise.
42771         (cos_test_towardzero): Likewise.
42772         (cos_test_downward): Likewise.
42773         (cos_test_upward): Likewise.
42774         (cosh_test): Likewise.
42775         (cosh_test_tonearest): Likewise.
42776         (cosh_test_towardzero): Likewise.
42777         (cosh_test_downward): Likewise.
42778         (cosh_test_upward): Likewise.
42779         (cpow_test): Use END_COMPLEX macro without arguments.
42780         (cproj_test): Likewise.
42781         (creal_test): Use END macro without arguments.
42782         (csin_test): Use END_COMPLEX macro without arguments.
42783         (csinh_test): Likewise.
42784         (csqrt_test): Likewise.
42785         (ctan_test): Likewise.
42786         (ctan_test_tonearest): Likewise.
42787         (ctan_test_towardzero): Likewise.
42788         (ctan_test_downward): Likewise.
42789         (ctan_test_upward): Likewise.
42790         (ctanh_test): Likewise.
42791         (ctanh_test_tonearest): Likewise.
42792         (ctanh_test_towardzero): Likewise.
42793         (ctanh_test_downward): Likewise.
42794         (ctanh_test_upward): Likewise.
42795         (erf_test): Use END macro without arguments.
42796         (erfc_test): Likewise.
42797         (exp_test): Likewise.
42798         (exp_test_tonearest): Likewise.
42799         (exp_test_towardzero): Likewise.
42800         (exp_test_downward): Likewise.
42801         (exp_test_upward): Likewise.
42802         (exp10_test): Likewise.
42803         (exp2_test): Likewise.
42804         (expm1_test): Likewise.
42805         (fabs_test): Likewise.
42806         (fdim_test): Likewise.
42807         (finite_test): Likewise.
42808         (floor_test): Likewise.
42809         (fma_test): Likewise.
42810         (fma_test_towardzero): Likewise.
42811         (fma_test_downward): Likewise.
42812         (fma_test_upward): Likewise.
42813         (fmax_test): Likewise.
42814         (fmin_test): Likewise.
42815         (fmod_test): Likewise.
42816         (fpclassify_test): Likewise.
42817         (frexp_test): Likewise.
42818         (gamma_test): Likewise.
42819         (hypot_test): Likewise.
42820         (ilogb_test): Likewise.
42821         (isfinite_test): Likewise.
42822         (isgreater_test): Likewise.
42823         (isgreaterequal_test): Likewise.
42824         (isinf_test): Likewise.
42825         (isless_test): Likewise.
42826         (islessequal_test): Likewise.
42827         (islessgreater_test): Likewise.
42828         (isnan_test): Likewise.
42829         (isnormal_test): Likewise.
42830         (issignaling_test): Likewise.
42831         (isunordered_test): Likewise.
42832         (j0_test): Likewise.
42833         (j1_test): Likewise.
42834         (jn_test): Likewise.
42835         (ldexp_test): Likewise.
42836         (lgamma_test): Likewise.
42837         (lrint_test): Likewise.
42838         (lrint_test_tonearest): Likewise.
42839         (lrint_test_towardzero): Likewise.
42840         (lrint_test_downward): Likewise.
42841         (lrint_test_upward): Likewise.
42842         (llrint_test): Likewise.
42843         (llrint_test_tonearest): Likewise.
42844         (llrint_test_towardzero): Likewise.
42845         (llrint_test_downward): Likewise.
42846         (llrint_test_upward): Likewise.
42847         (log_test): Likewise.
42848         (log10_test): Likewise.
42849         (log1p_test): Likewise.
42850         (log2_test): Likewise.
42851         (logb_test): Likewise.
42852         (logb_test_downward): Likewise.
42853         (lround_test): Likewise.
42854         (llround_test): Likewise.
42855         (modf_test): Likewise.
42856         (nearbyint_test): Likewise.
42857         (nextafter_test): Likewise.
42858         (nexttoward_test): Likewise.
42859         (pow_test): Likewise.
42860         (pow_test_tonearest): Likewise.
42861         (pow_test_towardzero): Likewise.
42862         (pow_test_downward): Likewise.
42863         (pow_test_upward): Likewise.
42864         (remainder_test): Likewise.
42865         (remainder_test_tonearest): Likewise.
42866         (remainder_test_towardzero): Likewise.
42867         (remainder_test_downward): Likewise.
42868         (remainder_test_upward): Likewise.
42869         (remquo_test): Likewise.
42870         (rint_test): Likewise.
42871         (rint_test_tonearest): Likewise.
42872         (rint_test_towardzero): Likewise.
42873         (rint_test_downward): Likewise.
42874         (rint_test_upward): Likewise.
42875         (round_test): Likewise.
42876         (scalb_test): Likewise.
42877         (scalbn_test): Likewise.
42878         (scalbln_test): Likewise.
42879         (signbit_test): Likewise.
42880         (sin_test): Likewise.
42881         (sin_test_tonearest): Likewise.
42882         (sin_test_towardzero): Likewise.
42883         (sin_test_downward): Likewise.
42884         (sin_test_upward): Likewise.
42885         (sincos_test): Likewise.
42886         (sinh_test): Likewise.
42887         (sinh_test_tonearest): Likewise.
42888         (sinh_test_towardzero): Likewise.
42889         (sinh_test_downward): Likewise.
42890         (sinh_test_upward): Likewise.
42891         (sqrt_test): Likewise.
42892         (tan_test): Likewise.
42893         (tan_test_tonearest): Likewise.
42894         (tan_test_towardzero): Likewise.
42895         (tan_test_downward): Likewise.
42896         (tan_test_upward): Likewise.
42897         (tanh_test): Likewise.
42898         (tgamma_test): Likewise.
42899         (trunc_test): Likewise.
42900         (y0_test): Likewise.
42901         (y1_test): Likewise.
42902         (yn_test): Likewise.
42903         (significand_test): Likewise.
42905 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
42907         [BZ #15381]
42908         * libio/genops.c (_IO_no_init): Initialize wide struct info.
42910 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
42912         [BZ #14894]
42913         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
42914         __ppc_mdoio and __ppc_mdoom.
42915         * manual/platform.texi: Document new functions __ppc_yield,
42916         __ppc_mdoio and __ppc_mdoom.
42918 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
42920         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
42921         (main): Mention "tls" pseudo-hwcap is legacy.
42922         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
42924 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
42926         * math/gen-libm-test.pl (parse_args): Output only string of
42927         arguments as text for test name, not full call or descriptions of
42928         tests for extra outputs.
42929         (generate_testfile): Do not pass function name to parse_args.
42930         Generate this_func variable from START.
42931         * math/libm-test.inc (struct test_f_f_data): Rename test_name
42932         field to arg_str.
42933         (struct test_ff_f_data): Likewise.
42934         (test_ff_f_data_nexttoward): Likewise.
42935         (struct test_fi_f_data): Likewise.
42936         (struct test_fl_f_data): Likewise.
42937         (struct test_if_f_data): Likewise.
42938         (struct test_fff_f_data): Likewise.
42939         (struct test_c_f_data): Likewise.
42940         (struct test_f_f1_data): Likewise.  Remove field extra_name.
42941         (struct test_fF_f1_data): Likewise.
42942         (struct test_ffI_f1_data): Likewise.
42943         (struct test_c_c_data): Rename test_name field to arg_str.
42944         (struct test_cc_c_data): Likewise.
42945         (struct test_f_i_data): Likewise.
42946         (struct test_ff_i_data): Likewise.
42947         (struct test_f_l_data): Likewise.
42948         (struct test_f_L_data): Likewise.
42949         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
42950         and extra2_name.
42951         (COMMON_TEST_SETUP): New macro.
42952         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
42953         (COMMON_TEST_CLEANUP): Likewise.
42954         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
42955         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
42956         macros.
42957         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
42958         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
42959         macros.
42960         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
42961         (RUN_TEST_fff_f): Take argument string.  Call new setup and
42962         cleanup macros.
42963         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
42964         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
42965         macros.
42966         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
42967         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
42968         macros.
42969         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42970         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
42971         cleanup macros.
42972         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42973         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
42974         cleanup macros.
42975         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42976         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
42977         cleanup macros.
42978         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42979         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
42980         macros.
42981         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
42982         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
42983         macros.
42984         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
42985         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
42986         macros.
42987         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
42988         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
42989         cleanup macros.
42990         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
42991         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
42992         cleanup macros.
42993         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
42994         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
42995         macros.
42996         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
42997         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
42998         cleanup macros.
42999         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
43000         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
43001         macros.
43002         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
43003         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
43004         macros.
43005         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
43006         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
43007         cleanup macros.
43008         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
43010 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
43012         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
43013         to _sifields.sigfault.
43014         (si_addr_lsb): Define new macro.
43015         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43016         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43017         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
43019 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
43021         [BZ #15441]
43022         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
43023         returns -1.
43024         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
43025         null return -1.
43026         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
43027         loading the domain.
43029 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
43031         * math/gen-libm-test.pl (parse_args): Do not include expected
43032         result in test name.
43033         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
43034         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43035         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43036         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43037         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43040 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43042         * benchtests/Makefile: Sort function entries.
43044         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
43045         tanh, asinh, acosh, atanh.
43046         * benchtests/acos-inputs: New file.
43047         * benchtests/acosh-inputs: New file.
43048         * benchtests/asin-inputs: New file.
43049         * benchtests/asinh-inputs: New file.
43050         * benchtests/atanh-inputs: New file.
43051         * benchtests/cosh-inputs: New file.
43052         * benchtests/log-inputs: New file.
43053         * benchtests/sinh-inputs: New file.
43054         * benchtests/tanh-inputs: New file.
43056 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
43058         [BZ #15339]
43059         * posix/tst-getaddrinfo4.c: New test.
43060         * posix/Makefile (tests): Add it.
43062 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43064         [BZ #15339]
43065         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
43066         when no services were used.
43067         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
43068         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
43070 2013-05-21  Andreas Schwab  <schwab@suse.de>
43072         [BZ #15014]
43073         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
43074         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
43075         successful.
43076         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
43077         redundant variable declarations and reallocation of buffer when
43078         parsing as IPv6 address.  Always set NSS status when called from
43079         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
43080         buffer too small.  Correct computation of needed size.
43081         * nss/Makefile (tests): Add test-digits-dots.
43082         * nss/test-digits-dots.c: New test.
43084 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43086         * benchtests/Makefile: Remove instructions for adding
43087         benchmark tests.
43088         * benchtests/README: New file to explain how to execute and
43089         enhance the benchmark tests.
43091 2013-05-21  Andreas Schwab  <schwab@suse.de>
43093         [BZ #15493]
43094         * setjmp/Makefile (tests): Add tst-sigsetjmp.
43095         * setjmp/tst-sigsetjmp.c: New test.
43097 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
43099         * sysdeps/x86_64/memset.S (memset): New implementation.
43100         (__bzero): Likewise.
43101         (__memset_tail): New function.
43103 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
43105         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
43106         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
43107         __memcpy_sse2_unaligned ifunc selection.
43108         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43109         Add memcpy-sse2-unaligned.S.
43110         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43111         Add: __memcpy_sse2_unaligned.
43113 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
43115         [BZ #15490]
43116         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
43117         math_force_eval before restoring floating-point envrionment.
43118         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
43119         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
43120         Likewise.
43121         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
43122         <math_private.h>.
43123         (__nearbyintl): Use math_force_eval before restoring
43124         floating-point environment.
43125         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
43127         * math/gen-libm-test.pl (special_functions): Remove.
43128         (parse_args): Don't handle TEST_extra.  Handle functions with no
43129         return value.
43130         * math/libm-test.inc (struct test_sincos_data): Replace with
43131         struct test_fFF_11_data.
43132         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
43133         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
43134         (sincos_test_data): Change element type to struct
43135         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
43136         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
43137         RUN_TEST_LOOP_sincos.
43138         * math/README.libm-test: Don't mention special handling of
43139         individual functions.
43140         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
43141         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43142         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43143         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43144         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43147         * math/gen-libm-test.pl (get_variable): Remove function.
43148         (parse_args): Don't show pointer parameters to call in test
43149         names.  Use "extra output N" in test names for extra outputs
43150         rather than naming variables.
43152 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
43154         [BZ #15488]
43155         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
43156         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
43157         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
43158         double tests.
43159         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
43160         disable.
43161         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
43162         check_long_double.
43164         * math/gen-libm-test.pl (@tests): Remove variable.
43165         ($count): Likewise.
43166         (new_test): Remove function.
43167         (show_exceptions): New function.
43168         (special_functions): Use show_exceptions instead of new_test.
43169         (parse_args): Likewise.
43170         (generate_testfile): Pass only function name in generated call to
43171         print_max_error or print_complex_max_error.
43172         (get_ulps): Do not handle complex tests specially.
43173         (output_test): Rename to ...
43174         (get_all_ulps_for_test): ... this.  Return a string rather than
43175         printing to a file.  Require ulps to be present.
43176         (output_ulps): Generate arrays rather than #defines.
43177         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
43178         (struct ulp_data): New type.
43179         (BUILD_COMPLEX_ULP): Remove macro.
43180         (compare_ulp_data): New function.
43181         (find_ulps): Likewise.
43182         (find_test_ulps): Likewise.
43183         (find_function_ulps): Likewise.
43184         (find_complex_function_ulps): Likewise.
43185         (print_max_error): Determine allowed ulps using
43186         find_function_ulps.
43187         (print_complex_max_error): Determine allowed ulps using
43188         find_complex_function_ulps.
43189         (check_float_internal): Determine max ulps using find_test_ulps.
43190         (check_float): Do not take max_ulp parameter.  Update call to
43191         check_float_internal.
43192         (check_complex): Likewise.
43193         (check_int): Do not take max_ulp parameter.
43194         (check_long): Likewise.
43195         (check_bool): Likewise.
43196         (check_longlong): Likewise.
43197         (struct test_f_f_data): Remove max_ulp field.
43198         (struct test_ff_f_data): Likewise.
43199         (struct test_ff_f_data_nexttoward): Likewise.
43200         (struct test_fi_f_data): Likewise.
43201         (struct test_fl_f_data): Likewise.
43202         (struct test_if_f_data): Likewise.
43203         (struct test_fff_f_data): Likewise.
43204         (struct test_c_f_data): Likewise.
43205         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
43206         (struct test_fF_f1_data): Likewise.
43207         (struct test_ffI_f1_data): Likewise.
43208         (struct test_c_c_data): Remove max_ulp field.
43209         (struct test_cc_c_data): Likewise.
43210         (struct test_f_i_data): Likewise.
43211         (struct test_ff_i_data): Likewise.
43212         (struct test_f_l_data): Likewise.
43213         (struct test_f_L_data): Likewise.
43214         (struct test_sincos_data): Likewise.
43215         (RUN_TEST_f_f): Do not handle ulps.
43216         (RUN_TEST_LOOP_f_f): Likewise.
43217         (RUN_TEST_2_f): Likewise.
43218         (RUN_TEST_LOOP_2_f): Likewise.
43219         (RUN_TEST_fff_f): Likewise.
43220         (RUN_TEST_LOOP_fff_f): Likewise.
43221         (RUN_TEST_c_f): Likewise.
43222         (RUN_TEST_LOOP_c_f): Likewise.
43223         (RUN_TEST_f_f1): Likewise.
43224         (RUN_TEST_LOOP_f_f1): Likewise.
43225         (RUN_TEST_fF_f1): Likewise.
43226         (RUN_TEST_LOOP_fF_f1): Likewise.
43227         (RUN_TEST_fI_f1): Likewise.
43228         (RUN_TEST_LOOP_fI_f1): Likewise.
43229         (RUN_TEST_ffI_f1): Likewise.
43230         (RUN_TEST_LOOP_ffI_f1): Likewise.
43231         (RUN_TEST_c_c): Likewise.
43232         (RUN_TEST_LOOP_c_c): Likewise.
43233         (RUN_TEST_cc_c): Likewise.
43234         (RUN_TEST_LOOP_cc_c): Likewise.
43235         (RUN_TEST_f_i): Likewise.
43236         (RUN_TEST_LOOP_f_i): Likewise.
43237         (RUN_TEST_f_i_tg): Likewise.
43238         (RUN_TEST_LOOP_f_i_tg): Likewise.
43239         (RUN_TEST_ff_i_tg): Likewise.
43240         (RUN_TEST_LOOP_ff_i_tg): Likewise.
43241         (RUN_TEST_f_b): Likewise.
43242         (RUN_TEST_LOOP_f_b): Likewise.
43243         (RUN_TEST_f_b_tg): Likewise.
43244         (RUN_TEST_LOOP_f_b_tg): Likewise.
43245         (RUN_TEST_f_l): Likewise.
43246         (RUN_TEST_LOOP_f_l): Likewise.
43247         (RUN_TEST_f_L): Likewise.
43248         (RUN_TEST_LOOP_f_L): Likewise.
43249         (RUN_TEST_sincos): Likewise.
43250         (RUN_TEST_LOOP_sincos): Likewise.
43252 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
43254         [BZ #15480]
43255         [BZ #15485]
43256         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
43257         main case of finite arguments, set rounding mode to FE_TONEAREST
43258         and discard exceptions.
43259         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
43260         exceptions.
43261         (remainder_tonearest_test_data): New variable.
43262         (remainder_test_tonearest): New function.
43263         (remainder_towardzero_test_data): New variable.
43264         (remainder_test_towardzero): New function.
43265         (remainder_downward_test_data): New variable.
43266         (remainder_test_downward): New function.
43267         (remainder_upward_test_data): New variable.
43268         (remainder_test_upward): New function.
43269         (main): Call the new test functions.
43271         * math/libm-test.inc (struct test_f_f1_data): Remove field
43272         extra_init.
43273         (struct test_fF_f1_data): Likewise.
43274         (struct test_ffI_f1_data): Likewise.
43275         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
43276         based on value of EXTRA_EXPECTED.
43277         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43278         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
43279         EXTRA_VAR based on value of EXTRA_EXPECTED.
43280         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43281         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
43282         EXTRA_VAR based on value of EXTRA_EXPECTED.
43283         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43284         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
43285         EXTRA_VAR based on value of EXTRA_EXPECTED.
43286         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43287         * math/gen-libm-test.pl (parse_args): Don't output initializers
43288         for extra output values.
43290         * math/libm-test.inc (check_int): Expect result to be exactly
43291         equal to expected value and do not handle ulps.
43292         (check_long): Likewise.
43293         (check_longlong): Likewise.
43295         * math/libm-test.inc (ceil_test_data): Test for "inexact"
43296         exceptions.
43297         (cimag_test_data): Likewise.
43298         (conj_test_data): Likewise.
43299         (copysign_test_data): Likewise.
43300         (cproj_test_data): Likewise.
43301         (creal_test_data): Likewise.
43302         (fabs_test_data): Likewise.
43303         (fdim_test_data): Likewise.
43304         (finite_test_data): Likewise.
43305         (floor_test_data): Likewise.
43306         (fmax_test_data): Likewise.
43307         (fmin_test_data): Likewise.
43308         (fmod_test_data): Likewise.
43309         (fpclassify_test_data): Likewise.
43310         (frexp_test_data): Likewise.
43311         (ilogb_test_data): Likewise.
43312         (isfinite_test_data): Likewise.
43313         (isgreater_test_data): Likewise.
43314         (isgreaterequal_test_data): Likewise.
43315         (isinf_test_data): Likewise.
43316         (isless_test_data): Likewise.
43317         (islessequal_test_data): Likewise.
43318         (islessgreater_test_data): Likewise.
43319         (isnan_test_data): Likewise.
43320         (isnormal_test_data): Likewise.
43321         (issignaling_test_data): Likewise.
43322         (isunordered_test_data): Likewise.
43323         (ldexp_test_data): Likewise.
43324         (lrint_test_data): Likewise.
43325         (lrint_test_data) [TEST_FLOAT]: Disable one test.
43326         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
43327         (lrint_tonearest_test_data): Test for "inexact" exceptions.
43328         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43329         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
43330         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43331         test input.
43332         (lrint_towardzero_test_data): Test for "inexact" exceptions.
43333         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43334         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
43335         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
43336         that test input.
43337         (lrint_downward_test_data): Test for "inexact" exceptions.
43338         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43339         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
43340         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43341         test input.
43342         (lrint_upward_test_data): Test for "inexact" exceptions.
43343         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
43344         test input.
43345         (llrint_test_data): Test for "inexact" exceptions.
43346         (llrint_test_data) [TEST_FLOAT]: Disable one test.
43347         (llrint_tonearest_test_data): Test for "inexact" exceptions.
43348         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43349         (llrint_towardzero_test_data): Test for "inexact" exceptions.
43350         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43351         (llrint_downward_test_data): Test for "inexact" exceptions.
43352         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43353         (llrint_upward_test_data): Test for "inexact" exceptions.
43354         (logb_test_data): Likewise.
43355         (logb_downward_test_data): Likewise.
43356         (nextafter_test_data): Likewise.
43357         (nexttoward_test_data): Likewise.
43358         (remainder_test_data): Likewise.
43359         (remquo_test_data): Likewise.
43360         (scalbn_test_data): Likewise.
43361         (scalbln_test_data): Likewise.
43362         (signbit_test_data): Likewise.
43363         (sqrt_test_data): Likewise.
43364         (significand_test_data): Likewise.
43366 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43368         [BZ #15424]
43369         * benchtests/bench-modf.c (struct args): Mark arg0 as
43370         volatile.
43371         * scripts/bench.pl: Mark members of struct args as volatile.
43373 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43375         [BZ # 15497]
43376         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
43377         negative infinity on POWER6 or lower.
43378         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
43380 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
43382         [BZ #15442]
43383         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
43384         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
43385         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
43386         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
43387         (_FP_SETQNAN): New macro.
43388         (_FP_SETQNAN_SEMIRAW): Likewise.
43389         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
43390         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
43391         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
43392         (FP_EXTEND): Use _FP_FRAC_SNANP.
43393         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
43394         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
43395         into account.
43396         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43397         New macro.
43398         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43399         Likewise.
43401 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43403         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
43404         with DIVIDE_BY_ZERO_EXCEPTION.
43405         (gamma_test_data): Likewise.
43406         (lgamma_test_data): Likewise.
43407         (log_test_data): Likewise.
43408         (log10_test_data): Likewise.
43409         (log2_test_data): Likewise.
43410         (tgamma_test_data): Likewise.
43412         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
43413         (acos_test_tonearest): Likewise.
43414         (acos_test_towardzero): Likewise.
43415         (acos_test_downward): Likewise.
43416         (acos_test_upward): Likewise.
43417         (acosh_test): Likewise.
43418         (asin_test): Likewise.
43419         (asin_test_tonearest): Likewise.
43420         (asin_test_towardzero): Likewise.
43421         (asin_test_downward): Likewise.
43422         (asin_test_upward): Likewise.
43423         (asinh_test): Likewise.
43424         (atan_test): Likewise.
43425         (atanh_test): Likewise.
43426         (atan2_test): Likewise.
43427         (cabs_test): Likewise.
43428         (cacos_test): Likewise.
43429         (cacosh_test): Likewise.
43430         (casin_test): Likewise.
43431         (casinh_test): Likewise.
43432         (catan_test): Likewise.
43433         (catanh_test): Likewise.
43434         (cbrt_test): Likewise.
43435         (ccos_test): Likewise.
43436         (ccosh_test): Likewise.
43437         (cexp_test): Likewise.
43438         (clog_test): Likewise.
43439         (clog10_test): Likewise.
43440         (cos_test): Likewise.
43441         (cos_test_tonearest): Likewise.
43442         (cos_test_towardzero): Likewise.
43443         (cos_test_downward): Likewise.
43444         (cos_test_upward): Likewise.
43445         (cosh_test): Likewise.
43446         (cosh_test_tonearest): Likewise.
43447         (cosh_test_towardzero): Likewise.
43448         (cosh_test_downward): Likewise.
43449         (cosh_test_upward): Likewise.
43450         (cpow_test): Likewise.
43451         (csin_test): Likewise.
43452         (csinh_test): Likewise.
43453         (csqrt_test): Likewise.
43454         (ctan_test): Likewise.
43455         (ctan_test_tonearest): Likewise.
43456         (ctan_test_towardzero): Likewise.
43457         (ctan_test_downward): Likewise.
43458         (ctan_test_upward): Likewise.
43459         (ctanh_test): Likewise.
43460         (ctanh_test_tonearest): Likewise.
43461         (ctanh_test_towardzero): Likewise.
43462         (ctanh_test_downward): Likewise.
43463         (ctanh_test_upward): Likewise.
43464         (erf_test): Likewise.
43465         (erfc_test): Likewise.
43466         (exp_test): Likewise.
43467         (exp_test_tonearest): Likewise.
43468         (exp_test_towardzero): Likewise.
43469         (exp_test_downward): Likewise.
43470         (exp_test_upward): Likewise.
43471         (exp10_test): Likewise.
43472         (exp2_test): Likewise.
43473         (expm1_test): Likewise.
43474         (fmod_test): Likewise.
43475         (gamma_test): Likewise.
43476         (hypot_test): Likewise.
43477         (j0_test): Likewise.
43478         (j1_test): Likewise.
43479         (jn_test): Likewise.
43480         (lgamma_test): Likewise.
43481         (log_test): Likewise.
43482         (log10_test): Likewise.
43483         (log1p_test): Likewise.
43484         (log2_test): Likewise.
43485         (logb_test_downward): Likewise.
43486         (pow_test): Likewise.
43487         (pow_test_tonearest): Likewise.
43488         (pow_test_towardzero): Likewise.
43489         (pow_test_downward): Likewise.
43490         (pow_test_upward): Likewise.
43491         (remainder_test): Likewise.
43492         (remquo_test): Likewise.
43493         (sin_test): Likewise.
43494         (sin_test_tonearest): Likewise.
43495         (sin_test_towardzero): Likewise.
43496         (sin_test_downward): Likewise.
43497         (sin_test_upward): Likewise.
43498         (sincos_test): Likewise.
43499         (sinh_test): Likewise.
43500         (sinh_test_tonearest): Likewise.
43501         (sinh_test_towardzero): Likewise.
43502         (sinh_test_downward): Likewise.
43503         (sinh_test_upward): Likewise.
43504         (sqrt_test): Likewise.
43505         (tan_test): Likewise.
43506         (tan_test_tonearest): Likewise.
43507         (tan_test_towardzero): Likewise.
43508         (tan_test_downward): Likewise.
43509         (tan_test_upward): Likewise.
43510         (tanh_test): Likewise.
43511         (tgamma_test): Likewise.
43512         (y0_test): Likewise.
43513         (y1_test): Likewise.
43514         (yn_test): Likewise.
43516         * math/gen-libm-test.pl (adjust_arg): Remove function.
43517         (special_function): Remove argument $in_func.  Only handle
43518         generating output for tables of tests, not inside functions.
43519         (parse_args): Likewise.
43520         (generate_testfile): Remove variable $in_func.  Update call to
43521         parse_args.
43522         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
43523         (MINUS_ZERO_INIT): Rename macro to minus_zero.
43524         (PLUS_INFTY_INIT): Rename macro to plus_infty.
43525         (MINUS_INFTY_INIT): Rename macro to minus_infty.
43526         (QNAN_VALUE_INIT): Rename macro to qnan_value.
43527         (MAX_VALUE_INIT): Rename macro to max_value.
43528         (MIN_VALUE_INIT): Rename macro to min_value.
43529         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
43530         (plus_zero): Remove variable.
43531         (minus_zero): Likewise.
43532         (plus_infty): Likewise.
43533         (minus_infty): Likewise.
43534         (qnan_value): Likewise.
43535         (max_value): Likewise.
43536         (min_value): Likewise.
43537         (min_subnorm_value): Likewise.
43539 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43541         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
43542         uint64_t or uint32_t usage.
43543         * crypt/sha256-block.c: Likewise.
43544         * crypt/sha256-crypt.c: Likewise.
43545         * crypt/sha256.c: Likewise.
43546         * crypt/sha512-block.c: Likewise.
43547         * crypt/sha512-crypt.c: Likewise.
43548         * crypt/sha512.c: Likewise.
43549         * debug/backtrace-tst.c: Likewise.
43550         * debug/pcprofiledump.c: Likewise.
43551         * elf/cache.c: Likewise.
43552         * elf/dl-cache.c: Likewise.
43553         * elf/dl-misc.c: Likewise.
43554         * elf/dl-profile.c: Likewise.
43555         * elf/dl-support.c: Likewise.
43556         * elf/ldconfig.c: Likewise.
43557         * elf/sprof.c: Likewise.
43558         * iconv/dummy-repertoire.c: Likewise.
43559         * iconv/iconv_charmap.c: Likewise.
43560         * iconv/skeleton.c: Likewise.
43561         * iconvdata/8bit-generic.c: Likewise.
43562         * iconvdata/cp737.h: Likewise.
43563         * iconvdata/cp775.h: Likewise.
43564         * iconvdata/ibm1008.h: Likewise.
43565         * iconvdata/ibm1025.h: Likewise.
43566         * iconvdata/ibm1046.h: Likewise.
43567         * iconvdata/ibm1097.h: Likewise.
43568         * iconvdata/ibm1112.h: Likewise.
43569         * iconvdata/ibm1122.h: Likewise.
43570         * iconvdata/ibm1123.h: Likewise.
43571         * iconvdata/ibm1124.h: Likewise.
43572         * iconvdata/ibm1129.h: Likewise.
43573         * iconvdata/ibm1130.h: Likewise.
43574         * iconvdata/ibm1132.h: Likewise.
43575         * iconvdata/ibm1133.h: Likewise.
43576         * iconvdata/ibm1137.h: Likewise.
43577         * iconvdata/ibm1140.h: Likewise.
43578         * iconvdata/ibm1141.h: Likewise.
43579         * iconvdata/ibm1142.h: Likewise.
43580         * iconvdata/ibm1143.h: Likewise.
43581         * iconvdata/ibm1144.h: Likewise.
43582         * iconvdata/ibm1145.h: Likewise.
43583         * iconvdata/ibm1146.h: Likewise.
43584         * iconvdata/ibm1147.h: Likewise.
43585         * iconvdata/ibm1148.h: Likewise.
43586         * iconvdata/ibm1149.h: Likewise.
43587         * iconvdata/ibm1153.h: Likewise.
43588         * iconvdata/ibm1154.h: Likewise.
43589         * iconvdata/ibm1155.h: Likewise.
43590         * iconvdata/ibm1156.h: Likewise.
43591         * iconvdata/ibm1157.h: Likewise.
43592         * iconvdata/ibm1158.h: Likewise.
43593         * iconvdata/ibm1160.h: Likewise.
43594         * iconvdata/ibm1161.h: Likewise.
43595         * iconvdata/ibm1162.h: Likewise.
43596         * iconvdata/ibm1163.h: Likewise.
43597         * iconvdata/ibm1164.h: Likewise.
43598         * iconvdata/ibm1166.h: Likewise.
43599         * iconvdata/ibm1167.h: Likewise.
43600         * iconvdata/ibm12712.h: Likewise.
43601         * iconvdata/ibm1390.h: Likewise.
43602         * iconvdata/ibm1399.h: Likewise.
43603         * iconvdata/ibm16804.h: Likewise.
43604         * iconvdata/ibm4517.h: Likewise.
43605         * iconvdata/ibm4899.h: Likewise.
43606         * iconvdata/ibm4909.h: Likewise.
43607         * iconvdata/ibm4971.h: Likewise.
43608         * iconvdata/ibm5347.h: Likewise.
43609         * iconvdata/ibm803.h: Likewise.
43610         * iconvdata/ibm856.h: Likewise.
43611         * iconvdata/ibm901.h: Likewise.
43612         * iconvdata/ibm902.h: Likewise.
43613         * iconvdata/ibm9030.h: Likewise.
43614         * iconvdata/ibm9066.h: Likewise.
43615         * iconvdata/ibm921.h: Likewise.
43616         * iconvdata/ibm922.h: Likewise.
43617         * iconvdata/ibm9448.h: Likewise.
43618         * iconvdata/isiri-3342.h: Likewise.
43619         * iconvdata/jis0201.h: Likewise.
43620         * include/link.h: Likewise.
43621         * include/netdb.h: Likewise.
43622         * inet/check_native.c: Likewise.
43623         * inet/check_pf.c: Likewise.
43624         * inet/getipv4sourcefilter.c: Likewise.
43625         * inet/getnameinfo.c: Likewise.
43626         * inet/getsourcefilter.c: Likewise.
43627         * inet/htonl.c: Likewise.
43628         * inet/setipv4sourcefilter.c: Likewise.
43629         * inet/setsourcefilter.c: Likewise.
43630         * inet/test-inet6_opt.c: Likewise.
43631         * inet/tst-network.c: Likewise.
43632         * locale/C-collate.c: Likewise.
43633         * locale/C-ctype.c: Likewise.
43634         * locale/C-time.c: Likewise.
43635         * locale/C-translit.h: Likewise.
43636         * locale/loadarchive.c: Likewise.
43637         * locale/programs/3level.h: Likewise.
43638         * locale/programs/charmap.c: Likewise.
43639         * locale/programs/charmap.h: Likewise.
43640         * locale/programs/ld-address.c: Likewise.
43641         * locale/programs/ld-collate.c: Likewise.
43642         * locale/programs/ld-ctype.c: Likewise.
43643         * locale/programs/ld-identification.c: Likewise.
43644         * locale/programs/ld-measurement.c: Likewise.
43645         * locale/programs/ld-messages.c: Likewise.
43646         * locale/programs/ld-monetary.c: Likewise.
43647         * locale/programs/ld-name.c: Likewise.
43648         * locale/programs/ld-numeric.c: Likewise.
43649         * locale/programs/ld-paper.c: Likewise.
43650         * locale/programs/ld-telephone.c: Likewise.
43651         * locale/programs/ld-time.c: Likewise.
43652         * locale/programs/linereader.c: Likewise.
43653         * locale/programs/locale.c: Likewise.
43654         * locale/programs/locarchive.c: Likewise.
43655         * locale/programs/locfile.h: Likewise.
43656         * locale/programs/repertoire.c: Likewise.
43657         * locale/programs/simple-hash.c: Likewise.
43658         * locale/programs/simple-hash.h: Likewise.
43659         * malloc/memusage.c: Likewise.
43660         * malloc/memusagestat.c: Likewise.
43661         * nis/nis_defaults.c: Likewise.
43662         * nis/nis_hash.c: Likewise.
43663         * nis/nis_print.c: Likewise.
43664         * nis/nis_xdr.c: Likewise.
43665         * nscd/connections.c: Likewise.
43666         * nscd/hstcache.c: Likewise.
43667         * nscd/nscd_gethst_r.c: Likewise.
43668         * nscd/nscd_getserv_r.c: Likewise.
43669         * nscd/nscd_helper.c: Likewise.
43670         * nscd/servicescache.c: Likewise.
43671         * nss/makedb.c: Likewise.
43672         * nss/nss_db/db-XXX.c: Likewise.
43673         * nss/nss_db/db-initgroups.c: Likewise.
43674         * nss/nss_db/db-netgrp.c: Likewise.
43675         * nss/nss_files/files-network.c: Likewise.
43676         * nss/nss_files/files-parse.c: Likewise.
43677         * posix/bug-regex5.c: Likewise.
43678         * posix/fnmatch_loop.c: Likewise.
43679         * posix/regcomp.c: Likewise.
43680         * posix/regexec.c: Likewise.
43681         * posix/tst-rfc3484-2.c: Likewise.
43682         * posix/tst-rfc3484-3.c: Likewise.
43683         * posix/tst-rfc3484.c: Likewise.
43684         * resolv/nss_dns/dns-canon.c: Likewise.
43685         * resolv/nss_dns/dns-network.c: Likewise.
43686         * resolv/res_init.c: Likewise.
43687         * resolv/res_mkquery.c: Likewise.
43688         * resolv/tst-aton.c: Likewise.
43689         * stdlib/cxa_atexit.c: Likewise.
43690         * stdlib/cxa_finalize.c: Likewise.
43691         * stdlib/gen-fpioconst.c: Likewise.
43692         * stdlib/strtol_l.c: Likewise.
43693         * string/tst-endian.c: Likewise.
43694         * sunrpc/auth_des.c: Likewise.
43695         * sunrpc/clnt_udp.c: Likewise.
43696         * sunrpc/rtime.c: Likewise.
43697         * sunrpc/svcauth_des.c: Likewise.
43698         * sunrpc/xdr.c: Likewise.
43699         * sunrpc/xdr_intXX_t.c: Likewise.
43700         * sunrpc/xdr_rec.c: Likewise.
43701         * sysdeps/generic/ldconfig.h: Likewise.
43702         * sysdeps/generic/ldsodefs.h: Likewise.
43703         * sysdeps/generic/memusage.h: Likewise.
43704         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43705         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
43706         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
43707         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43708         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43709         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43710         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43711         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43712         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43713         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43714         * sysdeps/posix/getaddrinfo.c: Likewise.
43715         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43716         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43717         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43718         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43719         * sysdeps/powerpc/test-gettimebase.c: Likewise.
43720         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43721         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
43722         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
43723         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
43724         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
43725         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43726         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43727         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
43728         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
43729         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
43730         * sysdeps/x86_64/dl-tls.h: Likewise.
43731         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
43732         * time/alt_digit.c: Likewise.
43733         * time/era.c: Likewise.
43734         * wcsmbs/tst-c16c32-1.c: Likewise.
43736 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43738         * math/libm-test.inc (struct test_sincos_data): New type.
43739         (RUN_TEST_LOOP_sincos): New macro.
43740         (sincos_test_data): New variable.
43741         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
43743 2013-05-16  Richard Henderson  <rth@redhat.com>
43745         * math/atest-exp2.c (LIMB64): New macro.
43746         (CONSTSZ): New macro.
43747         (mp_exp1, mp_exp_m1, mp_log2): New variables.
43748         (hexdig): Move ...
43749         (print_mpn_fp): ... to function scope.
43750         (read_mpn_hex): Remove.
43751         (get_log2): Remove.
43752         (exp2_mpn): Use mp_log2.
43753         (main): Use mp_exp1.
43755 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43757         * math/libm-test.inc: Remove comment about not testing "inexact"
43758         exceptions.
43759         (INEXACT_EXCEPTION): New macro.
43760         (NO_INEXACT_EXCEPTION): Likewise.
43761         (INVALID_EXCEPTION_OK): Update value.
43762         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43763         (OVERFLOW_EXCEPTION_OK): Likewise.
43764         (UNDERFLOW_EXCEPTION_OK): Likewise.
43765         (IGNORE_ZERO_INF_SIGN): Likewise.
43766         (ERRNO_UNCHANGED): Likewise.
43767         (ERRNO_EDOM): Likewise.
43768         (ERRNO_ERANGE): Likewise.
43769         (test_exceptions): Handle testing "inexact" exceptions.
43770         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
43771         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
43772         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
43773         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
43774         INEXACT_EXCEPTION.
43775         (rint_towardzero_test_data): Likewise.
43776         (rint_downward_test_data): Likewise.
43777         (rint_upward_test_data): Likewise.
43779         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
43780         with OVERFLOW_EXCEPTION.
43781         (exp10_test_data): Likewise.
43782         (exp2_test_data): Likewise.
43783         (expm1_test_data): Likewise.
43784         (lgamma_test_data): Likewise.
43785         (pow_test_data): Likewise.
43786         (tgamma_test_data): Likewise.
43787         (yn_test_data): Remove duplicate test of overflow.
43789         * math/libm-test.inc (struct test_cc_c_data): New type.
43790         (RUN_TEST_LOOP_cc_c): New macro.
43791         (cpow_test_data): New variable.
43792         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
43794         * math/libm-test.inc (struct test_f_L_data): New type.
43795         (RUN_TEST_LOOP_f_L): New macro.
43796         (llrint_test_data): New variable.
43797         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
43798         (llrint_tonearest_test_data): New variable.
43799         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
43800         (llrint_towardzero_test_data): New variable.
43801         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
43802         (llrint_downward_test_data): New variable.
43803         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
43804         (llrint_upward_test_data): New variable.
43805         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
43806         (llround_test_data): New variable.
43807         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
43809 2013-05-13  Peter Collingbourne  <pcc@google.com>
43811         * math/atest-exp2.c (get_log2): Remove const attribute.
43813 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
43815         * math/libm-test.inc (struct test_f_l_data): New type.
43816         (RUN_TEST_LOOP_f_l): New macro.
43817         (lrint_test_data): New variable.
43818         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
43819         (lrint_tonearest_test_data): New variable.
43820         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
43821         (lrint_towardzero_test_data): New variable.
43822         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
43823         (lrint_downward_test_data): New variable.
43824         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
43825         (lrint_upward_test_data): New variable.
43826         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
43827         (lround_test_data): New variable.
43828         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
43830 2013-05-15  Peter Collingbourne  <pcc@google.com>
43832         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
43833         (EXTRACT_WORDS64) Use where appropriate.
43834         (INSERT_WORDS64) Likewise.
43836         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
43837         constraints with x constraints.
43838         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
43840         * malloc/obstack.c (_obstack_compat): Add initializer.
43842 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
43844         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
43845         si_trapno and add si_addr_lsb to _sifields.sigfault.
43846         (si_trapno): Remove macro.
43847         (si_addr_lsb): Define new macro.
43848         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43850 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
43852         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
43853         instead of TEST_f_l.
43854         (llrint_test_tonearest): Likewise.
43855         (llrint_test_towardzero): Likewise.
43856         (llrint_test_downward): Likewise.
43857         (llrint_test_upward): Likewise.
43858         (llround_test): Likewise.
43860         * math/libm-test.inc (struct test_f_i_data): Add comment.
43861         (RUN_TEST_LOOP_f_b): New macro.
43862         (RUN_TEST_LOOP_f_b_tg): Likewise.
43863         (finite_test_data): New variable.
43864         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
43865         (isfinite_test_data): New variable.
43866         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43867         (isinf_test_data): New variable.
43868         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43869         (isnan_test_data): New variable.
43870         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43871         (isnormal_test_data): New variable.
43872         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43873         (issignaling_test_data): New variable.
43874         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43875         (signbit_test_data): New variable.
43876         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43878         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
43879         with INVALID_EXCEPTION.
43880         (acosh_test_data): Likewise.
43881         (asin_test_data): Likewise.
43882         (atanh_test_data): Likewise.
43883         (fmod_test_data): Likewise.
43884         (log_test_data): Likewise.
43885         (log10_test_data): Likewise.
43886         (log2_test_data): Likewise.
43887         (pow_test_data): Likewise.
43888         (sqrt_test_data): Likewise.
43889         (y0_test_data): Likewise.
43890         (y1_test_data): Likewise.
43891         (yn_test_data): Likewise.
43893         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
43894         function contents.
43896         * math/libm-test.inc (struct test_ff_i_data): New type.
43897         (RUN_TEST_LOOP_ff_i_tg): New macro.
43898         (isgreater_test_data): New variable.
43899         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43900         (isgreaterequal_test_data): New variable.
43901         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43902         (isless_test_data): New variable.
43903         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43904         (islessequal_test_data): New variable.
43905         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43906         (islessgreater_test_data): New variable.
43907         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43908         (isunordered_test_data): New variable.
43909         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43911 2013-05-14  David S. Miller  <davem@davemloft.net>
43913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43915 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
43917         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
43919         * math/libm-test.inc (struct test_fF_f1_data): Change type of
43920         extra_test to int.
43921         (struct test_f_i_data): Change type of max_ulp to int.
43923         * math/libm-test.inc (test_ffI_f1_data): New type.
43924         (RUN_TEST_LOOP_ffI_f1): New macro.
43925         (remquo_test_data): New variable.
43926         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
43928         * setjmp/tst-setjmp-fp.c: New file.
43929         * setjmp/Makefile (tests): Add tst-setjmp-fp.
43930         (link-libm): New variable.
43931         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
43933         * math/libm-test.inc (struct test_f_i_data): New type.
43934         (RUN_TEST_LOOP_f_i): New macro.
43935         (RUN_TEST_LOOP_f_i_tg): Likewise.
43936         (fpclassify_test_data): New variable.
43937         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
43938         (ilogb_test_data): New variable.
43939         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
43941         * math/libm-test.inc (scalbln_test): Correct function name in END
43942         call.
43944         * math/libm-test.inc (struct test_f_f1_data): Add comment.
43945         (RUN_TEST_LOOP_fI_f1): New macro.
43946         (frexp_test_data): New variable.
43947         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
43949         * math/libm-test.inc (struct test_fF_f1_data): New type.
43950         (RUN_TEST_LOOP_fF_f1): New macro.
43951         (modf_test_data): New variable.
43952         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
43954         * math/libm-test.inc (struct test_f_f1_data): New type.
43955         (RUN_TEST_LOOP_f_f1): New macro.
43956         (gamma_test_data): New variable.
43957         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43958         (lgamma_test_data): New variable.
43959         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43961 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
43963         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
43964         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
43965         (main): Comment "tls" pseudo-hwcap.
43967 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
43969         * math/libm-test.inc (struct test_fl_f_data): New type.
43970         (RUN_TEST_LOOP_fl_f): New variable.
43971         (scalbln_test_data): New variable.
43972         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
43974         * math/libm-test.inc (struct test_fi_f_data): New type.
43975         (RUN_TEST_LOOP_fi_f): New macro.
43976         (ldexp_test_data): New variable.
43977         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
43978         (scalbn_test_data): New variable.
43979         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
43981         * math/libm-test.inc (struct test_c_f_data): New type.
43982         (RUN_TEST_LOOP_c_f): New macro.
43983         (cabs_test_data): New variable.
43984         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
43985         (carg_test_data): New variable.
43986         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
43987         (cimag_test_data): New variable.
43988         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
43989         (creal_test_data): New variable.
43990         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
43992         * math/libm-test.inc (struct test_if_f_data): New type.
43993         (RUN_TEST_LOOP_if_f): New macro.
43994         (jn_test_data): New variable.
43995         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
43996         (yn_test_data): New variable.
43997         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
43999         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
44001 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44003         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
44004         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
44006 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44008         * benchtests/Makefile (CPPFLAGS-nonlib): Add
44009         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
44010         (bench-deps): Add bench-timing.h.
44011         * benchtests-bench-skeleton.c: Include bench-timing.h.
44012         (main): Use TIMING_* macros instead of clock_gettime.
44013         * benchtests/bench-timing.h: New file.
44015         [BZ #14582]
44016         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
44017         Renamed from _LIB_VERSION.
44018         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
44020 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
44022         * math/libm-test.inc (struct test_fff_f_data): New type.
44023         (RUN_TEST_LOOP_fff_f): New macro.
44024         (fma_test_data): New variable.
44025         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
44026         (fma_towardzero_test_data): New variable.
44027         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
44028         (fma_downward_test_data): New variable.
44029         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
44030         (fma_upward_test_data): New variable.
44031         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
44033         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
44034         (struct test_c_c_data): New type.
44035         (RUN_TEST_LOOP_c_c): New macro.
44036         (cacos_test_data): New variable.
44037         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
44038         (cacosh_test_data): New variable.
44039         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
44040         (casin_test_data): New variable.
44041         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
44042         (casinh_test_data): New variable.
44043         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
44044         (catan_test_data): New variable.
44045         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
44046         (catanh_test_data): New variable.
44047         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
44048         (ccos_test_data): New variable.
44049         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
44050         (ccosh_test_data): New variable.
44051         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
44052         (cexp_test_data): New variable.
44053         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
44054         (clog_test_data): New variable.
44055         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
44056         (clog10_test_data): New variable.
44057         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
44058         (conj_test_data): New variable.
44059         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
44060         (cproj_test_data): New variable.
44061         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
44062         (csin_test_data): New variable.
44063         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
44064         (csinh_test_data): New variable.
44065         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
44066         (csqrt_test_data): New variable.
44067         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
44068         (ctan_test_data): New variable.
44069         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
44070         (ctan_tonearest_test_data): New variable.
44071         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44072         (ctan_towardzero_test_data): New variable.
44073         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44074         (ctan_downward_test_data): New variable.
44075         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44076         (ctan_upward_test_data): New variable.
44077         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44078         (ctanh_test_data): New variable.
44079         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
44080         (ctanh_tonearest_test_data): New variable.
44081         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44082         (ctanh_towardzero_test_data): New variable.
44083         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44084         (ctanh_downward_test_data): New variable.
44085         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44086         (ctanh_upward_test_data): New variable.
44087         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44088         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
44089         of BUILD_COMPLEX.
44091         * math/libm-test.inc (struct test_ff_f_data): New type.
44092         (struct test_ff_f_data_nexttoward): Likewise.
44093         (RUN_TEST_LOOP_2_f): New macro.
44094         (RUN_TEST_LOOP_ff_f): Likewise.
44095         (atan2_test_data): New variable.
44096         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
44097         (copysign_test_data): New variable.
44098         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
44099         (fdim_test_data): New variable.
44100         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
44101         (fmax_test_data): New variable.
44102         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
44103         (fmin_test_data): New variable.
44104         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
44105         (fmod_test_data): New variable.
44106         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
44107         (hypot_test_data): New variable.
44108         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
44109         (nextafter_test_data): New variable.
44110         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
44111         (nexttoward_test_data): New variable.
44112         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
44113         (pow_test_data): New variable.
44114         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
44115         (pow_tonearest_test_data): New variable.
44116         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
44117         (pow_towardzero_test_data): New variable.
44118         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
44119         (pow_downward_test_data): New variable.
44120         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
44121         (pow_upward_test_data): New variable.
44122         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
44123         (remainder_test_data): New variable.
44124         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
44125         (scalb_test_data): New variable.
44126         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
44127         * sysdeps/i386/fpu/libm-test-ulps: Update.
44129 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
44131         * math/libm-test.inc (fma_test): Use max_value instead of local
44132         variable fltmax.
44133         (nextafter_test): Likewise.
44135         * math/libm-test.inc (acos_towardzero_test_data): New variable.
44136         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44137         (acos_downward_test_data): New variable.
44138         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44139         (acos_upward_test_data): New variable.
44140         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44141         (acosh_test_data): New variable.
44142         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
44143         (asin_test_data): New variable.
44144         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
44145         (asin_tonearest_test_data): New variable.
44146         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44147         (asin_towardzero_test_data): New variable.
44148         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44149         (asin_downward_test_data): New variable.
44150         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44151         (asin_upward_test_data): New variable.
44152         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44153         (asinh_test_data): New variable.
44154         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
44155         (atan_test_data): New variable.
44156         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
44157         (atanh_test_data): New variable.
44158         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
44159         (cbrt_test_data): New variable.
44160         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
44161         (ceil_test_data): New variable.
44162         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
44163         (cos_test_data): New variable.
44164         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
44165         (cos_tonearest_test_data): New variable.
44166         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44167         (cos_towardzero_test_data): New variable.
44168         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44169         (cos_downward_test_data): New variable.
44170         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44171         (cos_upward_test_data): New variable.
44172         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44173         (cosh_test_data): New variable.
44174         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
44175         (cosh_tonearest_test_data): New variable.
44176         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44177         (cosh_towardzero_test_data): New variable.
44178         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44179         (cosh_downward_test_data): New variable.
44180         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44181         (cosh_upward_test_data): New variable.
44182         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44183         (erf_test_data): New variable.
44184         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
44185         (erfc_test_data): New variable.
44186         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
44187         (exp_test_data): New variable.
44188         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
44189         (exp_tonearest_test_data): New variable.
44190         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44191         (exp_towardzero_test_data): New variable.
44192         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44193         (exp_downward_test_data): New variable.
44194         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44195         (exp_upward_test_data): New variable.
44196         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44197         (exp10_test_data): New variable.
44198         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
44199         (exp2_test_data): New variable.
44200         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
44201         (expm1_test_data): New variable.
44202         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
44203         (fabs_test_data): New variable.
44204         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
44205         (floor_test_data): New variable.
44206         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
44207         (j0_test_data): New variable.
44208         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
44209         (j1_test_data): New variable.
44210         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
44211         (log_test_data): New variable.
44212         (log_test): Run tests with RUN_TEST_LOOP_f_f.
44213         (log10_test_data): New variable.
44214         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
44215         (log1p_test_data): New variable.
44216         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
44217         (log2_test_data): New variable.
44218         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
44219         (logb_test_data): New variable.
44220         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
44221         (logb_downward_test_data): New variable.
44222         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44223         (nearbyint_test_data): New variable.
44224         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
44225         (rint_test_data): New variable.
44226         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
44227         (rint_tonearest_test_data): New variable.
44228         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44229         (rint_towardzero_test_data): New variable.
44230         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44231         (rint_downward_test_data): New variable.
44232         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44233         (rint_upward_test_data): New variable.
44234         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44235         (round_test_data): New variable.
44236         (round_test): Run tests with RUN_TEST_LOOP_f_f.
44237         (sin_test_data): New variable.
44238         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
44239         (sin_tonearest_test_data): New variable.
44240         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44241         (sin_towardzero_test_data): New variable.
44242         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44243         (sin_downward_test_data): New variable.
44244         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44245         (sin_upward_test_data): New variable.
44246         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44247         (sinh_test_data): New variable.
44248         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
44249         (sinh_tonearest_test_data): New variable.
44250         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44251         (sinh_towardzero_test_data): New variable.
44252         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44253         (sinh_downward_test_data): New variable.
44254         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44255         (sinh_upward_test_data): New variable.
44256         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44257         (sqrt_test_data): New variable.
44258         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
44259         (tan_test_data): New variable.
44260         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
44261         (tan_tonearest_test_data): New variable.
44262         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44263         (tan_towardzero_test_data): New variable.
44264         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44265         (tan_downward_test_data): New variable.
44266         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44267         (tan_upward_test_data): New variable.
44268         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44269         (tanh_test_data): New variable.
44270         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
44271         (tgamma_test_data): New variable.
44272         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
44273         (trunc_test_data): New variable.
44274         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
44275         (y0_test_data): New variable.
44276         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
44277         (y1_test_data): New variable.
44278         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
44279         (significand_test_data): New variable.
44280         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
44282 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
44284         [BZ #12387]
44285         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
44287 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44289         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
44291 2013-05-10  Andreas Jaeger  <aj@suse.de>
44293         [BZ #15448]
44294         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
44295         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
44297 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44299         * math/gen-libm-test.pl (adjust_arg): New function.
44300         (special_functions): Handle generating output in both functions
44301         and arrays.
44302         (parse_args): Likewise.
44303         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
44304         $in_func argument to parse_args.
44305         * math/libm-test.inc (struct test_f_f_data): New type.
44306         (IF_ROUND_INIT_): New macro.
44307         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
44308         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44309         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44310         (IF_ROUND_INIT_FE_UPWARD): Likewise.
44311         (ROUND_RESTORE_): Likewise.
44312         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
44313         (ROUND_RESTORE_FE_TONEAREST): Likewise.
44314         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
44315         (ROUND_RESTORE_FE_UPWARD): Likewise.
44316         (RUN_TEST_LOOP_f_f): New macro.
44317         (acos_test_data): New variable.
44318         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
44319         (acos_tonearest_test_data): New variable.
44320         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44322 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44324         * benchtests/bench-skeleton.c (startup): Fix coding style.
44326 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44328         [BZ #6809]
44329         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
44330         negative infinity argument.
44331         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
44332         negative infinity argument.
44333         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
44334         negative infinity argument.
44335         * math/libm-test.inc (tgamma_test): Expect errno to be set for
44336         domain errors.
44338 2013-05-10  Florian Weimer  <fweimer@redhat.com>
44340         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
44341         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
44342         * iconv/iconv_prog.c (main): Likewise.
44343         * locale/programs/charmap-dir.c (charmap_readdir)
44344         (fopen_uncompressed): Likewise.
44345         * locale/programs/locfile.c (siblings_uncached)
44346         (write_locale_data): Use lstat64 instead of lstat.
44347         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
44348         stat.
44350 2013-05-10  Andreas Jaeger  <aj@suse.de>
44352         [BZ #15395]
44353         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
44354         localization.
44355         Include <locale.h>.
44357 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
44359         * elf/dl-close.c (_dl_close_worker): Add comments.
44361 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
44363         [BZ #15359]
44364         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
44365         high part of pi/2.
44366         (__ieee754_rem_pio2l): Update comments.
44368         [BZ #15429]
44369         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
44370         high part of pi/2.
44371         (__ieee754_rem_pio2l): Update comments.
44373         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
44374         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
44376         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
44377         M_PI_4l.
44379         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
44380         (M_PI_34_LOG10El): Likewise.
44381         (M_PI2_LOG10El): Likewise.
44382         (M_PI4_LOG10El): Likewise.
44383         (M_PI_LOG10El): Likewise.
44385 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44389 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
44391         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
44392         (MINUS_ZERO_INIT): Likewise.
44393         (PLUS_INFTY_INIT): Likewise.
44394         (MINUS_INFTY_INIT): Likewise.
44395         (QNAN_VALUE_INIT): Likewise.
44396         (MAX_VALUE_INIT): Likewise.
44397         (MIN_VALUE_INIT): Likewise.
44398         (MIN_SUBNORM_VALUE_INIT): Likewise.
44399         (plus_zero): Initialize with PLUS_ZERO_INIT.
44400         (minus_zero): Initialize with MINUS_ZERO_INIT.
44401         (plus_infty): Initialize with PLUS_INFTY_INIT.
44402         (minus_infty): Initialize with MINUS_INFTY_INIT.
44403         (qnan_value): Initialize with QNAN_VALUE_INIT.
44404         (max_value): Initialize with MAX_VALUE_INIT.
44405         (min_value): Initialize with MIN_VALUE_INIT.
44406         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
44408         * math/libm-test.inc (RUN_TEST_if_f): New macro.
44409         (jn_test): Use TEST_if_f instead of TEST_ff_f.
44410         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
44411         (yn_test): Use TEST_if_f instead of TEST_ff_f.
44413         * math/libm-test.inc (RUN_TEST_f_f): New macro.
44414         (RUN_TEST_2_f): Likewise.
44415         (RUN_TEST_ff_f): Likewise.
44416         (RUN_TEST_fi_f): Likewise.
44417         (RUN_TEST_fl_f): Likewise.
44418         (RUN_TEST_fff_f): Likewise.
44419         (RUN_TEST_c_f): Likewise.
44420         (RUN_TEST_f_f1): Likewise.
44421         (RUN_TEST_fF_f1): Likewise.
44422         (RUN_TEST_fI_f1): Likewise.
44423         (RUN_TEST_ffI_f1): Likewise.
44424         (RUN_TEST_c_c): Likewise.
44425         (RUN_TEST_cc_c): Likewise.
44426         (RUN_TEST_f_i): Likewise.
44427         (RUN_TEST_f_i_tg): Likewise.
44428         (RUN_TEST_ff_i_tg): Likewise.
44429         (RUN_TEST_f_b): Likewise.
44430         (RUN_TEST_f_b_tg): Likewise.
44431         (RUN_TEST_f_l): Likewise.
44432         (RUN_TEST_f_L): Likewise.
44433         (RUN_TEST_sincos): Likewise.
44434         * math/gen-libm-test.pl (new_test): Take new argument to indicate
44435         whether to show exceptions.  Do not include ");\n" in return
44436         value.
44437         (special_functions): Output call to RUN_TEST_sincos instead of
44438         check_float calls.  Update calls to new_test.
44439         (parse_args): Output call to single RUN_TEST_* macro instead of
44440         check_* calls and other assignments.  Update calls to new_test.
44442         [BZ #2546]
44443         [BZ #2560]
44444         [BZ #5159]
44445         [BZ #15426]
44446         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
44447         input to result for tgamma overflow.
44448         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
44449         (gamma_coeff): New variable.
44450         (NCOEFF): New macro.
44451         (gamma_positive): New function.
44452         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
44453         underflow here.  Use gamma_positive instead of exp (lgamma) for
44454         other arguments.
44455         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
44456         (gamma_coeff): New variable.
44457         (NCOEFF): New macro.
44458         (gammaf_positive): New function.
44459         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
44460         underflow here.  Use gamma_positive instead of exp (lgamma) for
44461         other arguments.
44462         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
44463         (gamma_coeff): New variable.
44464         (NCOEFF): New macro.
44465         (gammal_positive): New function.
44466         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
44467         underflow here.  Use gamma_positive instead of exp (lgamma) for
44468         other arguments.
44469         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
44470         (gamma_coeff): New variable.
44471         (NCOEFF): New macro.
44472         (gammal_positive): New function.
44473         (__ieee754_gammal_r): Handle positive infinity, overflow and
44474         underflow here.  Handle NaN the same as positive infinity.  Remove
44475         check x < 0xffffffff for negative integers.  Use gamma_positive
44476         instead of exp (lgamma) for other arguments.
44477         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
44478         (gamma_coeff): New variable.
44479         (NCOEFF): New macro.
44480         (gammal_positive): New function.
44481         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
44482         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
44483         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
44484         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
44485         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
44486         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
44487         * sysdeps/generic/math_private.h (__gamma_productf): New
44488         prototype.
44489         (__gamma_product): Likewise.
44490         (__gamma_productl): Likewise.
44491         * math/Makefile (libm-calls): Add gamma_product.
44492         * math/libm-test.inc (tgamma_test): Add more tests.
44493         * sysdeps/i386/fpu/libm-test-ulps: Update.
44494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44496 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
44498         * benchtests/bench-skeleton.c (main): Preheat CPU.
44500 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
44502         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
44504 2013-05-07  Roland McGrath  <roland@hack.frob.com>
44506         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
44507         and _dl_skip_args_internal.
44509 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
44511         * manual/message.texi (Message Translation): Talk about users.
44512         Message to key mapping impacts design.
44514 2013-05-06  Roland McGrath  <roland@hack.frob.com>
44516         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
44518         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
44520         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
44521         * sysdeps/wordsize-64/glob64.c: ... here.
44523         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
44524         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
44525         New macros.
44527         * debug/getlogin_r_chk.c: Moved to ...
44528         * login/getlogin_r_chk.c: ... here.
44529         * debug/Makefile (routines): Move getlogin_r_chk to ...
44530         * login/Makefile (routines): ... here.
44531         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
44532         * login/Versions (libc: GLIBC_2.4): ... here.
44534         * io/poll.c (__poll): Renamed from poll.
44535         Add libc_hidden_def.
44536         (poll): Define as weak alias.
44538         * debug/ptsname_r_chk.c: Moved to ...
44539         * login/ptsname_r_chk.c: ... here.
44540         * debug/Makefile (routines): Move ptsname_r_chk to ...
44541         * login/Makefile (routines): ... here.
44542         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
44543         * login/Versions (libc: GLIBC_2.4): ... here.
44545         * posix/getlogin.c: Moved to ...
44546         * login/getlogin.c: ... here.
44547         * posix/getlogin_r.c: Moved to ...
44548         * login/getlogin_r.c: ... here.
44549         * posix/getlogin_r.c: Moved to ...
44550         * login/getlogin_r.c: ... here.
44551         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
44552         * login/Makefile (routines): ... here.
44553         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
44554         * login/Versions (libc: GLIBC_2.0): ... here.
44556         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
44557         (setrlimit): Define as weak alias.
44559         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
44560         Call __ names for open, ftruncate, and close.
44561         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
44562         (truncate): Define as weak alias.
44564 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
44566         * math/gen-libm-test.pl (parse_args): Initialize x before each
44567         test of frexp, modf and remquo.
44569         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
44570         test signgam value.
44572 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44574         [BZ #15418]
44575         [BZ #15419]
44576         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
44577         internal tests.
44578         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44580 2013-05-06  Roland McGrath  <roland@hack.frob.com>
44582         * elf/dl-writev.h: New file.
44583         * elf/dl-misc.c: Include it.
44584         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
44585         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
44587 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
44589         * math/libm-test.inc (noXFails): Remove variable.
44590         (noXPasses): Likewise.
44591         (BUILD_COMPLEX_INT): Remove macro.
44592         (print_screen): Remove xfail argument.
44593         (print_screen_max_error): Likewise.
44594         (update_stats): Likewise.
44595         (print_max_error): Likewise.  Update calls to other affected
44596         functions.
44597         (print_complex_max_error): Likewise.
44598         (test_single_exception): Update calls to print_screen.
44599         (test_single_errno): Likewise.
44600         (check_float_internal): Remove xfail argument.  Update calls to
44601         other affected functions.
44602         (check_float): Likewise.
44603         (check_complex): Likewise.
44604         (check_int): Likewise.
44605         (check_long): Likewise.
44606         (check_bool): Likewise.
44607         (check_longlong): Likewise.
44608         (main): Don't print noXFails and noXPasses.
44609         * math/gen-libm-test.pl (top level): Don't mention expected
44610         failure handling in comment.
44611         (new_test): Don't handle expected failures.
44612         (parse_args): Don't mention expected failure handling in comment.
44613         (generate_testfile): Don't handle expected failures.
44614         (parse_ulps): Likewise.
44615         (print_ulps_file): Likewise.
44616         (get_failure): Remove function.
44617         (output_test): Don't handle expected failures.
44618         * make/README.libm-test: Don't mention expected failure handling.
44620         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
44621         (minus_zero): Likewise.
44622         (plus_infty): Likewise.
44623         (minus_infty): Likewise.
44624         (qnan_value): Likewise.
44625         (max_value): Likewise.
44626         (min_value): Likewise.
44627         (min_subnorm_value): Likewise.
44628         (initialize): Do not initialize those variables dynamically.
44630 2013-05-03  Roland McGrath  <roland@hack.frob.com>
44632         * io/open.c (__open_2): Moved to ...
44633         * io/open_2.c: ... this new file.
44634         * io/open64.c (__open64_2): Moved to ...
44635         * io/open64_2.c: ... this new file.
44636         * io/openat.c (__openat_2): Moved to ...
44637         * io/openat_2.c: ... this new file.
44638         * io/openat64.c (__openat64_2): Moved to ...
44639         * io/openat64_2.c: ... this new file.
44640         * io/Makefile (routines): Add them.
44641         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
44642         * sysdeps/unix/sysv/linux/open_2.c: File removed.
44643         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
44644         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
44645         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
44646         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
44647         (__openat64): Add hidden_ver.
44648         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
44649         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
44651         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
44652         Separately conditionalize setting of GLRO(dl_sysinfo) so
44653         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
44654         as well, but the actual setting is only under [NEED_DL_SYSINFO].
44656 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44658         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
44659         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
44660         definition.
44661         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
44662         * sysdeps/unix/sysv/linux/powerpc/init-first.c
44663         (_libc_vdso_platform_setup): Add __vdso_time initialization.
44664         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
44665         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
44667 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
44669         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
44670         test signgam value.
44672         * math/libm-test.inc (hypot_test): Do not use
44673         IGNORE_ZERO_INF_SIGN.
44675 2013-05-03  Andreas Jaeger  <aj@suse.de>
44677         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
44678         Linux 3.9.
44679         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
44680         (PF_MAX): Adjust for VSOCK change.
44682 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44686 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
44688         [BZ #15264]
44689         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
44690         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
44691         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
44693 2013-05-02  David S. Miller  <davem@davemloft.net>
44695         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44697 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
44699         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
44701 2013-05-01  Roland McGrath  <roland@hack.frob.com>
44703         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
44705 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
44707         [BZ #14952]
44708         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
44709         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
44710         Use __attribute__ ((__gnu_inline__)).
44711         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
44712         Don't use __attribute__ ((__gnu_inline__)).
44714 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
44716         [BZ #15423]
44717         * math/s_catan.c (__catan): Handle small real or imaginary part of
44718         input specially to avoid spurious underflow.
44719         * math/s_catanf.c (__catanf): Likewise.
44720         * math/s_catanh.c (__catanh): Likewise.
44721         * math/s_catanhf.c (__catanhf): Likewise.
44722         * math/s_catanhl.c (__catanhl): Likewise.
44723         * math/s_catanl.c (__catanl): Likewise.
44724         * math/libm-test.inc (catan_test): Add more tests.
44725         (catanh_test): Likewise.
44726         * sysdeps/i386/fpu/libm-test-ulps: Update.
44727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44729 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44733 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
44735         [BZ #15416]
44736         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
44737         accurately for denominator in atan2.
44738         * math/s_catanf.c (__catanf): Likewise.
44739         * math/s_catanh.c (__catanh): Likewise.
44740         * math/s_catanhf.c (__catanhf): Likewise.
44741         * math/s_catanhl.c (__catanhl): Likewise.
44742         * math/s_catanl.c (__catanl): Likewise.
44743         * math/libm-test.inc (catan_test): Add more tests.
44744         (catanh_test): Likewise.
44745         * sysdeps/i386/fpu/libm-test-ulps: Update.
44746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44748 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44750         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
44752         * benchtests/Makefile (bench): Remove slow benchmarks.
44753         * benchtests/atan-inputs: Add slow benchmark inputs.
44754         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
44755         (BENCH_FUNC): Accept variant offset.
44756         (VARIANT): Define.
44757         * benchtests/bench-skeleton.c (main): Run benchmark for each
44758         variant.
44759         * benchtests/cos-inputs: Add slow benchmark inputs.
44760         * benchtests/exp-inputs: Likewise.
44761         * benchtests/pow-inputs: Likewise.
44762         * benchtests/sin-inputs: Likewise.
44763         * benchtests/slowatan-inputs: Remove.
44764         * benchtests/slowatan.c: Remove.
44765         * benchtests/slowcos-inputs: Remove.
44766         * benchtests/slowcos.c: Remove.
44767         * benchtests/slowexp-inputs: Remove.
44768         * benchtests/slowexp.c: Remove.
44769         * benchtests/slowpow-inputs: Remove.
44770         * benchtests/slowpow.c: Remove.
44771         * benchtests/slowsin-inputs: Remove.
44772         * benchtests/slowsin.c: Remove.
44773         * benchtests/slowtan-inputs: Remove.
44774         * benchtests/slowtan.c: Remove.
44775         * benchtests/tan-inputs: Add slow benchmark inputs.
44776         * scripts/bench.pl: Parse comments and directives.
44778         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
44779         in CPPFLAGS.
44780         ($(objpfx)bench-%.c): Remove *-ITER.
44781         * benchtests/bench-modf.c: Remove definition of ITER.
44782         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
44783         (main): Loop for DURATION seconds instead of fixed number of
44784         iterations.
44785         * scripts/bench.pl: Don't expect iterations in parameters.
44787 2013-04-29  Roland McGrath  <roland@hack.frob.com>
44789         * io/fchdir.c (__fchdir): Renamed from fchdir.
44790         (fchdir): Define as weak alias.
44792 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
44794         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
44795         (ERRNO_EDOM): Likewise.
44796         (ERRNO_ERANGE): Likewise.
44797         (noErrnoTests): New variable.
44798         (init_max_error): Set errno to 0.
44799         (test_single_errno): New function.
44800         (test_errno): Likewise.
44801         (check_float_internal): Call test_errno.  Set errno to 0.
44802         (check_complex): Refer to errno tests in comment.
44803         (check_int): Call test_errno.  Set errno to 0.
44804         (check_long): Likewise.
44805         (check_bool): Likewise.
44806         (check_longlong): Likewise.
44807         (cos_test): Use ERRNO_* flags for errno tests instead of
44808         check_int.
44809         (expm1_test): Likewise.
44810         (fmod_test): Likewise.
44811         (ilogb_test): Likewise.
44812         (lgamma_test): Likewise.
44813         (pow_test): Likewise.
44814         (remainder_test): Likewise.
44815         (sin_test): Likewise.
44816         (tan_test): Likewise.
44817         (yn_test): Likewise.
44818         (initialize): Set errno to 0.
44819         (main): Print number of errno tests.
44820         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
44822 2013-04-29  Andreas Jaeger  <aj@suse.de>
44824         [BZ #15084]
44825         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
44826         and RES_USEVC.
44828         [BZ #15085]
44829         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
44830         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
44831         unimplemented.
44833         [BZ #15380]
44834         * stdlib/random.c (__initstate): Return NULL if
44835         __initstate fails.
44837         [BZ #15086]
44838         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
44839         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
44840         RES_SNGLKUPREOP.
44842 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44846 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
44848         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
44849         of individual tests.
44850         (casin_test): Likewise.
44851         (casinh_test): Likewise.
44853 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
44855         [BZ #15409]
44856         * math/s_catan.c (__catan): Handle arguments with large real or
44857         imaginary part separately without squaring.
44858         * math/s_catanf.c (__catanf): Likewise.
44859         * math/s_catanh.c (__catanh): Likewise.
44860         * math/s_catanhf.c (__catanhf): Likewise.
44861         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44862         and redefine.
44863         (__catanhl): Handle arguments with large real or imaginary part
44864         separately without squaring.
44865         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44866         and redefine.
44867         (__catanl): Handle arguments with large real or imaginary part
44868         separately without squaring.
44869         * math/libm-test.inc (catan_test): Add more tests.
44870         (catanh_test): Likewise.
44871         * sysdeps/i386/fpu/libm-test-ulps: Update.
44872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44874 2013-04-27  Andreas Jaeger  <aj@suse.de>
44876         [BZ #15007]
44877         * stdlib/stdlib.h: Update guards for qecvt.
44878         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
44879         <stdlib.h>.
44881 2013-04-27  Allan McRae  <allan@archlinux.org>
44883         * sysdeps/i386/fpu/libm-test-ulps: Update.
44885 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
44887         [BZ #15406]
44888         * math/s_catan.c: Include <float.h>.
44889         (__catan): Ensure underflow exception occurs for underflowed
44890         result.
44891         * math/s_catanf.c: Include <float.h>.
44892         (__catanf): Ensure underflow exception occurs for underflowed
44893         result.
44894         * math/s_catanh.c: Include <float.h>.
44895         (__catanh): Ensure underflow exception occurs for underflowed
44896         result.
44897         * math/s_catanhf.c: Include <float.h>.
44898         (__catanhf): Ensure underflow exception occurs for underflowed
44899         result.
44900         * math/s_catanhl.c: Include <float.h>.
44901         (__catanhl): Ensure underflow exception occurs for underflowed
44902         result.
44903         * math/s_catanl.c: Include <float.h>.
44904         (__catanl): Ensure underflow exception occurs for underflowed
44905         result.
44906         * math/libm-test.inc (catan_test): Add more tests.
44907         (catanh_test): Likewise.
44909         [BZ #15405]
44910         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
44911         underflowed result.
44912         * math/s_ccoshf.c (__ccoshf): Likewise.
44913         * math/s_ccoshl.c (__ccoshl): Likewise.
44914         * math/s_csin.c (__csin): Likewise.
44915         * math/s_csinf.c (__csinf): Likewise.
44916         * math/s_csinh.c (__csinh): Likewise.
44917         * math/s_csinhf.c (__csinhf): Likewise.
44918         * math/s_csinhl.c (__csinhl): Likewise.
44919         * math/s_csinl.c (__csinl): Likewise.
44920         * math/libm-test.inc (ccos_test): Add more tests.
44921         (ccosh_test): Likewise.
44922         (csin_test): Likewise.
44923         (csinh_test): Likewise.
44925 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44927         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
44928         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
44929         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
44930         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
44931         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
44932         powerpc/power5+/fpu folders.
44933         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
44936 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44938         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44940 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
44942         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
44943         additions to variable.
44944         [$(config-machine) = x86_64] (modules-names): Likewise.
44945         ($(objpfx)tst-audit3): Remove dependency.
44946         ($(objpfx)tst-audit3.out): Likewise.
44947         ($(objpfx)tst-audit4): Likewise.
44948         ($(objpfx)tst-audit4.out): Likewise.
44949         ($(objpfx)tst-audit5): Likewise.
44950         ($(objpfx)tst-audit5.out): Likewise.
44951         ($(objpfx)tst-audit6): Likewise.
44952         ($(objpfx)tst-audit6.out): Likewise.
44953         ($(objpfx)tst-audit7): Likewise.
44954         ($(objpfx)tst-audit7.out): Likewise.
44955         (tst-audit3-ENV): Remove variable.
44956         (tst-audit4-ENV): Likewise.
44957         (tst-audit5-ENV): Likewise.
44958         (tst-audit6-ENV): Likewise.
44959         (tst-audit7-ENV): Likewise.
44960         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
44961         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
44962         addition to variable.
44963         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
44964         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
44965         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
44966         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
44967         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
44968         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
44969         tst-audit3, tst-audit4 and tst-audit5.
44970         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
44971         tst-audit6 and tst-audit7.
44972         [$(subdir) = elf] (modules-names): Add audit modules for those
44973         tests.
44974         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
44975         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
44976         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
44977         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
44978         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
44979         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
44980         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
44981         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
44982         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
44983         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
44984         [$(subdir) = elf] (tst-audit3-ENV): New variable.
44985         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
44986         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
44987         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
44988         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
44989         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
44990         Likewise.
44991         [$(subdir) = elf && $(config-cflags-avx) = yes]
44992         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
44993         [$(subdir) = elf && $(config-cflags-avx) = yes]
44994         (CFLAGS-tst-auditmod4a.c): Likewise.
44995         [$(subdir) = elf && $(config-cflags-avx) = yes]
44996         (CFLAGS-tst-auditmod4b.c): Likewise.
44997         [$(subdir) = elf && $(config-cflags-avx) = yes]
44998         (CFLAGS-tst-auditmod6b.c): Likewise.
44999         [$(subdir) = elf && $(config-cflags-avx) = yes]
45000         (CFLAGS-tst-auditmod6c.c): Likewise.
45001         [$(subdir) = elf && $(config-cflags-avx) = yes]
45002         (CFLAGS-tst-auditmod7b.c): Likewise.
45003         * elf/tst-audit3.c: Move to ...
45004         * sysdeps/x86_64/tst-audit3.c: ... here.
45005         * elf/tst-audit4.c: Move to ...
45006         * sysdeps/x86_64/tst-audit4.c: ... here.
45007         * elf/tst-audit5.c: Move to ...
45008         * sysdeps/x86_64/tst-audit5.c: ... here.
45009         * elf/tst-audit6.c: Move to ...
45010         * sysdeps/x86_64/tst-audit6.c: ... here.
45011         * elf/tst-audit7.c: Move to ...
45012         * sysdeps/x86_64/tst-audit7.c: ... here.
45013         * elf/tst-auditmod3a.c: Move to ...
45014         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
45015         * elf/tst-auditmod3b.c: Move to ...
45016         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
45017         * elf/tst-auditmod4a.c: Move to ...
45018         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
45019         * elf/tst-auditmod4b.c: Move to ...
45020         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
45021         * elf/tst-auditmod5a.c: Move to ...
45022         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
45023         * elf/tst-auditmod5b.c: Move to ...
45024         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
45025         * elf/tst-auditmod6a.c: Move to ...
45026         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
45027         * elf/tst-auditmod6b.c: Move to ...
45028         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
45029         * elf/tst-auditmod6c.c: Move to ...
45030         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
45031         * elf/tst-auditmod7a.c: Move to ...
45032         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
45033         * elf/tst-auditmod7b.c: Move to ...
45034         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
45036 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
45038         [BZ #15366]
45039         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
45040         define unconditionally.
45041         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
45042         define unconditionally.
45043         (INT8_C, INT16_C, etc.): Likewise.
45045 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
45047         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
45048         __ehdr_start with hidden visibility.
45050         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
45052 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
45054         * math/libm-test.inc (cos_test): Use accurate hex constants.
45055         (sincost_test): Likewise.
45057 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
45059         * math/libm-test.inc (catan_test): Add more tests.
45060         (catanh_test): Likewise.
45062         * math/s_catanf.c (__catanf): Use suffixed floating-point
45063         constants.
45064         * math/s_catanhf.c (__catanhf): Likewise.
45065         * math/s_catanhl.c (__catanhl): Likewise.
45066         * math/s_catanl.c (__catanl): Likewise.
45068         [BZ #15394]
45069         * math/s_catan.c (__catan): Calculate imaginary part of result
45070         with log1p not log unless computing log of number close to 0.
45071         * math/s_catanf.c (__catanf): Likewise.
45072         * math/s_catanl.c (__catanl): Likewise.
45073         * math/s_catanh.c (__catanh): Calculate real part of result with
45074         log1p not log unless computing log of number close to 0.
45075         * math/s_catanhf.c (__catanhf): Likewise.
45076         * math/s_catanhl.c (__catanhl): Likewise.
45077         * math/libm-test.inc (catan_test): Add more tests.
45078         (catanh_test): Likewise.
45079         * sysdeps/i386/fpu/libm-test-ulps: Update.
45080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45082 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45084         * benchtests/Makefile: Mention files in which fast and slow
45085         paths of math functions are implemented.
45087 2013-04-23  Roland McGrath  <roland@hack.frob.com>
45089         * sysdeps/posix/timespec_get.c: New file.
45091 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45093         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
45094         POWER.
45095         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
45096         for POWER.
45097         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
45098         powerpc/power5/fpu folders.
45099         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
45100         * benchtests/Makefile: Add modf testcase.
45101         * benchtests/bench-modf.c: New file: Benchmark test for mo
45103 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45105         [BZ #14888]
45106         * time/Makefile (tests): Add tst-strptime-whitespace.
45107         * time/strptime_l.c (get_number): Use ISSPACE.
45108         (__strptime_internal): Likewise.
45109         * time/tst-strptime-whitespace.c: New test case.
45111 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
45113         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
45114         member.
45115         (_nss_files_init): Set it here.
45117 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
45119         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
45120         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
45121         unsigned.
45123 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
45125         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
45127 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45129         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
45130         size just once.
45132 2013-04-21  David S. Miller  <davem@davemloft.net>
45134         * po/ru.po: Update Russion translation from translation project.
45136 2013-04-17  Adam Conrad  <adconrad@0c3.net>
45138         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
45139         and setfsgid.
45141 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
45143         * configure.in: Remove i386 configure warning. Remove i386 case.
45144         * configure: Regenerate.
45145         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
45146         Add example to error message.
45147         * sysdeps/i386/configure: Regenerate.
45149 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45151         * benchtests/Makefile (bench): Add cos, tan, slowcos and
45152         slowtan.
45153         * benchtests/cos-inputs: New file.
45154         * benchtests/slowcos-inputs: New file.
45155         * benchtests/slowcos.c: New file.
45156         * benchtests/slowtan-inputs: New file.
45157         * benchtests/slowtan.c: New file.
45158         * benchtests/tan-inputs: New file.
45160 2013-04-16  Roland McGrath  <roland@hack.frob.com>
45162         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
45163         considered kosher.
45165 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45167         * benchtests/Makefile: Include cppflags-iterator.mk to add
45168         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
45170         * Makefile.in (bench-clean): New target.
45171         * benchtests/Makefile (bench-clean): Likewise.
45173 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
45175         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
45177 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
45179         * stdio-common/tstdiomisc.c: Fix coding-style violation.
45181 2013-04-15  Andreas Schwab  <schwab@suse.de>
45183         * nscd/grpcache.c (cache_addgr): Properly check for short write.
45184         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45185         * nscd/pwdcache.c (cache_addpw): Likewise.
45186         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
45187         more than recsize.
45189 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45191         * benchtests/Makefile (bench): Write all output to
45192         bench-out.tmp together.
45194 2013-04-15  Andreas Schwab  <schwab@suse.de>
45196         * nscd/nscd.c (main): Don't fork again after closing files.
45198 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45200         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
45202         * benchtests/Rules (bench-deps): Collect dependencies into a
45203         single variable.  Add Makefile to dependencies.
45204         ($(objpfx)bench-%.c): Depend on bench-deps.
45206 2013-04-12  Roland McGrath  <roland@hack.frob.com>
45207             Xavier Roche  <roche+kml2@exalead.com>
45209         [BZ #15361]
45210         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
45211         just that it's a file descriptor.
45212         * manual/llio.texi (Synchronizing AIO Operations): Update description
45213         for EBADF error from aio_fsync.
45215 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45217         * Rules (bench): Move target definition...
45218         * benchtests/Makefile: ... here.
45220 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
45222         * math/libm-test.inc (cos_test): Fix PI/2 test.
45223         (sincos_test): Likewise.
45224         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45225         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
45227 2013-04-11  Andreas Schwab  <schwab@suse.de>
45229         [BZ #13988]
45230         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
45231         accept exponent character only when digits were seen.
45232         * stdio-common/Makefile (tests): Add bug26.
45233         * stdio-common/bug26.c: New file.
45235         [BZ #14293]
45236         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
45237         non-freeable.
45239 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45241         * Makeconfig (rtld-prefix): Define built linker prefix.
45242         * Rules (run-bench): Use it.
45243         * math/Makefile (run-regen-ulps): Likewise.
45245         * Rules (bench): Remove eval.
45247 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45248             Roland McGrath  <roland@hack.frob.com>
45249             Ondrej Bilka  <neleai@seznam.cz>
45251         [BZ #15346]
45252         * time/getdate.c: Include ctype.h and alloca.h.
45253         (__getdate_r): Trim leading and trailing spaces of input.
45254         * time/tst-getdate.c (tests): Add tests with leading and
45255         trailing spaces.
45257 2013-04-08  Roland McGrath  <roland@hack.frob.com>
45259         [BZ #14280]
45260         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
45261         when computing value.
45263 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45265         * math/README.libm-test (How can I generate "libm-test-ulps"?):
45266         Use testrun.sh to run libm tests.
45268         [BZ #15309]
45269         * elf/dl-open.c (dl_open_worker): memset all of seen array.
45271 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
45273         [BZ #15264]
45274         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
45276 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45278         * Makefile.in (regen-ulps): New target.
45279         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
45280         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
45281         [ifneq (no,$(PERL)] (regen-ulps): New target.
45282         [ifeq (no,$(PERL)] (regen-ulps): New target.
45283         * math/libm-test.inc (ulps_file_name): Define.
45284         (output_dir): New variable.
45285         (options): Add "output-dir" option.
45286         (parse_opt): Handle 'o' case.
45287         (main): If output_dir is non-NULL use it as a prefix
45288         otherwise use "".
45289         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
45291 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45293         [BZ #10060, #10062]
45294         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
45295         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
45296         fail configure if __sync_val_compare_and_swap is not inlined.
45297         * sysdeps/i386/configure: Regenerate.
45298         * configure.in: Build for i686 when configured for i386.
45299         * configure: Regenerate.
45300         * README: Remove i386 reference.
45302 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45304         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
45305         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45307 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45309         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
45310         (lmsnanval): New variables.
45311         (F): Add conversion tests.
45312         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
45313         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
45315         * stdio-common/tstdiomisc.c (F): Properly collect individual
45316         tests' results.
45318         [BZ #14686, #15336]
45319         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
45320         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
45321         Instead, use input NaN values or generate a qNaN by arithmetic
45322         operation.  Also fix bugs to comply with the standard.
45323         * math/libm-test.inc (remainder_test): Add more tests.
45325         [BZ #15335, #15342]
45326         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
45327         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
45328         input NaN values or generate a qNaN by arithmetic operation.
45330         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
45331         unreachable code.
45333         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
45334         definitions.
45336 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
45338         [BZ #14478]
45339         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
45340         underflowed result.
45341         * math/s_cexpf.c (__cexpf): Likewise.
45342         * math/s_cexpl.c (__cexpl): Likewise.
45343         * math/libm-test.inc (cexp_test): Add more tests.
45345 2013-04-03  Andreas Schwab  <schwab@suse.de>
45347         [BZ #15330]
45348         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
45349         order arrays from heap if bigger than alloca cutoff.
45351 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
45353         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
45354         (SNAN_TESTS_double): Refer to GCC PR56831.
45355         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
45356         GCC PR56828.
45358 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45360         * Rules (bench): Move bench.out after the run is complete.
45362         * Rules (bench): Echo currently running benchmark.
45364         * benchtests/Makefile (bench): Add atan and slowatan.
45365         * benchtests/atan-inputs: New file.
45366         * benchtests/slowatan-inputs: New file.
45367         * benchtests/slowatan.c: New file.
45369         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
45370         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
45371         its value.
45373         [BZ #15305]
45374         * sysdeps/unix/sysv/linux/kernel-features.h
45375         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
45376         __ASSUME_XFS_RESTRICTED_CHOWN.
45377         * sysdeps/unix/sysv/linux/pathconf.c
45378         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
45379         Save and restore errno.
45381 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
45383         [BZ #15327]
45384         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
45385         arguments using __kernel_casinh.
45386         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
45387         arguments using __kernel_casinhf.
45388         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
45389         arguments using __kernel_casinhl.
45390         * math/libm-test.inc (cacosh_test): Add more tests.
45391         * sysdeps/i386/fpu/libm-test-ulps: Update.
45392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45394 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45396         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
45397         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
45399         * bench/Makefile (bench): Add sin and slowsin.
45400         * benchtests/sin-inputs: New file.
45401         * benchtests/slowsin-inputs: New file.
45402         * benchtests/slowsin.c: New file.
45404         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
45405         (bench): Add slowexp and slowpow.
45406         (exp-ITER): Increase iterations.
45407         (pow-ITER): Likewise.
45408         * benchtests/exp-inputs: Change input.
45409         * benchtests/pow-inputs: Likewise.
45410         * benchtests/slowexp-inputs: New file.
45411         * benchtests/slowexp.c: New file.
45412         * benchtests/slowpow-inputs: New file.
45413         * benchtests/slowpow.c: New file.
45415 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45417         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
45418         instructions.
45419         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45420         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
45421         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45422         * benchtests/Makefile: Add rint benchtest.
45423         * benchtests/rint-inputs: Input for rint benchtest.
45425 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
45427         * Versions.def (libm): Add GLIBC_2.18.
45428         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
45429         hidden libm prototypes.
45430         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
45431         * math/Makefile (libm-calls): Add s_issignaling.
45432         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
45433         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
45434         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
45435         declaration.
45436         * math/math.h [__USE_GNU] (issignaling): New macro.
45437         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
45438         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
45439         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
45440         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
45441         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
45442         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
45443         * manual/arith.texi (issignaling): New section.
45444         * manual/libm-err-tab.pl (@all_functions): Update comment.
45445         * math/gen-libm-test.pl (parse_args): Apply special handling for
45446         issignaling.
45447         * math/libm-test.inc (print_float, issignaling_test): New
45448         functions.
45449         (check_float_internal): Add issignaling checks.
45450         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
45451         default definition.
45452         * sysdeps/powerpc/math-tests.h: New file.
45453         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
45454         tests.
45455         * math/test-snan.c (TEST_FUNC): Likewise.
45457 2013-03-30  David S. Miller  <davem@davemloft.net>
45459         * po/de.po: Update from translation team.
45461 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
45463         [BZ #10357]
45464         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45465         imaginary part less than 1.0 and real part less than 0.5
45466         specially.
45467         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45468         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45469         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
45470         (cacos_test): Add more tests.
45471         (casin_test): Likewise.
45472         (casinh_test): Likewise.
45473         * sysdeps/i386/fpu/libm-test-ulps: Update.
45474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45476 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45478         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
45479         ONE with its value.
45481         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
45482         (__pow_mp): Replace ONE and MONE with their values.
45483         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45484         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
45485         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45486         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
45487         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45488         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45490         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
45492         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
45493         (__pow_mp): Replace ZERO and MZERO with their values.
45494         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45495         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45496         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45497         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
45498         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45499         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
45500         (__sqr): Likewise.
45502         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
45504         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
45506 2013-03-28  Roland McGrath  <roland@hack.frob.com>
45508         * include/stdlib.h [!SHARED] (__call_tls_dtors):
45509         Declare with __attribute__ ((weak)).
45510         * stdlib/exit.c (__libc_atexit) [!SHARED]:
45511         Call __call_tls_dtors only if it's not NULL.
45513 2013-03-28  Roland McGrath  <roland@hack.frob.com>
45515         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
45516         didn't do it already, then set _dl_phdr and _dl_phnum based on the
45517         magic __ehdr_start linker symbol if it's defined.
45518         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
45519         them up here if it was already done.
45521         * elf/dl-support.c (_dl_phdr): Make pointer to const.
45522         (_dl_aux_init): Use const in cast when setting it.
45523         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
45524         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
45525         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
45527         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
45528         Declare them here.
45529         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
45530         * csu/libc-tls.c: Nor here.
45531         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
45533         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
45534         (__libc_message): Never call vsyslog.
45536 2013-03-28  Alan Modra  <amodra@gmail.com>
45538         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
45539         Define as empty.
45540         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
45541         Likewise.
45543 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45545         [BZ #15214]
45546         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
45547         underflow.
45548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45550 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45552         [BZ #15304]
45553         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
45554         Don't add gid passed as argument.
45556         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
45558 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
45560         [BZ #15307]
45561         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45562         imaginary part between 1.0 and 1.5 and real part less than 0.5
45563         specially.
45564         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45565         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45566         * math/libm-test.inc (cacos_test): Add more tests.
45567         (casin_test): Likewise.
45568         (casinh_test): Likewise.
45569         * sysdeps/i386/fpu/libm-test-ulps: Update.
45570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45572 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45574         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
45575         constants.
45576         (norm): Likewise.
45577         (denorm): Likewise.
45578         (__dbl_mp): Likewise.
45579         (add_magnitudes): Likewise.
45580         (sub_magnitudes): Likewise.
45581         (__add): Likewise.
45582         (__sub): Likewise.
45583         (__mul): Likewise.
45584         (__sqr): Likewise.
45585         (__inv): Likewise.
45586         (__dvd): Likewise.
45588         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
45589         commented code.
45590         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
45591         (__dubcos): Likewise.
45592         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
45593         (__ieee754_acos): Likewise.
45594         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45595         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
45596         (__exp1): Likewise.
45597         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45598         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45599         (log1): Likewise.
45600         (my_log2): Likewise.
45601         (checkint): Likewise.
45602         * sysdeps/ieee754/dbl-64/e_remainder.c
45603         (__ieee754_remainder): Likewise.
45604         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45605         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
45606         (bsloww): Likewise.
45607         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45609         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45610         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
45611         MANTISSA_STORE_T to store computations on mantissa.  Use
45612         macros for rounding and division.
45613         (denorm): Likewise.
45614         (__dbl_mp): Likewise.
45615         (add_magnitudes): Likewise.
45616         (sub_magnitudes): Likewise.
45617         (__mul): Likewise.
45618         (__sqr): Likewise.
45619         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
45620         powers of two in terms of TWOPOW macro.
45621         (mp_no): Make type of mantissa as MANTISSA_T.
45622         [!RADIXI]: Define RADIXI.
45623         [!TWO52]: Define TWO52.
45624         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45626 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45628         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
45629         llroundl symbol when building for PPC32.
45631 2013-03-24  Mark H Weaver  <mhw@netris.org>
45633         * manual/arith.texi (Normalization Functions): Fix prototypes for
45634         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
45636 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45638         [BZ #13889]
45639         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
45640         high value to check if expl overflow.
45641         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
45642         to check for underflow and overflow.
45643         * math/libm-test.inc: Add exp test.
45645 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
45647         [BZ #11120]
45648         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
45649         with NOT_IN_libc.
45651 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45653         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
45654         symbol.
45656 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45658         * math/gen-libm-test.pl (parse_args, special_functions): Properly
45659         wrap blocks consisting of several statements.
45661         * sysdeps/generic/math-tests.h: New file.
45662         * sysdeps/i386/fpu/math-tests.h: Likewise.
45663         * math/test-snan.c: Include it.
45664         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
45666 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
45668         [BZ #15285]
45669         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
45670         (__ieee754_j0l): Do not improve calculations using cos of twice
45671         input for inputs above LDBL_MAX / 2.0L.
45672         (__ieee754_y0l): Likewise.
45673         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
45674         (__ieee754_j1l): Do not improve calculations using cos of twice
45675         input for inputs above LDBL_MAX / 2.0L.
45676         (__ieee754_y1l): Likewise.
45677         * math/libm-test.inc (j0_test): Add another test.
45678         (j1_test): Likewise.
45679         (y0_test): Likewise.
45680         (y1_test): Likewise.
45681         * sysdeps/i386/fpu/libm-test-ulps: Update.
45683 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45685         * Rules ($(objpfx)bench-%.c): Include code from a C source
45686         file.
45688 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
45690         [BZ #15287]
45691         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45692         imaginary part 1.0 and real part less than 0.5 specially.
45693         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45694         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45695         * math/libm-test.inc (cacos_test): Add more tests.
45696         (casin_test): Likewise.
45697         (casinh_test): Likewise.
45698         * sysdeps/i386/fpu/libm-test-ulps: Update.
45699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45701 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45703         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
45704         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
45706 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
45708         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
45709         * config.make.in (config-cflags-sse4): Remove variable.
45710         (config-cflags-avx): Likewise.
45711         (config-cflags-sse2avx): Likewise.
45712         (config-cflags-novzeroupper): Likewise.
45713         (config-asflags-i686): Likewise.
45714         (have-mfma4): Likewise.
45715         (have-as-vis3): Likewise.
45716         (MIG): Likewise.
45717         * configure.in (MIG): Do not AC_SUBST.
45718         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
45719         (libc_cv_cc_sse4): Do not AC_SUBST.
45720         (libc_cv_cc_avx): Likewise.
45721         (libc_cv_cc_sse2avx): Likewise.
45722         (libc_cv_cc_novzeroupper): Likewise.
45723         (libc_cv_cc_fma4): Likewise.
45724         (libc_cv_as_i686): Likewise.
45725         (libc_cv_sparc_as_vis3): Likewise.
45726         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
45727         LIBC_CONFIG_VAR.
45728         (config-asflags-i686): Likewise.
45729         (config-cflags-avx): Likewise.
45730         (config-cflags-sse2avx): Likewise.
45731         (have-mfma4): Likewise.
45732         (config-cflags-novzeroupper): Likewise.
45733         * sysdeps/mach/configure.in (MIG): Likewise.
45734         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
45735         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
45736         LIBC_CONFIG_VAR.
45737         (config-cflags-avx): Likewise.
45738         (config-cflags-sse2avx): Likewise.
45739         (have-mfma4): Likewise.
45740         (config-cflags-novzeroupper): Likewise.
45741         * configure: Regenerated.
45742         * sysdeps/i386/configure: Likewise.
45743         * sysdeps/mach/configure: Likewise.
45744         * sysdeps/sparc/configure: Likewise.
45745         * sysdeps/x86_64/configure: Likewise.
45747 2013-03-20  Roland McGrath  <roland@hack.frob.com>
45749         [BZ #14812]
45750         * locale/programs/localedef.c (options): Put N_ translation marker
45751         on argument names, not just descriptions.
45753 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45755         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
45757 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
45759         [BZ #14176]
45760         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
45762 2013-03-19  Roland McGrath  <roland@hack.frob.com>
45764         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
45765         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
45766         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
45767         [!BEFORE_ABORT] (before_abort): New function.
45768         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
45769         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
45770         (writev_for_fatal): New function.
45771         (WRITEV_FOR_FATAL): New macro; call that.
45772         (backtrace_and_maps): New function.
45773         (BEFORE_ABORT): New macro; call that.
45774         (struct str_list): Type removed.
45775         (__libc_message, __libc_fatal): Functions removed.
45776         Include <sysdeps/posix/libc_fatal.c> instead.
45778 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
45780         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
45781         constants.
45782         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
45783         double constants.
45785 2013-03-19  Andreas Schwab  <schwab@suse.de>
45787         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
45788         * sysdeps/gnu/configure: Regenerate.
45790         * configure.in: Substitute libc_cv_rtlddir.
45791         * configure: Regenerate.
45792         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
45793         * Makeconfig (rtlddir, inst_rtlddir): New variables.
45794         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
45795         * elf/Makefile (install-others, CFLAGS-interp.c)
45796         (ldso_install, common-ldd-rewrite): Likewise.
45797         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
45798         $(inst_slibdir)/$(rtld-installed-name).
45799         * scripts/rellns-sh: Add -p option.
45800         * Makerules (make-shlib-link): Use rellns-sh to get relative name
45801         for source.
45803 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45805         * manual/nptl.texi: Renamed to ...
45806         * manual/threads.texi: ... this.
45807         * manual/Makefile (chapters): Update.
45809 2013-03-18  Roland McGrath  <roland@hack.frob.com>
45811         [BZ #14812]
45812         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
45813         on argument names, not just descriptions.
45814         * malloc/memusagestat.c (options): Likewise.
45815         * nss/getent.c (options): Likewise.
45817 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
45819         [BZ #14812]
45820         * iconv/iconv_prog.c (options): Put N_ translation marker
45821         on argument names, not just descriptions.
45822         * iconv/iconvconfig.c (options): Likewise.
45824 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
45826         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
45827         implementation which is faster on all x86_64 architectures.
45828         Tested on AMD, Intel Nehalem, SNB, IVB.
45829         * sysdeps/x86_64/strnlen.S: Likewise.
45831         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45832         Remove all multiarch strlen and strnlen versions.
45833         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
45834         Remove strlen and strnlen related parts.
45836         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
45837         Inline strlen part.
45838         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
45840         * sysdeps/x86_64/multiarch/strlen.S: Remove.
45841         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
45842         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
45843         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
45844         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45845         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
45847 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
45849         * manual/memory.texi (Malloc Tunable Parameters):
45850         Sort parameters alphabetically. Add comments for missing entries.
45852 2013-03-17  David S. Miller  <davem@davemloft.net>
45854         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45856 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
45858         [BZ #15283]
45859         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
45860         for arguments at most half maximum finite value.
45861         * math/libm-test.inc (j0_test): Add more tests.
45862         (j1_test): Likewise.
45863         (y0_test): Likewise.
45864         (y1_test): Likewise.
45865         * sysdeps/i386/fpu/libm-test-ulps: Update.
45866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45868         [BZ #14155]
45869         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
45870         1 / x and functions P and Q for arguments above 0x1p256L.
45871         (__ieee754_y0l): Likewise.
45872         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
45873         (__ieee754_y1l): Likewise.
45874         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
45875         (j1_test): Likewise.
45876         (y0_test): Likewise.
45877         (y1_test): Likewise.
45879 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
45881         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
45882         variable.
45884 2013-03-15  Roland McGrath  <roland@hack.frob.com>
45886         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
45887         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
45888         zero since it's initialized to EXEC_PAGESIZE.
45890         * sysdeps/unix/sysv/linux/ldsodefs.h
45891         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
45892         * sysdeps/generic/ldsodefs.h: ... here.
45894 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
45896         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
45898         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
45899         math/test-snan.c.
45900         * math/test-snan.c: Renamed from
45901         sysdeps/powerpc/fpu/test-powerpc-snan.c.
45902         * math/Makefile (tests): Add test-snan.
45903         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
45904         test-powerpc-snan.
45906         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
45907         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
45908         functions.
45909         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
45910         __builtin_nan family of functions.
45911         * math/libm-test.inc (initialize): Initialize qnan_value with
45912         __builtin_nan family of functions.
45913         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
45914         Remove variables.
45915         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
45916         Remove functions.
45917         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
45918         storage class.  Initialize qNaN_var and sNaN_var with
45919         __builtin_nan and __builtin_nans families of functions,
45920         respectively.
45922         * math/libm-test.inc (acosh_test): Also test with qNaN input.
45923         (sqrt_test): Remove duplicate test with qNaN input.
45924         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
45925         (round_test, signbit_test, significand_test): Note missing +/-Inf
45926         as well as qNaN tests.
45928         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
45929         qNaN_var.  Fix a few strings, too.
45930         * math/libm-test.inc (nan_value): Rename to qnan_value.
45931         * math/gen-libm-test.pl (%beautify): Adjust to that.
45932         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
45933         * math/test-misc.c (main): Likewise.
45934         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
45935         to __qnan_bytes, and __qnan_union, respectively.
45936         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
45937         Likewise.
45938         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
45939         and lqnanval, respectively.
45940         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
45941         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
45942         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
45943         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
45945         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
45946         * math/test-misc.c (main) [__x86_64__]: Enable test for long
45947         doubles.
45949         * math/test-misc.c (main): Fix copy'n'pastos.
45950         * misc/tst-efgcvt.c (special): Likewise.
45952         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
45953         Remove declarations.
45955 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45957         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
45958         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
45959         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
45960         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
45962 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45964         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
45965         macro to return vdso values correctly in IFUNC implementations.
45966         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45967         Optimization by using IFUNC.
45969 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45970             Richard Henderson  <rth@redhat.com>
45971             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45973         * Makefile.in (bench): New target.
45974         * NEWS: Mention the benchmark framework.
45975         * Rules (bench): Likewise.
45976         (binaries-bench): Generate binaries for functions to
45977         benchmark.
45978         * benchtests/Makefile: New makefile for benchmark tests.
45979         * benchtests/bench-skeleton.c: New skeleton file for benchmark
45980         programs.
45981         * benchtests/exp-inputs: New input file for EXP function.
45982         * benchtests/pow-inputs: New input file for POW function.
45983         * scripts/bench.pl: New script to generate source files for
45984         benchmark programs.
45986 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45988         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45989         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
45990         computations on mantissa.  Use macros for rounding and
45991         division.
45992         (denorm): Likewise.
45993         (__dbl_mp): Likewise.
45994         (add_magnitudes): Likewise.
45995         (sub_magnitudes): Likewise.
45996         (__mul): Likewise.
45997         (__sqr): Likewise.
45998         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
45999         powers of two in terms of TWOPOW macro.
46000         (mp_no): Make type of mantissa as MANTISSA_T.
46001         [!RADIXI]: Define RADIXI.
46002         [!TWO52]: Define TWO52.
46003         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46005         * manual/nptl.texi (cindex): Modify threads to pthreads.
46007 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
46009         * sysdeps/x86_64/preconfigure: Regenerated.
46011 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
46013         [BZ #14155]
46014         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
46015         0x1p28 and above.
46016         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
46017         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
46018         0x1p28 and above.
46019         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
46020         * math/libm-test.inc (j0_test): Do not allow one spurious
46021         underflow exception.
46022         (y1_test): Likewise.
46024 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46026         * manual/Makefile (chapters): Add nptl.
46027         * manual/debug.texi (Debugging Support): Add link to Threads
46028         chapter.
46029         * manual/nptl.texi: New file.
46031         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
46033 2013-03-14  Petr Baudis  <pasky@ucw.cz>
46035         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
46036         for non-NULL pointer before the memory validity test. Pointed
46037         out by Holger Brunck <holger.brunck@keymile.com>.
46039 2013-03-13  Andreas Schwab  <schwab@suse.de>
46041         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
46042         instead of .os.
46044 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
46046         * timezone/zic.c: Update from tzcode 2013b.
46048 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
46050         * manual/install.texi (Configuring and compiling):
46051         Mention i686 and i586.
46052         * INSTALL: Regenerate.
46054 2013-03-12  Roland McGrath  <roland@hack.frob.com>
46056         * sysdeps/init_array/elf-init.c: New file.
46057         * csu/elf-init.c
46058         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
46059         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
46061         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
46062         __gmon_start__ as global, but as static with a .preinit_array pointer.
46063         * sysdeps/init_array/gmon-start.c: New file.  Use that.
46064         * sysdeps/init_array/crti.S: New file, empty except for comments.
46065         * sysdeps/init_array/crtn.S: Likewise.
46067 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
46069         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
46070         definining bcopy.
46071         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46072         Remove Prefer_SSE_for_memop.
46073         * sysdeps/x86_64/multiarch/init-arch.h: Remove
46074         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
46075         HAS_PREFER_SSE_FOR_MEMOP.
46076         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
46077         memset-x86-64.
46078         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46079         Remove bzero, memset ifunc support.
46080         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
46081         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
46082         * sysdeps/x86_64/multiarch/memset.S: Likewise.
46083         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46085 2013-03-11  Andreas Schwab  <schwab@suse.de>
46087         [BZ #15234]
46088         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
46089         by SHLIB_COMPAT.
46090         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
46091         (GLIBC_2.16): Remove pthread_atfork.
46093 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
46095         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
46096         (ptestcases.h): Likewise.
46098 2013-03-08  Roland McGrath  <roland@hack.frob.com>
46100         * Makeconfig ($(common-objpfx)config.status): Depend on
46101         sysdeps/*/preconfigure{,.in} too.
46103 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
46105         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
46106         (__free_hook): Use void * instead of __malloc_ptr_t.
46107         (__malloc_hook): Likewise.
46108         (__realloc_hook): Likewise.
46109         (__memalign_hook): Likewise.
46110         (__after_morecore_hook): Likewise.
46111         * malloc/arena.c (save_malloc_hook): Likewise.
46112         (save_free_hook): Likewise.
46113         * malloc/hooks.c (malloc_hook_ini): Likewise.
46114         (realloc_hook_ini): Likewise.
46115         (memalign_hook_ini): Likewise.
46116         * malloc/malloc.c (malloc_hook_ini): Likewise.
46117         (realloc_hook_ini): Likewise.
46118         (memalign_hook_ini): Likewise.
46119         (__free_hook): Likewise.
46120         (__malloc_hook): Likewise.
46121         (__realloc_hook): Likewise.
46122         (__memalign_hook): Likewise.
46123         (__libc_malloc): Likewise.
46124         (__libc_free): Likewise.
46125         (__libc_realloc): Likewise.
46126         (__libc_memalign): Likewise.
46127         (__libc_valloc): Likewise.
46128         (__libc_pvalloc): Likewise.
46129         (__libc_calloc): Likewise.
46130         (__posix_memalign): Likewise.
46131         * malloc/morecore.c (__sbrk): Likewise.
46132         (__default_morecore): Likewise.
46134         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
46136         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
46137         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
46138         __malloc_ptrdiff_t.
46140         * malloc/malloc.h (__malloc_size_t): Remove macro.
46141         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
46142         __malloc_size_t.
46143         (old_memalign_hook): Likewise.
46144         (old_realloc_hook): Likewise.
46145         (struct hdr): Likewise.
46146         (flood): Likewise.
46147         (mallochook): Likewise.
46148         (memalignhook): Likewise.
46149         (reallochook): Likewise.
46150         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
46151         (tr_old_realloc_hook): Likewise.
46152         (tr_old_memalign_hook): Likewise.
46153         (tr_mallochook): Likewise.
46154         (tr_reallochook): Likewise.
46155         (tr_memalignhook): Likewise.
46157 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46159         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
46160         default_ldbl_pack and using as default implementation.
46161         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
46162         implementation.
46163         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
46164         redundant definition.
46165         (ldbl_insert_mantissa): Likewise.
46166         (ldbl_canonicalize): Likewise.
46167         (ldbl_nearbyint): Likewise.
46168         (ldbl_pack): Rename to ldbl_pack_ppc.
46169         (ldbl_unpack): Rename to ldbl_unpack_ppc.
46170         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
46171         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
46173 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46175         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
46176         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
46177         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
46178         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
46179         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
46180         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
46181         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
46182         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
46184 2013-03-07  Andreas Jaeger  <aj@suse.de>
46186         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46187         bits/mman-linux.h.
46189 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46191         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
46192         Include mpa.h and declare __MPEXP.
46193         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
46194         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46195         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46196         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
46197         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46198         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46199         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
46201         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
46202         (__slowpow): Use long double EXPL and LOGL functions to
46203         compute POW.
46204         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46205         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46206         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
46207         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46208         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46209         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
46211         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
46212         intermediate variable to calculate exponent.
46213         (__sqr): Likewise.
46214         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46215         Likewise.
46216         (__sqr): Likewise.
46218         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
46219         [!NO__SQR]: Define __sqr.
46220         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
46221         and NO__SQR.  Remove all code except __mul and __sqr.  Include
46222         sysdeps/ieee754/dbl-64/mpa.c.
46223         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46225         [BZ #12723]
46226         * posix/Makefile (tests): Add tst-pathconf.
46227         * posix/tst-pathconf.c: New test case.
46228         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
46229         _PC_PIPE_BUF.
46230         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
46232 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
46234         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
46236 2013-03-06  Andreas Jaeger  <aj@suse.de>
46238         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
46239         definition via __MAP_ANONYMOUS.
46241         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
46242         it's not part of Linux headers.
46244         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
46245         (MAP_HUGE_MASK): Define.
46247         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46248         Define.
46249         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46250         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46251         Define.
46252         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46253         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46254         Define.
46255         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46256         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
46257         Define.
46258         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46260         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
46261         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
46262         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
46263         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
46264         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
46265         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
46267         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46268         Handle f2fs.
46270         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46271         Handle f2fs and efivarfs.
46273         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
46274         f2fs.
46276         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
46277         (EFIVARFS_MAGIC): Add.
46278         (F2FS_LINK_MAX): Add.
46280 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46282         * stdio-common/vfprintf.c: Replace __builtin_expect with
46283         __glibc_unlikely.
46285 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
46287         [BZ #13550]
46288         * sysdeps/generic/bp-sym.h: Remove file.
46289         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
46290         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
46291         <bp-sym.h> and <bp-asm.h>.
46292         (__longjmp): Don't use BP_SYM.
46293         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
46294         and <bp-asm.h>.
46295         (memcpy): Don't use BP_SYM.
46296         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
46297         <bp-sym.h> and <bp-asm.h>.
46298         (memcpy): Don't use BP_SYM.
46299         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
46300         <bp-asm.h>.
46301         (memcpy): Don't use BP_SYM.
46302         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
46303         <bp-asm.h>.
46304         (memset): Don't use BP_SYM.
46305         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46306         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46307         (__bzero): Don't use BP_SYM.
46308         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46309         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46310         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
46311         <bp-sym.h> and <bp-asm.h>.
46312         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46313         pointers.
46314         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
46315         <bp-sym.h> and <bp-asm.h>.
46316         (memcpy): Don't use BP_SYM.
46317         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
46318         <bp-sym.h> and <bp-asm.h>.
46319         (memset): Don't use BP_SYM.
46320         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46321         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46322         (__bzero): Don't use BP_SYM.
46323         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46324         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46325         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
46326         <bp-sym.h> and <bp-asm.h>.
46327         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46328         pointers.
46329         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
46330         <bp-sym.h> and <bp-asm.h>.
46331         (memcpy): Don't use BP_SYM.
46332         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
46333         <bp-sym.h> and <bp-asm.h>.
46334         (memset): Don't use BP_SYM.
46335         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46336         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46337         (__bzero): Don't use BP_SYM.
46338         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46339         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46340         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
46341         <bp-sym.h> and <bp-asm.h>.
46342         (__memchr): Don't use BP_SYM.
46343         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
46344         <bp-sym.h> and <bp-asm.h>.
46345         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46346         pointers.
46347         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
46348         <bp-sym.h> and <bp-asm.h>.
46349         (memcpy): Don't use BP_SYM.
46350         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
46351         <bp-sym.h> and <bp-asm.h>.
46352         (__mempcpy): Don't use BP_SYM.
46353         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
46354         <bp-sym.h> and <bp-asm.h>.
46355         (__memrchr): Don't use BP_SYM.
46356         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
46357         <bp-sym.h> and <bp-asm.h>.
46358         (memset): Don't use BP_SYM.
46359         (__bzero): Likewise.
46360         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
46361         <bp-sym.h> and <bp-asm.h>.
46362         (__rawmemchr): Don't use BP_SYM.
46363         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
46364         <bp-sym.h> and <bp-asm.h>.
46365         (__STRCMP): Don't use BP_SYM.
46366         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
46367         <bp-sym.h> and <bp-asm.h>.
46368         (strchr): Don't use BP_SYM.
46369         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
46370         <bp-sym.h> and <bp-asm.h>.
46371         (__strchrnul): Don't use BP_SYM.
46372         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
46373         <bp-sym.h> and <bp-asm.h>.
46374         (strlen): Don't use BP_SYM.
46375         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
46376         <bp-sym.h> and <bp-asm.h>.
46377         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46378         pointers.
46379         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
46380         <bp-sym.h> and <bp-asm.h>.
46381         (__strnlen): Don't use BP_SYM.
46382         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
46383         <bp-sym.h> and <bp-asm.h>.
46384         (__GI__setjmp): Don't use BP_SYM.
46385         (_setjmp): Likewise.
46386         (__sigsetjmp): Likewise.
46387         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
46388         (L(start_addresses)): Don't use BP_SYM.
46389         (_start): Likewise.
46390         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
46391         <bp-asm.h>.
46392         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
46393         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
46394         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46395         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46396         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
46397         <bp-asm.h>.
46398         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
46399         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
46400         about bounded pointers.
46401         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46402         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46403         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
46404         <bp-asm.h>.
46405         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
46406         about bounded pointers.  Remove GKM FIXME comments.
46407         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46408         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
46409         <bp-asm.h>.
46410         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
46411         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
46412         Remove GKM FIXME comments.
46413         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46414         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46415         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
46416         <bp-asm.h>.
46417         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
46418         about bounded pointers.  Remove GKM FIXME comment.
46419         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
46420         and <bp-asm.h>.
46421         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46422         pointers.
46423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
46424         <bp-sym.h> and <bp-asm.h>.
46425         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
46427         <bp-sym.h> and <bp-asm.h>.
46428         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
46429         comment.
46431 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46433         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
46434         call free(NULL).
46436 2013-03-05  David S. Miller  <davem@davemloft.net>
46438         * po/es.po: Update from translation team.
46440 2013-03-05  Andreas Jaeger  <aj@suse.de>
46442         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
46443         <bits/mman-linux.h>.
46444         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46445         is fine.
46446         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
46447         <bits/mman-linux.h> to end of file.
46448         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46449         is fine.
46450         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
46451         <bits/mman-linux.h> to end of file.
46452         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46453         is fine.
46454         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
46455         <bits/mman-linux.h> to end of file.
46457         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
46458         (MCL_CURRENT, MCL_FUTURE): Define here.
46460 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46462         [BZ #15232]
46463         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
46464         attribute_hidden.
46465         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46467 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46469         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
46470         fourth parameter needed for rt_sigprocmask syscall.
46471         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46472         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46473         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
46474         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46475         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46476         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
46478 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
46480         [BZ #13550]
46481         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
46482         comment about bounded pointers.
46483         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
46484         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
46486 2013-03-04  Andreas Jaeger  <aj@suse.de>
46488         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
46489         common definitions.
46491         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
46492         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
46493         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
46494         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46495         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46496         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46498 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46500         [BZ #15055]
46501         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
46502         __ieee754_sqrl instead of __sqrl.
46504 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
46506         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
46507         * sysdeps/powerpc/fpu_control.h: ... here.
46508         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
46509         * sysdeps/powerpc/bits/fenvinline.h: ... here.
46510         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
46511         * sysdeps/powerpc/bits/mathinline.h: ... here.
46513 2013-03-01  Roland McGrath  <roland@hack.frob.com>
46515         * elf/dl-hwcaps.c (_dl_important_hwcaps):
46516         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
46517         to just [NEED_DL_SYSINFO_DSO].
46518         * elf/dl-support.c: Likewise.
46519         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
46520         * elf/rtld.c (dl_main): Likewise.
46521         * elf/setup-vdso.h (setup_vdso): Likewise.
46522         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
46523         * sysdeps/unix/sysv/linux/dl-sysdep.c
46524         (_dl_discover_osversion): Likewise.
46526 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
46528         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
46529         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46531 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46533         * NEWS: Mention libm performance improvements and non-x86 PI
46534         futex support.
46536         * csu/libc-start.c (__pthread_initialize_minimal): Change
46537         function arguments.
46538         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46540 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
46542         [BZ #13550]
46543         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
46544         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
46545         <bp-sym.h> and <bp-asm.h>.
46546         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46547         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
46548         and <bp-asm.h>.
46549         (memcpy): Don't use BP_SYM.
46550         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
46551         <bp-asm.h>.
46552         (__mpn_add_n): Don't use BP_SYM.
46553         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
46554         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
46555         and <bp-asm.h>.
46556         (__mpn_addmul_1): Don't use BP_SYM.
46557         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46558         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
46559         <bp-sym.h>.
46560         (_setjmp): Don't use BP_SYM.
46561         (__novmx_setjmp): Likewise.
46562         (__GI__setjmp): Likewise.
46563         (__vmx_setjmp): Likewise.
46564         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
46565         <bp-sym.h>.
46566         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
46567         (__bzero): Don't use BP_SYM.
46568         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46569         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46570         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
46571         <bp-sym.h> and <bp-asm.h>.
46572         (memcpy): Don't use BP_SYM.
46573         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
46574         <bp-sym.h> and <bp-asm.h>.
46575         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46576         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
46577         <bp-sym.h> and <bp-asm.h>.
46578         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46579         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
46580         <bp-asm.h>.
46581         (__mpn_lshift): Don't use BP_SYM.
46582         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46583         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
46584         <bp-asm.h>.
46585         (memset): Don't use BP_SYM.
46586         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46587         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46588         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
46589         <bp-asm.h>.
46590         (__mpn_mul_1): Don't use BP_SYM.
46591         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46592         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
46593         <bp-sym.h> and <bp-asm.h>.
46594         (memcmp): Don't use BP_SYM.
46595         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
46596         <bp-sym.h> and <bp-asm.h>.
46597         (memcpy): Don't use BP_SYM.
46598         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
46599         <bp-sym.h> and <bp-asm.h>.
46600         (memset): Don't use BP_SYM.
46601         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
46602         <bp-sym.h> and <bp-asm.h>.
46603         (strncmp): Don't use BP_SYM.
46604         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
46605         <bp-sym.h> and <bp-asm.h>.
46606         (memcpy): Don't use BP_SYM.
46607         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
46608         <bp-sym.h> and <bp-asm.h>.
46609         (memset): Don't use BP_SYM.
46610         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
46611         <bp-sym.h> and <bp-asm.h>.
46612         (__memchr): Don't use BP_SYM.
46613         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
46614         <bp-sym.h> and <bp-asm.h>.
46615         (memcmp): Don't use BP_SYM.
46616         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
46617         <bp-sym.h> and <bp-asm.h>.
46618         (memcpy): Don't use BP_SYM.
46619         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
46620         <bp-sym.h> and <bp-asm.h>.
46621         (__mempcpy): Don't use BP_SYM.
46622         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
46623         <bp-sym.h> and <bp-asm.h>.
46624         (__memrchr): Don't use BP_SYM.
46625         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
46626         <bp-sym.h> and <bp-asm.h>.
46627         (memset): Don't use BP_SYM.
46628         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
46629         <bp-sym.h> and <bp-asm.h>.
46630         (__rawmemchr): Don't use BP_SYM.
46631         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
46632         <bp-sym.h> and <bp-asm.h>.
46633         (__STRCMP): Don't use BP_SYM.
46634         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
46635         <bp-sym.h> and <bp-asm.h>.
46636         (strchr): Don't use BP_SYM.
46637         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
46638         <bp-sym.h> and <bp-asm.h>.
46639         (__strchrnul): Don't use BP_SYM.
46640         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
46641         <bp-sym.h> and <bp-asm.h>.
46642         (strlen): Don't use BP_SYM.
46643         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
46644         <bp-sym.h> and <bp-asm.h>.
46645         (strncmp): Don't use BP_SYM.
46646         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
46647         <bp-sym.h> and <bp-asm.h>.
46648         (__strnlen): Don't use BP_SYM.
46649         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
46650         <bp-asm.h>.
46651         (__mpn_rshift): Don't use BP_SYM.
46652         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46653         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
46654         <bp-sym.h> and <bp-asm.h>.
46655         (__sigsetjmp): Don't use BP_SYM.
46656         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
46657         (L(start_addresses)): Don't use BP_SYM.
46658         (_start): Likewise.
46659         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
46660         <bp-asm.h>.
46661         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
46662         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46663         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46664         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
46665         <bp-asm.h>.
46666         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
46667         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46668         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46669         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
46670         <bp-asm.h>.
46671         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
46672         comments.
46673         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46674         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
46675         <bp-asm.h>.
46676         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
46677         FIXME comments.
46678         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46679         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46680         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
46681         <bp-asm.h>.
46682         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
46683         comment.
46684         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
46685         and <bp-asm.h>.
46686         (strncmp): Don't use BP_SYM,
46687         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
46688         <bp-asm.h>.
46689         (__mpn_sub_n): Don't use BP_SYM.
46690         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46691         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
46692         and <bp-asm.h>.
46693         (__mpn_submul_1): Don't use BP_SYM.
46694         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
46696         <bp-sym.h> and <bp-asm.h>.
46697         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
46699         <bp-sym.h> and <bp-asm.h>.
46700         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
46701         comment.
46703 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46705         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
46706         Use ZK to minimize writes to Z.
46707         (sub_magnitudes): Simplify code a bit.
46708         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
46709         Use ZK to minimize writes to Z.
46710         (sub_magnitudes): Simplify code a bit.
46712 2013-02-27  Roland McGrath  <roland@hack.frob.com>
46714         * csu/gmon-start.c: Add special exception to license text.
46716 2013-02-27  Richard Henderson  <rth@redhat.com>
46718         * scripts/config.guess: Update from config.git.
46719         * scripts/config.sub: Likewise.
46721 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46723         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
46725         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
46727         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
46729         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
46731         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
46733 2013-02-26  Roland McGrath  <roland@hack.frob.com>
46735         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
46736         [$(build-shared = yes].
46738 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46740         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
46741         (__mul): Reduce iterations for calculating mantissa.
46743         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
46744         MPTWO.
46745         (__mpranred): Likewise.
46747         [BZ #15160]
46748         * malloc/memusagestat.c (main): Draw graphs for heap and stack
46749         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
46751 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
46753         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
46754         Define __attribute__.
46756 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46758         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
46759         unused.
46760         * posix/regex_internal.h (__attribute): Remove.
46761         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
46762         (re_string_context_at): Likewise.
46763         (bitset_not): Use __attribute__ and mark function as possibly
46764         unused.
46765         (bitset_merge): Likewise.
46766         (bitset_mask): Likewise.
46767         (re_string_char_size_at): Likewise.
46768         (re_string_wchar_at): Likewise.
46769         (re_string_elem_size_at): Likewise.
46771 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46773         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
46774         code.
46775         (cc32): Likewise.
46777         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
46778         (__acr): Likewise.
46779         (__cpy): Likewise.
46780         (norm): Likewise.
46781         (denorm): Likewise.
46782         (__dbl_mp): Likewise.
46783         (add_magnitudes): Likewise.
46784         (sub_magnitudes): Likewise.
46785         (__mul): Likewise.
46786         (__inv): Likewise.
46788         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
46789         style.
46791         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
46792         style.
46794         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
46795         code.
46797         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
46798         up changes with default code.
46799         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
46800         Likewise.
46802 2013-02-24  Allan McRae  <allan@archlinux.org>
46804         * manual/socket.texi (The Internet Namespace): Order menu items
46805         to match that in the file.
46807         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
46808         node listing of the info page menu.
46810 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
46812         [BZ #13550]
46813         * sysdeps/i386/bp-asm.h: Remove file.
46814         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46815         (PARMS): Do not use macros from bp-asm.h.
46816         (S1): Likewise.
46817         (S2): Likewise.
46818         (SIZE): Likewise.
46819         (__mpn_add_n): Do not use BP_SYM
46820         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
46821         "bp-asm.h".
46822         (PARMS): Do not use macros from bp-asm.h.
46823         (S1): Likewise.
46824         (SIZE): Likewise.
46825         (__mpn_addmul_1): Do not use BP_SYM
46826         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
46827         "bp-asm.h".
46828         (PARMS): Do not use macros from bp-asm.h.
46829         (SIGMSK): Likewise.
46830         (_setjmp): Likewise.  Do not use BP_SYM.
46831         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
46832         "bp-asm.h".
46833         (PARMS): Do not use macros from bp-asm.h.
46834         (SIGMSK): Likewise.
46835         (setjmp): Likewise.  Do not use BP_SYM.
46836         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
46837         "bp-asm.h".
46838         (PARMS): Do not use macros from bp-asm.h.
46839         (__frexp): Do not use BP_SYM.
46840         (frexp): Likewise.
46841         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
46842         "bp-asm.h".
46843         (PARMS): Do not use macros from bp-asm.h.
46844         (__frexpf): Do not use BP_SYM.
46845         (frexpf): Likewise.
46846         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
46847         "bp-asm.h".
46848         (PARMS): Do not use macros from bp-asm.h.
46849         (__frexpl): Do not use BP_SYM.
46850         (frexpl): Likewise.
46851         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
46852         "bp-asm.h".
46853         (PARMS): Do not use macros from bp-asm.h.
46854         (__remquo): Do not use BP_SYM.
46855         (remquo): Likewise.
46856         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
46857         "bp-asm.h".
46858         (PARMS): Do not use macros from bp-asm.h.
46859         (__remquof): Do not use BP_SYM.
46860         (remquof): Likewise.
46861         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
46862         "bp-asm.h".
46863         (PARMS): Do not use macros from bp-asm.h.
46864         (__remquol): Do not use BP_SYM.
46865         (remquol): Likewise.
46866         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
46867         "bp-asm.h".
46868         (PARMS): Do not use macros from bp-asm.h.
46869         (DEST): Likewise.
46870         (SRC): Likewise.
46871         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
46872         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
46873         "bp-asm.h".
46874         (PARMS): Do not use macros from bp-asm.h.
46875         (strlen): Do not use BP_SYM.
46876         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
46877         "bp-asm.h".
46878         (PARMS): Do not use macros from bp-asm.h.
46879         (S1): Likewise.
46880         (S2): Likewise.
46881         (SIZE): Likewise.
46882         (__mpn_add_n): Do not use BP_SYM.
46883         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
46884         "bp-asm.h".
46885         (PARMS): Do not use macros from bp-asm.h.
46886         (S1): Likewise.
46887         (SIZE): Likewise.
46888         (__mpn_addmul_1): Do not use BP_SYM.
46889         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
46890         weak_alias.
46891         (bzero): Likewise.
46892         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
46893         "bp-asm.h".
46894         (PARMS): Do not use macros from bp-asm.h.
46895         (S): Likewise.
46896         (SIZE): Likewise.
46897         (__mpn_lshift): Do not use BP_SYM.
46898         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
46899         "bp-asm.h".
46900         (PARMS): Do not use macros from bp-asm.h.
46901         (DEST): Likewise.
46902         (SRC): Likewise.
46903         (LEN): Likewise.
46904         (memcpy): Likewise.  Do not use BP_SYM.
46905         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
46906         libc_hidden_def and weak_alias.
46907         (mempcpy): Do not use BP_SYM in weak_alias.
46908         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
46909         "bp-asm.h".
46910         (PARMS): Do not use macros from bp-asm.h.
46911         (DEST): Likewise.
46912         (LEN): Likewise.
46913         [!BZERO_P] (CHR): Likewise.
46914         (memset): Likewise.  Do not use BP_SYM.
46915         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
46916         "bp-asm.h".
46917         (PARMS): Do not use macros from bp-asm.h.
46918         (S1): Likewise.
46919         (SIZE): Likewise.
46920         (__mpn_mul_1): Do not use BP_SYM.
46921         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
46922         "bp-asm.h".
46923         (PARMS): Do not use macros from bp-asm.h.
46924         (S): Likewise.
46925         (SIZE): Likewise.
46926         (__mpn_rshift): Do not use BP_SYM.
46927         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
46928         "bp-asm.h".
46929         (PARMS): Do not use macros from bp-asm.h.
46930         (STR): Likewise.
46931         (CHR): Likewise.
46932         (strchr): Likewise.  Do not use BP_SYM.
46933         (index): Do not use BP_SYM in weak_alias.
46934         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
46935         "bp-asm.h".
46936         (PARMS): Do not use macros from bp-asm.h.
46937         (DEST): Likewise.
46938         (SRC): Likewise.
46939         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
46940         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
46941         "bp-asm.h".
46942         (PARMS): Do not use macros from bp-asm.h.
46943         (strlen): Do not use BP_SYM.
46944         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
46945         "bp-asm.h".
46946         (PARMS): Do not use macros from bp-asm.h.
46947         (S1): Likewise.
46948         (S2): Likewise.
46949         (SIZE): Likewise.
46950         (__mpn_sub_n): Do not use BP_SYM.
46951         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
46952         "bp-asm.h".
46953         (PARMS): Do not use macros from bp-asm.h.
46954         (S1): Likewise.
46955         (SIZE): Likewise.
46956         (__mpn_submul_1): Do not use BP_SYM.
46957         * sysdeps/i386/i686/add_n.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         (S2): Likewise.
46962         (SIZE): Likewise.
46963         (__mpn_add_n): Do not use BP_SYM.
46964         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
46965         weak_alias.
46966         (bzero): Likewise.
46967         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
46968         "bp-asm.h".
46969         (PARMS): Do not use macros from bp-asm.h.
46970         (BLK2): Likewise.
46971         (LEN): Likewise.
46972         (memcmp): Do not use BP_SYM.
46973         (bcmp): Do not use BP_SYM in weak_alias.
46974         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
46975         "bp-asm.h".
46976         (PARMS): Do not use macros from bp-asm.h.
46977         (DEST): Likewise.
46978         (SRC): Likewise.
46979         (LEN): Likewise.
46980         (memcpy): Likewise.  Do not use BP_SYM.
46981         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
46982         "bp-asm.h".
46983         (PARMS): Do not use macros from bp-asm.h.
46984         (DEST): Likewise.
46985         (SRC): Likewise.
46986         (LEN): Likewise.
46987         (memmove): Likewise.  Do not use BP_SYM.
46988         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
46989         "bp-asm.h".
46990         (PARMS): Do not use macros from bp-asm.h.
46991         (DEST): Likewise.
46992         (SRC): Likewise.
46993         (LEN): Likewise.
46994         (__mempcpy): Likewise.  Do not use BP_SYM.
46995         (mempcpy): Do not use BP_SYM in weak_alias.
46996         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
46997         "bp-asm.h".
46998         (PARMS): Do not use macros from bp-asm.h.
46999         (DEST): Likewise.
47000         (LEN): Likewise.
47001         [!BZERO_P] (CHR): Likewise.
47002         (memset): Likewise.  Do not use BP_SYM.
47003         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
47004         "bp-asm.h".
47005         (PARMS): Do not use macros from bp-asm.h.
47006         (STR2): Likewise.
47007         (strcmp): Do not use BP_SYM.
47008         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
47009         "bp-asm.h".
47010         (PARMS): Do not use macros from bp-asm.h.
47011         (STR): Likewise.
47012         (DELIM): Likewise.
47013         [USE_AS_STRTOK_R] (SAVE): Likewise.
47014         (FUNCTION): Likewise.  Do not use BP_SYM.
47015         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
47016         aliases.
47017         (strtok_r): Likewise.
47018         (__GI___strtok_r): Likewise.
47019         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47020         (PARMS): Do not use macros from bp-asm.h.
47021         (S): Likewise.
47022         (SIZE): Likewise.
47023         (__mpn_lshift): Do not use BP_SYM.
47024         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47025         (PARMS): Do not use macros from bp-asm.h.
47026         (STR): Likewise.
47027         (CHR): Likewise.
47028         (__memchr): Do not use BP_SYM.
47029         (memchr): Do not use BP_SYM in weak_alias.
47030         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47031         (PARMS): Do not use macros from bp-asm.h.
47032         (BLK2): Likewise.
47033         (LEN): Likewise.
47034         (memcmp): Do not use BP_SYM.
47035         (bcmp): Do not use BP_SYM in weak_alias.
47036         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
47037         (PARMS): Do not use macros from bp-asm.h.
47038         (S1): Likewise.
47039         (SIZE): Likewise.
47040         (__mpn_mul_1): Do not use BP_SYM.
47041         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
47042         "bp-asm.h".
47043         (PARMS): Do not use macros from bp-asm.h.
47044         (STR): Likewise.
47045         (CHR): Likewise.
47046         (__rawmemchr): Do not use BP_SYM.
47047         (rawmemchr): Do not use BP_SYM in weak_alias.
47048         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47049         (PARMS): Do not use macros from bp-asm.h.
47050         (S): Likewise.
47051         (SIZE): Likewise.
47052         (__mpn_rshift): Do not use BP_SYM.
47053         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47054         (PARMS): Do not use macros from bp-asm.h.
47055         (SIGMSK): Likewise.
47056         (__sigsetjmp): Likewise.  Do not use BP_SYM.
47057         * sysdeps/i386/start.S: Do not include "bp-sym.h".
47058         (_start): Do not use BP_SYM.
47059         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
47060         (PARMS): Do not use macros from bp-asm.h.
47061         (DEST): Likewise.
47062         (SRC): Likewise.
47063         (__stpcpy): Likewise.  Do not use BP_SYM.
47064         (stpcpy): Do not use BP_SYM in weak_alias.
47065         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
47066         "bp-asm.h".
47067         (PARMS): Do not use macros from bp-asm.h.
47068         (DEST): Likewise.
47069         (SRC): Likewise.
47070         (LEN): Likewise.
47071         (__stpncpy): Likewise.  Do not use BP_SYM.
47072         (stpncpy): Do not use BP_SYM in weak_alias.
47073         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47074         (PARMS): Do not use macros from bp-asm.h.
47075         (STR): Likewise.
47076         (CHR): Likewise.
47077         (strchr): Likewise.  Do not use BP_SYM.
47078         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
47079         "bp-asm.h".
47080         (PARMS): Do not use macros from bp-asm.h.
47081         (STR): Likewise.
47082         (CHR): Likewise.
47083         (__strchrnul): Likewise.  Do not use BP_SYM.
47084         (strchrnul): Do not use BP_SYM in weak_alias.
47085         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
47086         "bp-asm.h".
47087         (PARMS): Do not use macros from bp-asm.h.
47088         (STOP): Likewise.
47089         (strcspn): Do not use BP_SYM.
47090         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
47091         "bp-asm.h".
47092         (PARMS): Do not use macros from bp-asm.h.
47093         (STR): Likewise.
47094         (STOP): Likewise.
47095         (strpbrk): Likewise.  Do not use BP_SYM.
47096         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
47097         "bp-asm.h".
47098         (PARMS): Do not use macros from bp-asm.h.
47099         (STR): Likewise.
47100         (CHR): Likewise.
47101         (strrchr): Likewise.  Do not use BP_SYM.
47102         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
47103         (PARMS): Do not use macros from bp-asm.h.
47104         (SKIP): Likewise.
47105         (strspn): Do not use BP_SYM.
47106         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
47107         (PARMS): Do not use macros from bp-asm.h.
47108         (STR): Likewise.
47109         (DELIM): Likewise.
47110         (SAVE): Likewise.
47111         (FUNCTION): Likewise.  Do not use BP_SYM.
47112         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
47113         aliases.
47114         (strtok_r): Likewise.
47115         (__GI___strtok_r): Likewise.
47116         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47117         (PARMS): Do not use macros from bp-asm.h.
47118         (S1): Likewise.
47119         (S2): Likewise.
47120         (SIZE): Likewise.
47121         (__mpn_sub_n): Do not use BP_SYM.
47122         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
47123         "bp-asm.h".
47124         (PARMS): Do not use macros from bp-asm.h.
47125         (S1): Likewise.
47126         (SIZE): Likewise.
47127         (__mpn_submul_1): Do not use BP_SYM.
47128         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
47129         <bp-sym.h>.
47130         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
47131         and <bp-asm.h>.
47132         (PARMS): Do not use macros from bp-asm.h.
47133         (FLAGS): Likewise.
47134         (PTID): Likewise.
47135         (TLS): Likewise.
47136         (CTID): Likewise.
47137         (__clone): Do not use BP_SYM.
47138         (clone): Do not use BP_SYM in weak_alias.
47139         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
47140         and <bp-asm.h>.
47141         (PARMS): Do not use macros from bp-asm.h.
47142         (LEN): Likewise.
47143         (__mmap64): Do not use BP_SYM.
47144         (mmap64): Do not use BP_SYM in weak_alias.
47145         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47146         <bp-sym.h> and <bp-asm.h>.
47147         (PARMS): Do not use macros from bp-asm.h.
47148         (__posix_fadvise64_l64): Do not use BP_SYM.
47149         * sysdeps/unix/sysv/linux/i386/semtimedop.S
47150         (PARMS): Do not use macros from bp-asm.h.
47151         (NSOPS): Likewise.
47152         (semtimedop): Do not use BP_SYM.
47153         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
47154         and <bp-asm.h>.
47156 2013-02-21  Allan McRae  <allan@archlinux.org>
47158         * manual/message.texi (Charset conversion in gettext):
47159         Move @end statement to beginning of line.
47161 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47163         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
47164         static.
47165         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47166         Likewise.
47168         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
47169         (denorm): Likewise.
47170         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
47171         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
47173 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47175         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
47176         tail-call to the resolved function if pltexit isn't needed.
47178 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47180         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
47181         or Y being zero as being unlikely.
47182         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
47183         Likewise.
47185 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
47187         * manual/nss.texi (System Databases and Name Service Switch):
47188         Remove frobnicate @pxref.
47190 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
47192         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47193         __attribute__ ((unused)) to __attribute__ ((__unused__)).
47195 2013-02-20  Petr Machata  <pmachata@redhat.com>
47197         * elf/elf.h (R_ARM_TARGET1): New macro.
47198         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
47199         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
47200         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
47201         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
47202         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
47203         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
47204         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
47205         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
47206         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
47207         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
47208         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
47209         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
47210         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
47211         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
47212         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
47213         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
47214         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
47215         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
47216         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
47217         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
47218         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
47219         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
47220         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
47221         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
47222         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
47223         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
47224         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
47225         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
47226         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
47227         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
47228         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
47229         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
47230         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
47231         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
47232         (R_ARM_THM_GOT_BREL12): Likewise.
47233         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
47234         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
47235         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
47236         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
47237         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
47238         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
47239         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
47240         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
47241         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
47243 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
47245         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47246         __attribute_used__ to __attribute__ ((unused)).
47248 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47250         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
47251         powerpc mpa.c.
47252         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
47253         comment formatting.
47254         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
47256 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
47258         [BZ #13550]
47259         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
47260         Remove macro.
47261         (ENTER): Remove both macro definitions.
47262         (LEAVE): Likewise.
47263         (CHECK_BOUNDS_LOW): Likewise.
47264         (CHECK_BOUNDS_HIGH): Likewise.
47265         (CHECK_BOUNDS_BOTH): Likewise.
47266         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
47267         (RETURN_BOUNDED_POINTER): Likewise.
47268         (RETURN_NULL_BOUNDED_POINTER): Likewise.
47269         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
47270         (POP_ERRNO_LOCATION_RETURN): Likewise.
47271         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
47272         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47273         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
47274         macros.
47275         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47276         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
47277         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
47278         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
47279         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
47280         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
47281         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
47282         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
47283         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
47284         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
47285         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
47286         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
47287         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47288         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
47289         removed macros.
47290         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47291         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
47292         macros.
47293         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47294         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
47295         * sysdeps/i386/i586/memset.S (memset): Likewise.
47296         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
47297         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47298         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
47299         macros.
47300         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47301         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
47302         Change uses of L(2) to L(out).
47303         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
47304         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
47305         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
47306         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47307         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
47308         removed macros.
47309         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47310         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
47311         macros.
47312         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47313         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
47314         (RETURN): Do not use macro LEAVE.
47315         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
47316         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
47317         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
47318         * sysdeps/i386/i686/memset.S (memset): Likewise.
47319         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
47320         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
47321         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47322         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
47323         Likewise.
47324         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47325         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
47326         L(1_2) and L(1_3) into L(1).
47327         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47328         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
47329         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47330         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
47331         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47332         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
47333         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
47334         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47335         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
47336         macros.
47337         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
47338         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47339         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
47340         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
47341         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
47342         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47343         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
47344         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
47345         * sysdeps/i386/strcspn.S (strcspn): Likewise.
47346         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
47347         * sysdeps/i386/strrchr.S (strrchr): Likewise.
47348         * sysdeps/i386/strspn.S (strspn): Likewise.
47349         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
47350         conditional code.
47351         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47352         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
47353         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47354         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
47355         L(1_3) into L(1_1).
47356         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
47357         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47358         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
47359         macros.
47360         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47362 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
47364         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
47365         macro.
47367 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47369         * math/atest-exp.c (exp_mpn): Remove ROUND.
47370         * math/atest-exp2.c (exp_mpn): Likewise.
47371         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
47373         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
47374         * stdlib/tst-tls-atexit-lib.c: Likewise.
47375         * stdlib/tst-tls-atexit.c: Likewise.
47377 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47379         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
47380         and __attribute_alloc_size__.
47382 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47384         * include/programs/xmalloc.h: Change __attribute_alloc_size to
47385         __attribute_alloc_size__.
47386         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
47387         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
47389 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47391         * include/programs/xmalloc.h: New file.
47392         * catgets/gencat.c: Include it.
47393         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
47394         * elf/pldd.c: Likewise.
47395         * iconv/iconv_charmap.c: Likewise.
47396         * iconv/iconvconfig.c: Likewise.
47397         * iconv/strtab.c: Likewise.
47398         * locale/programs/locale.c: Likewise.
47399         * locale/programs/localedef.h: Likewise.
47400         * locale/programs/simple-hash.c: Likewise.
47401         * nscd/nscd.h: Likewise.
47402         * nss/makedb.c: Likewise.
47403         * sysdeps/generic/ldconfig.h: Likewise.
47405 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47407         * Versions.def: Add GLIBC_2.18.
47408         * include/link.h (struct link_map): New member l_tls_dtor_count.
47409         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
47410         (__call_tls_dtors): Likewise.
47411         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
47412         __cxa_thread_atexit_impl.
47413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47414         Likewise.
47415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47416         Likewise.
47417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47418         Likewise.
47419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47420         Likewise.
47421         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
47423         Likewise.
47424         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
47425         Likewise.
47426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47427         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47428         Likewise.
47429         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
47430         (tests): Add test case tst-tls-atexit.
47431         (modules-names): Add shared library for tst-tls-atexit.
47432         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
47433         (GLIBC_PRIVATE): Add __call_tls_dtors.
47434         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
47435         for libstdc++.
47436         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
47437         * stdlib/tst-tls-atexit.c: New test case.
47438         * stdlib/tst-tls-atexit-lib.c: New test case.
47440         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
47442         * elf/Versions (ld): Add _dl_find_dso_for_object.
47443         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
47444         * elf/dl-open.c (_dl_find_dso_for_object): New function.
47445         (dl_open_worker): Use _dl_find_dso_for_object.
47446         * elf/dl-sym.c (do_sym): Likewise.
47447         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
47449 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47451         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
47452         Syntactic changes only.
47453         (_dl_runtime_profile): Do a tail-call to the resolved function.
47455 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
47457         [BZ #13550]
47458         * sysdeps/x86_64/bp-asm.h: Remove file.
47459         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
47460         <bp-sym.h> and <bp-asm.h>.
47461         (__clone): Do not use BP_SYM.
47462         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
47463         <bp-sym.h> and <bp-asm.h>.
47464         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47465         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
47466         "bp-asm.h".
47467         (_setjmp): Do not use BP_SYM.
47468         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
47469         "bp-asm.h".
47470         (setjmp): Do not use BP_SYM.
47471         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
47472         libc_hidden_def.
47473         (mempcpy): Do not use BP_SYM in weak_alias.
47474         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
47475         "bp-asm.h".
47476         (strchr): Do not use BP_SYM.
47477         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
47478         "bp-asm.h".
47479         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
47480         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
47481         (_start): Do not use BP_SYM.
47482         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
47483         "bp-asm.h".
47484         (strcat): Do not use BP_SYM.
47485         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
47486         "bp-asm.h".
47487         (STRCMP): Do not use BP_SYM.
47488         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
47489         "bp-asm.h".
47490         (STRCPY): Do not use BP_SYM.
47491         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
47492         "bp-asm.h".
47493         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
47494         "bp-asm.h".
47495         (FUNCTION): Do not use BP_SYM.
47496         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
47497         weak_alias.
47498         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
47500 2013-02-17  Andreas Jaeger  <aj@suse.de>
47502         * time/Versions: Sort entries.
47503         * string/Versions: Likewise.
47504         * resolv/Versions: Likewise.
47505         * posix/Versions: Likewise.
47506         * iconv/Versions: Likewise.
47507         * elf/Versions: Likewise.
47508         * wcsmbs/Versions: Likewise.
47510 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47512         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
47513         loop termination condition.
47515         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
47516         variable to calculate EZ.
47517         (__sqr): Likewise.
47519         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
47520         the lower precision input.
47522 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
47524         [BZ #13550]
47525         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
47526         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
47527         (run-via-rtld-prefix): Do not handle %-bp tests.
47528         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
47529         (all-object-suffixes): Remove .ob.
47530         (bppfx): Remove variable.
47531         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
47532         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
47533         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
47534         [$(build-bounded) = yes] (libtype.ob): Likewise.
47535         * Makerules (elide-routines.ob): Remove variable.
47536         (do-tests-clean): Do not handle *-bp.out.
47537         (common-mostlyclean): Do not handle *-bp and *-bp.out.
47538         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
47539         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
47540         (tests): Do not include $(tests-bp.out).
47541         (xtests): Do not include $(xtests-bp.out).
47542         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
47543         [$(build-bounded) = yes] ($(addprefix
47544         $(objpfx),$(binaries-bounded))): Remove rule.
47545         ($(objpfx)%-bp.out): Remove rule.
47546         * config.make.in (build-bounded): Remove variable.
47547         * crypt/Makefile [$(build-bounded) = yes]
47548         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
47549         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
47550         append to variable.
47551         [$(build-bounded) = yes] (install-lib): Likewise.
47552         [$(build-bounded) = yes] (generated): Likewise.
47553         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
47554         Remove rule.
47555         * intl/Makefile [$(build-bounded) = yes]
47556         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
47557         * math/Makefile [$(build-bounded) = yes]
47558         ($(tests:%=$(objpfx)%-bp): Likewise.
47559         * misc/Makefile [$(build-bounded) = yes]
47560         ($(objpfx)tst-tsearch-bp): Likewise.
47561         * nptl/Makeconfig (bounded-thread-library): Remove variable.
47562         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
47563         Remove dependency.
47564         * string/Makefile (o-objects.ob): Remove variable.
47565         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
47566         (CFLAGS-.ob): Remove variable.
47567         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
47568         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
47569         both definitions of variable.
47570         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
47571         (ASFLAGS-.ob): Remove variable.
47573 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
47575         [BZ #13550]
47576         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
47577         Remove __BOUNDED_POINTERS__ from condition.
47578         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
47579         * string/bits/string2.h [!__NO_STRING_INLINES &&
47580         !__BOUNDED_POINTERS__]: Likewise.
47581         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
47582         Likewise.
47583         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
47584         Remove conditional code.
47585         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
47586         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
47587         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
47588         condition.
47590         [BZ #13550]
47591         * csu/libc-start.c: Do not include <bp-sym.h>.
47592         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
47593         * elf/dl-open.c: Do not include <bp-sym.h>.
47594         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
47595         * math/fegetenv.c: Do not include <bp-sym.h>.
47596         (fegetenv): Do not use BP_SYM in versioned symbols.
47597         * nptl/sysdeps/pthread/bits/libc-lockP.h
47598         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
47599         <bp-sym.h>.
47600         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47601         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
47602         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47603         (__pthread_mutex_destroy): Likewise.
47604         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47605         (__pthread_mutex_lock): Likewise.
47606         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47607         (__pthread_mutex_trylock): Likewise.
47608         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47609         (__pthread_mutex_unlock): Likewise.
47610         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47611         (__pthread_mutexattr_init): Likewise.
47612         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47613         (__pthread_mutexattr_destroy): Likewise.
47614         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47615         (__pthread_mutexattr_settype): Likewise.
47616         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47617         (__pthread_rwlock_init): Likewise.
47618         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47619         (__pthread_rwlock_destroy): Likewise.
47620         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47621         (__pthread_rwlock_rdlock): Likewise.
47622         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47623         (__pthread_rwlock_tryrdlock): Likewise.
47624         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47625         (__pthread_rwlock_wrlock): Likewise.
47626         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47627         (__pthread_rwlock_trywrlock): Likewise.
47628         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47629         (__pthread_rwlock_unlock): Likewise.
47630         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47631         (__pthread_key_create): Likewise.
47632         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47633         (__pthread_setspecific): Likewise.
47634         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47635         (__pthread_getspecific): Likewise.
47636         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
47637         Likewise.
47638         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47639         (_pthread_cleanup_push_defer): Likewise.
47640         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47641         (_pthread_cleanup_pop_restore): Likewise.
47642         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47643         (pthread_setcancelstate): Likewise.
47644         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
47645         <bp-sym.h>.
47646         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
47647         (memchr): Do not use BP_SYM in weak_alias.
47648         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
47649         (fegetenv): Do not use BP_SYM in versioned symbols.
47650         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
47651         (fesetenv): Do not use BP_SYM in versioned symbols.
47652         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47653         (feupdateenv): Do not use BP_SYM in versioned symbols.
47654         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47655         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47656         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
47657         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
47658         (open64): Do not use BP_SYM in weak_alias.
47659         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
47660         (fegetenv): Do not use BP_SYM in versioned symbols.
47661         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
47662         (fesetenv): Do not use BP_SYM in versioned symbols.
47663         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47664         (feupdateenv): Do not use BP_SYM in versioned symbols.
47665         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
47666         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
47667         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
47668         (feraiseexcept): Do not use BP_SYM in versioned symbols.
47669         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47670         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47671         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
47672         <bp-sym.h>.
47673         (__libc_start_main): Do not use BP_SYM.
47675 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47677         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
47678         redundant return line.
47679         (norm): Likewise.
47680         (denorm): Likewise.
47681         (dbl_mp): Likewise.
47682         (sub_magnitudes): Likewise.
47683         (__add): Likewise.
47684         (__sub): Likewise.
47685         (__mul): Likewise.
47686         (__inv): Likewise.
47687         (__dvd): Likewise.
47688         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
47689         (norm): Likewise.
47690         (denorm): Likewise.
47691         (dbl_mp): Likewise.
47692         (sub_magnitudes): Likewise.
47693         (__add): Likewise.
47694         (__sub): Likewise.
47695         (__mul): Likewise.
47696         (__inv): Likewise.
47697         (__dvd): Likewise.
47699         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
47700         instead of __mul.
47701         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47702         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
47703         (cc32): Likewise.
47705         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
47706         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
47707         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
47708         of __mul for squares.
47709         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
47710         function
47711         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
47712         Likewise.
47713         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
47714         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47716 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
47718         [BZ #13550]
47719         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
47720         code.
47721         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
47722         prototype or function definition.  Rename ubp_* variables and
47723         parameters.  Remove argv definitions conditional on
47724         [__BOUNDED_POINTERS__].
47725         * debug/backtrace.c (__backtrace): Do not use __unbounded.
47726         * elf/dl-runtime.c (_dl_fixup): Likewise.
47727         * include/set-hooks.h (RUN_HOOK): Likewise.
47728         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
47729         definition.
47730         * string/strcpy.c (strcpy): Do not use __unbounded.
47731         * sysdeps/generic/frame.h (struct layout): Likewise.
47732         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
47733         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
47734         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
47735         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
47736         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
47737         (__backtrace): Likewise.
47738         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
47739         use __ptrvalue.
47740         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
47741         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
47742         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
47743         Likewise.
47744         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
47745         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
47746         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47747         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47748         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
47749         Do not use __unbounded.
47750         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
47751         Rename __unboundedrlimits parameter to rlimits in prototype.
47752         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
47753         Do not use __unbounded.
47754         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
47755         not use __ptrvalue.
47756         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47757         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
47758         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47759         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
47760         __ptrvalue or __unbounded.
47761         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
47762         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
47763         use __unbounded.
47764         (__new_msgctl): Do not use __ptrvalue.
47765         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
47766         __unbounded.
47767         (__libc_msgrcv): Do not use __ptrvalue.
47768         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
47769         startup_info): Do not use __unbounded.
47770         (__libc_start_main): Likewise.  Rename ubp_* variables and
47771         parameters.  Remove argv definitions conditional on
47772         [__BOUNDED_POINTERS__].
47773         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
47774         __ptrvalue.
47775         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
47776         use __unbounded.
47777         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
47778         or __ptrvalue.
47779         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
47780         use __unbounded.
47781         (__new_shmctl): Do not use __ptrvalue.
47782         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
47783         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
47784         Likewise.
47785         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
47786         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
47787         (__libc_sigaction): Likewise.
47788         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
47789         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
47790         Likewise.
47791         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47793 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
47795         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
47797         * string/mempcpy.c: Implement by calling memcpy.
47799 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47801         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
47803         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
47804         evaluation.
47806         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
47807         values in the mantissa.
47809         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
47810         minimize writes to Z.
47811         (sub_magnitudes): Simplify code a bit.
47813 2013-02-12  Roland McGrath  <roland@hack.frob.com>
47815         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
47816         from the message.  The linker prefixes all warnings with that already.
47818 2013-02-12  Andreas Schwab  <schwab@suse.de>
47820         [BZ #15078]
47821         * posix/regexec.c (extend_buffers): Add parameter min_len.
47822         (check_matching): Pass minimum needed length.
47823         (clean_state_log_if_needed): Likewise.
47824         (get_subexp): Likewise.
47825         * posix/Makefile (tests): Add bug-regex34.
47826         (bug-regex34-ENV): Define.
47827         * posix/bug-regex34.c: New file.
47829         [BZ #11561]
47830         * posix/regcomp.c (parse_bracket_exp): When looking up collating
47831         elements compare against the byte sequence of it, not its name.
47832         * posix/Makefile (tests): Add bug-regex35.
47833         (bug-regex35-ENV): Define.
47834         * posix/bug-regex35.c: New file.
47836 2013-02-11  Tom de Vries  <tom@codesourcery.com>
47838         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
47839         comment.
47840         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
47841         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
47842         (CHECK_EOL): Add undef.
47844 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
47846         * bits/stdlib-bsearch.h: New file.
47847         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
47848         * stdlib/stdlib.h: Likewise.
47850 2013-02-11  Roland McGrath  <roland@hack.frob.com>
47852         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
47853         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
47854         declaration.
47855         * manual/search.texi (Array Search Function): Add missing const in
47856         lfind prototype.
47857         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
47858         declaration to use rlim_t.
47859         (Basic Scheduling Functions): Remove erroneous const from
47860         sched_getparam prototype.  Remove erroneous * from
47861         sched_get_priority_max and sched_get_priority_min prototypes.
47862         (Resource Usage): Fix summary @comment on vtimes to refer to
47863         sys/vtimes.h rather than vtimes.h.
47864         Add missing *s in vtimes prototype.
47865         (Limits on Resources): Fix ulimit prototype to return long int.
47866         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
47867         prototypes to use long int rather than double.
47868         (BSD Random): Fix initstate and setstate to use char *, not void *.
47869         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
47870         prototype to make second argument 'struct aiocb64 *const[]'.
47871         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
47872         (Status of AIO Operations): Remove erroneous const in aio_return and
47873         aio_return64 prototypes.
47874         (Synchronizing I/O): Fix sync prototype to return void.
47875         * manual/startup.texi (Suboptions): Remove an erroneous const in
47876         getsubopt prototype.
47877         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
47878         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
47879         use size_t rather than int.
47880         (Scanning All Users): Likewise for getpwent_r.
47881         (Setting Groups): Add missing const to setgroups prototype.
47882         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
47883         * manual/socket.texi (Host Names): Fix gethostbyaddr and
47884         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
47885         'const void *' rather than 'const char *'.
47886         (Host Address Functions): Likewise for inet_ntop.
47887         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
47888         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
47889         ssize_t for return value.
47890         (Sending Data): Likewise for send, sendto, sendmsg.
47891         (Socket Option Functions): Add a missing const in setsockopt prototype.
47892         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
47893         use wchar_t for the argument.
47894         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
47895         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
47896         take no arguments.
47897         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
47898         double/float/long double for second argument.
47899         Fix return types of significand, significandf, significandl.
47900         * manual/filesys.texi (Setting Permissions): Use mode_t for second
47901         argument in fchmod prototype.
47902         (File Owner): Use uid_t and gid_t in fchown prototype.
47903         (File Times): Add const to utimes, futimes, and lutimes prototypes.
47904         (Making Special Files): Use mode_t and dev_t in mknod prototype.
47905         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
47906         use 'const struct dirent **' as argument types to CMP function pointer
47907         argument.
47908         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
47909         (File Times): Fix summary magic @comment for struct utimbuf and utime
47910         to refer to utime.h, not time.h.
47911         * manual/string.texi (Argz Functions): Add missing const in
47912         argz_extract and argz_next prototypes.
47913         (Finding Tokens in a String): Likewise for basename.
47914         (String/Array Comparison): Fix typo in wcscasecmp prototype.
47915         (Copying and Concatenation): Fix typo in wmemmove prototype.
47916         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
47917         (Signal Stack): Remove erroneous const in sigstack prototype.
47918         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
47919         prototype.
47920         (Simple Calendar Time): Likewise for stime.
47921         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
47922         prototype.
47923         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
47924         say sys/sysctl.h instead.
47925         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
47926         and vsyslog prototypes.
47928 2013-02-11  Tom de Vries  <tom@codesourcery.com>
47930         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
47931         Remove.
47933 2013-02-11  Roland McGrath  <roland@hack.frob.com>
47935         * misc/sys/mman.h: Fix typo in mremap comment.
47937 2013-02-08  Roland McGrath  <roland@hack.frob.com>
47939         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
47940         the '\0' terminator.
47942 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
47944         [BZ #13550]
47945         * debug/segfault.c: Don't include <bp-checks.h>.
47946         * sysdeps/generic/bp-checks.h: Remove file.
47947         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
47948         (__GETDENTS): Don't use CHECK_N.
47949         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
47950         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
47951         (__getgroups): Don't use CHECK_N.
47952         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
47953         (setgroups): Don't use CHECK_N.
47954         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
47955         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
47956         (__libc_msgrcv): Don't use CHECK_N.
47957         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
47958         (__libc_msgsnd): Don't use CHECK_N.
47959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
47960         <bp-checks.h>.
47961         (__libc_pread): Don't use CHECK_N.
47962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
47963         include <bp-checks.h>.
47964         (__libc_pread64): Don't use CHECK_N.
47965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
47966         include <bp-checks.h>.
47967         (__libc_pwrite): Don't use CHECK_N.
47968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
47969         include <bp-checks.h>.
47970         (__libc_pwrite64): Don't use CHECK_N.
47971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
47972         <bp-checks.h>.
47973         (__libc_pread): Don't use CHECK_N.
47974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
47975         include <bp-checks.h>.
47976         (__libc_pread64): Don't use CHECK_N.
47977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
47978         include <bp-checks.h>.
47979         (__libc_pwrite): Don't use CHECK_N.
47980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
47981         include <bp-checks.h>.
47982         (__libc_pwrite64): Don't use CHECK_N.
47983         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
47984         (do_pread): Don't use CHECK_N.
47985         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
47986         (do_pread64): Don't use CHECK_N.
47987         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
47988         (do_pwrite): Don't use CHECK_N.
47989         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
47990         (do_pwrite64): Don't use CHECK_N.
47991         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
47992         (__libc_readv): Don't use CHECK_N.
47993         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
47994         (semop): Don't use CHECK_N.
47995         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
47996         <bp-checks.h>.
47997         (semtimedop): Don't use CHECK_N.
47998         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
47999         (__libc_pread): Don't use CHECK_N.
48000         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
48001         <bp-checks.h>.
48002         (__libc_pread64): Don't use CHECK_N.
48003         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
48004         <bp-checks.h>.
48005         (__libc_pwrite): Don't use CHECK_N.
48006         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
48007         <bp-checks.h>.
48008         (__libc_pwrite64): Don't use CHECK_N.
48009         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
48010         <bp-checks.h>.
48011         (__libc_msgrcv): Don't use CHECK_N.
48012         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
48013         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
48014         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
48015         (__libc_writev): Don't use CHECK_N.
48017 2013-02-08  Roland McGrath  <roland@hack.frob.com>
48019         * string/strcpy.c: Removed unused variable.
48021         * Makeconfig (+sysdep-includes): Define with := rather than =.
48022         Use an existing include/ subdir of each sysdeps dir before it.
48024 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48026         * nscd/connection.c (register_traced_file): Comment function.
48027         [HAVE_INOTIFY] (union __inev): Define.
48028         [HAVE_INOTIFY] (inotify_check_files): New function.
48029         [HAVE_INOTIFY] (clear_db_cache): Likewise.
48030         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
48031         clear_db_cache.
48032         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
48034 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48036         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
48037         loaded if not already and that a failure is permanent.
48039 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48041         [BZ #15006]
48042         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
48043         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
48045 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
48047         [BZ #13550]
48048         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
48049         (CHECK_1_NULL_OK): Likewise.
48050         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
48051         (__fxstat): Do not use CHECK_1.
48052         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
48053         <bp-checks.h>.
48054         (___fxstat64): Do not use CHECK_1.
48055         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
48056         <bp-checks.h>.
48057         (__fxstatat): Do not use CHECK_1.
48058         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
48059         <bp-checks.h>.
48060         (__fxstatat64): Do not use CHECK_1.
48061         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
48062         <bp-checks.h>.
48063         (__fxstat): Do not use CHECK_1.
48064         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
48065         <bp-checks.h>.
48066         (__fxstatat): Do not use CHECK_1.
48067         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48068         <bp-checks.h>.
48069         (__getresgid): Do not use CHECK_1.
48070         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48071         <bp-checks.h>.
48072         (__getresuid): Do not use CHECK_1.
48073         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
48074         <bp-checks.h>.
48075         (__lxstat): Do not use CHECK_1.
48076         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48077         <bp-checks.h>.
48078         (__old_msgctl): Do not use CHECK_1.
48079         (__new_msgctl): Likewise.
48080         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
48081         <bp-checks.h>.
48082         (__new_setrlimit): Do not use CHECK_1.
48083         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48084         <bp-checks.h>.
48085         (__old_shmctl): Do not use CHECK_1.
48086         (__new_shmctl): Likewise.
48087         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
48088         <bp-checks.h>.
48089         (__xstat): Do not use CHECK_1.
48090         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
48091         (__lxstat): Do not use CHECK_1.
48092         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
48093         <bp-checks.h>.
48094         (___lxstat64): Do not use CHECK_1.
48095         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
48096         (__old_msgctl): Do not use CHECK_1.
48097         (__new_msgctl): Likewise.
48098         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
48099         <bp-checks.h>.
48100         (__gettimeofday): Do not use CHECK_1.
48101         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
48102         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
48103         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
48104         <bp-checks.h>.
48105         (__gettimeofday): Do not use CHECK_1.
48106         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
48107         (__old_shmctl): Do not use CHECK_1_NULL_OK.
48108         (__new_shmctl): Do not use CHECK_1.
48109         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
48110         <bp-checks.h>.
48111         (do_sigtimedwait): Do not use CHECK_1.
48112         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
48113         <bp-checks.h>.
48114         (do_sigwaitinfo): Do not use CHECK_1.
48115         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
48116         <bp-checks.h>.
48117         (msgctl): Do not use CHECK_1.
48118         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
48119         <bp-checks.h>.
48120         (shmctl): Do not use CHECK_1.
48121         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
48122         (ustat): Do not use CHECK_1.
48123         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
48124         <bp-checks.h>.
48125         (__fxstat): Do not use CHECK_1.
48126         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
48127         <bp-checks.h>.
48128         (__fxstatat): Do not use CHECK_1.
48129         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
48130         <bp-checks.h>.
48131         (__lxstat): Do not use CHECK_1.
48132         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
48133         <bp-checks.h>.
48134         (__xstat): Do not use CHECK_1.
48135         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
48136         (__xstat): Do not use CHECK_1.
48137         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
48138         (___xstat64): Do not use CHECK_1.
48140         [BZ #13550]
48141         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
48142         definitions.
48143         (CHECK_BOUNDS_HIGH): Likewise.
48144         * string/strcpy.c: Do not include <bp-checks.h>.
48145         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
48147 2013-02-07  Roland McGrath  <roland@hack.frob.com>
48149         * nscd/nscd-client.h (__nscd_drop_map_ref):
48150         Add __attribute__ ((unused)).
48151         * nis/nss-nisplus.h (niserr2nss): Likewise.
48153         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
48154         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
48156         * csu/libc-tls.c (init_static_tls, init_slotinfo):
48157         Remove inline keyword.
48158         * include/rounding-mode.h (round_away): Likewise.
48159         * libio/wfileops.c (adjust_wide_data): Likewise.
48160         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
48161         (__m128i_strloadu_tolower): Likewise.
48162         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
48163         (__m128i_strloadu_tolower): Likewise.
48164         * time/mktime.c (ydhms_diff): Likewise.
48165         * locale/elem-hash.h (elem_hash): Likewise.
48166         * locale/setlocale.c (setdata): Likewise.
48167         * posix/regex_internal.h (re_string_char_size_at): Likewise.
48168         (re_string_wchar_at): Likewise.
48169         (bitset_not, bitset_merge, bitset_mask): Likewise.
48170         [!(__GNUC__ > 3)] (inline): Remove macro.
48171         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
48172         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
48173         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
48174         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
48175         * string/memcmp.c (memcmp_bytes): Likewise.
48176         * locale/programs/locarchive.c (compute_hashval): Likewise.
48177         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
48178         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
48179         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
48180         * nss/getent.c (print_rpc, print_protocols): Likewise.
48181         (print_passwd, print_group, print_aliases): Likewise.
48182         * nis/nss-nisplus.h (niserr2nss): Likewise.
48183         * nscd/connections.c (restart_p): Likewise.
48184         Change return type to bool.
48186 2013-02-05  Roland McGrath  <roland@hack.frob.com>
48188         * Makeconfig (all-Depend-files): Add existing
48189         $(sorted-subdirs:=/Depend) files.
48190         (all-subdirs): Remove nss.
48191         * sysdeps/unix/inet/Subdirs: Add it here instead.
48192         * hesiod/Depend: New file.
48194         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
48195         instead of calling alloca.
48197         * io/lseek.c (__lseek): Rename to __libc_lseek.
48198         Define __lseek as an alias.
48200         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
48202 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
48204         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
48205         else clause and remove check for non-standard endianness.
48207 2013-02-04  David S. Miller  <davem@davemloft.net>
48209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48211 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
48213         [BZ #13550]
48214         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
48215         (__ubp_memchr): Remove prototype.
48216         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
48217         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48218         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
48219         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48220         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
48221         Remove alias.
48222         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
48223         (__ubp_memchr): Likewise.
48224         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
48225         (__ubp_memchr): Likewise.
48226         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
48227         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
48228         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
48229         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
48230         CHECK_STRING.
48231         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
48232         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
48233         (__getcwd): Do not use CHECK_STRING.
48234         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48235         <bp-checks.h>.
48236         (__real_chown): Do not use CHECK_STRING.
48237         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
48238         <bp-checks.h>.
48239         (fchownat): Do not use CHECK_STRING.
48240         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
48241         CHECK_STRING.
48242         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48243         <bp-checks.h>.
48244         (__lchown): Do not use CHECK_STRING.
48245         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48246         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48247         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48248         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
48249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48250         include <bp-checks.h>.
48251         (truncate64): Do not use CHECK_STRING.
48252         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48253         <bp-checks.h>.
48254         (__real_chown): Do not use CHECK_STRING.
48255         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48256         <bp-checks.h>.
48257         (__lchown): Do not use CHECK_STRING.
48258         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48259         <bp-checks.h>.
48260         (__chown): Do not use CHECK_STRING.
48261         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
48262         <bp-checks.h>.
48263         (truncate64): Do not use CHECK_STRING.
48264         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
48265         Likewise.
48266         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
48267         (__xmknod): Do not use CHECK_STRING.
48268         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
48269         <bp-checks.h>.
48270         (__xmknodat): Do not use CHECK_STRING.
48271         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48272         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
48274 2013-02-04  Andreas Schwab  <schwab@suse.de>
48276         [BZ #14142]
48277         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
48278         * include/netdb.h: Likewise for h_errno.
48279         * elf/tst-stackguard1.c: Include <tls.h>.
48281 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
48283         * elf/link.h (struct link_map): Extend the l_addr comment.
48284         * include/link.h (struct link_map): Likewise.
48286 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
48288         [BZ #13550]
48289         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
48290         (BOUNDED_1): Remove macro.
48291         * debug/backtrace.c: Don't include <bp-checks.h>.
48292         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
48293         (__backtrace): Likewise.
48294         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
48295         <bp-checks.h>.
48296         (__backtrace): Don't use BOUNDED_1.
48297         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
48298         <bp-checks.h>.
48299         (__backtrace): Don't use BOUNDED_1.
48300         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
48301         (__backtrace): Don't use BOUNDED_1.
48302         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
48303         (shmat): Don't use BOUNDED_N.
48305 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
48307         [BZ #13550]
48308         * sysdeps/generic/bp-start.h: Remove file.
48309         * csu/libc-start.c: Don't include <bp-start.h>.
48310         (LIBC_START_MAIN): Set up __environ directly instead of using
48311         INIT_ARGV_and_ENVIRON.
48312         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
48313         <bp-start.h>.
48315         [BZ #13550]
48316         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
48317         definitions.
48318         (CHECK_FCNTL): Likewise.
48319         (CHECK_N_PAGES): Likewise.
48321         [BZ #13550]
48322         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
48323         definitions.
48324         (CHECK_SIGSET_NULL_OK): Likewise.
48325         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
48326         <bp-checks.h>.
48327         (sigpending): Don't use CHECK_SIGSET.
48328         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
48329         <bp-checks.h>.
48330         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48331         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
48332         <bp-checks.h>.
48333         (do_sigsuspend): Don't use CHECK_SIGSET.
48334         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
48335         use CHECK_SIGSET.
48336         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
48337         (do_sigwait): Don't use CHECK_SIGSET.
48338         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
48339         use CHECK_SIGSET.
48340         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
48341         include <bp-checks.h>.
48342         (sigpending): Don't use CHECK_SIGSET.
48343         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
48344         include <bp-checks.h>.
48345         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48346         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
48347         <bp-checks.h>.
48348         (sigpending): Don't use CHECK_SIGSET.
48349         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
48350         <bp-checks.h>.
48351         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48353         [BZ #13550]
48354         * sysdeps/generic/bp-semctl.h: Remove file.
48355         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
48356         <bp-checks.h> and <bp-semctl.h>.
48357         (__old_semctl): Don't use CHECK_SEMCTL.
48358         (__new_semctl): Likewise.
48359         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
48360         and <bp-semctl.h>.
48361         (__old_semctl): Don't use CHECK_SEMCTL.
48362         (__new_semctl): Likewise.
48363         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
48364         <bp-checks.h> and <bp-semctl.h>.
48365         (__old_semctl): Don't use CHECK_SEMCTL.
48366         (__new_semctl): Likewise.
48367         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
48368         <bp-checks.h> and <bp-semctl.h>.
48369         (semctl): Don't use CHECK_SEMCTL.
48371         [BZ #13550]
48372         * Makerules (elide-bp-thunks): Remove variable.
48373         (elide-routines.oS): Don't use $(elide-bp-thunks).
48374         (elide-routines.os): Likewise.
48375         (elide-routines.o): Likewise.
48376         (elide-routines.op): Likewise.
48377         (elide-routines.og): Likewise.
48378         (objects): Don't use $(bp-thunks).
48379         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
48380         include.
48381         (common-generated): Do not add s-proto-bp.d.
48382         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
48383         (int): Likewise.
48384         (typ): Likewise.
48385         Do not generate makefile rules for bounded-pointer thunks.
48386         * sysdeps/generic/bp-thunks.h: Remove file.
48387         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
48388         * sysdeps/unix/s-proto-bp.S: Likewise.
48390         [BZ #15062]
48391         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
48392         parts of result separately when argument is not close to line from
48393         -i to i and one part of argument is small.
48394         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48395         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48396         * math/libm-test.inc (cacos_test): Add more tests.
48397         (casin_test): Likewise.
48398         (casinh_test): Likewise.
48399         * sysdeps/i386/fpu/libm-test-ulps: Update.
48400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48402 2013-01-31  David S. Miller  <davem@davemloft.net>
48404         * po/de.po: Update from translation team.
48406 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
48408         * time/tzfile.c: Include stdint.h for SIZE_MAX.
48410 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
48412         * configure.in (_AC_PROG_CC_C89): New definition.
48413         * configure: Regenerate.
48415         * configure.in (AC_PROG_CPP): New definition.
48416         * configure: Regenerate.
48418 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
48420         * debug/tst-backtrace.h: New file.
48421         * debug/tst-backtrace2.c: Include tst-backtrace.h.
48422         (ret): Remove variable.
48423         (x): Likewise.
48424         (FAIL): Remove macro.
48425         (NO_INLINE): Likewise.
48426         (fn1): Use match function instead of strstr.
48427         * debug/tst-backtrace3.c: Include tst-backtrace.h.
48428         (ret): Remove variable.
48429         (x): Likewise.
48430         (FAIL): Remove macro.
48431         (NO_INLINE): Likewise.
48432         (fn): Use match function instead of strstr.
48433         * debug/tst-backtrace4.c: Include tst-backtrace.h.
48434         (ret): Remove variable.
48435         (x): Likewise.
48436         (FAIL): Remove macro.
48437         (NO_INLINE): Likewise.
48438         (handle_signal): Use match function instead of strstr.
48439         * debug/tst-backtrace5.c: Include tst-backtrace.h.
48440         (ret): Remove variable.
48441         (x): Likewise.
48442         (FAIL): Remove macro.
48443         (NO_INLINE): Likewise.
48444         (handle_signal): Use match function instead of strstr.
48446 2013-01-23  Roland McGrath  <roland@hack.frob.com>
48448         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
48450 2013-01-23  David S. Miller  <davem@davemloft.net>
48452         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
48453         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
48454         argument of CAS if possible.
48455         * sysdeps/sparc/sparc64/bits/atomic.h
48456         (__arch_compare_and_exchange_val_32_acq): Likewise.
48457         (__arch_compare_and_exchange_val_64_acq): Likewise.
48459 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
48461         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
48462         * sysdeps/posix/ulimit.c: ... this.
48463         Include <limits.h>.
48464         * sysdeps/unix/bsd/ulimit.c: Remove file.
48466 2013-01-23  Adam Conrad  <adconrad@0c3.net>
48468         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
48469         (LDFLAGS-tst-array5): Likewise.
48471 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
48473         [BZ #15036]
48474         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
48475         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
48476         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
48477         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
48479 2013-01-21  David S. Miller  <davem@davemloft.net>
48481         * sysdeps/sparc/backtrace.c: New file.
48482         * sysdeps/sparc/sparc32/backtrace.h: New file.
48483         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
48484         * sysdeps/sparc/sparc64/backtrace.h: New file.
48485         * sysdeps/sparc/sparc64/backtrace.c: Delete.
48486         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
48487         -funwind-tables.
48489 2013-01-21  Andreas Schwab  <schwab@suse.de>
48491         [BZ #15020]
48492         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
48493         closed its stdout.
48495 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
48497         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
48498         "mpa2.h".
48499         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48501 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
48502             Mark Mitchell  <mark@codesourcery.com>
48503             Tom de Vries  <tom@codesourcery.com>
48504             Paul Pluzhnikov  <ppluzhnikov@google.com>
48506         * debug/tst-backtrace2.c: New file.
48507         * debug/tst-backtrace3.c: Likewise.
48508         * debug/tst-backtrace4.c: Likewise.
48509         * debug/tst-backtrace5.c: Likewise.
48510         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
48511         (CFLAGS-tst-backtrace3.c): Likewise.
48512         (CFLAGS-tst-backtrace4.c): Likewise.
48513         (CFLAGS-tst-backtrace5.c): Likewise.
48514         (LDFLAGS-tst-backtrace2): Likewise.
48515         (LDFLAGS-tst-backtrace3): Likewise.
48516         (LDFLAGS-tst-backtrace4): Likewise.
48517         (LDFLAGS-tst-backtrace5): Likewise.
48518         (tests): Add new tests tst-backtrace2, tst-backtrace3,
48519         tst-backtrace4 and tst-backtrace5.
48521 2013-01-18  Anton Blanchard  <anton@samba.org>
48522             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48524         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
48525         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
48526         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
48527         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
48528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48529         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
48530         "+r" and remove output regs list as redundant.  Add explicit inline
48531         asm to specify register of return val to work around compiler codegen
48532         bug.  Remove (int) cast on return value.  Add return type parameter to
48533         use in macro so that this macro does not truncate return value for
48534         64-bit values.
48535         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
48536         pass to INTERNAL_VSYSCALL_NCS.
48537         (INLINE_VSYSCALL): Add 'long int' as return type to
48538         INTERNAL_VSYSCALL_NCS macro invocation.
48539         (INTERNAL_VSYSCALL): Add 'long int' as return type to
48540         INTERNAL_VSYSCALL_NCS macro invocation.
48541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48543 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48545         [BZ #14496]
48546         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
48547         Fix application of SIMD FP exception mask.
48549         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
48550         mp_no from a power of two.
48551         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
48552         __mpexp_twomm1.  Use __pow_mp.
48554         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
48555         multiplication.
48557 2013-01-17  David S. Miller  <davem@davemloft.net>
48559         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48561 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
48563         [BZ #15023]
48564         * include/complex.h: Condition contents on [!_COMPLEX_H].
48565         (__kernel_casinhf): New prototype.
48566         (__kernel_casinh): Likewise.
48567         (__kernel_casinhl): Likewise.
48568         * math/Makefile (libm_calls): Add k_casinh.
48569         * math/k_casinh.c: New file.
48570         * math/k_casinhf.c: Likewise.
48571         * math/k_casinhl.c: Likewise.
48572         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
48573         finite nonzero arguments.
48574         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
48575         finite nonzero arguments.
48576         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
48577         finite nonzero arguments.
48578         * math/s_casinh.c: Do not include <float.h>.
48579         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
48580         * math/s_casinhf.c: Do not include <float.h>.
48581         (__casinhf): Move code for finite nonzero arguments to
48582         k_casinhf.c.
48583         * math/s_casinhl.c: Do not include <float.h>.
48584         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
48585         redefine.
48586         (__casinhl): Move code for finite nonzero arguments to
48587         k_casinhl.c.
48588         * math/libm-test.inc (cacos_test): Add more tests.
48589         * sysdeps/i386/fpu/libm-test-ulps: Update.
48590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48592 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
48594         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
48595         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
48596         [!HAVE_MREMAP]: Remove [defined linux] case.
48597         * malloc/arena.c: Do not include <malloc-sysdep.h>.
48599 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48601         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
48603 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
48605         * elf/elf.h (R_386_SIZE32): New relocation.
48606         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
48607         R_386_SIZE32.
48608         (elf_machine_rela): Likewise.
48609         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48610         R_X86_64_SIZE64 and R_X86_64_SIZE32.
48612 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
48614         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
48615         (FP_FAST_FMA): Do not define.
48616         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
48617         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
48618         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
48619         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
48620         !_SOFT_FLOAT]: Likewise.
48621         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
48622         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
48623         value.
48624         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
48625         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
48626         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
48627         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
48628         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
48629         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
48630         file.
48632 2013-01-16  Andreas Schwab  <schwab@suse.de>
48634         [BZ #14327]
48635         * include/stdlib.h (__mktemp): Add declaration.
48636         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
48637         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
48639 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48641         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
48642         definitions.
48643         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48644         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
48645         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
48646         definitions here.
48647         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
48648         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
48649         definitions.
48650         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
48651         and ONE.
48652         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
48653         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
48654         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
48655         definitions.
48656         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
48657         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
48658         definitions.
48659         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48661         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
48663 2013-01-15  David S. Miller  <davem@davemloft.net>
48665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48666         trunc{,f} to libm-sysdep_routes.
48667         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
48669         file.
48670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
48671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
48672         file.
48673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
48674         file.
48675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
48676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
48677         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
48678         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
48679         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
48680         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
48681         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
48682         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
48684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48685         nearbyint{,f} to libm-sysdep_routes.
48686         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
48688         New file.
48689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
48690         file.
48691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
48692         New file.
48693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
48694         file.
48695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
48696         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
48697         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
48698         file.
48699         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
48700         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
48701         file.
48702         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
48703         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
48704         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
48706         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48707         libc_feholdexcept and libc_fesetenv.
48709 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
48711         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
48713 2013-01-14  David S. Miller  <davem@davemloft.net>
48715         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
48716         (SPARC_ASM_VIS2_IFUNC): Likewise.
48717         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
48718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
48719         use of 'siam' instruction.
48720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
48721         Likewise.
48722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
48723         Likewise.
48724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
48725         Likewise.
48726         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
48727         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
48728         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
48729         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
48730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
48731         file.
48732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
48733         file.
48734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
48735         file.
48736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
48737         file.
48738         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
48739         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
48740         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
48741         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
48742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
48743         new VIS2 routines.
48744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48747         Likewise.
48748         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48749         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48750         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48751         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
48753         routines to libm-sysdep_routines.
48754         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48757         fdim/fdimf to libm-sysdep_routines.
48758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
48759         file.
48760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
48761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
48762         file.
48763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
48764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
48765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
48766         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
48767         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
48768         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
48769         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
48771 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48773         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
48774         to optimize copies.
48776         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
48777         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48778         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48780         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
48781         local variable MPTWO.
48782         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
48783         Likewise.
48785 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48787         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
48788         GLOB_NOESCAPE.
48790 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48792         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
48794 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48796         * manual/pattern.texi (glob_t): Document gl_flags.
48797         (glob64_t): Likewise.
48799 2013-01-11  David S. Miller  <davem@davemloft.net>
48801         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
48802         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
48803         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
48804         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
48805         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
48806         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
48807         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
48808         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
48809         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
48810         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
48811         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
48812         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
48813         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
48815         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48816         sparc V9 rather than using V8 code.
48817         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48818         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48820         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48821         Move to...
48822         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
48823         Here.
48825 2013-01-11  Roland McGrath  <roland@hack.frob.com>
48827         [BZ #14941]
48828         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
48829         not in the main loop.
48830         * configure: Regenerated.
48832 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
48834         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
48835         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
48836         to just #else.
48837         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
48838         [!__GLIBC_HAVE_LONG_LONG] case.
48839         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
48840         condition to just #else.
48841         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
48842         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
48843         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
48844         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
48845         unconditional.
48846         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
48847         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
48848         #elif condition to just #else.
48849         * sysdeps/unix/sysv/linux/sys/sysmacros.h
48850         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
48851         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
48852         #elif condition to just #else.
48854 2013-01-11  Steve Ellcey  <sellcey@mips.com>
48856         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
48857         (EF_MIPS_ARCH_64): Fix value.
48858         (EF_MIPS_ARCH_32R2): New.
48859         (EF_MIPS_ARCH_64R2): New.
48861 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
48863         * Makeconfig (+link-pie-before-libc): New.
48864         (+link-pie-after-libc): Likewise.
48865         (+link-pie-tests): Likewise.
48866         (+link-pie): Rewritten.
48867         (link-before-libc): Remove $(config-LDFLAGS).
48868         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
48869         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
48870         (config-LDFLAGS): Renamed to ...
48871         (rtld-LDFLAGS): This.
48872         (rtld-tests-LDFLAGS): New macro.
48873         (link-libc-rpath-link): Likewise.
48874         (link-libc-tests-rpath-link): Likewise.
48875         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
48876         (link-libc): Prepand $(link-libc-rpath-link).
48877         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
48878         (test-program-prefix): New macro.
48879         (test-via-rtld-prefix): Likewise.
48880         (test-program-cmd): Likewise.
48881         (host-test-program-cmd): Likewise.
48882         * Makefile ($(common-objpfx)testrun.sh): Replace
48883         $(run-program-prefix) with $(test-program-prefix).
48884         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
48885         $(rtld-LDFLAGS).
48886         ($(common-objpfx)shlib.lds): Likewise.
48887         (build-module-helper): Likewise.
48888         ($(common-objpfx)format.lds): Likewise.
48889         * Rules (binaries-pie-tests): New.
48890         (binaries-pie-notests): Likewise.
48891         (binaries-pie): Rewritten.
48892         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
48893         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
48894         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
48895         (make-test-out): Replace $(host-built-program-cmd) with
48896         $(host-test-program-cmd).
48897         * config.make.in (build-hardcoded-path-in-tests): New variable.
48898         * configure.in (--enable-hardcoded-path-in-tests): New configure
48899         option.
48900         (hardcoded_path_in_tests): New AC_SUBST.
48901         * configure: Regenerated.
48902         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
48903         $(built-program-cmd) with $(test-program-cmd).
48904         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
48905         (test_program_cmd): This.
48906         * elf/Makefile ($(objpfx)order.out): Run test with
48907         $(test-program-prefix).
48908         ($(objpfx)order2.out): Likewise.
48909         ($(objpfx)tst-initorder.out): Likewise.
48910         ($(objpfx)tst-initorder2.out): Likewise.
48911         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
48912         $(test-program-cmd).
48913         ($(objpfx)tst-array1-static.out): Likewise.
48914         ($(objpfx)tst-array2.out): Likewise.
48915         ($(objpfx)tst-array3.out): Likewise.
48916         ($(objpfx)tst-array4.out): Likewise.
48917         ($(objpfx)tst-array5.out): Likewise.
48918         ($(objpfx)tst-array5-static.out): Likewise.
48919         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
48920         $(test-program-cmd).
48921         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
48922         $(run-program-prefix) with $(test-program-prefix).
48923         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
48924         (test_program_prefix): This.
48925         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
48926         $(run-program-prefix) with $(test-program-prefix).
48927         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
48928         (test_program_prefix): This.
48929         * iconvdata/tst-tables.sh: Likewise.
48930         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
48931         $(run-program-prefix) with $(test-program-prefix).
48932         ($(objpfx)tst-translit.out): Likewise.
48933         ($(objpfx)tst-gettext2.out): Likewise.
48934         ($(objpfx)tst-gettext4.out): Likewise.
48935         ($(objpfx)tst-gettext6.out): Likewise.
48936         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
48937         (test_program_prefix): This.
48938         * intl/tst-gettext2.sh: Likewise.
48939         * intl/tst-gettext4.sh  Likewise.
48940         * intl/tst-gettext6.sh: Likewise.
48941         * intl/tst-translit.sh: Likewise.
48942         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
48943         with $(test-program-cmd).
48944         * libio/Makefile ($(objpfx)test-freopen.out): Replace
48945         $(run-program-prefix) with $(test-program-prefix).
48946         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
48947         (test_program_prefix): This.
48948         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
48949         $(run-program-prefix) with $(test-program-prefix).
48950         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
48951         (test_program_prefix): This.
48952         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
48953         * posix/Makefile ($(objpfx)globtest.out): Replace
48954         $(run-via-rtld-prefix) and $(test-wrapper) with
48955         $(test-program-prefix) and $(test-via-rtld-prefix).
48956         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
48957         $(test-program-prefix).
48958         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
48959         $(host-test-program-cmd).
48960         (tst-spawn-ARGS): Likewise.
48961         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
48962         $(test-program-prefix).
48963         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
48964         (test_via_rtld_prefix): This.
48965         (test_wrapper): Renamed to ...
48966         (test_program_prefix): This.
48967         (run_program_prefix): Replaced by test_program_prefix.
48968         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
48969         (test_program_prefix): This.
48970         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
48971         with $(host-test-program-cmd).
48972         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
48973         $(run-program-prefix) with $(test-program-prefix).
48974         ($(objpfx)tst-printf.out): Likewise.
48975         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
48976         $(test-program-cmd).
48977         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
48978         (test_program_prefix): This.
48979         * stdio-common/tst-unbputc.sh: Likewise.
48980         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
48981         $(run-program-prefix) with $(test-program-prefix).
48982         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
48983         (test_program_prefix): This.
48984         * string/Makefile ($(objpfx)tst-svc.out):  Replace
48985         $(built-program-cmd) with $(test-program-cmd).
48987 2013-01-11  Andreas Jaeger  <aj@suse.de>
48989         [BZ #15003]
48990         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
48991         value. Sync with Linux 3.7.
48993 2013-01-10  David S. Miller  <davem@davemloft.net>
48995         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
48996         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48997         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48999 2013-01-10  Roland McGrath  <roland@hack.frob.com>
49001         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
49002         never set.
49003         * configure: Regenerated.
49005 2013-01-10  David S. Miller  <davem@davemloft.net>
49007         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49008         sparc V9 rather than using V8 code.
49009         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49010         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49012 2013-01-10  Roland McGrath  <roland@hack.frob.com>
49014         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
49015         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
49016         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
49017         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
49018         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
49019         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
49020         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
49021         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
49022         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
49023         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
49024         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
49025         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
49026         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
49027         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
49028         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
49029         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
49030         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
49031         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
49032         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
49033         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
49034         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
49035         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
49036         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
49037         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
49038         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
49039         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
49040         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
49042 2013-01-10  David S. Miller  <davem@davemloft.net>
49044         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49046 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
49048         * posix/Makefile (tests-static): New variable.
49049         (tests): Add $(tests-static).
49050         (tst-exec-static-ARGS): New variable.
49051         (tst-spawn-static-ARGS): Likewise.
49052         * posix/tst-exec-static.c: New file.
49053         * posix/tst-spawn-static.c: Likewise.
49054         * posix/tst-exec.c: Support run directly.
49055         * posix/tst-spawn.c: Likewise.
49057 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
49059         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
49060         long.
49061         * math/bits/mathcalls.h (llrint): Likewise.
49062         (llround): Likewise.
49063         * stdlib/stdlib.h (struct drand48_data): Likewise.
49064         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
49065         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
49066         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
49067         Likewise.
49068         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
49069         Likewise.
49070         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
49071         (elf_greg_t): Likewise.
49072         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
49073         (__jmp_buf): Likewise.
49074         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
49075         definitions.
49076         (llrint): Likewise, for all definitions.
49077         (llrintl): Likewise.
49079         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
49080         Remove [__GNUC__] condition.
49081         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
49082         condition to just [__USE_ISOC99].
49083         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
49085 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
49087         [BZ #14200]
49088         * sysdeps/unix/sysv/linux/x86/bits/environments.h
49089         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
49090         defined.
49091         (_POSIX_V6_ILP32_OFF32): Likewise.
49092         (_XBS5_ILP32_OFF32): Likewise.
49093         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
49094         (__ILP32_OFFBIG_LDFLAGS): Likewise.
49096 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49098         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
49100         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
49101         doubles __mpexp_twomm1.  Adjust usage.
49102         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
49103         Remove.
49105 2013-01-10  Andreas Schwab  <schwab@suse.de>
49107         [BZ #14964]
49108         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
49109         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
49111 2013-01-09  David S. Miller  <davem@davemloft.net>
49113         [BZ #15003]
49114         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
49115         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
49116         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
49117         (TCP_FASTOPEN): Define.
49118         (tcp_repair_opt): New structure.
49119         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
49120         enum values.
49121         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
49122         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
49123         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
49124         (tcp_cookie_transactions): New structure.
49126 2013-01-09  Anton Blanchard  <anton@samba.org>
49128         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
49129         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
49130         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
49131         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
49133 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
49135         * include/features.h (__USE_ANSI): Remove.
49137 2013-01-09  Roland McGrath  <roland@hack.frob.com>
49139         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
49141         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
49143 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
49145         * sysdeps/s390/fpu/libm-test-ulps: Update.
49147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49149         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
49150         (__acr): Likewise.
49151         (__cpy): Likewise.
49152         (norm): Likewise.
49153         (denorm): Likewise.
49154         (__mp_dbl): Likewise.
49155         (__dbl_mp): Likewise.
49156         (add_magnitudes): Likewise.
49157         (sub_magnitudes): Likewise.
49158         (__add): Likewise.
49159         (__sub): Likewise.
49160         (__mul): Likewise.
49161         (__inv): Likewise.
49162         (__dvd): Likewise.
49163         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
49164         (__acr): Likewise.
49165         (__cpy): Likewise.
49166         (norm): Likewise.
49167         (denorm): Likewise.
49168         (__mp_dbl): Likewise.
49169         (__dbl_mp): Likewise.
49170         (add_magnitudes): Likewise.
49171         (sub_magnitudes): Likewise.
49172         (__add): Likewise.
49173         (__sub): Likewise.
49174         (__mul): Likewise.
49175         (__inv): Likewise.
49176         (__dvd): Likewise.
49177         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
49178         (__acr): Likewise.
49179         (__cpy): Likewise.
49180         (norm): Likewise.
49181         (denorm): Likewise.
49182         (__mp_dbl): Likewise.
49183         (__dbl_mp): Likewise.
49184         (add_magnitudes): Likewise.
49185         (sub_magnitudes): Likewise.
49186         (__add): Likewise.
49187         (__sub): Likewise.
49188         (__mul): Likewise.
49189         (__inv): Likewise.
49190         (__dvd): Likewise.
49192 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
49194         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
49195         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
49196         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
49197         2 && __USE_EXTERN_INLINES]: Likewise.
49199 2013-01-08  Andreas Jaeger  <aj@suse.de>
49201         [BZ# 14985]
49202         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
49203         Remove.
49204         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49205         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49207 2013-01-07  Anton Blanchard  <anton@samba.org>
49209         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
49210         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49211         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
49212         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49213         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49214         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49215         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
49216         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49217         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49218         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49219         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49220         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49221         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49222         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49223         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49224         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49225         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49226         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49227         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49228         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49229         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49230         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
49231         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49232         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49233         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
49234         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49235         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49236         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49237         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
49238         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49239         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49240         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49241         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49242         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49243         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49244         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49245         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49246         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
49247         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
49248         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
49249         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
49250         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49251         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49253 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
49255         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
49256         (__MALLOC_PMT): Likewise.
49257         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
49258         [__GNUC__], only on [_LIBC].
49259         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49260         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
49261         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49262         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
49263         forward declaration.
49264         (realloc_hook_ini): Likewise.
49265         (memalign_hook_ini): Likewise.
49266         (__libc_memalign): Do not use __MALLOC_PMT in variable
49267         declaration.
49268         (__libc_valloc): Likewise.
49269         (__libc_pvalloc): Likewise.
49270         (__libc_calloc): Likewise.
49271         (__posix_memalign): Likewise.
49273         [BZ #14996]
49274         * math/s_casinh.c: Include <float.h>.
49275         (__casinh): Do not do computation with squaring and square root
49276         for large arguments.
49277         * math/s_casinhf.c: Include <float.h>.
49278         (__casinhf): Do not do computation with squaring and square root
49279         for large arguments.
49280         * math/s_casinhl.c: Include <float.h>.
49281         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
49282         (__casinhl): Do not do computation with squaring and square root
49283         for large arguments.
49284         * math/libm-test.inc (casin_test): Add more tests.
49285         (casinh_test): Likewise.
49286         * sysdeps/i386/fpu/libm-test-ulps: Update.
49287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49289 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
49291         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
49292         (__x86_64_raw_data_cache_size): Likewise.
49293         (__x86_64_data_cache_size_half): Likewise.
49294         (__x86_64_raw_data_cache_size_half): Likewise.
49295         (__x86_64_shared_cache_size): Likewise.
49296         (__x86_64_raw_shared_cache_size): Likewise.
49297         (__x86_64_shared_cache_size_half): Likewise.
49298         (__x86_64_raw_shared_cache_size_half): Likewise.
49299         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
49300         to ...
49301         (__x86_data_cache_size): This.
49302         (__x86_64_raw_data_cache_size): Renamed to ...
49303         (__x86_raw_data_cache_size): This.
49304         (__x86_64_data_cache_size_half): Renamed to ...
49305         (__x86_data_cache_size_half): This.
49306         (__x86_64_raw_data_cache_size_half): Renamed to ...
49307         (__x86_raw_data_cache_size_half): This.
49308         (__x86_64_shared_cache_size): Renamed to ...
49309         (__x86_shared_cache_size): This.
49310         (__x86_64_raw_shared_cache_size): Renamed to ...
49311         (__x86_raw_shared_cache_size): This.
49312         (__x86_64_shared_cache_size_half): Renamed to ...
49313         (__x86_shared_cache_size_half): This.
49314         (__x86_64_raw_shared_cache_size_half): Renamed to ...
49315         (__x86_raw_shared_cache_size_half): This.
49316         * sysdeps/x86_64/memcpy.S: Updated.
49317         * sysdeps/x86_64/memset.S: Likewise.
49318         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49319         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49320         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49322 2013-01-04  David S. Miller  <davem@davemloft.net>
49324         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49326 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
49328         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
49329         1 to avoid redefinition warning.
49330         (__USE_GNU): Don't define.
49331         (init_signaling_nan): Protoize.
49333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49335 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49337         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
49338         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
49339         (__cpymn): Likewise.
49340         (norm): Remove commented code.
49341         (denorm): Likewise.
49342         (__mp_dbl): Likewise.
49343         (__inv): Likewise.
49344         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
49345         (__cpymn): Likewise.
49346         (norm): Remove commented code.
49347         (denorm): Likewise.
49348         (__mp_dbl): Likewise.
49349         (__inv): Likewise.
49351         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
49352         mp_no value for 1.0 and 2.0.
49353         (norm): Use RADIXI instead of radixi.d.
49354         (denorm): Likewise.
49355         (__mul): Use 0.0 instead of zero.d.
49356         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
49357         mp_no value for 1.0 and 2.0.
49358         (norm): Use RADIXI instead of radixi.d.
49359         (denorm): Likewise.
49360         (__mul): Use 0.0 instead of zero.d.
49362 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
49364         [BZ #14994]
49365         * math/s_casinh.c (__casinh): Reduce finite argument to first
49366         quadrant then set signs of results at the end.
49367         * math/s_casinhf.c (__casinhf): Likewise.
49368         * math/s_casinhl.c (__casinhl): Likewise.
49369         * math/libm-test.inc (casin_test): Add more tests.
49370         (casinh_test): Likewise.
49371         * sysdeps/i386/fpu/libm-test-ulps: Update.
49372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49374 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49376         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
49378         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
49380         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
49381         declarations.
49382         (denorm): Likewise.
49383         (__mp_dbl): Likewise.
49384         (__inv): Likewise.
49386         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
49387         and adjust the header comment.
49389         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
49390         variable name from declaration.
49392 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
49394         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49395         Initialize COMMON_CPUID_INDEX_7 element.
49396         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
49397         (CPUID_RTM): Likewise.
49398         (HAS_RTM): Likewise.
49399         (COMMON_CPUID_INDEX_7): New enum.
49401 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
49403         [BZ #14981]
49404         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
49405         size is zero, record memory as freed.
49407 2013-01-03  Andreas Jaeger  <aj@suse.de>
49409         * po/ia.po: Add new Interlingua translation.
49411 2012-01-03  Allan McRae  <allan@archlinux.org>
49413         * locale/programs/localedef.c: Fix description of '--posix' flag.
49415 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
49417         * NEWS: Update dates in second copyright notice.
49418         * README: Update copyright dates in example.
49419         * manual/libc.texinfo: Update copyright dates.
49420         * scripts/test-installation.pl: Update copyright date in --version
49421         output.
49423         * hurd/ctty-input.c: Fix copyright notice formatting.
49424         * hurd/ctty-output.c: Likewise.
49425         * hurd/dtable.c: Likewise.
49426         * hurd/hurd-raise.c: Likewise.
49427         * hurd/hurdprio.c: Likewise.
49428         * hurd/msgportdemux.c: Likewise.
49429         * misc/sys/file.h: Likewise.
49430         * misc/sys/ioctl.h: Likewise.
49431         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49432         * sysdeps/mach/hurd/chdir.c: Likewise.
49433         * sysdeps/mach/hurd/fchdir.c: Likewise.
49434         * sysdeps/mach/hurd/rename.c: Likewise.
49435         * sysdeps/mach/hurd/rmdir.c: Likewise.
49436         * sysdeps/mach/hurd/seekdir.c: Likewise.
49437         * sysdeps/mach/hurd/setsid.c: Likewise.
49438         * sysdeps/posix/wait3.c: Likewise.
49440         * All files with FSF copyright notices: Update copyright dates
49441         using scripts/update-copyrights.
49442         * intl/plural.c: Regenerated.
49443         * locale/programs/charmap-kw.h: Likewise.
49444         * locale/programs/locfile-kw.h: Likewise.
49446 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49448         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
49449         four values.
49451         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
49452         calculation loop and add branch prediction.
49454         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
49455         check access beyond bounds of m1np.
49457         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49458         MPTWO.
49459         (__inv): Remove local variable MPTWO to use the global
49460         constant.
49461         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
49462         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49463         variable MPTWO.
49464         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
49465         MP3HALFS static const.
49467 2013-01-01  David S. Miller  <davem@davemloft.net>
49469         * po/ca.po: Update from translation team.
49471 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
49473         * scripts/update-copyrights: New file.
49474         * Makeconfig: Reformat copyright notice.
49475         * ctype/ctype.h: Likewise.
49476         * debug/swprintf_chk.c: Likewise.
49477         * elf/dl-cache.c: Likewise.
49478         * elf/dl-debug.c: Likewise.
49479         * elf/dl-object.c: Likewise.
49480         * grp/initgroups.c: Likewise.
49481         * hurd/Makefile: Likewise.
49482         * hurd/hurd/signal.h: Likewise.
49483         * hurd/hurdfault.c: Likewise.
49484         * hurd/hurdioctl.c: Likewise.
49485         * hurd/hurdlookup.c: Likewise.
49486         * hurd/intr-msg.c: Likewise.
49487         * iconv/gconv_open.c: Likewise.
49488         * libio/swprintf.c: Likewise.
49489         * locale/lc-ctype.c: Likewise.
49490         * locale/nl_langinfo.c: Likewise.
49491         * mach/Machrules: Likewise.
49492         * mach/Makefile: Likewise.
49493         * malloc/obstack.h: Likewise.
49494         * manual/Makefile: Likewise.
49495         * manual/tsort.awk: Likewise.
49496         * misc/bits/stab.def: Likewise.
49497         * nis/nis_print_group_entry.c: Likewise.
49498         * nis/nis_table.c: Likewise.
49499         * nis/nss_compat/compat-pwd.c: Likewise.
49500         * nis/nss_compat/compat-spwd.c: Likewise.
49501         * po/Makefile: Likewise.
49502         * posix/fnmatch.c: Likewise.
49503         * posix/regex.h: Likewise.
49504         * resolv/Makefile: Likewise.
49505         * resolv/nss_dns/dns-network.c: Likewise.
49506         * resolv/res_hconf.c: Likewise.
49507         * scripts/gen-sorted.awk: Likewise.
49508         * soft-fp/soft-fp.h: Likewise.
49509         * stdio-common/printf.h: Likewise.
49510         * stdlib/monetary.h: Likewise.
49511         * stdlib/random.c: Likewise.
49512         * stdlib/random_r.c: Likewise.
49513         * sysdeps/generic/Makefile: Likewise.
49514         * sysdeps/gnu/Makefile: Likewise.
49515         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49516         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49517         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49518         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49519         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49520         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49521         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49522         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49523         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49524         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49525         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49526         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49527         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49528         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49529         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
49530         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49531         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49532         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49533         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49534         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49535         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49536         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49537         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49538         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49539         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
49540         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49541         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
49542         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
49543         * sysdeps/mach/hurd/errnos.awk: Likewise.
49544         * sysdeps/mach/hurd/fork.c: Likewise.
49545         * sysdeps/mach/hurd/getcwd.c: Likewise.
49546         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
49547         * sysdeps/mach/hurd/mmap.c: Likewise.
49548         * sysdeps/mach/hurd/utimes.c: Likewise.
49549         * sysdeps/mach/hurd/xmknod.c: Likewise.
49550         * sysdeps/posix/profil.c: Likewise.
49551         * sysdeps/posix/readdir_r.c: Likewise.
49552         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49553         * sysdeps/powerpc/bits/setjmp.h: Likewise.
49554         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
49555         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49556         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49557         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49558         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49559         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49560         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49561         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49562         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49563         * sysdeps/pthread/lio_listio.c: Likewise.
49564         * sysdeps/sparc/dl-procinfo.h: Likewise.
49565         * sysdeps/unix/i386/sysdep.S: Likewise.
49566         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
49567         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
49568         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
49569         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
49570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49571         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
49572         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
49573         * sysdeps/unix/sysv/linux/speed.c: Likewise.
49574         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
49575         * sysdeps/wordsize-32/divdi3.c: Likewise.
49576         * time/sys/time.h: Likewise.
49577         * wcsmbs/Makefile: Likewise.
49579 2013-01-01  David S. Miller  <davem@davemloft.net>
49581         * po/fr.po: Update from translation team.
49583         * catgets/gencat.c: Update copyright year.
49584         * csu/version.c: Likewise.
49585         * debug/catchsegv.sh: Likewise.
49586         * debug/pcprofiledump.c: Likewise.
49587         * debug/xtrace.sh: Likewise.
49588         * elf/ldconfig.c: Likewise.
49589         * elf/ldd.bash.in: Likewise.
49590         * elf/pldd.c: Likewise.
49591         * elf/sotruss.ksh: Likewise.
49592         * elf/sprof.c: Likewise.
49593         * iconv/iconv_prog.c: Likewise.
49594         * iconv/iconvconfig.c: Likewise.
49595         * locale/programs/locale.c: Likewise.
49596         * locale/programs/localedef.c: Likewise.
49597         * login/programs/pt_chown.c: Likewise.
49598         * malloc/memusage.sh: Likewise.
49599         * malloc/memusagestat.c: Likewise.
49600         * malloc/mtrace.pl: Likewise.
49601         * nscd/nscd.c: Likewise.
49602         * nss/getent.c: Likewise.
49603         * nss/makedb.c: Likewise.
49604         * posix/getconf.c: Likewise.
49606 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49608         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
49609         numbers.
49611 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
49613         * math/bits/mathcalls.h (modf): Use __nonnull.
49615 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49617         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
49618         (split): Use macro CN instead of the bare value.
49619         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
49620         could be used.
49621         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
49622         instead of the bare value.
49623         (power1): Likewise.
49625 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49627         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
49628         __ATAN_TWOM.
49629         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49631         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
49632         their values.
49633         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49634         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49635         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
49636         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49638 2012-12-28  Andreas Jaeger  <aj@suse.de>
49640         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
49641         values are from Linux 3.7.
49643         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
49644         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
49646 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49648         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
49649         TRUE case.
49651         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
49652         (norm): Likewise.
49653         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
49654         variables with preprocessor constants.
49655         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49656         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49657         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49659 2012-12-27  Bruno Haible  <bruno@clisp.org>
49661         [BZ #14317]
49662         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
49663         only if needed.
49665 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49667         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
49668         and use variable directly.
49669         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
49671         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49672         MPONE.
49673         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
49674         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49675         variable MPONE.
49676         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49677         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49678         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
49679         include directive.  Remove local variable MPONE.
49680         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
49681         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
49682         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49684 2012-12-25  David S. Miller  <davem@davemloft.net>
49686         * version.h (RELEASE): Set to "development".
49687         (VERSION): Set to "2.17.90".
49688         * NEWS: Add 2.18 section.
49690 2012-12-21  David S. Miller  <davem@davemloft.net>
49692         * po/hr.po: Update from translation team.
49694 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49696         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
49698 2012-12-19  Steve Ellcey  <sellcey@mips.com>
49700         * NEWS:  Mention new memcpy for MIPS.
49702 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49704         * manual/contrib.texi (Contributors): Spelling correction.
49706 2012-12-15  David S. Miller  <davem@davemloft.net>
49708         * po/ru.po: Update from translation team.
49710 2012-12-13  David S. Miller  <davem@davemloft.net>
49712         * NEWS: Mention IFUNC testsuite enhancements.
49714         * po/pl.po: Update from translation team.
49715         * po/bg.po: Likewise.
49717         * manual/contrib.texi (Contributors): Update entries for Hongjiu
49718         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
49720 2012-12-11  David S. Miller  <davem@davemloft.net>
49722         * po/sv.po: Update from translation team.
49724         * po/vi.po: Update from translation team.
49726         * po/cs.po: Update from translation team.
49728         * po/de.po: Update from translation team.
49729         * po/eo.po: Likewise.
49730         * po/nl.po: Likewise.
49732 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49734         [BZ #14246]
49735         * manual/argp.texi (Argp Helper Functions): Move node to follow
49736         Argp Parsing State.
49738         [BZ #14872]
49739         * manual/conf.texi (Limits on File System Capacity): Mention if
49740         terminating null is included in the max size.
49742 2012-12-10  Andreas Jaeger  <aj@suse.de>
49744         * po/cs.po: Update from translation team.
49746 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49748         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
49749         void pointer and cast to uintptr_t.
49750         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
49751         path.
49752         * sysdeps/s390/s390-64/memcpy.S: Likewise.
49753         * sysdeps/s390/s390-64/memset.S: Likewise.
49755 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
49757         [BZ #14833]
49758         * menual/message.texi (Message Translation): Fix typos.
49759         (Helper programs for gettext): Likewise.
49761 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
49763         [BZ #14898]
49764         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
49765         Change to -1.
49767 2012-12-07  David S. Miller  <davem@davemloft.net>
49769         * po/libc.pot: Update.
49771 2012-12-07  Richard Henderson  <rth@redhat.com>
49773         [BZ #10114]
49774         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
49775         normal/normal case to before the switch.
49776         (_FP_DIV): Likewise.
49778 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
49779             Mike Frysinger  <vapier@gentoo.org>
49781         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
49782         check for __NR_fadvise64_64.
49784 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
49786         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
49787         0, not just to plain "0" as a statement.
49788         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
49789         with cw.
49791 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
49793         * NEWS: Use sourceware.org in Bugzilla URL.
49795 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
49798         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49800         * stdio-common/tst-put-error.c (do_test): Add newline to the
49801         padded test to ensure flush.
49803 2012-12-05  Jeff Law  <law@redhat.com>
49805         * sunrpc/etc.rpc (fedfs_admin): Add entry.
49807 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
49809         * README: Don't refer to ports add-on as distributed separately.
49810         Mention AArch64 in list of systems supported in the ports add-on.
49812         * LICENSES: Add more non-FSF copyright and license notices.
49814         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
49815         ((unused)).
49817         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
49819         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
49820         10000 as width of padded output.
49822 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
49824         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
49826         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
49827         variable LX with __attribute__ ((unused)).
49828         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
49829         Likewise.
49830         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
49831         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49832         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
49833         with __attribute__ ((unused)).
49835 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
49837         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
49839 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
49841         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
49842         (CFLAGS-nldbl-acos.c): New variable.
49843         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
49844         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
49845         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
49846         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
49847         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
49848         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
49849         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
49850         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
49851         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
49852         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
49853         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
49854         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
49855         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
49856         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
49857         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
49858         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
49859         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
49860         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
49861         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
49862         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
49863         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
49864         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
49865         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
49866         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
49867         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
49868         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
49869         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
49870         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
49871         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
49872         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
49873         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
49874         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
49875         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
49876         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
49877         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
49878         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
49879         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
49880         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
49881         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
49882         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
49883         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
49884         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
49885         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
49886         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
49887         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
49888         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
49889         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
49890         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
49891         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
49892         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
49893         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
49894         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
49895         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
49896         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
49897         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
49898         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
49899         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
49900         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
49901         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
49902         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
49903         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
49904         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
49905         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
49906         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
49907         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
49908         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
49909         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
49910         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
49911         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
49912         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
49913         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
49914         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
49915         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
49916         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
49917         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
49918         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
49919         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
49920         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
49921         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
49922         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
49923         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
49924         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
49925         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
49926         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
49927         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
49928         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
49929         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
49930         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
49931         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
49932         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
49933         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
49934         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
49935         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
49936         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
49937         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
49938         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
49939         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
49941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
49942         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49944         [BZ #14914]
49945         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
49946         whole low double instead of just low 47 bits when splitting values
49947         into two parts.
49949 2012-12-03  Allan McRae  <allan@archlinux.org>
49951         * manual/stdio.texi (Predefined Printf Handlers): Remove
49952         @hsep and @vsep usage.
49954 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
49956         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
49957         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
49959 2012-12-03  Jeff Law  <law@redhat.com>
49961         * time/sys/time.h (settimeofday): Do not mark TV argument
49962         as __nonnull.
49964 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
49966         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
49967         when currently writing and seek to current position when not.
49968         * libio/Makefile (tests): Remove bug-fclose1.
49969         * libio/bug-fclose1.c: Delete.
49971 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
49973         * manual/arith.texi (feenableexcept): Fix typo.
49974         (fedisableexcept): Likewise.
49976 2012-11-30  Roland McGrath  <roland@hack.frob.com>
49978         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
49979         second, differently-typed declaration, rather than a cast.
49981 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49983         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
49984         * include/rpc/svc.h: ... here.
49986 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
49988         [BZ #13013]
49989         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
49990         depending n and resplen2 to catch cases where answer
49991         equals answerp2.
49993 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
49995         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
49996         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
49998 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
50000         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
50002 2012-11-29  Roland McGrath  <roland@hack.frob.com>
50004         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
50006 2012-11-28  Jeff Law  <law@redhat.com>
50008         [BZ #13761]
50009         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
50010         dataset_temporary.  Track alloca usage into alloca_used.
50011         If dataset is large allocate and release it via malloc/free.
50013 2012-06-04  Florian Weimer  <fweimer@redhat.com>
50015         [BZ #14197]
50016         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
50018 2012-11-28  David S. Miller  <davem@davemloft.net>
50020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50022 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
50024         [BZ #14803]
50025         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
50026         of pi/2 rounded to nearest to 64 bits.
50027         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
50028         nearest to 64 bits.
50029         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
50030         bits.
50032 2012-11-28  Jeff Law <law@redhat.com>
50033             Martin Osvald <mosvald@redhat.com>
50035         [BZ #14889]
50036         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
50037         * sunrpc/svc.c: Include time.h.
50038         (__svc_accept_failed): New function.
50039         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
50040         any reason other than EINTR, call __svc_accept_failed.
50041         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
50042         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
50044 2012-11-28  Andreas Schwab  <schwab@suse.de>
50046         * scripts/abilist.awk: Also handle indirect functions in .opd
50047         section.
50049 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
50051         [BZ #13881]
50052         * sysdeps/x86/fpu/powl_helper.c: New file.
50053         * sysdeps/x86/fpu/Makefile: Likewise.
50054         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
50055         (p3): New object.
50056         (__ieee754_powl): Use __powl_helper for finite arguments except
50057         integer exponents below 8.
50058         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
50059         (p3): New object.
50060         (__ieee754_powl): Use __powl_helper for finite arguments except
50061         integer exponents below 8.
50062         * math/libm-test.inc (pow_test): Add more tests and enable some
50063         previously disabled tests.
50064         * sysdeps/i386/fpu/libm-test-ulps: Update.
50065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50067 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50068             Carlos O'Donell  <carlos_odonell@mentor.com>
50070         * nss/makedb.c (is_prime): Assert that input is odd and greater
50071         than 4.  Note that fact in a comment too.
50072         (next_prime): Add 4 to input.
50074 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50076         [BZ #11741]
50077         * libio/Makefile (tests): Add test case tst-fwrite-error.
50078         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
50079         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
50080         * libio/tst-fwrite-error.c: New test case.
50082 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
50084         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
50085         before casting to void *.
50086         * include/libc-internal.h (__pointer_type): New macro.
50087         (__integer_if_pointer_type_sub): Likewise.
50088         (__integer_if_pointer_type): Likewise.
50089         (cast_to_integer): Likewise.
50090         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
50091         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
50092         before casting to atomic64_t.
50093         (atomic_exchange_acq): Likewise.
50094         (__arch_exchange_and_add_body): Likewise.
50095         (__arch_add_body): Likewise.
50096         (atomic_add_negative): Likewise.
50097         (atomic_add_zero): Likewise.
50099 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
50101         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
50102         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
50103         (add_fdes): Likewise.
50104         (linear_search_fdes): Likewise.
50105         (binary_search_unencoded_fdes): Likewise.
50107 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
50109         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
50111 2012-11-24  Adam Conrad  <adconrad@0c3.net>
50113         * configure.in: Autodetect C++ header directories.
50114         * configure: Regenerated.
50116 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
50118         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
50120 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
50122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50124 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
50126         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
50127         LDBL_MANT_DIG == 106]: Disable some tests.
50128         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50129         Likewise.
50130         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50131         Likewise.
50133         [BZ #14871]
50134         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
50135         input for small inputs.  Return +/- pi/2 for large inputs.
50136         * math/libm-test.inc (atan_test): Add more tests.
50138         * sysdeps/generic/unwind-dw2-fde-glibc.c
50139         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
50140         __attribute__ ((unused)).
50142         [BZ #14645]
50143         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
50144         x * y if x and y are nonzero and z is zero.
50146         [BZ #14811]
50147         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
50148         nonzero exponents with absolute value below 0x1p-117 to +/-
50149         0x1p-117.
50151         [BZ #14869]
50152         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
50153         up arguments below 2**-450, not just those below 2**-500.
50154         * math/libm-test.inc (hypot_test): Add another test.
50156         [BZ #14868]
50157         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
50158         Return a+b for ratio over 2**120, not 2**60.
50159         * math/libm-test.inc (hypot_test): Add another test.
50161         * math/libm-test.inc (clog_test): Use
50162         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
50163         (clog10_test): Likewise.
50165         [BZ #6778]
50166         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
50168 2012-11-22  Andreas Schwab  <schwab@suse.de>
50170         * sysdeps/i386/fpu/libm-test-ulps: Update.
50172 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
50174         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
50175         printf output with newline.
50177 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
50179         [BZ #14865]
50180         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
50181         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
50182         -z nodlopen, -z initfirst and -z execstack support.
50183         * configure: Regenerated.
50185         * elf/elf.h (DF_1_NODIRECT): New macro.
50186         (DF_1_IGNMULDEF): Likewise.
50187         (DF_1_NOKSYMS): Likewise.
50188         (DF_1_NOHDR): Likewise.
50189         (DF_1_EDITED): Likewise.
50190         (DF_1_NORELOC): Likewise.
50191         (DF_1_SYMINTPOSE): Likewise.
50192         (DF_1_GLOBAUDIT): Likewise.
50193         (DF_1_SINGLETON): Likewise.
50194         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
50195         DT_1_SUPPORTED_MASK bits.
50196         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
50198 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
50200         * sysdeps/unix/make-syscalls.sh: Document prefixes.
50202 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
50204         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
50205         macro.
50207         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
50208         (sendmmsg): Move declarations...
50209         * socket/sys/socket.h: ... here.
50210         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
50211         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
50212         include it from...
50213         * socket/recvmmsg.c: ... this new file.
50214         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
50215         (sendmmsg): Rename to __sendmmsg, create weak alias and make
50216         definition of __sendmmsg hidden.
50217         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
50218         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
50219         Move ENOSYS stub into and include it from...
50220         * socket/sendmmsg.c: ... this new file.
50221         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
50222         (sysdep_routines): Move recvmmsg and sendmmsg...
50223         * socket/Makefile (routines): ... here.
50224         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
50225         (GLIBC_PRIVATE): Add __sendmmsg.
50226         * include/sys/socket.h (__sendmmsg): Add declarations.
50227         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
50228         sendmmsg.
50230 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
50232         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
50233         variable I1 with __attribute__ ((unused)).
50234         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50236 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
50238         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
50239         DUMMY variables with __attribute__ ((unused)).
50241         * bits/byteswap.h: Include <bits/types.h>.
50242         (__bswap_64): Use __uint64_t instead of unsigned long long int.
50244 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
50246         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
50247         string_t.  Do not manually set errno.
50248         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
50249         length with __strnlen.  Make sure to both set errno and return it on
50250         failure.
50252 2012-11-19  David S. Miller  <davem@davemloft.net>
50254         With help from Joseph Myers.
50255         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
50256         very large arguments properly.
50257         * math/libm-test.inc (atan_test): New tests.
50258         (atan2_test): New tests.
50259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50260         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50262 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
50264         [BZ #14856]
50265         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
50266         Define to 3.
50268         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
50269         [POSIX] (EADDRNOTAVAIL): Likewise.
50270         [POSIX] (EAFNOSUPPORT): Likewise.
50271         [POSIX] (EALREADY): Likewise.
50272         [POSIX] (ECONNABORTED): Likewise.
50273         [POSIX] (ECONNREFUSED): Likewise.
50274         [POSIX] (ECONNRESET): Likewise.
50275         [POSIX] (EDESTADDRREQ): Likewise.
50276         [POSIX] (EDQUOT): Likewise.
50277         [POSIX] (EHOSTUNREACH): Likewise.
50278         [POSIX] (EIDRM): Likewise.
50279         [POSIX] (EISCONN): Likewise.
50280         [POSIX] (ELOOP): Likewise.
50281         [POSIX] (EMULTIHOP): Likewise.
50282         [POSIX] (ENETDOWN): Likewise.
50283         [POSIX] (ENETUNREACH): Likewise.
50284         [POSIX] (ENOBUFS): Likewise.
50285         [POSIX] (ENODATA): Likewise.
50286         [POSIX] (ENOLINK): Likewise.
50287         [POSIX] (ENOMSG): Likewise.
50288         [POSIX] (ENOPROTOOPT): Likewise.
50289         [POSIX] (ENOSR): Likewise.
50290         [POSIX] (ENOSTR): Likewise.
50291         [POSIX] (ENOTCONN): Likewise.
50292         [POSIX] (ENOTSOCK): Likewise.
50293         [POSIX] (EOPNOTSUPP): Likewise.
50294         [POSIX] (EOVERFLOW): Likewise.
50295         [POSIX] (EPROTO): Likewise.
50296         [POSIX] (EPROTONOSUPPORT): Likewise.
50297         [POSIX] (EPROTOTYPE): Likewise.
50298         [POSIX] (ESTALE): Likewise.
50299         [POSIX] (ETIME): Likewise.
50300         [POSIX] (ETXTBSY): Likewise.
50301         [POSIX] (EWOULDBLOCK): Likewise.
50302         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
50303         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
50304         [POSIX] (SEEK_CUR): Likewise.
50305         [POSIX] (SEEK_END): Likewise.
50306         [POSIX || UNIX98] (mode_t): Do not require.
50307         [POSIX] (off_t): Likewise.
50308         [POSIX] (pid_t): Likewise.
50309         [POSIX] (sys/stat.h): Do not allow header.
50310         [POSIX] (unistd.h): Likewise.
50311         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
50312         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
50313         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
50314         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
50315         require.
50316         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
50317         sigevent): Specify elements.
50318         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
50319         entry.
50320         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
50321         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
50323         * conform/data/cpio.h-data [POSIX]: Disable whole file.
50324         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
50325         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
50326         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
50327         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
50328         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
50329         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
50330         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
50331         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
50332         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
50333         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
50334         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
50335         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
50336         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
50337         Likewise.
50338         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
50339         Likewise.
50340         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
50341         Likewise.
50342         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
50343         Likewise.
50344         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
50345         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
50346         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
50347         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
50348         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
50349         Specify lower bound on value.
50350         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
50351         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
50352         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
50353         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
50354         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
50355         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
50356         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
50357         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
50358         value.
50359         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
50360         as optional.
50361         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
50362         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
50363         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
50364         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
50365         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
50366         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
50367         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
50368         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
50369         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
50370         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
50371         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
50372         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
50373         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
50374         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
50375         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
50376         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
50377         entry.
50378         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
50379         optional.
50380         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
50381         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
50382         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
50383         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
50384         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
50385         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
50386         Likewise.
50387         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
50388         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
50389         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
50390         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
50391         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
50392         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
50393         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
50394         as optional.
50395         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
50396         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
50397         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
50398         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
50399         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
50400         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
50401         specify as optional.
50402         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
50403         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
50404         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
50405         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
50406         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
50407         [XPG3] (NL_LANGMAX): Likewise.
50408         [POSIX || XPG3] (NL_MSGMAX): Likewise.
50409         [POSIX || XPG3] (NL_NMAX): Likewise.
50410         [POSIX || XPG3] (NL_SETMAX): Likewise.
50411         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
50412         [XPG3] (NZERO): Likewise.
50413         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
50414         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
50415         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
50416         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
50417         (REG_ERANGE): Expect.
50418         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
50419         optional-constant.
50420         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
50421         Use (void) in prototype.
50422         [POSIX] (*_t): Allow.
50423         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
50424         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
50425         (WRDE_BADVAL): Expect.
50427         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
50428         expect.
50429         [XPG3 || XPG4] (O_RSYNC): Likewise.
50430         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
50431         Likewise.
50432         [XPG3 || XPG4] (pthread_sigmask): Likewise.
50433         [XPG3 || XPG4] (sigqueue): Likewise.
50434         [XPG3 || XPG4] (sigtimedwait): Likewise.
50435         [XPG3 || XPG4] (sigwaitinfo): Likewise.
50436         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
50437         [XPG3 || XPG4] (vsnprintf): Likewise.
50438         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
50439         Likewise.
50440         [XPG3 || XPG4] (blksize_t): Likewise.
50441         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
50442         Likewise.
50443         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
50444         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50445         [XPG3 || XPG4] (struct itimerspec): Likewise.
50446         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
50447         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
50448         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
50449         [XPG3 || XPG4] (clockid_t): Likewise.
50450         [XPG3 || XPG4] (timer_t): Likewise.
50451         [XPG3 || XPG4] (clock_getres): Likewise.
50452         [XPG3 || XPG4] (clock_gettime): Likewise.
50453         [XPG3 || XPG4] (clock_settime): Likewise.
50454         [XPG3 || XPG4] (nanosleep): Likewise.
50455         [XPG3 || XPG4] (timer_create): Likewise.
50456         [XPG3 || XPG4] (timer_delete): Likewise.
50457         [XPG3 || XPG4] (timer_gettime): Likewise.
50458         [XPG3 || XPG4] (timer_getoverrun): Likewise.
50459         [XPG3 || XPG4] (timer_settime): Likewise.
50460         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
50461         [XPG3 || XPG4] (getlogin_r): Likewise.
50462         [XPG3 || XPG4] (pread): Likewise.
50463         [XPG3 || XPG4] (pthread_atfork): Likewise.
50464         [XPG3 || XPG4] (pwrite): Likewise.
50466         [BZ #14835]
50467         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
50468         <bits/siginfo.h>.
50470 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
50472         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
50473         finalizing MALLSTREAM.
50475         * sysdeps/mach/hurd/syncfs.c: New file.
50477 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50479         [BZ #14719]
50480         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
50481         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
50482         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
50483         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
50484         (_nss_dns_gethostbyname4_r): Likewise.
50485         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
50486         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
50488 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
50490         [BZ #13763]
50491         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
50493 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
50495         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
50496         * elf/cache.c (print_entry): Print ",AArch64" for
50497         FLAG_AARCH64_LIB64
50499         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
50500         * elf/cache.c (print_entry): Print ",hard-float" for
50501         FLAG_ARM_LIBHF.
50503 2012-11-18  David S. Miller  <davem@davemloft.net>
50505         With help from Joseph Myers.
50506         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
50507         cutoff to 2**-13.
50508         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
50509         cutoff to 2**-25.
50510         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
50511         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
50512         small.
50513         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
50514         * math/libm-test.inc (y0_test): New tests.
50515         (y1_test): New tests.
50516         * sysdeps/i386/fpu/libm-test-ulps: Update.
50517         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50520 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
50522         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
50523         64-bit targets.
50524         * configure: Regenerated.
50526 2012-11-17  David S. Miller  <davem@davemloft.net>
50528         [BZ #14811]
50529         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
50530         nonzero exponents with absolute value below 0x1p-128 to +/-
50531         0x1p-128.
50533 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
50535         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
50537         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
50539         * posix/getconf-speclist.c: New file.
50540         * posix/posix-envs.def: Likewise.
50541         * posix/confstr.c (START_ENV_GROUP): New macro.
50542         (END_ENV_GROUP): Likewise.
50543         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50544         (KNOWN_PRESENT_ENV_STRING): Likewise.
50545         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50546         (UNKNOWN_ENVIRONMENT): Likewise.
50547         (confstr): Include posix-envs.def instead of handling
50548         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
50549         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
50550         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
50551         (END_ENV_GROUP): Likewise.
50552         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50553         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50554         (UNKNOWN_ENVIRONMENT): Likewise.
50555         (__sysconf): Include posix-envs.def instead of handling associated
50556         cases directly here.
50557         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
50558         preprocessing getconf-speclist.c rather than running getconf or
50559         generating empty file.
50561 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
50563         * scripts/check-local-headers.sh: Ignore 'mach' headers.
50565 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
50567         [BZ #14672]
50568         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
50570 2012-11-16  David S. Miller  <davem@davemloft.net>
50572         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
50573         smaller than LDBL_EPSILON/2.0L, just return xm1.
50575 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
50577         * elf/tst-array1.c (init): Set constructor priority to 1000.
50578         (fini): Set destructor priority to 1000.
50579         * elf/tst-array2dep.c: Likewise.
50581 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50583         [BZ #11741]
50584         * libio/fileops.c (_IO_new_file_write): Correctly return error.
50585         (_IO_new_file_xsputn): Also return EOF if none of the input
50586         data was written when overflow failed.
50587         * libio/iopadn.c (_IO_padn): Likewise.
50588         * libio/iowpadn.c (_IO_wpadn): Likewise.
50589         * stdio-common/tst-put-error.c: Add copyright notice.
50590         (do_test): Add case for printing padded string.
50591         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
50592         _IO_padn returned error.
50593         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
50594         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
50595         return EOF.
50597 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50599         * libio/libioP.h: Add comment note that the references to C++
50600         bits are now obsolete.
50602 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50604         * math/libm-test.inc (check_complex): Use asprintf.
50606 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
50608         * debug/pcprofiledump.c (print_version): Update copyright year.
50609         * malloc/memusagestat.c (print_version): Likewise.
50611 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
50613         [BZ #14831]
50614         * elf/Makefile (tests): Add tst-audit8.
50615         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
50616         ($(objpfx)tst-audit8.out): New target.
50617         (tst-audit8-ENV): New variable.
50618         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
50619         audit if l_reloc_result is NULL.
50620         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
50621         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
50622         * elf/tst-audit8.c: New file.
50624 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50626         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
50627         * misc/Makefile (CFLAGS-select.c): Define.
50628         * posix/Makefile (CFLAGS-pause.c): Define.
50630 2012-11-13  David S. Miller  <davem@davemloft.net>
50632         * crypt/Makefile: Move test targets after toplevel Rules
50633         inclusion.  Grab any necessary sysdep routines when linking.
50634         * crypt/md5.c (md5_process_block): Remove define, we will always
50635         name it __md5_process_block.
50636         (md5_finish_ctx): Update md5_process_block call.
50637         (md5_stream): Likewise.
50638         (md5_process_bytes): Likewise.
50639         (md5_process_block): Rename to __md5_process_block and move to ...
50640         * crypt/md5-block.c: ... here.
50641         * crypt/sha256.c (sha256_process_block): Move to ...
50642         * crypt/sha256-block.c: ... here.
50643         * crypt/sha512.c (sha512_process_block): Move to ...
50644         * crypt/sha512-block.c: ... here.
50645         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
50646         path.
50647         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
50648         * sysdeps/sparc/sparc64/multiarch/Makefile
50649         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
50650         crypt subdir.
50651         (localedef-aux): Add md5 crypto assembler when in locale subdir.
50652         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
50653         multiarch changes.
50654         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
50655         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
50656         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
50657         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
50658         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
50659         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
50660         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
50661         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
50662         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
50663         file.
50664         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
50665         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
50666         file.
50667         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
50669 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
50671         * timezone/tzselect.ksh: Update from tzcode git revision
50672         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
50673         * timezone/zdump.c: Likewise.
50674         * timezone/zic.c: Likewise.
50675         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
50676         in TZVERSION setting, not $(PKGVERSION).
50677         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
50678         REPORT_BUGS_TO settings.
50680         [BZ #14838]
50681         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
50682         macro.
50684 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50686         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
50687         detection to immediately after _FP_ROUND().
50688         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
50689         bits are 0.
50691 2012-11-11  David S. Miller  <davem@davemloft.net>
50693         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
50694         inttypes.h
50695         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
50696         __close rather than their public counterparts.
50698 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
50700         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
50701         file.
50702         [UNIX98] (sem_timedwait): Do not expect.
50703         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
50704         [XPG4 || UNIX98] (sockatmark): Do not expect.
50705         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
50706         (clock_getcpuclockid): Do not expect.
50707         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
50708         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
50709         Do not expect.
50710         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
50711         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
50712         [UNIX98] (vwscanf): Likewise.
50713         [UNIX98] (vswscanf): Likewise.
50715 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
50717         * timezone/version.h: Remove file.
50718         * timezone/README: Do not refer to version.h.
50719         * timezone/Makefile ($(objpfx)zic.o): New dependency on
50720         $(objpfx)version.h.
50721         ($(objpfx)zdump.o): Likewise.
50722         ($(objpfx)version.h): New target.
50724         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
50725         2012i.
50726         * timezone/README: Don't mention modification to tzselect.ksh.
50727         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
50728         work on unmodified tzselect.ksh.  Substitute version numbers in
50729         tzselect.ksh.
50731         * Makefile (format-me): Remove.
50732         (INSTALL): Adjust indentation.  Use commands directly instead of
50733         using $(format-me).
50735         * aclocal.m4 (ACX_PKGVERSION): New macro.
50736         (ACX_BUGURL): Likewise.
50737         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
50738         (PKGVERSION): New AC_DEFINE_UNQUOTED.
50739         (REPORT_BUGS_TO): Likewise.
50740         * configure: Regenerated.
50741         * config.h.in (PKGVERSION): New macro.
50742         (REPORT_BUGS_TO): Likewise.
50743         * config.make.in (PKGVERSION): New variable.
50744         (PKGVERSION_TEXI): Likewise.
50745         (REPORT_BUGS_TO): Likewise.
50746         (REPORT_BUGS_TEXI): Likewise.
50747         * Makefile (format-me): Use -I$(common-objpfx)manual.
50748         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
50749         ($(common-objpfx)manual/%): New target.
50750         (manual/%): Remove target.
50751         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
50752         (print_version): Use PKGVERSION.
50753         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
50754         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
50755         and REPORT_BUGS_TO.
50756         ($(objpfx)xtrace): Likewise.
50757         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
50758         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
50759         (print_version): Use PKGVERSION.
50760         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
50761         (do_version): Use PKGVERSION.
50762         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
50763         REPORT_BUGS_TO.
50764         (common-ldd-rewrite): Likewise.
50765         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
50766         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
50767         (print_version): Use PKGVERSION.
50768         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
50769         * elf/pldd.c (argp_program_bug_address): Remove variable.
50770         (more_help): New function.
50771         (argp): Use more_help.
50772         (print_version): Use PKGVERSION.
50773         * elf/sln.c (main): Use PKGVERSION.
50774         (usage): Use REPORT_BUGS_TO.
50775         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
50776         (top level): Use PKGVERSION.
50777         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
50778         (print_version): Use PKGVERSION.
50779         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
50780         (print_version): Use PKGVERSION.
50781         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
50782         (print_version): Use PKGVERSION.
50783         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
50784         (print_version): Use PKGVERSION.
50785         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
50786         (print_version): Use PKGVERSION.
50787         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
50788         (print_version): Use PKGVERSION.
50789         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
50790         and BUGURL.
50791         ($(objpfx)memusage): Likewise.
50792         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
50793         (do_version): Use PKGVERSION.
50794         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
50795         (print_version): Use PKGVERSION.
50796         * malloc/mtrace.pl ($PACKAGE): Remove variable.
50797         ($PKGVERSION): New variable.
50798         ($REPORT_BUGS_TO): Likewise.
50799         (usage): Use $REPORT_BUGS_TO.
50800         (top level): Use $PKGVERSION.
50801         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
50802         ($(objpfx)pkgvers.texi): New rule.
50803         ($(objpfx)stamp-pkgvers): Likewise.
50804         * manual/install.texi: Include pkgvers.texi.
50805         (--with-pkgversion): Document new configure option.
50806         (--with-bugurl): Likewise.
50807         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
50808         than necessarily for this particular distribution.  Use
50809         REPORT_BUGS_TO for where to report bugs.
50810         * INSTALL: Regenerated.
50811         * manual/libc.texinfo: Include pkgvers.texi.
50812         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
50813         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
50814         (print_version): Use PKGVERSION.
50815         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
50816         (print_version): Use PKGVERSION.
50817         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
50818         (print_version): Use PKGVERSION.
50819         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
50820         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
50821         macro.
50822         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
50823         (print_version): Use PKGVERSION.
50824         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
50825         (print_version): Use PKGVERSION.
50826         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
50827         and PKGVERSION.
50829         * timezone/checktab.awk: Update from tzcode 2012i.
50830         * timezone/ialloc.c: Likewise.
50831         * timezone/private.h: Likewise.
50832         * timezone/scheck.c: Likewise.
50833         * timezone/tzfile.h: Likewise.
50834         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
50835         (TZVERSION): Hardcode tzcode version number.
50836         * timezone/zdump.c: Update from tzcode 2012i.
50837         * timezone/zic.c: Likewise.
50838         * timezone/version.h: New file.
50839         * timezone/README: Describe version.h.  Update upstream location.
50841         [BZ #14824]
50842         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
50843         (mktemp): Enable declaration.
50844         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
50845         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
50846         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
50847         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
50848         Likewise.
50849         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
50850         Likewise.
50851         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
50852         Likewise.
50853         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
50854         Likewise.
50855         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
50856         Likewise.
50857         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
50858         Likewise.
50860         [BZ #14821]
50861         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
50862         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
50863         for copies of such integer values.
50864         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50865         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50867 2012-11-09  Andreas Jaeger  <aj@suse.de>
50869         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
50870         definitions and declarations that are provided by
50871         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50873 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50875         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
50876         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
50877         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
50878         definition.
50880 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50882         * elf/elf.h: Update comment before AArch64 relocations.
50884 2012-11-07  David S. Miller  <davem@davemloft.net>
50886         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
50887         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50888         (__start_context): Declare.
50889         (__makecontext_ret): Delete.
50890         (__makecontext): Hook up __start_context instead of
50891         __makecontext_ret.
50892         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
50893         (sysdep_routines): Add __start_context when in stdlib.
50895 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50897         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
50898         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
50899         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
50900         hardcoded "nm".
50901         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
50902         (READELF): New variable.  Use it instead of hardcoded "readelf".
50904 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
50906         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
50907         * sysdeps/x86/Makefile: Here.
50908         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
50909         * sysdeps/x86/tst-xmmymm.sh: This.
50911 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50913         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
50914         expectations.
50915         [UNIX98] (pthread_barrier_t): Do not expect.
50916         [UNIX98] (pthread_barrierattr_t): Likewise.
50917         [UNIX98] (pthread_spinlock_t): Likewise.
50918         [UNIX98] (pthread_barrier_destroy): Likewise.
50919         [UNIX98] (pthread_barrier_init): Likewise.
50920         [UNIX98] (pthread_barrier_wait): Likewise.
50921         [UNIX98] (pthread_barrierattr_destroy): Likewise.
50922         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
50923         [UNIX98] (pthread_barrierattr_init): Likewise.
50924         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
50925         [UNIX98] (pthread_getcpuclockid): Likewise.
50926         [UNIX98] (pthread_mutex_timedlock): Likewise.
50927         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
50928         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
50929         [UNIX98] (pthread_sigmask): Likewise.
50930         [UNIX98] (pthread_spin_destroy): Likewise.
50931         [UNIX98] (pthread_spin_init): Likewise.
50932         [UNIX98] (pthread_spin_lock): Likewise.
50933         [UNIX98] (pthread_spin_trylock): Likewise.
50934         [UNIX98] (pthread_spin_unlock): Likewise.
50935         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
50936         Do not expect.
50937         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
50938         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
50939         [XPG3 || XPG4] (pthread_cond_t): Likewise.
50940         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
50941         [XPG3 || XPG4] (pthread_key_t): Likewise.
50942         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
50943         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
50944         [XPG3 || XPG4] (pthread_once_t): Likewise.
50945         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
50946         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
50947         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
50948         [XPG3 || XPG4] (pthread_t): Likewise.
50950         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
50951         not expect.
50952         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
50954         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
50955         Change function return type to int.
50957         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
50958         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
50959         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
50960         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
50961         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
50962         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
50963         [!POSIX] (posix_madvise): Likewise.
50964         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
50965         && !UNIX98].
50966         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
50967         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
50968         (mode_t): Likewise.
50969         (posix_mem_offset): Likewise.
50970         (posix_typed_mem_get_info): Likewise.
50971         (posix_typed_mem_open): Likewise.
50973         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
50974         Change condition to [XOPEN2K8].
50976         * conform/conformtest.pl: Preprocess allow-header data with -x c
50977         instead of from stdin.
50978         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
50979         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
50980         [C99-based standards] (cerfc): Likewise.
50981         [C99-based standards] (cexp2): Likewise.
50982         [C99-based standards] (cexpm1): Likewise.
50983         [C99-based standards] (clog10): Likewise.
50984         [C99-based standards] (clog1p): Likewise.
50985         [C99-based standards] (clog2): Likewise.
50986         [C99-based standards] (clgamma): Likewise.
50987         [C99-based standards] (ctgamma): Likewise.
50988         [C99-based standards] (cerff): Likewise.
50989         [C99-based standards] (cerfcf): Likewise.
50990         [C99-based standards] (cexp2f): Likewise.
50991         [C99-based standards] (cexpm1f): Likewise.
50992         [C99-based standards] (clog10f): Likewise.
50993         [C99-based standards] (clog1pf): Likewise.
50994         [C99-based standards] (clog2f): Likewise.
50995         [C99-based standards] (clgammaf): Likewise.
50996         [C99-based standards] (ctgammaf): Likewise.
50997         [C99-based standards] (cerfl): Likewise.
50998         [C99-based standards] (cerfcl): Likewise.
50999         [C99-based standards] (cexp2l): Likewise.
51000         [C99-based standards] (cexpm1l): Likewise.
51001         [C99-based standards] (clog10l): Likewise.
51002         [C99-based standards] (clog1pl): Likewise.
51003         [C99-based standards] (clog2l): Likewise.
51004         [C99-based standards] (clgammal): Likewise.
51005         [C99-based standards] (ctgammal): Likewise.
51006         * conform/data/inttypes.h-data [C99-based standards]: Include
51007         stdint.h-data.  Remove all expectations for stdint.h contents.
51008         [C99-based standards] (PRI*): Do not allow.
51009         [C99-based standards] (SCN*): Likewise.
51010         [C99-based standards] (*_t): Likewise.
51011         [C99-based-standards] (PRId8): Expect macro.
51012         [C99-based-standards] (PRIi8): Likewise.
51013         [C99-based-standards] (PRIo8): Likewise.
51014         [C99-based-standards] (PRIu8): Likewise.
51015         [C99-based-standards] (PRIx8): Likewise.
51016         [C99-based-standards] (PRIX8): Likewise.
51017         [C99-based-standards] (SCNd8): Likewise.
51018         [C99-based-standards] (SCNi8): Likewise.
51019         [C99-based-standards] (SCNo8): Likewise.
51020         [C99-based-standards] (SCNu8): Likewise.
51021         [C99-based-standards] (SCNx8): Likewise.
51022         [C99-based-standards] (PRIdLEAST8): Likewise.
51023         [C99-based-standards] (PRIiLEAST8): Likewise.
51024         [C99-based-standards] (PRIoLEAST8): Likewise.
51025         [C99-based-standards] (PRIuLEAST8): Likewise.
51026         [C99-based-standards] (PRIxLEAST8): Likewise.
51027         [C99-based-standards] (PRIXLEAST8): Likewise.
51028         [C99-based-standards] (SCNdLEAST8): Likewise.
51029         [C99-based-standards] (SCNiLEAST8): Likewise.
51030         [C99-based-standards] (SCNoLEAST8): Likewise.
51031         [C99-based-standards] (SCNuLEAST8): Likewise.
51032         [C99-based-standards] (SCNxLEAST8): Likewise.
51033         [C99-based-standards] (PRIdFAST8): Likewise.
51034         [C99-based-standards] (PRIiFAST8): Likewise.
51035         [C99-based-standards] (PRIoFAST8): Likewise.
51036         [C99-based-standards] (PRIuFAST8): Likewise.
51037         [C99-based-standards] (PRIxFAST8): Likewise.
51038         [C99-based-standards] (PRIXFAST8): Likewise.
51039         [C99-based-standards] (SCNdFAST8): Likewise.
51040         [C99-based-standards] (SCNiFAST8): Likewise.
51041         [C99-based-standards] (SCNoFAST8): Likewise.
51042         [C99-based-standards] (SCNuFAST8): Likewise.
51043         [C99-based-standards] (SCNxFAST8): Likewise.
51044         [C99-based-standards] (PRId16): Likewise.
51045         [C99-based-standards] (PRIi16): Likewise.
51046         [C99-based-standards] (PRIo16): Likewise.
51047         [C99-based-standards] (PRIu16): Likewise.
51048         [C99-based-standards] (PRIx16): Likewise.
51049         [C99-based-standards] (PRIX16): Likewise.
51050         [C99-based-standards] (SCNd16): Likewise.
51051         [C99-based-standards] (SCNi16): Likewise.
51052         [C99-based-standards] (SCNo16): Likewise.
51053         [C99-based-standards] (SCNu16): Likewise.
51054         [C99-based-standards] (SCNx16): Likewise.
51055         [C99-based-standards] (PRIdLEAST16): Likewise.
51056         [C99-based-standards] (PRIiLEAST16): Likewise.
51057         [C99-based-standards] (PRIoLEAST16): Likewise.
51058         [C99-based-standards] (PRIuLEAST16): Likewise.
51059         [C99-based-standards] (PRIxLEAST16): Likewise.
51060         [C99-based-standards] (PRIXLEAST16): Likewise.
51061         [C99-based-standards] (SCNdLEAST16): Likewise.
51062         [C99-based-standards] (SCNiLEAST16): Likewise.
51063         [C99-based-standards] (SCNoLEAST16): Likewise.
51064         [C99-based-standards] (SCNuLEAST16): Likewise.
51065         [C99-based-standards] (SCNxLEAST16): Likewise.
51066         [C99-based-standards] (PRIdFAST16): Likewise.
51067         [C99-based-standards] (PRIiFAST16): Likewise.
51068         [C99-based-standards] (PRIoFAST16): Likewise.
51069         [C99-based-standards] (PRIuFAST16): Likewise.
51070         [C99-based-standards] (PRIxFAST16): Likewise.
51071         [C99-based-standards] (PRIXFAST16): Likewise.
51072         [C99-based-standards] (SCNdFAST16): Likewise.
51073         [C99-based-standards] (SCNiFAST16): Likewise.
51074         [C99-based-standards] (SCNoFAST16): Likewise.
51075         [C99-based-standards] (SCNuFAST16): Likewise.
51076         [C99-based-standards] (SCNxFAST16): Likewise.
51077         [C99-based-standards] (PRId32): Likewise.
51078         [C99-based-standards] (PRIi32): Likewise.
51079         [C99-based-standards] (PRIo32): Likewise.
51080         [C99-based-standards] (PRIu32): Likewise.
51081         [C99-based-standards] (PRIx32): Likewise.
51082         [C99-based-standards] (PRIX32): Likewise.
51083         [C99-based-standards] (SCNd32): Likewise.
51084         [C99-based-standards] (SCNi32): Likewise.
51085         [C99-based-standards] (SCNo32): Likewise.
51086         [C99-based-standards] (SCNu32): Likewise.
51087         [C99-based-standards] (SCNx32): Likewise.
51088         [C99-based-standards] (PRIdLEAST32): Likewise.
51089         [C99-based-standards] (PRIiLEAST32): Likewise.
51090         [C99-based-standards] (PRIoLEAST32): Likewise.
51091         [C99-based-standards] (PRIuLEAST32): Likewise.
51092         [C99-based-standards] (PRIxLEAST32): Likewise.
51093         [C99-based-standards] (PRIXLEAST32): Likewise.
51094         [C99-based-standards] (SCNdLEAST32): Likewise.
51095         [C99-based-standards] (SCNiLEAST32): Likewise.
51096         [C99-based-standards] (SCNoLEAST32): Likewise.
51097         [C99-based-standards] (SCNuLEAST32): Likewise.
51098         [C99-based-standards] (SCNxLEAST32): Likewise.
51099         [C99-based-standards] (PRIdFAST32): Likewise.
51100         [C99-based-standards] (PRIiFAST32): Likewise.
51101         [C99-based-standards] (PRIoFAST32): Likewise.
51102         [C99-based-standards] (PRIuFAST32): Likewise.
51103         [C99-based-standards] (PRIxFAST32): Likewise.
51104         [C99-based-standards] (PRIXFAST32): Likewise.
51105         [C99-based-standards] (SCNdFAST32): Likewise.
51106         [C99-based-standards] (SCNiFAST32): Likewise.
51107         [C99-based-standards] (SCNoFAST32): Likewise.
51108         [C99-based-standards] (SCNuFAST32): Likewise.
51109         [C99-based-standards] (SCNxFAST32): Likewise.
51110         [C99-based-standards] (PRId64): Likewise.
51111         [C99-based-standards] (PRIi64): Likewise.
51112         [C99-based-standards] (PRIo64): Likewise.
51113         [C99-based-standards] (PRIu64): Likewise.
51114         [C99-based-standards] (PRIx64): Likewise.
51115         [C99-based-standards] (PRIX64): Likewise.
51116         [C99-based-standards] (SCNd64): Likewise.
51117         [C99-based-standards] (SCNi64): Likewise.
51118         [C99-based-standards] (SCNo64): Likewise.
51119         [C99-based-standards] (SCNu64): Likewise.
51120         [C99-based-standards] (SCNx64): Likewise.
51121         [C99-based-standards] (PRIdLEAST64): Likewise.
51122         [C99-based-standards] (PRIiLEAST64): Likewise.
51123         [C99-based-standards] (PRIoLEAST64): Likewise.
51124         [C99-based-standards] (PRIuLEAST64): Likewise.
51125         [C99-based-standards] (PRIxLEAST64): Likewise.
51126         [C99-based-standards] (PRIXLEAST64): Likewise.
51127         [C99-based-standards] (SCNdLEAST64): Likewise.
51128         [C99-based-standards] (SCNiLEAST64): Likewise.
51129         [C99-based-standards] (SCNoLEAST64): Likewise.
51130         [C99-based-standards] (SCNuLEAST64): Likewise.
51131         [C99-based-standards] (SCNxLEAST64): Likewise.
51132         [C99-based-standards] (PRIdFAST64): Likewise.
51133         [C99-based-standards] (PRIiFAST64): Likewise.
51134         [C99-based-standards] (PRIoFAST64): Likewise.
51135         [C99-based-standards] (PRIuFAST64): Likewise.
51136         [C99-based-standards] (PRIxFAST64): Likewise.
51137         [C99-based-standards] (PRIXFAST64): Likewise.
51138         [C99-based-standards] (SCNdFAST64): Likewise.
51139         [C99-based-standards] (SCNiFAST64): Likewise.
51140         [C99-based-standards] (SCNoFAST64): Likewise.
51141         [C99-based-standards] (SCNuFAST64): Likewise.
51142         [C99-based-standards] (SCNxFAST64): Likewise.
51143         [C99-based-standards] (PRIdMAX): Likewise.
51144         [C99-based-standards] (PRIiMAX): Likewise.
51145         [C99-based-standards] (PRIoMAX): Likewise.
51146         [C99-based-standards] (PRIuMAX): Likewise.
51147         [C99-based-standards] (PRIxMAX): Likewise.
51148         [C99-based-standards] (PRIXMAX): Likewise.
51149         [C99-based-standards] (SCNdMAX): Likewise.
51150         [C99-based-standards] (SCNiMAX): Likewise.
51151         [C99-based-standards] (SCNoMAX): Likewise.
51152         [C99-based-standards] (SCNuMAX): Likewise.
51153         [C99-based-standards] (SCNxMAX): Likewise.
51154         [C99-based-standards] (PRIdPTR): Likewise.
51155         [C99-based-standards] (PRIiPTR): Likewise.
51156         [C99-based-standards] (PRIoPTR): Likewise.
51157         [C99-based-standards] (PRIuPTR): Likewise.
51158         [C99-based-standards] (PRIxPTR): Likewise.
51159         [C99-based-standards] (PRIXPTR): Likewise.
51160         [C99-based-standards] (SCNdPTR): Likewise.
51161         [C99-based-standards] (SCNiPTR): Likewise.
51162         [C99-based-standards] (SCNoPTR): Likewise.
51163         [C99-based-standards] (SCNuPTR): Likewise.
51164         [C99-based-standards] (SCNxPTR): Likewise.
51165         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
51166         allow.
51167         * conform/data/stdint.h-data: Update comments to clarify
51168         requirements.
51169         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
51170         type.
51171         [C99-based standards] (INT8_MAX): Likewise.
51172         [C99-based standards] (INT16_MIN): Likewise.
51173         [C99-based standards] (INT16_MAX): Likewise.
51174         [C99-based standards] (INT32_MIN): Likewise.
51175         [C99-based standards] (INT32_MAX): Likewise.
51176         [C99-based standards] (INT64_MIN): Likewise.
51177         [C99-based standards] (INT64_MAX): Likewise.
51178         [C99-based standards] (UINT8_MAX): Likewise.
51179         [C99-based standards] (UINT16_MAX): Likewise.
51180         [C99-based standards] (UINT32_MAX): Likewise.
51181         [C99-based standards] (UINT64_MAX): Likewise.
51182         [C99-based standards] (INT_LEAST8_MIN): Likewise.
51183         [C99-based standards] (INT_LEAST8_MAX): Likewise.
51184         [C99-based standards] (INT_LEAST16_MIN): Likewise.
51185         [C99-based standards] (INT_LEAST16_MAX): Likewise.
51186         [C99-based standards] (INT_LEAST32_MIN): Likewise.
51187         [C99-based standards] (INT_LEAST32_MAX): Likewise.
51188         [C99-based standards] (INT_LEAST64_MIN): Likewise.
51189         [C99-based standards] (INT_LEAST64_MAX): Likewise.
51190         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
51191         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
51192         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
51193         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
51194         [C99-based standards] (INT_FAST8_MIN): Likewise.
51195         [C99-based standards] (INT_FAST8_MAX): Likewise.
51196         [C99-based standards] (INT_FAST16_MIN): Likewise.
51197         [C99-based standards] (INT_FAST16_MAX): Likewise.
51198         [C99-based standards] (INT_FAST32_MIN): Likewise.
51199         [C99-based standards] (INT_FAST32_MAX): Likewise.
51200         [C99-based standards] (INT_FAST64_MIN): Likewise.
51201         [C99-based standards] (INT_FAST64_MAX): Likewise.
51202         [C99-based standards] (UINT_FAST8_MAX): Likewise.
51203         [C99-based standards] (UINT_FAST16_MAX): Likewise.
51204         [C99-based standards] (UINT_FAST32_MAX): Likewise.
51205         [C99-based standards] (UINT_FAST64_MAX): Likewise.
51206         [C99-based standards] (INTPTR_MIN): Likewise.
51207         [C99-based standards] (INTPTR_MAX): Likewise.
51208         [C99-based standards] (UINTPTR_MAX): Likewise.
51209         [C99-based standards] (INTMAX_MIN): Likewise.
51210         [C99-based standards] (INTMAX_MAX): Likewise.
51211         [C99-based standards] (UINTMAX_MAX): Likewise.
51212         [C99-based standards] (PTRDIFF_MIN): Likewise.
51213         [C99-based standards] (PTRDIFF_MAX): Likewise.
51214         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
51215         [C99-based standards] (SIZE_MAX): Likewise.
51216         [C99-based standards] (WCHAR_MAX): Likewise.
51217         [C99-based standards] (WINT_MAX): Likewise.
51218         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
51219         constraint on value.
51220         [C99-based standards] (WCHAR_MIN): Likewise.
51221         [C99-based standards] (WINT_MIN): Likewise.
51222         [C99-based standards] (*_t): Allow.
51223         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
51224         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
51225         Include math.h-data and complex.h-data.  Remove all expectations
51226         of math.h and complex.h contents.
51227         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
51228         at end of line.
51229         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
51230         (struct tm): Expect tag.
51231         [C99-based-standards] (wcstof): Expect function.
51232         [C99-based-standards] (wcstold): Likewise.
51233         [C99-based-standards] (wcstoll): Likewise.
51234         [C99-based-standards] (wcstoull): Likewise.
51235         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
51236         macro-int-constant.  Specify type.
51237         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
51238         constraint on value.
51239         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51240         Specify type.
51241         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
51242         Specify value.
51243         [ISO C standards]: Do not allow headers.
51244         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
51245         wcs[abcdefghijklmnopqrstuvwxyz]*.
51246         [ISO C standards] (*_t): Do not allow.
51247         * conform/data/wctype.h-data [C99-based standards] (iswblank):
51248         Expect function.
51249         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
51250         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51251         Specify type.
51252         [ISO C standards]: Do not allow headers.
51253         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
51254         is[abcdefghijklmnopqrstuvwxyz]*.
51255         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
51256         to[abcdefghijklmnopqrstuvwxyz]*.
51257         [ISO C standards] (*_t): Do not allow.
51258         * conform/data/stdalign.h-data: New file.
51259         * conform/data/stdbool.h-data: Likewise.
51260         * conform/data/stdnoreturn.h-data: Likewise.
51262 2012-11-07  Roland McGrath  <roland@hack.frob.com>
51264         [BZ #14815]
51265         * manual/filesys.texi (Directory Entries): Typo fix.
51266         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
51268 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51270         * elf/elf.h (EM_AARCH64): New macro.
51271         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
51272         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
51273         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
51274         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
51275         (R_AARCH64_TLSDESC): Likewise.
51276         (NT_ARM_TLS): Likewise.
51277         (NT_ARM_HW_BREAK): Likewise.
51278         (NT_ARM_HW_WATCH): Likewise.
51280 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51282         [BZ #14811]
51283         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
51284         (__ieee754_powl): Saturate nonzero exponents with absolute value
51285         below 0x1p-79 to +/- 0x1p-79.
51286         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
51287         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
51288         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
51289         nonzero exponents with absolute value below 0x1p-32 to +/-
51290         0x1p-32.
51291         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
51292         (__ieee754_powl): Saturate nonzero exponents with absolute value
51293         below 0x1p-79 to +/- 0x1p-79.
51294         * math/libm-test.inc (pow_test): Add more tests.
51296 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51298         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
51299         _dl_s390_cap_flags with kernel. Increase string length.
51300         (_dl_s390_platforms): Add z196 and zEC12.
51302 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51304         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
51305         Change XOPEN21K to XOPEN2K.
51307 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
51309         * string/memmove.c: Use memcpy when possible.
51311 2012-11-06  Andreas Jaeger  <aj@suse.de>
51313         * po/eo.po: Update from translation team.
51315 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
51317         [BZ #14793]
51318         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
51319         exponent and small x and y exponents, scale x or y up.  Increase
51320         by 2 the exponent used in scaling up.
51321         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51322         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51323         * math/libm-test.inc (fma_test): Add more tests.
51324         (fma_test_towardzero): Likewise.
51325         (fma_test_downward): Likewise.
51326         (fma_test_upward): Likewise.
51328 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
51330         [BZ #14805]
51331         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
51332         fenv_t *.
51334         [BZ #14801]
51335         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
51336         namespace for names of struct fields.
51337         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
51338         fenv_t fields.
51339         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
51340         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
51342 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51344         [BZ #3665]
51345         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
51347 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51349         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
51350         PTR_DEMANGLE.
51352         [BZ #5246]
51353         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
51354         PTR_DEMANGLE.
51356 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
51358         [BZ #14797]
51359         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
51360         definitely overflow as x * y not x * y + z.
51361         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51362         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51363         * math/libm-test.inc (fma_test): Add more tests.
51364         (fma_test_towardzero): Likewise.
51365         (fma_test_downward): Likewise.
51366         (fma_test_upward): Likewise.
51368 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51370         [BZ #157]
51372         * include/stub-tag.h: Remove file.
51373         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
51374         '#include' of it.
51375         * manual/maint.texi (Porting): Don't reference it.
51376         * Makerules ($(objpfx)stubs): Likewise.
51377         * dirent/closedir.c: Don't include <stub-tag.h>.
51378         * dirent/dirfd.c: Likewise.
51379         * dirent/fdopendir.c: Likewise.
51380         * dirent/getdents.c: Likewise.
51381         * dirent/getdents64.c: Likewise.
51382         * dirent/opendir.c: Likewise.
51383         * dirent/readdir.c: Likewise.
51384         * dirent/readdir64.c: Likewise.
51385         * dirent/readdir64_r.c: Likewise.
51386         * dirent/readdir_r.c: Likewise.
51387         * dirent/rewinddir.c: Likewise.
51388         * dirent/seekdir.c: Likewise.
51389         * dirent/telldir.c: Likewise.
51390         * gmon/profil.c: Likewise.
51391         * grp/setgroups.c: Likewise.
51392         * inet/if_index.c: Likewise.
51393         * io/access.c: Likewise.
51394         * io/chdir.c: Likewise.
51395         * io/chmod.c: Likewise.
51396         * io/chown.c: Likewise.
51397         * io/close.c: Likewise.
51398         * io/dup.c: Likewise.
51399         * io/dup2.c: Likewise.
51400         * io/dup3.c: Likewise.
51401         * io/euidaccess.c: Likewise.
51402         * io/faccessat.c: Likewise.
51403         * io/fchdir.c: Likewise.
51404         * io/fchmod.c: Likewise.
51405         * io/fchmodat.c: Likewise.
51406         * io/fchown.c: Likewise.
51407         * io/fchownat.c: Likewise.
51408         * io/fcntl.c: Likewise.
51409         * io/flock.c: Likewise.
51410         * io/fstatfs.c: Likewise.
51411         * io/fstatfs64.c: Likewise.
51412         * io/fstatvfs.c: Likewise.
51413         * io/fstatvfs64.c: Likewise.
51414         * io/futimens.c: Likewise.
51415         * io/fxstat.c: Likewise.
51416         * io/fxstat64.c: Likewise.
51417         * io/fxstatat.c: Likewise.
51418         * io/fxstatat64.c: Likewise.
51419         * io/getcwd.c: Likewise.
51420         * io/isatty.c: Likewise.
51421         * io/lchmod.c: Likewise.
51422         * io/lchown.c: Likewise.
51423         * io/link.c: Likewise.
51424         * io/linkat.c: Likewise.
51425         * io/lseek.c: Likewise.
51426         * io/lseek64.c: Likewise.
51427         * io/lxstat64.c: Likewise.
51428         * io/mkdir.c: Likewise.
51429         * io/mkdirat.c: Likewise.
51430         * io/mkfifo.c: Likewise.
51431         * io/mkfifoat.c: Likewise.
51432         * io/open.c: Likewise.
51433         * io/open64.c: Likewise.
51434         * io/openat.c: Likewise.
51435         * io/openat64.c: Likewise.
51436         * io/pipe.c: Likewise.
51437         * io/pipe2.c: Likewise.
51438         * io/poll.c: Likewise.
51439         * io/posix_fadvise.c: Likewise.
51440         * io/posix_fadvise64.c: Likewise.
51441         * io/posix_fallocate.c: Likewise.
51442         * io/posix_fallocate64.c: Likewise.
51443         * io/read.c: Likewise.
51444         * io/readlink.c: Likewise.
51445         * io/readlinkat.c: Likewise.
51446         * io/rmdir.c: Likewise.
51447         * io/sendfile.c: Likewise.
51448         * io/sendfile64.c: Likewise.
51449         * io/statfs.c: Likewise.
51450         * io/statfs64.c: Likewise.
51451         * io/statvfs.c: Likewise.
51452         * io/statvfs64.c: Likewise.
51453         * io/symlink.c: Likewise.
51454         * io/symlinkat.c: Likewise.
51455         * io/ttyname.c: Likewise.
51456         * io/ttyname_r.c: Likewise.
51457         * io/umask.c: Likewise.
51458         * io/unlink.c: Likewise.
51459         * io/unlinkat.c: Likewise.
51460         * io/utime.c: Likewise.
51461         * io/utimensat.c: Likewise.
51462         * io/write.c: Likewise.
51463         * io/xmknod.c: Likewise.
51464         * io/xmknodat.c: Likewise.
51465         * io/xstat.c: Likewise.
51466         * io/xstat64.c: Likewise.
51467         * login/getpt.c: Likewise.
51468         * login/grantpt.c: Likewise.
51469         * login/unlockpt.c: Likewise.
51470         * math/e_acoshl.c: Likewise.
51471         * math/e_acosl.c: Likewise.
51472         * math/e_asinl.c: Likewise.
51473         * math/e_atan2l.c: Likewise.
51474         * math/e_atanhl.c: Likewise.
51475         * math/e_coshl.c: Likewise.
51476         * math/e_expl.c: Likewise.
51477         * math/e_fmodl.c: Likewise.
51478         * math/e_gammal_r.c: Likewise.
51479         * math/e_hypotl.c: Likewise.
51480         * math/e_j0l.c: Likewise.
51481         * math/e_j1l.c: Likewise.
51482         * math/e_jnl.c: Likewise.
51483         * math/e_lgammal_r.c: Likewise.
51484         * math/e_log10l.c: Likewise.
51485         * math/e_log2l.c: Likewise.
51486         * math/e_logl.c: Likewise.
51487         * math/e_powl.c: Likewise.
51488         * math/e_rem_pio2l.c: Likewise.
51489         * math/e_sinhl.c: Likewise.
51490         * math/e_sqrtl.c: Likewise.
51491         * math/fclrexcpt.c: Likewise.
51492         * math/fedisblxcpt.c: Likewise.
51493         * math/feenablxcpt.c: Likewise.
51494         * math/fegetenv.c: Likewise.
51495         * math/fegetexcept.c: Likewise.
51496         * math/fegetround.c: Likewise.
51497         * math/feholdexcpt.c: Likewise.
51498         * math/fesetenv.c: Likewise.
51499         * math/fesetround.c: Likewise.
51500         * math/feupdateenv.c: Likewise.
51501         * math/fgetexcptflg.c: Likewise.
51502         * math/fraiseexcpt.c: Likewise.
51503         * math/fsetexcptflg.c: Likewise.
51504         * math/ftestexcept.c: Likewise.
51505         * math/k_cosl.c: Likewise.
51506         * math/k_rem_pio2l.c: Likewise.
51507         * math/k_sinl.c: Likewise.
51508         * math/k_tanl.c: Likewise.
51509         * math/s_asinhl.c: Likewise.
51510         * math/s_atanl.c: Likewise.
51511         * math/s_cbrtl.c: Likewise.
51512         * math/s_erfl.c: Likewise.
51513         * math/s_expm1l.c: Likewise.
51514         * math/s_log1pl.c: Likewise.
51515         * math/s_tanhl.c: Likewise.
51516         * misc/acct.c: Likewise.
51517         * misc/brk.c: Likewise.
51518         * misc/chflags.c: Likewise.
51519         * misc/chroot.c: Likewise.
51520         * misc/fchflags.c: Likewise.
51521         * misc/fgetxattr.c: Likewise.
51522         * misc/flistxattr.c: Likewise.
51523         * misc/fremovexattr.c: Likewise.
51524         * misc/fsetxattr.c: Likewise.
51525         * misc/fsync.c: Likewise.
51526         * misc/ftruncate.c: Likewise.
51527         * misc/futimes.c: Likewise.
51528         * misc/futimesat.c: Likewise.
51529         * misc/getdomain.c: Likewise.
51530         * misc/getdtsz.c: Likewise.
51531         * misc/gethostid.c: Likewise.
51532         * misc/gethostname.c: Likewise.
51533         * misc/getloadavg.c: Likewise.
51534         * misc/getpagesize.c: Likewise.
51535         * misc/getsysstats.c: Likewise.
51536         * misc/getxattr.c: Likewise.
51537         * misc/gtty.c: Likewise.
51538         * misc/ioctl.c: Likewise.
51539         * misc/lgetxattr.c: Likewise.
51540         * misc/listxattr.c: Likewise.
51541         * misc/llistxattr.c: Likewise.
51542         * misc/lremovexattr.c: Likewise.
51543         * misc/lsetxattr.c: Likewise.
51544         * misc/lutimes.c: Likewise.
51545         * misc/madvise.c: Likewise.
51546         * misc/mincore.c: Likewise.
51547         * misc/mlock.c: Likewise.
51548         * misc/mlockall.c: Likewise.
51549         * misc/mmap.c: Likewise.
51550         * misc/mprotect.c: Likewise.
51551         * misc/msync.c: Likewise.
51552         * misc/munlock.c: Likewise.
51553         * misc/munlockall.c: Likewise.
51554         * misc/munmap.c: Likewise.
51555         * misc/preadv.c: Likewise.
51556         * misc/preadv64.c: Likewise.
51557         * misc/ptrace.c: Likewise.
51558         * misc/pwritev.c: Likewise.
51559         * misc/pwritev64.c: Likewise.
51560         * misc/readv.c: Likewise.
51561         * misc/reboot.c: Likewise.
51562         * misc/remap_file_pages.c: Likewise.
51563         * misc/removexattr.c: Likewise.
51564         * misc/revoke.c: Likewise.
51565         * misc/select.c: Likewise.
51566         * misc/setdomain.c: Likewise.
51567         * misc/setegid.c: Likewise.
51568         * misc/seteuid.c: Likewise.
51569         * misc/sethostid.c: Likewise.
51570         * misc/sethostname.c: Likewise.
51571         * misc/setregid.c: Likewise.
51572         * misc/setreuid.c: Likewise.
51573         * misc/setxattr.c: Likewise.
51574         * misc/sstk.c: Likewise.
51575         * misc/stty.c: Likewise.
51576         * misc/swapoff.c: Likewise.
51577         * misc/swapon.c: Likewise.
51578         * misc/sync.c: Likewise.
51579         * misc/syncfs.c: Likewise.
51580         * misc/syscall.c: Likewise.
51581         * misc/truncate.c: Likewise.
51582         * misc/ualarm.c: Likewise.
51583         * misc/usleep.c: Likewise.
51584         * misc/ustat.c: Likewise.
51585         * misc/utimes.c: Likewise.
51586         * misc/vhangup.c: Likewise.
51587         * misc/writev.c: Likewise.
51588         * posix/_exit.c: Likewise.
51589         * posix/alarm.c: Likewise.
51590         * posix/execve.c: Likewise.
51591         * posix/fexecve.c: Likewise.
51592         * posix/fork.c: Likewise.
51593         * posix/fpathconf.c: Likewise.
51594         * posix/getaddrinfo.c: Likewise.
51595         * posix/getegid.c: Likewise.
51596         * posix/geteuid.c: Likewise.
51597         * posix/getgid.c: Likewise.
51598         * posix/getgroups.c: Likewise.
51599         * posix/getlogin.c: Likewise.
51600         * posix/getlogin_r.c: Likewise.
51601         * posix/getpgid.c: Likewise.
51602         * posix/getpid.c: Likewise.
51603         * posix/getppid.c: Likewise.
51604         * posix/getresgid.c: Likewise.
51605         * posix/getresuid.c: Likewise.
51606         * posix/getsid.c: Likewise.
51607         * posix/getuid.c: Likewise.
51608         * posix/glob64.c: Likewise.
51609         * posix/nanosleep.c: Likewise.
51610         * posix/pathconf.c: Likewise.
51611         * posix/pause.c: Likewise.
51612         * posix/posix_madvise.c: Likewise.
51613         * posix/pread.c: Likewise.
51614         * posix/pread64.c: Likewise.
51615         * posix/pwrite.c: Likewise.
51616         * posix/pwrite64.c: Likewise.
51617         * posix/sched_getaffinity.c: Likewise.
51618         * posix/sched_getp.c: Likewise.
51619         * posix/sched_gets.c: Likewise.
51620         * posix/sched_primax.c: Likewise.
51621         * posix/sched_primin.c: Likewise.
51622         * posix/sched_rr_gi.c: Likewise.
51623         * posix/sched_setaffinity.c: Likewise.
51624         * posix/sched_setp.c: Likewise.
51625         * posix/sched_sets.c: Likewise.
51626         * posix/sched_yield.c: Likewise.
51627         * posix/setgid.c: Likewise.
51628         * posix/setlogin.c: Likewise.
51629         * posix/setpgid.c: Likewise.
51630         * posix/setresgid.c: Likewise.
51631         * posix/setresuid.c: Likewise.
51632         * posix/setsid.c: Likewise.
51633         * posix/setuid.c: Likewise.
51634         * posix/sleep.c: Likewise.
51635         * posix/spawni.c: Likewise.
51636         * posix/sysconf.c: Likewise.
51637         * posix/times.c: Likewise.
51638         * posix/wait.c: Likewise.
51639         * posix/wait3.c: Likewise.
51640         * posix/wait4.c: Likewise.
51641         * posix/waitpid.c: Likewise.
51642         * resolv/gai_sigqueue.c: Likewise.
51643         * resource/getpriority.c: Likewise.
51644         * resource/getrlimit.c: Likewise.
51645         * resource/getrusage.c: Likewise.
51646         * resource/nice.c: Likewise.
51647         * resource/setpriority.c: Likewise.
51648         * resource/setrlimit.c: Likewise.
51649         * resource/ulimit.c: Likewise.
51650         * rt/aio_cancel.c: Likewise.
51651         * rt/aio_fsync.c: Likewise.
51652         * rt/aio_read.c: Likewise.
51653         * rt/aio_sigqueue.c: Likewise.
51654         * rt/aio_suspend.c: Likewise.
51655         * rt/aio_write.c: Likewise.
51656         * rt/clock_getres.c: Likewise.
51657         * rt/clock_gettime.c: Likewise.
51658         * rt/clock_nanosleep.c: Likewise.
51659         * rt/clock_settime.c: Likewise.
51660         * rt/lio_listio.c: Likewise.
51661         * rt/mq_close.c: Likewise.
51662         * rt/mq_getattr.c: Likewise.
51663         * rt/mq_notify.c: Likewise.
51664         * rt/mq_open.c: Likewise.
51665         * rt/mq_receive.c: Likewise.
51666         * rt/mq_send.c: Likewise.
51667         * rt/mq_setattr.c: Likewise.
51668         * rt/mq_timedreceive.c: Likewise.
51669         * rt/mq_timedsend.c: Likewise.
51670         * rt/mq_unlink.c: Likewise.
51671         * rt/shm_open.c: Likewise.
51672         * rt/shm_unlink.c: Likewise.
51673         * rt/timer_create.c: Likewise.
51674         * rt/timer_delete.c: Likewise.
51675         * rt/timer_getoverr.c: Likewise.
51676         * rt/timer_gettime.c: Likewise.
51677         * rt/timer_settime.c: Likewise.
51678         * setjmp/__longjmp.c: Likewise.
51679         * setjmp/setjmp.c: Likewise.
51680         * signal/kill.c: Likewise.
51681         * signal/killpg.c: Likewise.
51682         * signal/raise.c: Likewise.
51683         * signal/sigaction.c: Likewise.
51684         * signal/sigaltstack.c: Likewise.
51685         * signal/sigblock.c: Likewise.
51686         * signal/sigignore.c: Likewise.
51687         * signal/sigintr.c: Likewise.
51688         * signal/signal.c: Likewise.
51689         * signal/sigpause.c: Likewise.
51690         * signal/sigpending.c: Likewise.
51691         * signal/sigqueue.c: Likewise.
51692         * signal/sigreturn.c: Likewise.
51693         * signal/sigset.c: Likewise.
51694         * signal/sigsetmask.c: Likewise.
51695         * signal/sigstack.c: Likewise.
51696         * signal/sigsuspend.c: Likewise.
51697         * signal/sigtimedwait.c: Likewise.
51698         * signal/sigvec.c: Likewise.
51699         * signal/sigwait.c: Likewise.
51700         * signal/sigwaitinfo.c: Likewise.
51701         * signal/sysv_signal.c: Likewise.
51702         * socket/accept.c: Likewise.
51703         * socket/accept4.c: Likewise.
51704         * socket/bind.c: Likewise.
51705         * socket/connect.c: Likewise.
51706         * socket/getpeername.c: Likewise.
51707         * socket/getsockname.c: Likewise.
51708         * socket/getsockopt.c: Likewise.
51709         * socket/isfdtype.c: Likewise.
51710         * socket/listen.c: Likewise.
51711         * socket/recv.c: Likewise.
51712         * socket/recvfrom.c: Likewise.
51713         * socket/recvmsg.c: Likewise.
51714         * socket/send.c: Likewise.
51715         * socket/sendmsg.c: Likewise.
51716         * socket/sendto.c: Likewise.
51717         * socket/setsockopt.c: Likewise.
51718         * socket/shutdown.c: Likewise.
51719         * socket/sockatmark.c: Likewise.
51720         * socket/socket.c: Likewise.
51721         * socket/socketpair.c: Likewise.
51722         * stdio-common/ctermid.c: Likewise.
51723         * stdio-common/cuserid.c: Likewise.
51724         * stdio-common/remove.c: Likewise.
51725         * stdio-common/rename.c: Likewise.
51726         * stdio-common/renameat.c: Likewise.
51727         * stdio-common/tempname.c: Likewise.
51728         * stdlib/getcontext.c: Likewise.
51729         * stdlib/makecontext.c: Likewise.
51730         * stdlib/setcontext.c: Likewise.
51731         * stdlib/swapcontext.c: Likewise.
51732         * stdlib/system.c: Likewise.
51733         * streams/fattach.c: Likewise.
51734         * streams/fdetach.c: Likewise.
51735         * streams/getmsg.c: Likewise.
51736         * streams/getpmsg.c: Likewise.
51737         * streams/putmsg.c: Likewise.
51738         * streams/putpmsg.c: Likewise.
51739         * sysdeps/unix/bsd/getpt.c: Likewise.
51740         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
51741         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
51742         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
51743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51744         Likewise.
51745         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
51746         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51747         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
51748         * sysvipc/msgctl.c: Likewise.
51749         * sysvipc/msgget.c: Likewise.
51750         * sysvipc/msgrcv.c: Likewise.
51751         * sysvipc/msgsnd.c: Likewise.
51752         * sysvipc/semctl.c: Likewise.
51753         * sysvipc/semget.c: Likewise.
51754         * sysvipc/semop.c: Likewise.
51755         * sysvipc/semtimedop.c: Likewise.
51756         * sysvipc/shmat.c: Likewise.
51757         * sysvipc/shmctl.c: Likewise.
51758         * sysvipc/shmdt.c: Likewise.
51759         * sysvipc/shmget.c: Likewise.
51760         * termios/tcdrain.c: Likewise.
51761         * termios/tcflow.c: Likewise.
51762         * termios/tcflush.c: Likewise.
51763         * termios/tcgetattr.c: Likewise.
51764         * termios/tcgetpgrp.c: Likewise.
51765         * termios/tcsendbrk.c: Likewise.
51766         * termios/tcsetattr.c: Likewise.
51767         * termios/tcsetpgrp.c: Likewise.
51768         * time/adjtime.c: Likewise.
51769         * time/clock.c: Likewise.
51770         * time/getitimer.c: Likewise.
51771         * time/gettimeofday.c: Likewise.
51772         * time/setitimer.c: Likewise.
51773         * time/settimeofday.c: Likewise.
51774         * time/stime.c: Likewise.
51775         * time/time.c: Likewise.
51777 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
51779         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
51780         /usr/old/bin.
51782         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
51783         instead of spaces.
51784         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
51786 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
51788         [BZ #14796]
51789         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
51790         FE_TONEAREST before applying Dekker multiplication and Knuth
51791         addition.  Clear inexact exceptions and check for exact zero
51792         results afterwards.
51793         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51794         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51795         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51796         * math/libm-test.inc (fma_test): Add more tests.
51797         (fma_test_towardzero): Likewise.
51798         (fma_test_downward): Likewise.
51799         (fma_test_upward): Likewise.
51800         * sysdeps/generic/math_private.h (default_libc_fesetround): New
51801         function.
51802         (libc_fesetround): New macro.
51803         (libc_fesetroundf): Likewise.
51804         (libc_fesetroundl): Likewise.
51805         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
51806         function.
51807         (libc_fesetround_387): Likewise.
51808         (libc_fesetroundf): New macro.
51809         (libc_fesetround): Likewise.
51810         (libc_fesetroundl): Likewise.
51811         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
51812         function.
51813         (libc_fesetroundf): New macro.
51814         (libc_fesetround): Likewise.
51815         (libc_fesetroundl): Likewise.
51816         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
51817         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
51818         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
51819         libm_hidden_ver.
51820         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
51821         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
51822         libm_hidden_def.
51823         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
51824         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
51825         libm_hidden_ver.
51826         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
51827         libm_hidden_def.
51829         [BZ #3439]
51830         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
51831         integer constant usable in #if and use that to give value to enum
51832         constant.
51833         (FE_DIVBYZERO): Likewise.
51834         (FE_UNDERFLOW): Likewise.
51835         (FE_OVERFLOW): Likewise.
51836         (FE_INVALID): Likewise.
51837         (FE_INVALID_SNAN): Likewise.
51838         (FE_INVALID_ISI): Likewise.
51839         (FE_INVALID_IDI): Likewise.
51840         (FE_INVALID_ZDZ): Likewise.
51841         (FE_INVALID_IMZ): Likewise.
51842         (FE_INVALID_COMPARE): Likewise.
51843         (FE_INVALID_SOFTWARE): Likewise.
51844         (FE_INVALID_SQRT): Likewise.
51845         (FE_INVALID_INTEGER_CONVERSION): Likewise.
51846         (FE_TONEAREST): Likewise.
51847         (FE_TOWARDZERO): Likewise.
51848         (FE_UPWARD): Likewise.
51849         (FE_DOWNWARD): Likewise.
51850         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
51851         (FE_DIVBYZERO): Likewise.
51852         (FE_OVERFLOW): Likewise.
51853         (FE_UNDERFLOW): Likewise.
51854         (FE_INEXACT): Likewise.
51855         (FE_TONEAREST): Likewise.
51856         (FE_DOWNWARD): Likewise.
51857         (FE_UPWARD): Likewise.
51858         (FE_TOWARDZERO): Likewise.
51859         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
51860         (FE_UNDERFLOW): Likewise.
51861         (FE_OVERFLOW): Likewise.
51862         (FE_DIVBYZERO): Likewise.
51863         (FE_INVALID): Likewise.
51864         (FE_TONEAREST): Likewise.
51865         (FE_TOWARDZERO): Likewise.
51866         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
51867         (FE_OVERFLOW): Likewise.
51868         (FE_UNDERFLOW): Likewise.
51869         (FE_DIVBYZERO): Likewise.
51870         (FE_INEXACT): Likewise.
51871         (FE_TONEAREST): Likewise.
51872         (FE_TOWARDZERO): Likewise.
51873         (FE_UPWARD): Likewise.
51874         (FE_DOWNWARD): Likewise.
51875         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
51876         (FE_DIVBYZERO): Likewise.
51877         (FE_OVERFLOW): Likewise.
51878         (FE_UNDERFLOW): Likewise.
51879         (FE_INEXACT): Likewise.
51880         (FE_TONEAREST): Likewise.
51881         (FE_DOWNWARD): Likewise.
51882         (FE_UPWARD): Likewise.
51883         (FE_TOWARDZERO): Likewise.
51885 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
51887         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
51889 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
51891         * scripts/cross-test-ssh.sh (command): Use newlines to separate
51892         commands.  Quote $PWD.
51893         (blacklist_exports): Don't use remove_newlines.  Replace "declare
51894         -x" by "export".
51895         (remove_newlines): Remove.
51897 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
51899         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
51900         * stdlib/stdlib.h (atof): Moved to ...
51901         * include/bits/stdlib-float.h: Here.  New file.
51902         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
51903         * stdlib/bits/stdlib-float.h: New file.
51904         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
51905         -mno-sse -mno-mmx.
51906         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
51907         <xmmintrin.h>.
51909 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
51911         * conform/conformtest.pl (@headers): Add fenv.h.
51912         * conform/data/fenv.h-data: New file.
51913         * include/fenv.h [_ISOMAC]: Disable all contents of file except
51914         include of <math/fenv.h>.
51916         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
51917         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
51918         && !UNIX98].  Enables tests for XOPEN2K8.
51919         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
51920         POSIX2008]: Likewise.
51922         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
51923         (struct rusage): Do not expect type or its members.
51925         [BZ #3439]
51926         * math/math.h (FP_NAN): Define macro to integer constant usable in
51927         #if and use that to give value to enum constant.
51928         (FP_INFINITE): Likewise.
51929         (FP_ZERO): Likewise.
51930         (FP_SUBNORMAL): Likewise.
51931         (FP_NORMAL): Likewise.
51933 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
51935         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
51936         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
51937         arguments.
51939 2012-11-02  Roland McGrath  <roland@hack.frob.com>
51941         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
51942         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
51943         autoconf-time if not.
51944         * configure.in: Remove AC_PREREQ.
51946 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51948         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
51949         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
51950         of the internal implementation.
51952 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
51954         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
51955         except include of <misc/sys/syslog.h>.
51957 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
51960         function returns with a NULL context exit with zero.
51962 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51964         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
51966 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
51968         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
51969         (run_program_cmd): This.
51970         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
51971         (tst_langinfo): New variable.  Use it.
51973 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
51975         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
51976         floating point opcodes.
51978 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51980         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
51981         variable.
51983         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
51985         * sysdeps/mach/hurd/powerpc: Remove directory.
51986         * sysdeps/mach/powerpc: Likewise.
51988 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51990         * scripts/check-local-headers.sh: Ignore c++ headers.
51992 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51994         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
51995         __libc_cleanup_region_start argument.
51997 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
51999         [BZ #14784]
52000         [BZ #14785]
52001         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
52002         x * y using scaling, not as x * y + z.
52003         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52004         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52005         * math/libm-test.inc (fma_test): Add more tests.
52006         (fma_test_towardzero): Likewise.
52007         (fma_test_downward): Likewise.
52008         (fma_test_upward): Likewise.
52010 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52012         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
52014 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
52016         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
52017         New variable.
52019 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
52021         * rt/tst-shm.c (worker): Correct checking for mmap failure.
52023 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
52025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52026         Fix sort order.
52027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52028         Likewise.
52030 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52033         Fix the order of the list for glibc 2.17.
52034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52035         Likewise.
52037 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
52039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52041 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
52043         [BZ #14610]
52044         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
52045         for low part of x being zero before using __atanl (y).
52046         * math/libm-test.inc (atan2_test): Add another test.
52048         * manual/install.texi (Configuring and compiling): Document
52049         general use of test-wrapper and test-wrapper-env.
52050         * INSTALL: Regenerated.
52052         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
52053         (__fma): Do not extract and scale down low bits on after-rounding
52054         systems when result rounded to normal precision would have normal
52055         exponent.
52056         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
52057         (__fmal): Do not extract and scale down low bits on after-rounding
52058         systems when result rounded to normal precision would have normal
52059         exponent.
52060         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
52061         (__fmal): Do not extract and scale down low bits on after-rounding
52062         systems when result rounded to normal precision would have normal
52063         exponent.
52064         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
52065         macro.
52066         (fma_test): Add more tests.
52067         (fma_test_towardzero): Likewise.
52068         (fma_test_downward): Likewise.
52069         (fma_test_upward): Likewise.
52071 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
52073         * sysdeps/i386/tininess.h: Renamed to ...
52074         * sysdeps/x86/tininess.h: This.
52075         * sysdeps/x86_64/tininess.h: Removed.
52077 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
52079         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
52080         input.  Use $(build-program-cmd).
52081         ($(objpfx)tst-array1-static.out): Likewise.
52082         ($(objpfx)tst-array2.out): Likewise.
52083         ($(objpfx)tst-array3.out): Likewise.
52084         ($(objpfx)tst-array4.out): Likewise.
52085         ($(objpfx)tst-array5.out): Likewise.
52086         ($(objpfx)tst-array5-static.out): Likewise.
52088 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
52090         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
52091         if defined.
52093         * nss/nsswitch.h (nss_interface_function): Provide new
52094         macro for use with NSS functions.
52095         * grp/initgroups.c: Use new macro.
52096         * nss/getXXbyYY.c: Likewise.
52097         * nss/getXXbyYY_r.c: Likewise.
52098         * nss/getXXent.c: Likewise.
52099         * nss/getXXent_r.c: Likewise.
52100         * sysdeps/posix/getaddrinfo.c: Likewise.
52102 2012-10-30  Andreas Jaeger  <aj@suse.de>
52104         * po/ru.po: Update Russion translation from translation project.
52106 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
52108         [BZ #14152]
52109         [BZ #14783]
52110         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
52111         result and shift together with sticky bit instead of replicating
52112         round-to-nearest rounding.
52113         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52114         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52115         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
52116         missing underflow exceptions.
52117         (fma_test_towardzero): Add more tests.
52118         (fma_test_downward): Likewise.
52119         (fma_test_upward): Likewise.
52121         [BZ #14047]
52122         * sysdeps/generic/tininess.h: New file.
52123         * sysdeps/i386/tininess.h: Likewise.
52124         * sysdeps/sh/tininess.h: Likewise.
52125         * sysdeps/x86_64/tininess.h: Likewise.
52126         * stdlib/tst-strtod-underflow.c: Likewise.
52127         * stdlib/tst-tininess.c: Likewise.
52128         * stdlib/strtod_l.c: Include <tininess.h>.
52129         (round_and_return): Do not set errno for exact underflow cases.
52130         Force an underflow exception when setting errno for underflow.
52131         Determine underflow based on rounding to normal precision if
52132         TININESS_AFTER_ROUNDING.
52133         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
52134         ERANGE for exact underflow cases.
52135         * stdlib/Makefile (tests): Add tst-tininess and
52136         tst-strtod-underflow.
52137         ($(objpfx)tst-tininess): Use $(link-libm).
52138         ($(objpfx)tst-strtod-underflow): Likewise.
52140 2012-10-30  Andreas Jaeger  <aj@suse.de>
52142         [BZ#14767]
52143         * elf/Makefile (tests): Remove conditional for have-initfini-array
52144         since this is now always required and the variable does not exist
52145         anymore.
52146         (tests-static): Likewise.
52147         (modules-names): Likewise.
52149         * po/eo.po: Add Esperanto translation from translation project.
52151         * elf/tst-array1.c (fini_array): Make writeable so that it can be
52152         merged with constructor/destructor.
52153         (init_array): Likewise.
52154         * elf/tst-array2dep.c (fini_array): Likewise.
52155         (init_array): Likewise.
52157 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
52159         * manual/message.texi: Delete @cartouche tags.
52161 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
52163         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
52164         EOPNOTSUPP.
52165         * sysdeps/mach/hurd/fsync.c: Likewise.
52167         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
52168         [_POSIX_REALTIME_SIGNALS]: Change condition to
52169         [_POSIX_REALTIME_SIGNALS > 0].
52171 2012-10-27  Andreas Jaeger  <aj@suse.de>
52173         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
52174         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
52175         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
52176         [__WORDSIZE != 64]: Likewise.
52178 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
52180         *  iconvdata/tst-table.sh: Remove ${SHELL}.
52181         *  iconvdata/tst-tables.sh: Likewise.
52183 2012-10-25  David S. Miller  <davem@davemloft.net>
52185         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52186         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
52187         of strtoull.
52189         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
52190         ifunc-impl-list.c
52191         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52192         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
52193         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
52194         file.
52196 2012-10-25  Roland McGrath  <roland@hack.frob.com>
52198         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52199         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
52200         __getdirentries.
52202 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
52203             Jim Blandy  <jimb@codesourcery.com>
52205         * scripts/cross-test-ssh.sh: New file.
52206         * manual/install.texi (Configuring and compiling): Document use of
52207         cross-test-ssh.sh.
52208         * INSTALL: Regenerated.
52210 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
52212         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
52213         EOPNOTSUPP.
52215 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
52217         * Makeconfig (run-program-prefix): Fix comment.
52219 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
52220             Jim Blandy  <jimb@codesourcery.com>
52222         * Makeconfig (test-wrapper): New variable,
52223         (test-wrapper-env): Likewise.
52224         [$(cross-compiling) = yes && $(test-wrapper) != ""]
52225         (run-built-tests): Define to yes.
52226         (run-program-prefix): Use $(test-wrapper).
52227         (built-program-cmd): Likewise.
52228         * Rules (make-test-out): Use $(test-wrapper-env) and
52229         $(host-built-program-cmd).
52230         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
52231         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
52232         tst-pathopt.sh.
52233         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
52234         $(test-wrapper-env) to tst-rtld-load-self.sh.
52235         ($(objpfx)order2.out): Use $(test-wrapper).
52236         ($(objpfx)tst-initorder.out): Likewise.
52237         ($(objpfx)tst-initorder2.out): Likewise.
52238         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
52239         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
52240         (test_wrapper_env): New variable.  Use it to run ld.so.
52241         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
52242         Use it to run ld.so.
52243         (test_wrapper_env): Likewise.
52244         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
52245         $(test-wrapper) to run-iconv-test.sh.
52246         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
52247         (ICONV): Use $test_wrapper.
52248         * posix/Makefile ($(objpfx)globtest.out): Pass
52249         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
52250         globtest.sh, not $(run-program-prefix).
52251         * posix/globtest.sh (run_via_rtld_prefix): New variable.
52252         (test_wrapper): Likewise.
52253         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
52254         set together with run_via_rtld_prefix.
52255         (run_program_prefix): Define in terms of test_wrapper and
52256         run_via_rtld_prefix.
52258 2012-10-24  Roland McGrath  <roland@hack.frob.com>
52260         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
52261         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
52262         Targets removed.
52264         [BZ #14743]
52265         * include/time.h: Remove librt_hidden_proto (clock_gettime).
52266         Declare __clock_getres, __clock_gettime, __clock_settime,
52267         __clock_nanosleep, and __clock_getcpuclockid.
52268         * rt/clock_gettime.c: Define __clock_gettime as an alias.
52269         Remove librt_hidden_def (clock_gettime).
52270         * sysdeps/unix/clock_gettime.c: Likewise.
52271         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
52272         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
52273         * rt/clock_getres.c: Define __clock_getres as an alias.
52274         * sysdeps/posix/clock_getres.c: Likewise.
52275         * rt/clock_settime.c: Define __clock_settime as an alias.
52276         * sysdeps/unix/clock_settime.c: Likewise.
52277         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
52278         * sysdeps/unix/clock_nanosleep.c: Likewise.
52279         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
52280         * rt/clock-compat.c: New file.
52281         * rt/Makefile (librt-routines): Add clock-compat and move
52282         $(clock-routines) to ...
52283         (routines): ... here, new variable.
52284         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
52285         Don't add get_clockfreq here.
52286         * rt/Versions (libc: GLIBC_2.17): New version set.
52287         Add clock_* symbols here.
52288         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
52289         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
52290         (GLIBC_2.17): Add clock_* symbols.
52291         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
52292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
52293         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52295         Likewise.
52296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52297         Likewise.
52298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52299         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
52300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
52301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
52302         * NEWS: Mention the move.
52304         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52305         Use __open, __read, __close rather than their public counterparts.
52306         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52307         (__get_clockfreq_via_cpuinfo): Likewise.
52308         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
52309         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
52311         * config.h.in (HAVE_IFUNC): New #undef.
52312         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
52313         was successful.
52314         * configure: Regenerated.
52316 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52318         * configure.in: Move READELF check to start of file.
52319         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
52320         libc_cv_asm_gnu_indirect_function in the process.
52321         * configure: Regenerated.
52323 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52325         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
52326         send the output to /dev/null.
52327         (libc_cv_cc_with_libunwind): Likewise.
52328         (libc_cv_as_noexecstack): Likewise.
52329         * configure: Regenerate.
52331 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
52333         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
52335         * posix/globtest.sh (TMPDIR): Do not set.
52336         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
52337         (testout): Likewise.
52339 2012-10-24  Andreas Jaeger  <aj@suse.de>
52341         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
52342         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
52343         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
52344         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
52345         posix_fadvise64, posix_fallocate64.
52347         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
52348         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
52349         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
52350         Likewise.
52351         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
52352         Likewise.
52353         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
52355         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
52356         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
52357         <bits/fcntl-linux.h>.
52358         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
52360         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
52361         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
52362         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
52363         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
52364         [__WORDSIZE != 64]: Likewise.
52366 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
52368         * Makeconfig (run-built-tests): New variable.
52369         * Rules [$(cross-compiling) = yes]: Change condition to
52370         [$(run-built-tests) = no].
52371         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
52372         to [$(run-built-tests) = yes].
52373         * elf/Makefile [$(cross-compiling) = no]: Likewise.
52374         * grp/Makefile [$(cross-compiling) = no]: Likewise.
52375         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
52376         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
52377         * intl/Makefile [$(cross-compiling) = no]: Likewise.
52378         * io/Makefile [$(cross-compiling) = no]: Likewise.
52379         * libio/Makefile [$(cross-compiling) = no]: Likewise.
52380         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
52381         * misc/Makefile [$(cross-compiling) = no]: Likewise.
52382         * posix/Makefile [$(cross-compiling) = no]: Likewise.
52383         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
52384         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
52385         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
52386         * string/Makefile [$(cross-compiling) = no]: Likewise.
52388         * posix/Makefile ($(objpfx)globtest.out): Pass
52389         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
52390         $(rtld-installed-name).
52391         * posix/globtest.sh (elf_objpfx): Remove variable.
52392         (rtld_installed_name): Likewise.
52393         (library_path): Likewise.
52394         (run_program_prefix): New variable.  Use for running globtest
52395         binary.
52397 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
52398             Joseph Myers  <joseph@codesourcery.com>
52400         * Makeconfig (host-built-program-cmd): New variable.
52401         * elf/Makefile (tst-stackguard1-ARGS): Use
52402         $(host-built-program-cmd).
52403         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
52404         (tst-spawn-ARGS): Likewise.
52405         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
52407 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
52408             Jim Blandy  <jimb@codesourcery.com>
52410         * Makeconfig (run-via-rtld-prefix): New variable.
52411         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
52412         (built-program-cmd): Likewise.
52414 2012-10-22  Andreas Jaeger  <aj@suse.de>
52416         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
52417         __O_RSYNC if it exists, otherwise to O_SYNC.
52419 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
52420             Joseph Myers  <joseph@codesourcery.com>
52422         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
52423         /dev/null.
52424         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
52425         from /dev/null
52426         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
52427         /dev/null.
52429 2012-10-22  Andreas Jaeger  <aj@suse.de>
52431         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
52432         Define always.
52433         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
52435         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52436         bits/fcntl-linux.h.
52438         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
52439         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
52441         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
52442         to __O_LARGEFILE.
52443         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
52444         to __O_LARGEFILE.
52446 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
52447             Joseph Myers  <joseph@codesourcery.com>
52449         * config.make.in (NM): New variable.
52451 2012-10-21  Andreas Jaeger  <aj@suse.de>
52453         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
52454         definitions and declarations that are provided by
52455         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52457 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
52459         [BZ #14683]
52460         * elf/Makefile (tests-static): Add tst-leaks1-static.
52461         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
52462         ($(objpfx)tst-leaks1-static): New rule.
52463         ($(objpfx)tst-leaks1-static-mem): Likewise.
52464         (tst-leaks1-static-ENV): New macro.
52465         * elf/dl-open.c (dl_open_worker): Check the main application
52466         only if SHARED is defined.
52467         * elf/tst-leaks1-static.c: New file.
52469 2012-10-20  Andreas Jaeger  <aj@suse.de>
52471         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
52472         generic values for Linux.
52473         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
52474         and declarations that are provided by <bits/fcntl-linux.h> and
52475         include <bits/fcntl-linux.h>.
52476         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52477         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52479 2012-10-20  Roland McGrath  <roland@hack.frob.com>
52481         * io/fcntl.h: Move include of <bits/types.h> to the top and
52482         include it unconditionally.
52484 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
52486         * wcsmbs/Makefile (tests-ifunc): New variable.
52487         (tests): Add $(tests-ifunc).
52488         * wcsmbs/test-wcschr-ifunc.c: New file.
52489         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
52490         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
52491         * wcsmbs/test-wcslen-ifunc.c: Likewise.
52492         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
52493         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
52495         * string/Makefile (tests-ifunc): New variable.
52496         (tests): Add $(tests-ifunc).
52497         * string/test-memccpy.c (TEST_NAME): New macro.
52498         * string/test-memchr.c (TEST_NAME): Likewise.
52499         * string/test-memcmp.c (TEST_NAME): Likewise.
52500         * string/test-memcpy.c (TEST_NAME): Likewise.
52501         * string/test-memmem.c (TEST_NAME): Likewise.
52502         * string/test-memmove.c (TEST_NAME): Likewise.
52503         * string/test-memset.c (TEST_NAME): Likewise.
52504         * string/test-rawmemchr.c (TEST_NAME): Likewise.
52505         * string/test-stpcpy.c (TEST_NAME): Likewise.
52506         * string/test-stpncpy.c (TEST_NAME): Likewise.
52507         * string/test-strcasecmp.c (TEST_NAME): Likewise.
52508         * string/test-strcasestr.c (TEST_NAME): Likewise.
52509         * string/test-strcat.c (TEST_NAME): Likewise.
52510         * string/test-strchr.c (TEST_NAME): Likewise.
52511         * string/test-strcmp.c(TEST_NAME): Likewise.
52512         * string/test-strcpy.c (TEST_NAME): Likewise.
52513         * string/test-strcspn.c (TEST_NAME): Likewise.
52514         * string/test-strlen.c (TEST_NAME): Likewise.
52515         * string/test-strncasecmp.c (TEST_NAME): Likewise.
52516         * string/test-strncmp.c (TEST_NAME): Likewise.
52517         * string/test-strncpy.c (TEST_NAME): Likewise.
52518         * string/test-strnlen.c (TEST_NAME): Likewise.
52519         * string/test-strpbrk.c (TEST_NAME): Likewise.
52520         * string/test-strrchr.c (TEST_NAME): Likewise.
52521         * string/test-strspn.c (TEST_NAME): Likewise.
52522         * string/test-strstr.c (TEST_NAME): Likewise.
52523         * string/test-bcopy-ifunc.c: New file.
52524         * string/test-bzero-ifunc.c: Likewise.
52525         * string/test-memccpy-ifunc.c: Likewise.
52526         * string/test-memchr-ifunc.c: Likewise.
52527         * string/test-memcmp-ifunc.c: Likewise.
52528         * string/test-memcpy-ifunc.c: Likewise.
52529         * string/test-memmem-ifunc.c: Likewise.
52530         * string/test-memmove-ifunc.c: Likewise.
52531         * string/test-mempcpy-ifunc.c: Likewise.
52532         * string/test-memset-ifunc.c: Likewise.
52533         * string/test-rawmemchr-ifunc.c: Likewise.
52534         * string/test-stpcpy-ifunc.c: Likewise.
52535         * string/test-stpncpy-ifunc.c: Likewise.
52536         * string/test-strcasecmp-ifunc.c: Likewise.
52537         * string/test-strcasestr-ifunc.c: Likewise.
52538         * string/test-strcat-ifunc.c: Likewise.
52539         * string/test-strchr-ifunc.c: Likewise.
52540         * string/test-strchrnul-ifunc.c: Likewise.
52541         * string/test-strcmp-ifunc.c: Likewise.
52542         * string/test-strcpy-ifunc.c: Likewise.
52543         * string/test-strcspn-ifunc.c: Likewise.
52544         * string/test-strlen-ifunc.c: Likewise.
52545         * string/test-strncasecmp-ifunc.c: Likewise.
52546         * string/test-strncat-ifunc.c: Likewise.
52547         * string/test-strncmp-ifunc.c: Likewise.
52548         * string/test-strncpy-ifunc.c: Likewise.
52549         * string/test-strnlen-ifunc.c: Likewise.
52550         * string/test-strpbrk-ifunc.c: Likewise.
52551         * string/test-strrchr-ifunc.c: Likewise.
52552         * string/test-strspn-ifunc.c: Likewise.
52553         * string/test-strstr-ifunc.c: Likewise.
52555         * debug/Makefile (tests-ifunc): New variable.
52556         (tests): Add $(tests-ifunc).
52557         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
52558         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
52559         * debug/test-stpcpy_chk-ifunc.c: New file.
52560         * debug/test-strcpy_chk-ifunc.c: Likewise.
52562 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52564         [BZ #13601]
52565         * elf/dl-load.c (open_verify): Retry read if the entire ELF
52566         header is not read in.
52568 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
52570         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
52571         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
52572         directly.  Pass built executable to script as
52573         $(built-program-cmd).
52574         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
52575         $testprogram without using LD_LIBRARY_PATH and $ldso.
52577         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
52578         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
52579         $(rtld-installed-name).
52580         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
52581         (rtld_installed_name): Likewise.
52582         (library_path): Likewise.
52583         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
52584         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
52585         $(run-program-prefix) to tst-tables.sh.
52586         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
52587         it to run tst-table-from and tst-table-to.
52588         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
52589         Pass it to tst-table.sh.
52590         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
52591         $(run-program-prefix) to tst-gettext.sh.
52592         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
52593         tst-translit.sh.
52594         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
52595         tst-gettext2.sh.
52596         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
52597         to run tst-gettext.
52598         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
52599         to run tst-gettext2.
52600         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
52601         to run tst-translit.
52602         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
52603         $(run-program-prefix) to tst-mtrace.sh.
52604         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
52605         to run tst-mtrace.
52606         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
52607         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
52608         $(rtld-installed-name).
52609         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
52610         (rtld_installed_name): Likewise.
52611         (run_program_prefix): New variable.  Use it to run wordexp-test.
52613         * Makeconfig (ARCH): Remove all definitions.
52614         (machine): Likewise.
52615         [ARCH]: Remove conditional code.
52616         [!objdir]: Give error.
52617         [!objdir] (objpfx): Remove.
52618         [!objdir] (common-objpfx): Likewise.
52619         [!objdir] (common-objdir): Likewise.
52620         * configure.in (config_makefile): Remove.  Hardcode Makefile in
52621         AC_CONFIG_FILES call.
52622         * configure: Regenerated.
52624         [BZ #13888]
52625         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
52626         or TMPDIR.
52627         (testout): Likewise.
52629         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
52630         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
52631         $(rtld-installed-name).
52632         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
52633         (rtld_installed_name): Likwise.
52634         (runit): Remove function.
52635         (run_getconf): New variable,  Use it for running getconf binary.
52637 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
52639         [BZ #14716]
52640         * string/test-memmem.c (check_result): New function.
52641         (do_one_test): Use it.
52642         (check1): New function.
52643         (test_main): Use it.
52645 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
52647         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
52649 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
52651         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
52652         (_G_LSEEK64): Likewise.
52653         (_G_MMAP64): Likewise.
52654         (_G_FSTAT64): Likewise.
52655         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
52656         (_G_LSEEK64): Likewise.
52657         (_G_MMAP64): Likewise.
52658         (_G_FSTAT64): Likewise.
52659         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
52660         unconditional.  Call __mmap64 directly.
52661         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
52662         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
52663         __lseek64 directly.
52664         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
52665         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
52666         __mmap64 directly.
52667         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
52668         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
52669         __lseek64 directly.
52670         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
52671         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
52672         __lseek64 directly.
52673         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
52674         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
52675         __lseek64 directly.
52676         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
52677         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
52678         __fxstat64 directly.
52679         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
52680         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
52681         unconditional.
52682         (freopen64) [!_G_OPEN64]: Remove conditional code.
52683         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
52684         unconditional.
52685         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
52686         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
52687         unconditional.
52688         (ftello64) [!_G_LSEEK64]: Remove conditional code.
52689         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
52690         unconditional.
52691         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
52692         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
52693         unconditional.
52694         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
52695         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
52696         unconditional.
52697         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
52698         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
52699         unconditional.
52700         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
52701         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
52702         unconditional.
52703         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
52705 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52707         [BZ #12140]
52708         * manual/memory.texi (Malloc Tunable Parameters): Add note
52709         about free list pointers overwriting some perturb bytes.
52710         Wording suggested by Roland McGrath.
52712 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
52714         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
52715         (lgamma_test): Likewise.
52716         (tgamma_test): Likewise.
52718 2012-10-16  Florian Weimer  <fweimer@redhat.com>
52720         [BZ #14700]
52721         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
52722         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
52724 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
52726         * NEWS: Mention BZ #14716.
52727         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
52728         when removing AVAILABLE1_USES_J macro.
52730 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
52732         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
52733         (__bswap_64): __uint64_t for unsigned 64-bit int.
52735 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
52737         * include/string.h (memmem): Declare libc hidden alias.
52738         * string/memmem.c (memmem): Define libc hidden alias.
52739         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
52740         __read, __close instead of open, read, close.
52742 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
52744         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
52745         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
52746         global and hidden.
52747         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
52748         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
52749         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
52750         Likewise.
52751         (__rawmemchr_sse2): Likewise.
52752         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
52753         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
52754         (__strchr_sse2): Likewise.
52755         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
52756         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
52757         (__strcasecmp_sse2): Likewise.
52758         (__strncasecmp_sse2): Likewise.
52759         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
52760         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
52761         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
52762         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
52763         (__strrchr_sse2): Likewise.
52764         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
52765         ifunc-impl-list.c.
52766         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
52767         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
52768         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
52769         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52770         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
52771         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
52772         * sysdeps/x86_64/multiarch/memset.S: Likewise.
52773         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52774         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
52775         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
52776         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
52777         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
52778         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
52779         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
52780         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
52781         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
52782         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
52783         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
52784         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
52785         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
52786         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
52787         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
52788         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
52789         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52790         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
52791         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52792         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
52793         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
52794         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
52795         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
52797         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
52798         global and hidden.
52799         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
52800         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
52801         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
52802         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
52803         Likewise.
52804         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
52805         Likewise.
52806         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
52807         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
52808         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
52809         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
52810         ifunc-impl-list.c.
52811         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52812         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52813         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52814         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52815         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52816         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52817         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52818         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52819         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52820         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52821         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52822         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52823         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52824         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
52825         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
52826         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52827         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
52828         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
52829         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52830         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52831         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52832         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52833         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52834         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52835         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52836         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
52837         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
52838         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
52839         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
52840         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52841         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
52842         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52843         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52844         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
52845         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52846         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52847         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52848         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52849         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52850         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52851         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
52853         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
52854         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
52855         * include/ifunc-impl-list.h: New file.
52856         * misc/ifunc-impl-list.c: Likewise.
52857         * misc/Makefile (routines): Add ifunc-impl-list.
52858         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
52859         * string/test-string.h: Include <ifunc-impl-list.h>.
52860         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
52861         TEST_NAME]: New variables.
52862         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
52863         are defined.
52864         (test_init): Call __libc_ifunc_impl_list to initialize
52865         func_list if TEST_IFUNC and TEST_NAME are defined.
52867         * string/Makefile (strop-tests): Add bcopy and bzero.
52868         * string/test-bcopy.c: New file.
52869         * string/test-bzero.c: Likewise.
52870         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
52871         defined.
52872         * string/test-memset.c: Support bzero test if TEST_BZERO is
52873         defined.
52874         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
52875         __libc_memmove.
52876         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
52877         __libc_memset.
52878         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
52879         of memset.
52881 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
52883         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
52884         * configure: Regenerated.
52886         * Makeconfig (+link-static-before-libc): Don't include
52887         $(link-static-libc).
52889         * libio/libio.h (_IO_pos_t): Remove.
52891 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52893         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
52894         McGrath.
52896 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52898         * crypt/crypt-entry.c: Include fips-private.h.
52899         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
52900         * crypt/md5c-test.c (main): Tolerate disabled MD5.
52901         * sysdeps/unix/sysv/linux/fips-private.h: New file.
52902         * sysdeps/generic/fips-private.h: New file, dummy fallback.
52904 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52906         * crypt/crypt-private.h: Include stdbool.h.
52907         (_ufc_setup_salt_r): Return bool.
52908         * crypt/crypt-entry.c: Include errno.h.
52909         (__crypt_r): Return NULL with EINVAL for bad salt.
52910         * crypt/crypt_util.c (bad_for_salt): New.
52911         (_ufc_setup_salt_r): Check that salt is long enough and within
52912         the specified alphabet.
52913         * crypt/badsalttest.c: New file.
52914         * crypt/Makefile (tests): Add it.
52915         ($(objpfx)badsalttest): New.
52917 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
52919         * NEWS: Add entry for BZ #14602.
52921 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
52923         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
52924         type-generic.
52925         * math/libm-test.inc: Update comment listing what functions and
52926         macros are tested.
52927         (isgreater_test): New function.
52928         (isgreaterequal_test): Likewise.
52929         (isless_test): Likewise.
52930         (islessequal_test): Likewise.
52931         (islessgreater_test): Likewise.
52932         (isunordered_test): Likewise.
52933         (main): Call the new functions.
52935 2012-10-09  Roland McGrath  <roland@hack.frob.com>
52937         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
52938         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
52939         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
52940         * sysdeps/i386/configure: Regenerated.
52941         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
52942         * sysdeps/mach/configure: Regenerated.
52943         * sysdeps/mach/hurd/configure: Regenerated.
52944         * sysdeps/powerpc/configure: Regenerated.
52945         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52946         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52947         * sysdeps/s390/s390-32/configure: Regenerated.
52948         * sysdeps/s390/s390-64/configure: Regenerated.
52949         * sysdeps/sh/configure: Regenerated.
52950         * sysdeps/sparc/configure: Regenerated.
52951         * sysdeps/unix/sysv/linux/configure: Regenerated.
52952         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
52953         * sysdeps/x86_64/configure: Regenerated.
52955         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
52956         defined.  Don't check if MAP is NULL.
52958 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
52960         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
52961         (_G_stat64): Likewise.
52962         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
52963         (_G_stat64): Likewise.
52964         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
52965         instead of struct _G_stat64.
52966         * libio/fileops.c (mmap_remap_check): Likewise.
52967         (decide_maybe_mmap): Likewise.
52968         (_IO_new_file_seekoff): Likewise.
52969         (_IO_file_stat): Likewise.
52970         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
52971         _G_off64_t.
52972         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
52973         instead of struct _G_stat64.
52974         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52976 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
52978         [BZ #14602]
52979         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52980         Replace with ...
52981         (CHECK_EOL): New macro.
52982         (two_way_short_needle): Check beginning of haystack for EOL.  Use
52983         CHECK_EOL.
52984         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52985         Replace with CHECK_EOL.
52986         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52987         Replace with CHECK_EOL.
52989 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
52991         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
52992         type-generic.
52993         * math/libm-test.inc: Update comment listing what functions and
52994         macros are tested.
52995         (finite_test): New function.
52996         (isinf_test): Likewise.
52997         (isnan_test): Likewise.
52998         (fpclassify_test): Test subnormal input.
52999         (isfinite_test): Likewise.
53000         (isnormal_test): Likewise.
53001         (main): Call the new functions.
53003 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
53005         [BZ #14660]
53006         * Makerules (%.dynsym): Force C locale when running
53007         $(OBJDUMP) --dynamic-syms.
53009 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
53011         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
53012         <stdint.h>.
53014 2012-10-06  David S. Miller  <davem@davemloft.net>
53016         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
53017         upper 32-bits of the length value in %o2 since we use branch-on-register
53018         tests which consider the entire 64-bit register.
53020 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
53022         * string/test-strstr.c (check2): Add a test for page boundary.
53024 2012-10-05  David S. Miller  <davem@davemloft.net>
53026         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
53027         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
53028         file.
53029         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53030         sysdep_routines.
53031         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53032         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
53033         and bzero when HWCAP_SPARC_CRYPTO is present.
53035 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
53037         [BZ #14602]
53038         * string/test-strstr.c (check2): New function.
53039         (test_main): Call check2.
53041         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
53042         and bug-strchr1.
53043         * string/bug-strcasestr1.c (do_test): Moved to ...
53044         * string/test-strcasestr.c (check1): Here.  New function.
53045         (do_one_test): Break out result checking code into ...
53046         (check_result): This.  New function.
53047         (do_one_test): Call check_result.
53048         (test_main): Call check1.
53049         * string/bug-strchr1.c (do_test): Moved to ...
53050         * string/test-strchr.c (check1): Here.  New function.
53051         (do_one_test): Break out result checking code into ...
53052         (check_result): This.  New function.
53053         (do_one_test): Call check_result.
53054         (test_main): Call check1.
53055         * string/bug-strstr1.c (main): Moved to ...
53056         * string/test-strstr.c (check1): Here.  New function.
53057         (do_one_test): Break out result checking code into ...
53058         (check_result): This.  New function.
53059         (do_one_test): Call check_result.
53060         (test_main): Call check1.
53061         * string/bug-strcasestr1.c: Removed.
53062         * string/bug-strchr1.c: Likewise.
53063         * string/bug-strstr1.c: Likewise.
53065         * elf/Makefile (dl-routines): Add hwcaps.
53066         * elf/dl-support.c (_dl_important_hwcaps): Removed.
53067         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
53068         (_dl_important_hwcaps): Moved to ...
53069         * elf/dl-hwcaps.c: Here.  New file.
53070         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
53072         [BZ #14557]
53073         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
53074         if IS_IN_rtld isn't defined.
53076         * elf/dl-support.c (_dl_sysinfo_map): New.
53077         Include "get-dynamic-info.h" and "setup-vdso.h".
53078         (_dl_non_dynamic_init): Call setup_vdso.
53079         * elf/dynamic-link.h: Don't include <assert.h>.
53080         (elf_get_dynamic_info): Moved to ...
53081         * elf/get-dynamic-info.h: Here.  New file.
53082         * elf/dynamic-link.h: Include "get-dynamic-info.h".
53083         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
53084         * elf/setup-vdso.h: Here.  New file.
53085         * elf/rtld.c: Include "setup-vdso.h".
53086         (dl_main): Call setup_vdso.
53088 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
53090         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
53091         creal in comment listing functions tested.  List finite, isinf,
53092         isnan, isless, islessequal, isgreater, isgreaterequal,
53093         islessgreater, isunordered, lgamma_r and pow10 as functions and
53094         macros not tested.  Mention which functions not tested are aliases
53095         for other functions.  Fix typo.  Note that signs of NaNs are not
53096         tested.
53098         * scripts/config.guess: Update from config.git.
53099         * scripts/config.sub: Likewise.
53101 2012-10-04  Roland McGrath  <roland@hack.frob.com>
53103         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
53104         * misc/madvise.c (madvise): Renamed to __madvise.
53105         Make madvise a weak alias.
53106         * include/sys/mman.h: Declare __madvise.
53107         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
53108         * sysdeps/unix/syscalls.list
53109         (madvise): Make __madvise the strong name, and madvise a weak alias.
53110         * sysdeps/unix/sysv/linux/syscalls.list
53111         (madvise, mmap): Remove redundant entries.
53112         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
53113         * malloc/malloc.c (mtrim): Likewise.
53114         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
53116 2012-10-03  Roland McGrath  <roland@hack.frob.com>
53118         * sysdeps/mach/hurd/dl-cache.c: File removed.
53119         * config.h.in (USE_LDCONFIG): New #undef.
53120         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
53121         * configure: Regenerated.
53122         * elf/Makefile (dl-routines): Add dl-cache only under
53123         [$(use-ldconfig) = yes].
53124         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
53125         cache on [USE_LDCONFIG].
53126         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
53127         [USE_LDCONFIG].
53128         * elf/rtld.c (dl_main): Likewise.
53130 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
53132         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
53133         _SC_LEVEL4_CACHE_LINESIZE.
53135 2012-10-03  Roland McGrath  <roland@hack.frob.com>
53137         * sysdeps/unix/bsd/confstr.h: File removed.
53139 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
53141         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
53142         sys/sdt-config.h.
53144 2012-10-02  Roland McGrath  <roland@hack.frob.com>
53146         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
53147         Make 'mapoff' field ElfW(Off) rather than off_t.
53149 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
53151         * nscd/Makefile: Remove nscd-cflags and all its users.
53152         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
53153         (CFLAGS-nonlib): Add compiler flags for nscd modules.
53155         [BZ #10631]
53156         * malloc.c (malloc_printerr): Clarify error message.
53158 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
53160         [BZ #14648]
53161         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53162         Set bit_FMA_Usable if FMA is supported.
53163         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
53164         macro.
53165         (bit_FMA4_Usable): Updated.
53166         (index_FMA_Usable): New macro.
53167         (CPUID_FMA): Likewise.
53168         (HAS_FMA): Defined with bit_FMA_Usable.
53170 2012-10-01  Roland McGrath  <roland@hack.frob.com>
53172         * bits/types.h (__swblk_t): Type removed.
53173         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
53174         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
53175         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53176         (__SWBLK_T_TYPE): Likewise.
53177         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53178         (__SWBLK_T_TYPE): Likewise.
53179         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53180         (__SWBLK_T_TYPE): Likewise.
53181         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53182         (__SWBLK_T_TYPE): Likewise.
53184 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
53185             Honza Horak <hhorak@redhat.com>
53187         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
53188         (xdr_mapname): Use YPMAXMAP as maxsize.
53189         (xdr_peername): Use YPMAXPEER as maxsize.
53190         (xdr_keydat): Use YPAXRECORD as maxsize.
53191         (xdr_valdat): Use YPMAXRECORD as maxsize.
53193 2012-10-01  Roland McGrath  <roland@hack.frob.com>
53195         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
53197         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
53198         * csu/init-first.c: ... here.
53199         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
53200         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
53201         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
53202         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
53203         * sysdeps/i386/init-first.c: File removed.
53204         * sysdeps/sh/init-first.c: File removed.
53206 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
53208         [BZ #14645]
53209         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
53210         if x * y might underflow to zero and z is zero.
53211         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53212         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53213         * math/libm-test.inc (min_subnorm_value): New variable.
53214         (fma_test): Add more tests.
53215         (fma_test_towardzero): Likewise.
53216         (fma_test_downward): Likewise.
53217         (fma_test_upward): Likewise.
53218         (initialize): Set min_subnorm_value.
53220 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
53222         [BZ #14638]
53223         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
53224         0 + 0.
53225         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
53226         mode for addition resulting in exact zero.
53227         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
53228         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
53229         exact 0 + 0.
53230         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53231         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53232         * math/libm-test.inc (fma_test): Add more tests.
53233         (fma_test_towardzero): New function.
53234         (fma_test_downward): Likewise.
53235         (fma_test_upward): Likewise.
53236         (main): Call the new functions.
53238 2012-09-28  David S. Miller  <davem@davemloft.net>
53240         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
53242 2012-09-28  Roland McGrath  <roland@hack.frob.com>
53244         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
53245         instead of SIGALRM.
53247         * sysdeps/gnu/_G_config.h: Moved to ...
53248         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
53249         * sysdeps/mach/hurd/_G_config.h: Moved to ...
53250         * sysdeps/generic/_G_config.h: ... here.
53252         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
53254         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
53256         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
53257         Conditionalize target on [libnss_test1.so-version].
53259         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
53261         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
53262         (elfobjdir): Move out of conditionals.
53264         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
53265         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
53266         (__nss_lookup_function): Conditionalize label remove_from_tree on
53267         [!DO_STATIC_NSS || SHARED], matching its only use.
53269 2012-09-28  David S. Miller  <davem@davemloft.net>
53271         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
53272         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
53273         file.
53274         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53275         sysdep_routines.
53276         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53277         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
53278         when HWCAP_SPARC_CRYPTO is present.
53280 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53282         * io/tst-mknodat.c: Create a FIFO instead of a socket.
53284 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
53286         [BZ #6530]
53287         * stdio-common/vfprintf.c (process_string_arg): Revert
53288         2000-07-22 change.
53290 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
53292         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
53293         for testcase.
53294         * stdio-common/tst-sprintf.c: Include <locale.h>
53295         (main): Test sprintf's handling of incomplete multibyte
53296         characters.
53298 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
53300         * elf/dl-runtime.c (VERSYMIDX): Removed.
53301         * elf/dl-version.c (VERSYMIDX): Likewise.
53302         * elf/do-rel.h (VERSYMIDX): Likewise.
53303         (VALIDX): Likewise.
53304         * elf/dynamic-link.h (VERSYMIDX): Likewise.
53305         * elf/rtld.c (VALIDX): Likewise.
53306         (ADDRIDX): Likewise.
53307         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
53308         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
53309         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
53310         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
53311         (VALIDX): Likewise.
53312         (ADDRIDX): Likewise.
53314 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53316         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
53318 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
53320         [BZ #11438]
53321         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
53322         to global scope.
53323         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
53324         addresses are in the same scope as 192.0.2/24.
53325         * posix/gai.conf: Document new scope table defaults.
53327 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53329         [BZ #5298]
53330         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
53331         for ftell.  Compute offsets from write pointers instead.
53332         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53334 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53336         [BZ #14543]
53337         * libio/Makefile (tests): New test case tst-fseek.
53338         * libio/tst-fseek.c: New test case to verify that fseek/ftell
53339         combination works in wide mode.
53340         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
53341         state when the external buffer state changes.
53343 2012-09-27  David S. Miller  <davem@davemloft.net>
53345         [BZ #14376]
53346         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
53347         pass reloc->r_addend in as the 'high' argument to
53348         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
53350         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53352 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53354         * rt/tst-aio2.c: Include <pthread.h>.
53355         * rt/tst-aio3.c: Likewise.
53357 2012-09-27  Steve Ellcey  <sellcey@mips.com>
53359         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
53361 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
53363         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
53364         contents on [SHARED].
53366 2012-09-26  Marek Polacek  <polacek@redhat.com>
53368         [BZ #14530]
53369         [BZ #13741]
53370         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
53371         for C++ and GCC <4.3 as well as for non GCC compilers.
53373 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
53375         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53377 2012-09-25  Roland McGrath  <roland@hack.frob.com>
53379         * Makefile.in (all, install): Declare with .PHONY.
53380         Reported by Michael Hope <michael.hope@linaro.org>.
53382 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53384         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
53385         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
53386         system header.
53387         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
53388         Likewise.
53389         (sydep_routines): Add the new and the internal functions.
53390         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
53391         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
53392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
53393         (GLIBC_2.17): Add the new function.
53394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
53395         (GLIBC_2.17): Likewise.
53396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
53397         (GLIBC_2.17): Likewise.
53398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
53399         (GLIBC_2.17): Likewise.
53400         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
53402 2012-09-25  Alan Modra  <amodra@gmail.com>
53404         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
53405         Add release barrier before setting once_control to say
53406         initialisation is done.  Add hints on lwarx.  Use macro in
53407         place of isync.
53408         (clear_once_control): Add release barrier.
53410 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
53412         [BZ #13629]
53413         * math/s_clog.c (__clog): Handle more values close to |z| = 1
53414         specially.
53415         * math/s_clog10.c (__clog10): Likewise.
53416         * math/s_clog10f.c (__clog10f): Likewise.
53417         * math/s_clog10l.c (__clog10l): Likewise.
53418         * math/s_clogf.c (__clogf): Likewise.
53419         * math/s_clogl.c (__clogl): Likewise.
53420         * math/Makefile (libm-calls): Add x2y2m1.
53421         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
53422         (__x2y2m1): Likewise.
53423         (__x2y2m1l): Likewise.
53424         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
53425         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
53426         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
53427         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
53428         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
53429         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
53430         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
53431         * sysdeps/i386/fpu/libm-test-ulps: Update.
53432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53434         [BZ #14621]
53435         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
53436         int as type of variable DEPTH.
53437         (glob): Use size_t instead of int as type of variables NEWCOUNT
53438         and OLD_PATHC.
53440 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53442         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53443         Add s_sincosf-sse2.
53444         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
53445         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
53446         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
53447         macros for using routine as __sincosf_ia32.
53448         Use macro for function declaration and weak_alias.
53449         * sysdeps/i386/fpu/libm-test-ulps: Update.
53451         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
53452         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53454         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
53455         subnormal argument.
53456         * math/s_cexpf.c (__cexpf): Likewise.
53457         * math/s_csinf.c (__csinf): Likewise.
53458         * math/s_csinhf.c (__csinhf): Likewise.
53459         * math/s_ctanf.c (__ctanf): Likewise.
53460         * math/s_ctanhf.c (__ctanhf): Likewise.
53461         * math/s_ccosh.c (__ccoshf): Likewise.
53462         * math/s_cexp.c (__cexpl): Likewise.
53463         * math/s_csin.c (__csin): Likewise.
53464         * math/s_csinh.c (__csinh): Likewise.
53465         * math/s_ctan.c (__ctan): Likewise.
53466         * math/s_ctanh.c (ctanh): Likewise.
53467         * math/s_ccoshl.c (__ccoshl): Likewise.
53468         * math/s_cexpl.c (__cexpl): Likewise.
53469         * math/s_csinl.c (__csinl): Likewise.
53470         * math/s_csinhl.c (__csinhl): Likewise.
53471         * math/s_ctanl.c (__ctanl): Likewise.
53472         * math/s_ctanhl.c (__ctanhl): Likewise.
53474 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
53476         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
53477         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
53478         (_IO_off_t): Define to __off_t, not _G_off_t.
53479         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
53480         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
53481         (_IO_wint_t): Define to wint_t, not _G_wint_t.
53482         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
53483         type of __dummy and __dummy2 fields.
53484         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
53485         (_G_ssize_t): Likewise.
53486         (_G_off_t): Likewise.
53487         (_G_pid_t): Likewise.
53488         (_G_uid_t): Likewise.
53489         (_G_wchar_t): Likewise.
53490         (_G_wint_t): Likewise.
53491         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
53492         (_G_ssize_t): Likewise.
53493         (_G_off_t): Likewise.
53494         (_G_pid_t): Likewise.
53495         (_G_uid_t): Likewise.
53496         (_G_wchar_t): Likewise.
53497         (_G_wint_t): Likewise.
53498         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
53499         (_G_ssize_t): Likewise.
53500         (_G_off_t): Likewise.
53501         (_G_pid_t): Likewise.
53502         (_G_uid_t): Likewise.
53503         (_G_wchar_t): Likewise.
53504         (_G_wint_t): Likewise.
53506 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53508         * malloc/arena.c: Include malloc-sysdep.h.
53509         (shrink_heap): Use check_may_shrink_heap to decide if madvise
53510         is sufficient to shrink the heap or an unmap is needed.
53511         * sysdeps/generic/malloc-sysdep.h: New file.  Define
53512         new function check_may_shrink_heap.
53513         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
53514         new function check_may_shrink_heap.
53516 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53518         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
53519         comments.
53521 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
53523         * catgets/test-gencat.sh: Add "set -e".
53524         * elf/tst-pathopt.sh: Likewise.
53525         * grp/tst_fgetgrent.sh: Likewise.
53526         * iconvdata/run-iconv-test.sh: Likewise.
53527         * intl/tst-gettext.sh: Likewise.
53528         * intl/tst-gettext2.sh: Likewise.
53529         * intl/tst-gettext4.sh: Likewise.
53530         * intl/tst-gettext6.sh: Likewise.
53531         * intl/tst-translit.sh: Likewise.
53532         * io/ftwtest-sh: Likewise.
53533         * libio/test-freopen.sh: Likewise.
53534         * malloc/tst-mtrace.sh: Likewise.
53535         * posix/globtest.sh: Likewise.
53536         * posix/tst-getconf.sh: Likewise.
53537         * posix/wordexp-tst.sh: Likewise.
53538         * stdio-common/tst-printf.sh: Likewise.
53539         * stdio-common/tst-unbputc.sh: Likewise.
53540         * stdlib/tst-fmtmsg.sh: Likewise.
53541         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53542         * catgets/Makefile: Do not specify -e option when running
53543         testsuite shell scripts.
53544         * elf/Makefile: Likewise.
53545         * grp/Makefile: Likewise.
53546         * iconvdata/Makefile: Likewise.
53547         * intl/Makefile: Likewise.
53548         * io/Makefile: Likewise.
53549         * libio/Makefile: Likewise.
53550         * malloc/Makefile: Likewise.
53551         * posix/Makefile: Likewise.
53552         * stdio-common/Makefile: Likewise.
53553         * stdlib/Makefile: Likewise.
53554         * sysdeps/x86_64/Makefile: Likewise.
53556         * io/ftwtest-sh: Add copyright header.
53557         * posix/globtest.sh: Likewise.
53558         * posix/tst-getconf.sh: Likewise.
53559         * posix/wordexp-tst.sh: Likewise.
53560         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53562 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
53564         [BZ #13679]
53565         * Makeconfig (+link): Defined as $(+link-static) if
53566         $(build-shared) isn't yes.
53567         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
53568         isn't yes.
53569         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
53571         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
53573         [BZ #14562]
53574         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
53575         new chunk size with MALLOC_ALIGN_MASK.
53577 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
53579         [BZ #5044]
53580         * stdio-common/printf_fphex.c: Include <stdbool.h> and
53581         <rounding-mode.h>.
53582         (__printf_fphex): Determine rounding using get_rounding_mode and
53583         round_away.
53584         * stdio-common/tst-printf-round.c (struct hex_test): New
53585         structure.
53586         (hex_tests): New variable.
53587         (test_hex_in_one_mode): New function.
53588         (do_test): Also run tests for hex float output.
53590 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
53592         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
53593         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
53594         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
53595         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
53596         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
53597         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
53598         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
53599         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
53601 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
53603         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
53604         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
53605         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
53606         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
53608 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
53610         [BZ #14579]
53611         * elf/rtld.c (dl_main): Limit the check for self loading to normal
53612         mode only.
53613         * elf/tst-rtld-load-self.sh: New test.
53614         * elf/Makefile: Run it.
53616 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
53618         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
53619         (tst-writev-ENV): Remove.
53620         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
53622 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
53624         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
53626 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
53628         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
53629         unconditional.
53630         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
53631         Likewise.
53632         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
53633         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
53634         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
53635         Likewise.
53637 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
53639         [BZ #14587]
53640         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
53641         * config.make.in (have-cpp-asm-debuginfo): Removed.
53642         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
53643         * configure: Regenerated.
53645 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
53647         [BZ #5044]
53648         * stdio-common/printf_fp.c: Include <stdbool.h> and
53649         <rounding-mode.h>.
53650         (___printf_fp): Determine rounding using get_rounding_mode and
53651         round_away.
53652         * stdio-common/tst-printf-round.c: New file.
53653         * stdio-common/Makefile (tests): Add tst-printf-round.
53654         (link-libm): New variable.
53655         ($(objpfx)tst-printf-round): Depend in $(link-libm).
53657 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
53659         [BZ #14576]
53660         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
53661         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
53662         Likewise.
53663         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
53664         Likewise.
53666 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
53668         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
53669         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53670         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53671         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53673 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
53675         [BZ #14518]
53676         * include/rounding-mode.h: New file.
53677         * sysdeps/generic/get-rounding-mode.h: Likewise.
53678         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
53679         * stdlib/strtod_l.c: Include <rounding-mode.h>.
53680         (MAX_VALUE): New macro.
53681         (MIN_VALUE): Likewise.
53682         (overflow_value): New function.
53683         (underflow_value): Likewise.
53684         (round_and_return): Use overflow_value and underflow_value to
53685         determine return values in overflow and underflow cases.  Use
53686         round_away to determine rounding depending on rounding mode.
53687         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
53688         determine return values in overflow and underflow cases.
53689         * stdlib/tst-strtod-round.c: Include <fenv.h>.
53690         (struct test_results): New structure.
53691         (struct test): Use struct test_results to store expected results
53692         for all rounding modes.
53693         (TEST): Include expected results for all rounding modes.
53694         (test_in_one_mode): New function.
53695         (do_test): Use test_in_one_mode to compute and check results.
53696         Check results for all rounding modes.
53697         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
53698         $(link-libm).
53700 2012-12-09  Allan McRae  <allan@archlinux.org>
53702         * sysdeps/i386/fpu/libm-test-ulps: Update
53704 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
53706         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
53707         (_G_int32_t): Likewise.
53708         (_G_uint16_t): Likewise.
53709         (_G_uint32_t): Likewise.
53710         (_G_HAVE_BOOL): Likewise.
53711         (_G_HAVE_ATEXIT): Likewise.
53712         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53713         (_G_HAVE_IO_FILE_OPEN): Likewise.
53714         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
53715         (_G_int32_t): Likewise.
53716         (_G_uint16_t): Likewise.
53717         (_G_uint32_t): Likewise.
53718         (_G_HAVE_BOOL): Likewise.
53719         (_G_HAVE_ATEXIT): Likewise.
53720         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53721         (_G_HAVE_IO_FILE_OPEN): Likewise.
53722         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
53723         (_G_int32_t): Likewise.
53724         (_G_uint16_t): Likewise.
53725         (_G_uint32_t): Likewise.
53726         (_G_HAVE_BOOL): Likewise.
53727         (_G_HAVE_ATEXIT): Likewise.
53728         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53729         (_G_HAVE_IO_FILE_OPEN): Likewise.
53731 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
53733         * csu/libc-tls.c: Update copyright years.
53735 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
53737         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
53738         [!_G_USING_THUNKS]: Remove conditional code.
53739         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
53740         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
53742         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
53743         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
53744         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53745         (_G_VTABLE_LABEL_PREFIX): Likewise.
53746         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53747         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53748         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53749         (_G_VTABLE_LABEL_PREFIX): Likewise.
53750         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53751         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53752         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53753         (_G_VTABLE_LABEL_PREFIX): Likewise.
53754         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53756 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
53758         * libio/Makefile: Include ../Makeconfig before tests.
53759         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
53760         only if $(build-shared) is yes.
53762         * iconv/gconv_db.c: Update copyright years.
53764 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53766         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
53767         unwind info if defined PIC. Fix special cases description.
53768         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
53770         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
53771         DP_HI_MASK entry.
53772         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
53774 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
53776         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
53778         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
53779         is NULL.
53781         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
53782         (LDLIBS-tst-chk4): This.
53783         (LDFLAGS-tst-chk5): Renamed to ...
53784         (LDLIBS-tst-chk5): This.
53785         (LDFLAGS-tst-chk6): Renamed to ...
53786         (LDLIBS-tst-chk6): This.
53787         (LDFLAGS-tst-lfschk4): Renamed to ...
53788         (LDLIBS-tst-lfschk4): This.
53789         (LDFLAGS-tst-lfschk5): Renamed to ...
53790         (LDLIBS-tst-lfschk5): This.
53791         (LDFLAGS-tst-lfschk6): Renamed to ...
53792         (LDLIBS-tst-lfschk6): This.
53794         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
53795         on $(common-objpfx)soversions.mk.
53797 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
53799         [BZ #10014]
53800         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
53801         example host name.
53803 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53805         * malloc/arena.c (arena_get_retry): New function that gets
53806         another arena for the caller to try its request on.
53807         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
53808         current arena cannot fulfill the request.
53809         (__libc_memalign): Likewise.
53810         (__libc_memalign): Likewise.
53811         (__libc_pvalloc): Likewise.
53812         (__libc_calloc): Likewise.
53814 2012-09-05  John Tobey  <john.tobey@gmail.com>
53816         [BZ #13542]
53817         * manual/arith.texi (Operations on Complex): Fix description
53818         of carg branch cut.
53820 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
53822         [BZ #10014]
53823         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
53824         host name.
53826         [BZ #10038]
53827         * manual/memory.texi (Memory): Make order of menu items match
53828         order of sections.
53830 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53832         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
53833         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
53834         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
53836 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53838         * csu/libc-tls.c (static_dtv): Renamed to ...
53839         (_dl_static_dtv): This.  Make it global.
53840         (_dl_initial_dtv): Removed.
53841         (__libc_setup_tls): Updated.
53842         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
53843         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
53844         DL_INITIAL_DTV.
53846 2012-09-06  Petr Machata  <pmachata@redhat.com>
53848         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
53849         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
53850         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
53851         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
53853 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53855         [BZ #14545]
53856         * csu/libc-tls.c (_dl_initial_dtv): New variable.
53857         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
53858         freeing dtv[-1].
53860 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53862         [BZ #14544]
53863         * Makeconfig (link-static-before-libc): Replace $(+prector)
53864         with $(+prectorT).
53865         (link-static-after-libc): Replace $(+postctor) with
53866         $(+postctorT).
53867         (link-bounded): Replace $(+prector)/$(+postctor) with
53868         $(+prectorT)/$(+postctorT).
53869         (+prectorT): New macro.
53870         (+postctorT): Likewise.
53872 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
53874         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
53875         (round_str): Handle values above the maximum for IBM long double
53876         as inexact.
53877         * stdlib/tst-strtod-round.c (tests): Regenerated.
53879 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53881         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
53882         assembler flag.
53883         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
53884         zarch_nohighgprs around the zarch optimized routines.
53885         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
53886         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
53887         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
53888         for zarch.
53890 2012-09-05  David S. Miller  <davem@davemloft.net>
53892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53894         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
53895         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
53896         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
53897         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53898         entries.
53900 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53902         * malloc/arena.c: Fold copyright years.
53903         * malloc/mcheck.c, malloc/memusage.c: Likewise.
53905 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53907         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
53909 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53911         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
53913 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53915         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
53916         change internal state upon failure.
53918 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53920         * malloc/mcheck.c (mcheck_check_all): Fix typo.
53921         * malloc/memusage.c (mmap): Likewise.
53922         (mmap64, mremap): Likewise.  Adjust name in comment.
53924 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53926         * libio/fileops.c: Fix typos in comments.
53927         * libio/oldfileops.c: Likewise.
53928         * libio/wfileops.c: Likewise.
53930 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53932         [BZ #1349]
53933         * malloc/Makefile (tests): Add tst-malloc-usable test case.
53934         (tst-malloc-usable-ENV): Set environment for test case.
53935         * malloc/hooks.c (malloc_check_get_size): New function to get
53936         requested size.
53937         * malloc/malloc.c (musable): Use malloc_check_get_size.
53938         * malloc/tst-malloc-usable.c: New test case.
53940 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53942         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
53944 2012-09-05  Allan McRae  <allan@archlinux.org>
53946         [BZ #13966]
53947         * configure.in (CXX_SYSINCLUDES): Use compiler output to
53948         determine header location.
53949         * configure: Regenerated.
53951 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53953         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
53954         float format.
53955         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
53956         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
53957         format.
53958         (test): Regenerate.
53960 2012-09-04  David S. Miller  <davem@davemloft.net>
53962         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
53963         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
53964         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
53966 2012-09-04  Florian Weimer  <fweimer@redhat.com>
53968         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
53969         failures.
53971         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
53973 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
53975         [BZ #9914]
53976         * libio/iogetdelim.c: Include <limits.h>.
53977         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
53978         + len + 1 would overflow.
53980 2012-09-03  Andreas Jaeger  <aj@suse.de>
53982         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53983         * sysdeps/i386/fpu/libm-test-ulps: Update.
53985 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53987         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53988         Add s_sinf-sse2, s_conf-sse2.
53990         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
53991         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
53992         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
53993         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
53995         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
53996         for using routine as __sinf_ia32.
53997         Use macro for function declaration and weak_alias.
53998         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
53999         for using routine as __cosf_ia32.
54000         Use macro for function declaration and weak_alias.
54002         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
54003         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
54005         * sysdeps/x86_64/fpu/s_sinf.S: New file.
54006         * sysdeps/x86_64/fpu/s_cosf.S: New file.
54007         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54009         * math/libm-test.inc (cos_test): Add more test cases.
54010         (sin_test): Likewise.
54011         (sincos_test): Likewise.
54013 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54015         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
54016         (IFUNC_RESOLVE): Make pointers to the specialized implementations
54017         hidden.
54018         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54020 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
54022         [BZ #14538]
54023         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
54024         first element of the GOT.
54025         (elf_machine_load_address): Return the difference between
54026         the runtime address of _DYNAMIC and elf_machine_dynamic ().
54028 2012-09-01  Allan McRae  <allan@archlinux.org>
54030         [BZ #13412]
54031         * configure.in (AWK): Require gawk version 3.0 or later.
54032         * configure: Regenerated.
54034 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
54036         * sysdeps/unix/sysv/linux/kernel-features.h
54037         (__ASSUME_POSIX_CPU_TIMERS): Remove.
54038         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54039         [__NR_clock_getres]: Make code unconditional.
54040         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
54041         (clock_getcpuclockid): Remove code left unreachable by removal of
54042         conditionals.
54043         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
54044         code unconditional.
54045         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54046         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54047         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
54048         Make code unconditional.
54049         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54050         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54051         * sysdeps/unix/sysv/linux/clock_settime.c
54052         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
54053         conditional code.
54054         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
54055         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54057 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
54059         [BZ #14476]
54060         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
54061         scripts/test-installation.pl.
54063         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
54064         and $ld_so_version if it is set.
54066 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54068         [BZ #14516]
54069         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
54070         failure if reading from procfs failed.
54071         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
54073 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
54075         * sysdeps/unix/sysv/linux/kernel-features.h
54076         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
54077         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54078         Remove conditional code.
54079         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54080         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
54081         Remove conditional code.
54082         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54083         * sysdeps/unix/sysv/linux/i386/fxstat.c
54084         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54085         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54086         * sysdeps/unix/sysv/linux/i386/fxstatat.c
54087         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54088         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54089         * sysdeps/unix/sysv/linux/i386/lxstat.c
54090         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54091         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54092         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
54093         Remove conditional code.
54094         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54095         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54096         Remove conditional code.
54097         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54098         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
54099         <kernel-features.h>.
54100         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
54101         Remove.
54102         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
54103         Remove conditional code.
54104         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54105         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
54106         Remove conditional.
54108 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
54110         [BZ #5400]
54111         * NEWS: Add fixed bug number.
54113 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
54115         [BZ #14519]
54116         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
54117         underflowing exponent in case of negative sign.
54118         * stdlib/tst-strtod-round-data: Add more tests.
54119         * stdlib/tst-strtod-round.c (tests): Regenerated.
54121         [BZ #3479]
54122         * stdlib/strtod_l.c (NDIG): Remove.
54123         (HEXNDIG): Likewise.
54124         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
54125         smallest representable value.
54126         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
54127         lie within an exact representation of 1/2 ulp of the result.
54128         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
54129         unconditionally.
54130         (TENS_P9_IDX): Define unconditionally.
54131         (TENS_P9_SIZE): Likewise.
54132         (TENS_P10_IDX): Likewise.
54133         (TENS_P10_SIZE): Likewise.
54134         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
54135         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
54136         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
54137         entries for 10^2^13 and 10^2^14.
54138         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
54139         (TENS_P13_IDX): Define.
54140         (TENS_P13_SIZE): Likewise.
54141         (TENS_P14_IDX): Likewise.
54142         (TENS_P14_SIZE): Likewise.
54143         (_fpioconst_pow10): Change array size to
54144         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
54145         unconditional.
54146         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
54147         1024]: Add entries for 10^2^13 and 10^2^14.
54148         [LAST_POW10 > _LAST_POW10]: Remove #error.
54149         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
54150         (_fpioconst_pow10): Change array size to
54151         FPIOCONST_POW10_ARRAY_SIZE.
54152         * stdlib/gen-fpioconst.c: New file.
54153         * stdlib/gen-tst-strtod-round.c: Likewise.
54154         * stdlib/tst-strtod-round-data: Likewise.
54155         * stdlib/tst-strtod-round.c: Likewise.
54156         * stdlib/Makefile (tests): Add tst-strtod-round.
54158         [BZ #14459]
54159         * stdlib/strtod_l.c: Include <stdint.h>.
54160         (NDEBUG): Do not define.
54161         (round_and_return): Change EXPONENT parameter to type intmax_t.
54162         Rearrange calculations to avoid internal overflow possibilities.
54163         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
54164         Rearrange calculations to avoid internal overflow possibilities.
54165         Assert that number fits inside MPNSIZE limbs.
54166         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
54167         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
54168         calculations and add assertions to avoid internal overflow
54169         possibilities.  Add casts to avoid signed/unsigned operations.
54170         * stdlib/tst-strtod-overflow.c: New file.
54171         * stdlib/Makefile (tests): Add tst-strtod-overflow.
54173 2012-08-25  Marek Polacek  <polacek@redhat.com>
54175         * time/time.h: Fix some typos in comments.
54177 2012-08-23  Roland McGrath  <roland@hack.frob.com>
54179         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
54180         * posix/tst-rfc3484-2.c: Likewise.
54181         * posix/tst-rfc3484-3.c: Likewise.
54183 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
54185         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
54186         (EF_ARM_ABI_FLOAT_HARD): Likewise.
54188 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
54190         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
54191         #include of fxstatat64.c.
54193 2012-08-22  Roland McGrath  <roland@hack.frob.com>
54195         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
54196         * shadow/getspent_r.c: Likewise.
54197         * shadow/getspnam.c: Likewise.
54198         * shadow/getspnam_r.c: Likewise.
54199         * gshadow/getsgent.c: Likewise.
54200         * gshadow/getsgent_r.c: Likewise.
54201         * gshadow/getsgnam.c: Likewise.
54202         * gshadow/getsgnam_r.c: Likewise.
54203         * inet/getnetbyad.c: Likewise.
54204         * inet/getnetbyad_r.c: Likewise.
54205         * inet/getnetbynm.c: Likewise.
54206         * inet/getnetbynm_r.c: Likewise.
54207         * inet/getnetent.c: Likewise.
54208         * inet/getnetent_r.c: Likewise.
54209         * inet/getproto.c: Likewise.
54210         * inet/getproto_r.c: Likewise.
54211         * inet/getprtent.c: Likewise.
54212         * inet/getprtent_r.c: Likewise.
54213         * inet/getprtname.c: Likewise.
54214         * inet/getprtname_r.c: Likewise.
54215         * inet/getrpcbyname.c: Likewise.
54216         * inet/getrpcbyname_r.c: Likewise.
54217         * inet/getrpcbynumber.c: Likewise.
54218         * inet/getrpcbynumber_r.c: Likewise.
54219         * inet/getrpcent.c: Likewise.
54220         * inet/getrpcent_r.c: Likewise.
54221         * inet/getaliasent.c: Likewise.
54222         * inet/getaliasent_r.c: Likewise.
54223         * inet/getaliasname.c: Likewise.
54224         * inet/getaliasname_r.c: Likewise.
54225         * nscd/getgrgid_r.c: Likewise.
54226         * nscd/getgrnam_r.c: Likewise.
54227         * nscd/gethstbyad_r.c: Likewise.
54228         * nscd/gethstbynm3_r.c: Likewise.
54229         * nscd/getpwnam_r.c: Likewise.
54230         * nscd/getpwuid_r.c: Likewise.
54231         * nscd/getsrvbynm_r.c: Likewise.
54232         * nscd/getsrvbypt_r.c: Likewise.
54233         * nscd/gai.c: Likewise.
54235         * configure.in (build_nscd): New substituted variable, set
54236         by --disable-build-nscd and defaults to $use_nscd.
54237         * configure: Regenerated.
54238         * config.make.in (build-nscd): New substituted variable.
54239         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
54240         Change conditional to require [$(build-nscd) = yes] as well.
54241         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
54243         [BZ# 13696]
54244         * configure.in (use_nscd): New substituted variable, set by
54245         --disable-nscd.  If enabled, define USE_NSCD.
54246         * configure: Regenerated.
54247         * config.h.in: Add USE_NSCD.
54248         * config.make.in (use-nscd): New substituted variable.
54249         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
54250         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
54251         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
54252         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
54253         (CFLAGS-getgrnam_r.c): Likewise.
54254         (CFLAGS-initgroups.c): Likewise.
54255         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
54256         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
54257         Variables removed.
54258         * inet/getnetgrent_r.c
54259         (nscd_setnetgrent): New function, broken out of ...
54260         (setnetgrent): ... here.  Call it.
54261         (innetgr): Conditionalize nscd bits on [USE_NSCD].
54262         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
54263         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
54264         * nscd/Makefile (routines, aux): Move definitions after include of
54265         Makeconfig.  Conditionalize on [$(use-nscd) != no].
54266         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
54267         Conditionalize on [USE_NSCD].
54268         (is_nscd, nscd_init_cb): Likewise.
54269         (nss_load_library): Conditionalize init callback on [USE_NSCD].
54270         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
54271         * nss/nss_db/db-init.c: Likewise.
54272         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
54273         [USE_NSCD].
54274         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
54275         (make_request): Use it.
54276         (cache_valid_p): New function.
54277         (__check_pf): Use it.
54278         * NEWS: Add item for --disable-nscd.
54280 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
54282         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
54283         to support sed >= 4.2.1-20-ga9bf076.
54284         * configure: Regenerated.
54286 2012-08-22  Roland McGrath  <roland@hack.frob.com>
54288         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
54289         Conditionalize whole body on [IREL].
54291 2012-08-22  Jeff Law <law@redhat.com>
54293         [BZ #14505]
54294         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
54295         if the family is PF_UNSPEC.
54297 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
54299         * Makerules (lib-version): Rename from V.
54300         (install-lib-nosubdir): Change V to lib-version.
54302 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
54304         [BZ #14252]
54305         * powerpc32/power6/wcschr.c: New file.
54306         * powerpc32/power6/wcscpy.c: New file.
54307         * powerpc32/power6/wcsrchr.c: New file.
54308         * powerpc64/power6/wcschr.c: New file.
54309         * powerpc64/power6/wcscpy.c: New file.
54310         * powerpc64/power6/wcsrchr.c: New file.
54312 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54314         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
54315         (two_way_short_needle): Use it.
54316         * string/strstr.c (AVAILABLE1_USES_J): Define.
54317         * string/strcasestr.c: Likewise.
54319         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
54320         array references.
54321         * string/strcasestr.c (TOLOWER): Make side-effect safe.
54323         [BZ #11607]
54324         * NEWS: Add an entry.
54325         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
54326         define their defaults.
54327         (two_way_short_needle): Detect end-of-string on-the-fly.
54328         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
54329         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
54330         * string/bug-strcasestr1.c: New test.
54331         * string/Makefile: Run it.
54333 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54335         [BZ #11607]
54336         * string/str-two-way.h (two_way_short_needle): Optimize matching of
54337         the first character.
54339 2012-08-21  Roland McGrath  <roland@hack.frob.com>
54341         * csu/elf-init.c (__libc_csu_irel): Function removed.
54342         * csu/libc-start.c (apply_irel): New function.
54343         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
54345 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
54347         * sysdeps/unix/sysv/linux/kernel-features.h
54348         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
54349         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54350         <kernel-features.h>.
54351         [__NR_fadvise64_64]: Make code unconditional.
54352         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
54353         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54354         !__NR_fadvise64_64)]: Likewise.
54355         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54356         !__NR_fadvise64_64))]: Likewise.
54357         [__NR_fadvise64]: Make code unconditional.
54358         [!__NR_fadvise64]: Remove conditional code.
54359         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
54360         <kernel-features.h>.
54361         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54362         unconditional.
54363         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54364         conditional code.
54365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
54366         not include <kernel-features.h>.
54367         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54368         unconditional.
54369         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54370         conditional code.
54371         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
54372         include <kernel-features.h>.
54373         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54374         unconditional.
54375         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54376         conditional code.
54378 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
54380         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
54381         slight instruction rearrangements per scrollpipe analysis.
54382         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54384 2012-08-20  Roland McGrath  <roland@hack.frob.com>
54386         * manual/syslog.texi (syslog; vsyslog, closelog):
54387         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
54388         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
54390         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
54391         DSOCAPS to match condition on defining it.
54393 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
54395         * sysdeps/unix/sysv/linux/kernel-features.h
54396         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
54397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
54398         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54399         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
54401         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54402         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
54404         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54405         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54407         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
54408         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
54410         * sysdeps/unix/sysv/linux/kernel-features.h
54411         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
54412         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
54413         unconditional.
54414         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54415         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
54416         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54417         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54418         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
54419         Make code unconditional.
54420         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54421         (__mmap64) [!__NR_mmap2]: Likewise.
54422         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
54423         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54424         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54425         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
54426         [__NR_mmap2]: Make code unconditional.
54427         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54428         (__mmap64) [!__NR_mmap2]: Likewise.
54430 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54432         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
54434 2012-08-18  Andreas Jaeger  <aj@suse.de>
54436         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
54438 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
54440         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
54441         * include/unistd.h (__have_sock_cloexec): Likewise.
54442         (__have_pipe2): Likewise.
54443         (__have_dup3): Likewise.
54445 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
54447         [BZ #9685]
54448         * include/unistd.h (__have_pipe2): Change define into an extern int.
54449         (__have_dup3): Likewise.
54450         * socket/have_sock_cloexec.c: Include fcntl.h.
54451         (__have_pipe2): New variable.
54452         (__have_dup3): Likewise.
54454 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
54456         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
54458 2012-08-17  Marek Polacek  <polacek@redhat.com>
54460         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
54461         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
54463 2012-08-17  Roland McGrath  <roland@hack.frob.com>
54465         * configure.in: Add AC_SUBST for sysheaders.
54466         * configure: Regenerated.
54467         * config.make.in (sysheaders): New substituted variable.
54469         * sysdeps/unix/mkfifo.c: Moved ...
54470         * sysdeps/posix/mkfifo.c: ... here.
54471         * sysdeps/unix/mkfifoat.c: Moved ...
54472         * sysdeps/posix/mkfifoat.c: ... here.
54474         * sysdeps/unix/utime.c: Moved ...
54475         * sysdeps/posix/utime.c: ... here.
54477         * sysdeps/unix/time.c: Moved ...
54478         * sysdeps/posix/time.c: ... here.
54479         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
54480         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
54482         * sysdeps/unix/nice.c: Moved ...
54483         * sysdeps/posix/nice.c: ... here.
54485         * sysdeps/unix/alarm.c: Moved ...
54486         * sysdeps/posix/alarm.c: ... here.
54488         * intl/Makefile ($(codeset_mo)): Depend on the input file.
54490 2012-08-17  Jeff Law <law@redhat.com>
54492         * intl/Makefile (codeset_mo): New variable.
54493         ($(codeset_mo)): New target.
54494         (tst-codeset.out): Depend on that.  Remove explicit rule.
54495         (tst-gettext3.out, tst-gettext5.out): Likewise.
54496         (LOCPATH-ENV, tst-codeset-ENV): New variables.
54497         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
54498         * intl/tst-codeset.sh: Remove.
54499         * intl/tst-gettext3.sh: Likewise.
54500         * intl/tst-gettext5.sh: Likewise.
54502 2012-08-17  Roland McGrath  <roland@hack.frob.com>
54504         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
54505         * sysdeps/unix/syscalls.list: ... here.
54507         * sysdeps/posix/getaddrinfo.c
54508         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
54509         (gaiconf_init, gaiconf_reload): Use them.
54510         [!_STATBUF_ST_NSEC]
54511         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
54512         Define using time_t rather than struct timespec.
54514         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
54515         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
54516         Macros removed.
54517         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
54518         [!NO_THREADS].
54519         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
54520         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
54521         Likewise.
54523         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
54524         __libc_cleanup_push argument.
54526         * bits/param.h: New file.
54527         * misc/sys/param.h: New file.
54528         * include/sys/param.h: New file.
54529         * misc/Makefile (headers): Add bits/param.h.
54530         * sysdeps/generic/sys/param.h: File removed.
54531         * sysdeps/unix/sysv/linux/bits/param.h: New file.
54532         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
54533         * sysdeps/mach/hurd/bits/param.h: New file.
54534         * sysdeps/mach/hurd/sys/param.h: File removed.
54536         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
54537         last change.
54539         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
54540         [_IO_MTSAFE_IO].
54541         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
54542         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
54543         New macros.
54545         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
54546         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
54547         rather than -D_IO_MTSAFE_IO conditionally.
54548         * stdio-common/Makefile (CPPFLAGS): Likewise.
54549         * wcsmbs/Makefile (CPPFLAGS): Likewise.
54550         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
54551         Use $(libio-mtsafe).
54552         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
54553         of -D_IO_MTSAFE_IO.
54554         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
54555         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
54556         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
54557         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
54558         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
54559         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
54560         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
54561         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
54562         (CFLAGS-fread_u_chk.c): Likewise.
54563         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
54564         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
54565         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
54566         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
54567         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
54568         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
54569         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
54570         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
54571         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
54573         * libio/Makefile: Test [$(libc-reentrant) = yes]
54574         instead of [$(filter %REENTRANT, $(defines)) nonempty].
54576         * Makeconfig
54577         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
54578         * sysdeps/pthread/configure: File removed.
54579         * sysdeps/pthread/Makeconfig: New file.
54580         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
54581         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
54583 2012-08-16  Gary Benson  <gbenson@redhat.com>
54585         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
54586         unmapping the first object in a namespace.
54588 2012-08-16  Roland McGrath  <roland@hack.frob.com>
54590         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
54591         (__internal_setnetgrent): ... this.  Add internal_function to
54592         definition.  Add libc_hidden_def.
54593         (setnetgrent): Update caller.
54594         (internal_endnetgrent): Renamed to ...
54595         (__internal_endnetgrent): ... this.  Add internal_function to
54596         definition.  Add libc_hidden_def.
54597         (endnetgrent): Update caller.
54598         (internal_getnetgrent_r): Renamed to ...
54599         (__internal_getnetgrent_r): ... this.  Add internal_function to
54600         definition.  Add libc_hidden_def.
54601         (__getnetgrent_r): Update caller.
54602         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
54604 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
54606         * stdlib/longlong.h: Update from GCC.
54608 2012-08-16  Roland McGrath  <roland@hack.frob.com>
54610         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
54611         on _QL, which is set by umul_ppmm but never used.
54612         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
54613         variables, which are set by GMP macros but never used.
54614         * stdio-common/_itowa.c (_itowa): Likewise.
54615         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
54616         * stdlib/mod_1.c (mpn_mod_1): Likewise.
54618 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
54620         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
54621         struct La_sh_regs is not constant.
54622         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
54623         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
54624         and struct La_sparc64_regs are not constant.
54626 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
54628         * sysdeps/unix/sysv/linux/kernel-features.h
54629         (__ASSUME_POSIX_TIMERS): Remove.
54630         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54631         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54632         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
54633         Make code unconditional.
54634         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54635         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
54636         Make code unconditional.
54637         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54638         * sysdeps/unix/sysv/linux/clock_nanosleep.c
54639         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
54640         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54641         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
54642         Make code unconditional.
54643         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54644         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
54645         (__libc_missing_posix_timers): Remove.
54647 2012-08-15  Roland McGrath  <roland@hack.frob.com>
54649         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
54650         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
54652         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
54654         * elf/dl-sym.c: Include <stdlib.h>.
54656         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
54657         constants, which avoids warnings in 32-bit builds.
54659         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
54660         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
54662         * misc/lseek.c: File moved to ...
54663         * io/lseek.c: ... here.
54665         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
54667         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
54668         shifting LEN more than 31 bits at once.
54670 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54672         [BZ #14195]
54673         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
54674         segmentation fault for a case of two empty input strings.
54675         * string/test-strncasecmp.c (check1): Renamed to...
54676         (bz12205): ...this.
54677         (bz14195): Add new testcase for two empty input strings and N > 0.
54678         (test_main): Call new testcase, adapt for renamed function.
54680 2012-08-15  Andreas Jaeger  <aj@suse.de>
54682         [BZ #14090]
54683         * crypt/md5test2.c: New test, based on test supplied by Serge
54684         Belyshev <belyshev@depni.sinp.msu.ru>.
54685         * crypt/Makefile (xtests): Add md5test-giant..
54686         * crypt/Makefile ($(objpfx)md5test-giant): Add.
54688 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
54690         [BZ #14090]
54691         * crypt/md5.c (md5_process_block): Don't assume the buffer
54692         length is less than 2**32.
54693         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
54694         length is less than 2**64.
54696 2012-08-15  Roland McGrath  <roland@hack.frob.com>
54698         * string/str-two-way.h: Include <sys/param.h>.
54699         (MAX): Macro removed.
54701         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
54702         Move #define and #undef of memmove to just before and after
54703         including <string.h>.
54705         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
54706         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
54707         and after including <string.h>.  Move declarations of
54708         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
54709         to before #include "string/memmove.c".
54711         * include/dirent.h: Declare __getdirentries.
54713         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
54714         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
54716 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
54718         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
54719         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
54720         * sysdeps/i386/configure: Regenerated.
54721         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
54722         STABS_CURRENT_FILE, and STABS_FUN.
54723         (END): Remove call to STABS_FUN_END.
54724         (STABS_CURRENT_FILE1): Delete.
54725         (STABS_CURRENT_FILE): Likewise.
54726         (STABS_FUN): Likewise.
54727         (STABS_FUN_END): Likewise.
54728         (STABS_FUN2): Likewise.
54729         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
54730         * sysdeps/x86_64/configure: Regenerated.
54732 2012-08-14  Roland McGrath  <roland@hack.frob.com>
54734         * elf/dl-open.c: Include <atomic.h>.
54735         * elf/dl-lookup.c: Likewise.
54737 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
54739         * sysdeps/unix/sysv/linux/kernel-features.h
54740         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
54741         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
54742         unconditionally.
54743         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
54744         unconditionally.
54745         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
54746         condition on __ASSUME_CLONE_THREAD_FLAGS.
54748 2012-08-14  Andreas Jaeger  <aj@suse.de>
54750         * sysdeps/i386/fpu/libm-test-ulps: Update.
54752 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
54754         * include/atomic.h (atomic_exchange_and_add): Split into ...
54755         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
54756         New atomic macros.
54758 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
54760         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54762 2012-08-13  Jeff Law <law@redhat.com>
54764         * manual/stdio.texi (snprintf): Clarify handling of the trailing
54765         null byte in the output string.
54767 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
54769         * sysdeps/unix/sysv/linux/kernel-features.h
54770         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
54771         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
54772         (__ASSUME_ARG_MAX_STACK_BASED): Define.
54773         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
54774         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
54775         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
54776         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
54778 2012-08-09  Jeff Law <law@redhat.com>
54780         [BZ #13939]
54781         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
54782         When avoid_arena is set, don't retry in the that arena.  Pick the
54783         next one, whatever it might be.
54784         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
54785         (arena_lock): Pass in new parameter to arena_get2.
54786         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
54787         arena_get2.
54788         (__libc_malloc): Unify retrying after main arena failure with
54789         __libc_memalign version.
54790         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
54792 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
54794         [BZ #14166]
54795         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
54796         to __redirect_strstr.
54797         (__strstr_sse42): Use typeof __redirect_strstr.
54798         (__strstr_ia32): Likewise.
54799         (__libc_strstr): New prototype.
54800         (strstr): Renamed to ...
54801         (__libc_strstr): This.
54802         (strstr): New strong alias of __libc_strstr.
54803         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
54804         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
54805         __redirect_time.
54806         Include <time.h>.
54807         (__libc_time): New prototype.
54808         (time_ifunc): Replace time with __libc_time.
54809         (time): New strong alias and hidden definition of __libc_time.
54810         (__GI_time): Remove strong alias.
54811         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
54812         Include <stddef.h>.
54813         (memmove): Redefined to __redirect_memmove.
54814         (__memmove_sse2): Use typeof __redirect_memmove.
54815         (__memmove_ssse3): Likewise.
54816         (__memmove_ssse3_back): Likewise.
54817         (__libc_memmove): New prototype.
54818         (memmove): Renamed to ...
54819         (__libc_memmove): This.
54820         (memmove): New strong alias of __libc_memmove.
54822 2012-08-08  Mark Salter  <msalter@redhat.com>
54824         * elf/elf.h
54825         (R_MN10300_TLS_GD): Define.
54826         (R_MN10300_TLS_LD): Likewise.
54827         (R_MN10300_TLS_LDO): Likewise.
54828         (R_MN10300_TLS_GOTIE): Likewise.
54829         (R_MN10300_TLS_IE): Likewise.
54830         (R_MN10300_TLS_LE): Likewise.
54831         (R_MN10300_TLS_DTPMOD): Likewise.
54832         (R_MN10300_TLS_DTPOFF): Likewise.
54833         (R_MN10300_TLS_TPOFF): Likewise.
54834         (R_MN10300_SYM_DIFF): Likewise.
54835         (R_MN10300_ALIGN): Likewise.
54836         (R_MN10300_NUM): Update.
54838 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
54840         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
54841         Remove.
54843 2012-08-08  Roland McGrath  <roland@hack.frob.com>
54845         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
54847         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
54848         sysdeps/unix -> sysdeps/posix move.
54849         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
54851 2012-08-07      Allan McRae     <allan@archlinux.org>
54853         [BZ #14303]
54854         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
54855         (SUNOS_CPP): Likewise.
54856         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
54857         not found.
54858         (open_input): Call CPP using execvp.
54860 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
54862         * sysdeps/unix/sysv/linux/kernel-features.h
54863         (__ASSUME_PROT_GROWSUPDOWN): Remove.
54864         (__ASSUME_NO_CLONE_DETACHED): Likewise.
54865         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54866         (__ASSUME_WAITID_SYSCALL): Likewise.
54867         * sysdeps/unix/sysv/linux/dl-execstack.c
54868         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
54869         code unconditional.
54870         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
54871         conditional code.
54872         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
54873         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
54874         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
54875         code.
54876         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
54877         unconditional.
54878         [__ASSUME_WAITID_SYSCALL]: Likewise.
54879         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
54881 2012-08-07  Roland McGrath  <roland@hack.frob.com>
54883         * sysdeps/unix/closedir.c: Renamed to ...
54884         * sysdeps/posix/closedir.c: ... here.
54885         * sysdeps/unix/dirfd.c: Renamed to ...
54886         * sysdeps/posix/dirfd.c: ... here.
54887         * sysdeps/unix/dirstream.h: Renamed to ...
54888         * sysdeps/posix/dirstream.h: ... here.
54889         * sysdeps/unix/fdopendir.c: Renamed to ...
54890         * sysdeps/posix/fdopendir.c: ... here.
54891         * sysdeps/unix/opendir.c: Renamed to ...
54892         * sysdeps/posix/opendir.c: ... here.
54893         * sysdeps/unix/readdir.c: Renamed to ...
54894         * sysdeps/posix/readdir.c: ... here.
54895         * sysdeps/unix/readdir_r.c: Renamed to ...
54896         * sysdeps/posix/readdir_r.c: ... here.
54897         * sysdeps/unix/rewinddir.c: Renamed to ...
54898         * sysdeps/posix/rewinddir.c: ... here.
54899         * sysdeps/unix/seekdir.c: Renamed to ...
54900         * sysdeps/posix/seekdir.c: ... here.
54901         * sysdeps/unix/telldir.c: Renamed to ...
54902         * sysdeps/posix/telldir.c: ... here.
54903         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
54904         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
54905         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
54906         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
54908         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
54909         * bits/fcntl.h: ... here.
54911         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
54912         not 0.
54913         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
54914         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
54915         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
54916         (struct flock): Move l_start, l_len to the beginning.
54917         Use __pid_t for l_pid.
54918         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
54919         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
54920         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
54921         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
54922         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
54923         [__USE_LARGEFILE64] (struct flock64): New type.
54924         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
54926         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
54927         * bits/dirent.h: ... here.
54929         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
54930         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
54932 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
54934         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54935         Change from 2.6.0 to 2.6.16.
54936         * sysdeps/unix/sysv/linux/configure: Regenerated.
54937         * sysdeps/unix/sysv/linux/kernel-features.h
54938         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
54939         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
54940         version.
54941         (__ASSUME_UTIMES): Likewise.
54942         (__ASSUME_CLONE_STOPPED): Remove.
54943         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
54944         architectures, not kernel version.
54945         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
54946         (__ASSUME_NO_CLONE_DETACHED): Likewise.
54947         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54948         (__ASSUME_WAITID_SYSCALL): Likewise.
54949         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
54950         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
54951         * README: State 2.6.16 as minimum Linux kernel version.  Do not
54952         refer to older versions.
54954 2012-08-06  Roland McGrath  <roland@hack.frob.com>
54956         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
54957         Define alphasort64 as an alias.
54958         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
54959         Define versionsort64 as an alias.
54960         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
54961         Define scandir64 as an alias.
54962         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
54963         Define scandirat64 as an alias.
54964         * dirent/alphasort64.c (alphasort64):
54965         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
54966         * dirent/versionsort64.c: Likewise.
54967         * dirent/scandir64.c: Likewise.
54968         * dirent/scandirat64.c: Likewise.
54969         * sysdeps/wordsize-64/alphasort.c: File removed.
54970         * sysdeps/wordsize-64/alphasort64.c: File removed.
54971         * sysdeps/wordsize-64/scandir.c: File removed.
54972         * sysdeps/wordsize-64/scandir64.c: File removed.
54973         * sysdeps/wordsize-64/scandirat.c: File removed.
54974         * sysdeps/wordsize-64/scandirat64.c: File removed.
54975         * sysdeps/wordsize-64/versionsort.c: File removed.
54976         * sysdeps/wordsize-64/versionsort64.c: File removed.
54977         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
54978         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
54979         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
54980         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
54981         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
54982         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
54983         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
54984         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
54986         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
54987         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54988         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
54989         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54990         [defined __arch64__ || defined __sparcv9]
54991         (__INO_T_MATCHES_INO64_T): New macro.
54992         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54993         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
54994         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
54995         * sysdeps/unix/sysv/linux/bits/dirent.h
54996         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
54997         (_DIRENT_MATCHES_DIRENT64): New macro.
54999         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
55000         Define lockf64 as an alias.
55001         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
55002         Define fseeko64 as an alias.
55003         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
55004         Define ftello64 as an alias.
55005         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
55006         Define _IO_fgetpos64 and fgetpos64 as aliases.
55007         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
55008         Define _IO_fsetpos64 and fsetpos64 as aliases.
55009         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
55010         Conditionalize body on this.
55011         * libio/fseeko64.c: Likewise.
55012         * libio/ftello64.c: Likewise.
55013         * libio/iofgetpos64.c: Likewise.
55014         * libio/iofsetpos64.c: Likewise.
55015         * sysdeps/wordsize-64/lockf.c: File removed.
55016         * sysdeps/wordsize-64/lockf64.c: File removed.
55017         * sysdeps/wordsize-64/fseeko.c: File removed.
55018         * sysdeps/wordsize-64/fseeko64.c: File removed.
55019         * sysdeps/wordsize-64/ftello.c: File removed.
55020         * sysdeps/wordsize-64/ftello64.c: File removed.
55021         * sysdeps/wordsize-64/iofgetpos.c: File removed.
55022         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
55023         * sysdeps/wordsize-64/iofsetpos.c: File removed.
55024         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
55025         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
55026         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
55027         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
55028         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
55029         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
55030         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
55031         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
55032         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
55033         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
55034         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
55036         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55037         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55038         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
55039         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55040         [defined __arch64__ || defined __sparcv9]
55041         (__OFF_T_MATCHES_OFF64_T): New macro.
55042         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55043         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55044         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55045         (__OFF_T_MATCHES_OFF64_T): New macro.
55047 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
55049         * stdlib/secure-getenv.c (__secure_getenv): Replace
55050         GLIBC_2_16 with GLIBC_2_17.
55052 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
55054         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
55055         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
55057 2012-08-03  David S. Miller  <davem@davemloft.net>
55059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55061 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
55063         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
55064         Remove.
55065         (__ASSUME_CORRECT_SI_PID): Likewise.
55066         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
55067         (__ASSUME_TMPFS_NAME): Likewise.
55068         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
55069         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
55070         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
55071         (HAVE_AUX_SECURE): Make definition unconditional.
55072         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
55073         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
55075 2012-08-03  Roland McGrath  <roland@hack.frob.com>
55077         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
55078         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
55079         * sysdeps/mach/hurd/eloop-threshold.h: New file.
55080         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
55081         __eloop_threshold instead of SYMLOOP_MAX.
55083         * sysdeps/generic/eloop-threshold.h: New file.
55084         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
55085         of MAXSYMLINKS.
55086         * elf/chroot_canon.c (chroot_canon): Likewise.
55088 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
55090         [BZ #13717]
55091         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55092         Change to 2.6.0 everywhere.
55093         * sysdeps/unix/sysv/linux/configure: Regenerated.
55094         * sysdeps/unix/sysv/linux/kernel-features.h
55095         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
55096         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
55097         kernel versions.
55098         (__ASSUME_POSIX_TIMERS): Define unconditionally.
55099         (__ASSUME_FUTEX_REQUEUE): Remove.
55100         (__ASSUME_STATFS64): Define unconditionally.
55101         (__ASSUME_AT_SECURE): Likewise.
55102         (__ASSUME_CORRECT_SI_PID): Likewise.
55103         (__ASSUME_TGKILL): Define without depending on kernel version for
55104         i386.
55105         (__ASSUME_UTIMES): Likewise.
55106         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
55107         kernel version.
55108         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
55109         (__ASSUME_TMPFS_NAME): Likewise.
55110         * README: Update reference to Linux kernel versions.
55112 2012-08-02  Marek Polacek  <polacek@redhat.com>
55114         [BZ# 14150]
55115         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
55116         libc_cv_asm_type_prefix with %.
55117         * configure: Regenerated.
55118         * include/libc-symbols.h: Remove comment about
55119         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55120         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
55121         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
55122         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
55123         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
55124         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55125         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
55126         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
55127         * elf/tst-unique2mod1.c: Likewise.
55128         * elf/tst-unique1mod2.c: Likewise.
55129         * elf/tst-unique1mod1.c: Likewise.
55130         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
55131         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
55132         Replace ASM_TYPE_DIRECTIVE with .type.
55133         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55134         * sysdeps/i386/sysdep.h: Likewise.
55135         * sysdeps/x86_64/sysdep.h: Likewise.
55136         * sysdeps/sh/sysdep.h: Likewise.
55137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55138         Do not define ASM_TYPE_DIRECTIVE.
55139         * sysdeps/powerpc/sysdep.h: Likewise.
55140         * sysdeps/powerpc/powerpc32/sysdep.h:
55141         Replace ASM_TYPE_DIRECTIVE with .type.
55142         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55143         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55144         * sysdeps/i386/fpu/e_powf.S: Likewise.
55145         * sysdeps/i386/fpu/e_expl.S: Likewise.
55146         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55147         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55148         * sysdeps/i386/fpu/e_pow.S: Likewise.
55149         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55150         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55151         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55152         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55153         * sysdeps/i386/fpu/e_log2.S: Likewise.
55154         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55155         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55156         * sysdeps/i386/fpu/e_powl.S: Likewise.
55157         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55158         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55159         * sysdeps/i386/fpu/e_logl.S: Likewise.
55160         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55161         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55162         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55163         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55164         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55165         * sysdeps/i386/fpu/e_log.S: Likewise.
55166         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55167         * sysdeps/i386/fpu/e_logf.S: Likewise.
55168         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55169         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55170         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55171         * sysdeps/i386/fpu/e_log10.S: Likewise.
55172         * sysdeps/i386/fpu/s_frexp.S: Likewise.
55173         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55174         * sysdeps/i386/fpu/s_asinh.S: Likewise.
55175         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55176         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55177         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
55178         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55179         * sysdeps/i386/i686/strtok.S: Likewise.
55180         * sysdeps/i386/i386-mcount.S: Likewise.
55181         * sysdeps/i386/strtok.S: Likewise.
55182         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
55183         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55184         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55185         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55186         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55187         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55188         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55189         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55190         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55191         * sysdeps/x86_64/_mcount.S: Likewise.
55192         * sysdeps/x86_64/strtok.S: Likewise.
55193         * sysdeps/sh/_mcount.S: Likewise.
55195 2012-08-01  Roland McGrath  <roland@hack.frob.com>
55197         * libio/iofopen.c: Include <fcntl.h>.
55198         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
55199         (_IO_fopen64, fopen64): Define as aliases.
55200         * libio/iofopen64.c: Include <fcntl.h>.
55201         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
55202         Conditionalize body on this.
55203         * sysdeps/wordsize-64/iofopen.c: File removed.
55204         * sysdeps/wordsize-64/iofopen64.c: File removed.
55206 2012-08-01  Marek Polacek  <polacek@redhat.com>
55208         * libc/Makeconfig: Use elf in place of binfmt-subdir.
55209         Use dlfcn directly instead of a variable.
55210         (binfmt-subdir): Do not define.
55211         (dlfcn): Likewise.
55213 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
55215         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
55216         Remove all definitions.
55217         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
55218         <kernel-features.h>.
55219         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55220         (miss_F_GETOWN_EX): Remove all definitions.
55221         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
55222         macro definition.
55223         [!__ASSUME_FCNTL64]: Remove conditional code.
55224         [__ASSUME_FCNTL64]: Make code unconditional.
55225         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
55226         <kernel-features.h>.
55227         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55228         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
55229         (lockf64) [__NR_fcntl64]: Make code unconditional.
55230         (lockf64) [__ASSUME_FCNTL64]: Likewise.
55232         * sysdeps/unix/sysv/linux/kernel-features.h
55233         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
55234         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
55235         Make code unconditional.
55236         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55237         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
55239         [__NR_vfork]: Make code unconditional.
55240         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55241         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
55243         [__NR_vfork]: Make code unconditional.
55244         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55245         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55247 2012-08-01  Roland McGrath  <roland@hack.frob.com>
55249         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
55250         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
55252         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55253         Define mkstemp64 as an alias.
55254         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55255         Define mkstemps64 as an alias.
55256         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55257         Define mkostemp64 as an alias.
55258         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55259         Define mkostemps64 as an alias.
55260         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
55261         Conditionalize body on this.
55262         * misc/mkostemp64.c: Likewise.
55263         * misc/mkostemps64.c: Likewise.
55264         * misc/mkstemps64.c: Likewise.
55265         * sysdeps/wordsize-64/mkstemp64.c: File removed.
55266         * sysdeps/wordsize-64/mkostemp64.c: File removed.
55267         * sysdeps/wordsize-64/mkostemp.c: File removed.
55268         * sysdeps/wordsize-64/mkstemp.c: File removed.
55269         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
55270         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
55271         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
55272         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
55274         [BZ #14138]
55275         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
55276         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
55277         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
55278         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
55280         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
55281         compat_symbol macros from <shlib-compat.h> rather than the underlying
55282         default_symbol_version and symbol_version macros, so that DEFAULT
55283         lines in shlib-versions are respected.
55284         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
55286 2012-08-01  Florian Weimer  <fweimer@redhat.com>
55288         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
55289         Declare with warn_unused_result.
55290         (setgid, setregid, setegid, setresgid): Likewise.
55291         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
55292         Likewise.
55293         * WUR-REPORT: Remove set*id functions.
55295 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
55297         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
55299 2012-07-31  Roland McGrath  <roland@hack.frob.com>
55301         [BZ #10191]
55302         * include/sys/socket.h (__libc_accept, __libc_accept4):
55303         Add attribute_hidden.
55304         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
55306         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
55307         use of PTR_MANGLE.
55308         * inet/getnetgrent_r.c (setup): Likewise.
55310         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
55312 2012-07-31  David S. Miller  <davem@davemloft.net>
55314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55316 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
55318         [BZ #13629]
55319         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
55320         value between 1.0 and 2.0 and smaller part has absolute value less
55321         than 1.0.
55322         * math/s_clog10.c (__clog10): Likewise.
55323         * math/s_clog10f.c (__clog10f): Likewise.
55324         * math/s_clog10l.c (__clog10l): Likewise.
55325         * math/s_clogf.c (__clogf): Likewise.
55326         * math/s_clogl.c (__clogl): Likewise.
55327         * math/libm-test.inc (clog_test): Add more tests.
55328         (clog10_test): Likewise.
55329         * sysdeps/i386/fpu/libm-test-ulps: Update.
55330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55332 2012-07-31  Florian Weimer  <fweimer@redhat.com>
55334         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
55335         Exit with zero in case no suitable GID is found, and write a
55336         message to standard error.
55338 2012-07-30  Roland McGrath  <roland@hack.frob.com>
55340         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
55341         rather than to 1.
55342         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
55343         (MAXPATHLEN): Removed.
55344         (NOGROUP, NODEV): New macros.
55345         (setbit, clrbit, isset, isclr): New macros.
55346         (howmany, roundup, powerof2): New macros.
55347         (DEV_BSIZE): New macro.
55349         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
55350         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
55352         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
55353         definition on [!__NO_LONG_DOUBLE_MATH].
55355         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
55356         PTR_MANGLE and PTR_DEMANGLE.
55358         * socket/accept4.c (accept4): Rename to __libc_accept4.
55359         Define accept4 as a weak alias.
55361         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
55362         on [_DIRENT_HAVE_D_TYPE].
55363         * io/ftw.c (ftw_dir): Likewise.
55365         * io/xmknod.c (__xmknod): Don't check PATH for being null.
55367         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
55369         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
55370         Use the BSD numbers rather than the arbitrary ones we had.
55371         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
55372         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
55373         (SIGXCPU, SIGXFSZ): New macros.
55374         (_NSIG): Now 32.
55376         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
55377         initializer on [_LIBC_REENTRANT].
55379         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
55380         definitions inside [_POSIX_MAPPED_FILES].
55382         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
55384         * dirent/opendir.c: Include <fcntl.h>.
55386         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
55387         (__libc_getspecific): Likewise.
55388         (__libc_key_create): Likewise.
55390         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
55391         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
55392         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
55393         (tmpfile64): Define as alias.
55394         * sysdeps/wordsize-64/tmpfile.c: File removed.
55395         * sysdeps/wordsize-64/tmpfile64.c: File removed.
55396         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
55397         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
55399         * stdio-common/vfscanf.c: Include <stdbool.h>.
55400         * nss/makedb.c: Likewise.
55401         * stdio-common/_i18n_number.h: Likewise.
55402         * argp/argp-help.c: Likewise.
55403         * posix/wordexp.c: Likewise.
55404         * sysdeps/posix/spawni.c: Likewise.
55405         * nss/nss_files/files-initgroups.c: Likewise.
55406         * stdio-common/reg-modifier.c: Include <stdlib.h>.
55407         * nss/nss_files/files-initgroups.c: Likewise.
55408         * nss/nss_db/db-netgrp.c: Likewise.
55409         * nss/nss_db/db-initgroups.c: Likewise.
55410         * io/fchmodat.c: Include <sys/stat.h>.
55412         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
55413         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
55415         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
55416         [HAVE_MMAP].
55418         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
55419         Add multiple inclusion protection.
55421 2012-07-27  David S. Miller  <davem@davemloft.net>
55423         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55425 2012-07-27  Gary Benson  <gbenson@redhat.com>
55427         [BZ #14298]
55428         * elf/rtld.c: Include <stap-probe.h>.
55429         (dl_main): Added static probes "init_start" and "init_complete".
55430         * elf/dl-load.c: Include <stap-probe.h>.
55431         (lose): Take new parameter "nsid".
55432         Added static probe "map_failed".
55433         (_dl_map_object_from_fd): Pass namespace id to lose.
55434         Added static probe "map_start".
55435         (open_verify): Pass namespace id to lose.
55436         * elf/dl-open.c: Include <stap-probe.h>.
55437         (dl_open_worker) Added static probes "map_complete", "reloc_start"
55438         and "reloc_complete".
55439         * elf/dl-close.c: Include <stap-probe.h>.
55440         (_dl_close_worker): Added static probes "unmap_start" and
55441         "unmap_complete".
55442         * elf/rtld-debugger-interface.txt: New file documenting the above.
55444 2012-07-26  Roland McGrath  <roland@hack.frob.com>
55446         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
55447         rather than a string variable.
55448         * sunrpc/rpc_main.c (h_output): Likewise.
55449         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
55451 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
55453         * inet/check_native.c: New file.
55455 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
55457         [BZ #13629]
55458         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
55459         if larger part has absolute value 1.0.
55460         * math/s_clog10.c (__clog10): Likewise.
55461         * math/s_clog10f.c (__clog10f): Likewise.
55462         * math/s_clog10l.c (__clog10l): Likewise.
55463         * math/s_clogf.c (__clogf): Likewise.
55464         * math/s_clogl.c (__clogl): Likewise.
55465         * math/libm-test.inc (clog_test): Add more tests.
55466         (clog10_test): Likewise.
55467         * sysdeps/i386/fpu/libm-test-ulps: Update.
55468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55470         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
55471         (pltexit): Likewise.
55472         (La_regs): Likewise.
55473         (La_retval): Likewise.
55474         (int_retval): Likewise.
55475         Update #error for removed macros to refer only to definitions in
55476         tst-audit.h.
55477         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
55478         macro.
55479         (pltexit): Likewise.
55480         (La_regs): Likewise.
55481         (La_retval): Likewise.
55482         (int_retval): Likewise.
55483         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
55484         macro.
55485         (pltexit): Likewise.
55486         (La_regs): Likewise.
55487         (La_retval): Likewise.
55488         (int_retval): Likewise.
55489         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
55490         macro.
55491         (pltexit): Likewise.
55492         (La_regs): Likewise.
55493         (La_retval): Likewise.
55494         (int_retval): Likewise.
55495         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
55496         macro.
55497         (pltexit): Likewise.
55498         (La_regs): Likewise.
55499         (La_retval): Likewise.
55500         (int_retval): Likewise.
55501         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
55502         macro.
55503         (pltexit): Likewise.
55504         (La_regs): Likewise.
55505         (La_retval): Likewise.
55506         (int_retval): Likewise.
55507         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
55508         macro.
55509         (pltexit): Likewise.
55510         (La_regs): Likewise.
55511         (La_retval): Likewise.
55512         (int_retval): Likewise.
55513         * sysdeps/generic/tst-audit.h: Update comment to refer only to
55514         macro definitions in tst-audit.h.
55515         * sysdeps/i386/tst-audit.h: New file.
55516         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
55517         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
55518         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
55519         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
55520         * sysdeps/sh/tst-audit.h: Likewise.
55521         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
55522         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
55523         * sysdeps/x86_64/tst-audit.h: Likewise.
55525 2012-07-26  Andreas Jaeger  <aj@suse.de>
55527         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
55528         ptrace.
55530         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
55531         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
55532         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
55533         PTRACE_O_MASK.
55534         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
55535         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
55536         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
55538         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
55539         value.
55541         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
55542         _sigsys.
55543         (si_call_addr, si_syscall, si_arch): Define new macro.
55544         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
55545         _sigsys.
55546         (si_call_addr, si_syscall, si_arch): Define new marcro.
55547         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
55548         _sigsys.
55549         (si_call_addr, si_syscall, si_arch): Define new macro.
55550         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
55551         _sigsys.
55552         (si_call_addr, si_syscall, si_arch): Define new macro.
55554 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
55556         [BZ #13717]
55557         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55558         Change to 2.4.21 where previously 2.4.1.
55559         * sysdeps/unix/sysv/linux/configure: Regenerated.
55560         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
55561         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
55562         Linux kernel version.
55563         (__ASSUME_STD_AUXV): Remove.
55564         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
55565         kernel version.
55566         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
55567         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
55568         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
55569         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
55570         (__ASSUME_NETLINK_SUPPORT): Likewise.
55571         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
55572         (__no_netlink_support): Remove conditional definition.
55573         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
55574         Remove.
55575         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55576         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
55577         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
55578         (if_nameindex_ioctl): Remove.
55579         (if_nameindex_netlink): Do not handle __no_netlink_support.
55580         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55581         code.
55582         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
55583         Remove conditional code.
55584         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55585         code.
55586         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
55587         unconditional.
55588         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55589         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
55590         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
55591         Remove.
55592         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
55593         [!__ASSUME_STD_AUXV]: Remove conditional code.
55594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
55595         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
55596         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
55597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
55598         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
55599         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
55600         code.
55601         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
55602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55603         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
55604         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
55605         conditional code.
55606         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
55607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
55608         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
55609         code.
55610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55611         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
55612         conditional code.
55613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
55614         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55615         code unconditional.
55616         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55617         conditional code.
55618         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55619         unconditional.
55620         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55621         conditional code.
55622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55623         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55624         unconditional.
55625         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55626         conditional code.
55627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
55628         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55629         code unconditional.
55630         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55631         conditional code.
55632         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55633         unconditional.
55634         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55635         conditional code.
55636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
55637         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55638         code unconditional.
55639         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55640         conditional code.
55641         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55642         unconditional.
55643         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55644         conditional code.
55646 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
55648         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
55649         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
55650         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
55651         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
55652         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
55653         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
55654         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
55655         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
55656         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
55657         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
55658         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
55659         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
55660         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
55661         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
55662         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
55663         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
55664         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
55665         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
55666         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
55667         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
55668         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
55669         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
55670         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
55672 2012-07-25  Florian Weimer  <fweimer@redhat.com>
55674         * Versions.def: Add GLIBC_2.17.
55675         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
55676         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
55677         Introduce __libc_secure_getenv.
55678         * stdlib/Versions (2.17): Add secure_getenv
55679         (GLIBC_PRIVATE): Add __libc_secure_getenv.
55680         * stdlib/secure-getenv.c: Rename __secure_getenv to
55681         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
55682         symbol __secure_getenv for GLIBC_2.0.
55683         * stdlib/tst-secure-getenv.c: New.
55684         * stdlib/Makefile (tests): Add testcase.
55685         * manual/startup.texi (Environment Access): Document
55686         secure_getenv.
55687         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
55688         __libc_secure_getenv.
55689         * inet/ruserpass.c (ruserpass): Likewise.
55690         * malloc/mtrace.c (mtrace): Likewise.
55691         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
55692         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
55693         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
55694         * sysdeps/posix/tempname.c: Likewise.  Evaluate
55695         HAVE_SECURE_GETENV.
55696         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
55697         __secure_getenv to __libc_secure_getenv.
55698         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
55699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55700         Likewise.
55701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55702         Likewise.
55703         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
55704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
55705         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55706         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
55707         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
55708         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55709         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
55711 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
55713         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
55714         (struct La_i86_retval): Likewise.
55715         (struct La_x86_64_regs): Likewise.
55716         (struct La_x86_64_retval): Likewise.
55717         (struct La_x32_regs): Likewise.
55718         (struct La_x32_retval): Likewise.
55719         (struct La_ppc32_regs): Likewise.
55720         (struct La_ppc32_retval): Likewise.
55721         (struct La_ppc64_regs): Likewise.
55722         (struct La_ppc64_retval): Likewise.
55723         (struct La_sh_regs): Likewise.
55724         (struct La_sh_retval): Likewise.
55725         (struct La_s390_32_regs): Likewise.
55726         (struct La_s390_32_retval): Likewise.
55727         (struct La_s390_64_regs): Likewise.
55728         (struct La_s390_64_retval): Likewise.
55729         (struct La_sparc32_regs): Likewise.
55730         (struct La_sparc32_retval): Likewise.
55731         (struct La_sparc64_regs): Likewise.
55732         (struct La_sparc64_retval): Likewise.
55733         (struct audit_ifaces): Remove architecture-specific pltenter and
55734         pltexit members.
55735         * sysdeps/i386/ldsodefs.h: New file.
55736         * sysdeps/powerpc/ldsodefs.h: Likewise.
55737         * sysdeps/s390/ldsodefs.h: Likewise.
55738         * sysdeps/sh/ldsodefs.h: Likewise.
55739         * sysdeps/sparc/ldsodefs.h: Likewise.
55740         * sysdeps/x86_64/ldsodefs.h: Likewise.
55742 2012-07-25  Marek Polacek  <polacek@redhat.com>
55744         [BZ #6808]
55745         * math/libm-test.inc (yn_test): Add another test.
55746         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
55747         to ERANGE when the result is +-Inf.
55748         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
55749         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
55750         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
55751         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
55753 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
55755         * conform/data/time.h-data (NULL): Use macro-constant.  Require
55756         equal to 0.
55757         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
55758         clock_t.
55759         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
55761 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
55763         * configure.in <sysdeps resolving>: Correct printing
55764         Implies_before.
55765         * configure: Regenerate.
55767 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
55769         * math/w_ilogb.c: Include <limits.h>.
55770         * math/w_ilogbl.c: Likewise.
55772 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
55774         * manual/lang.texi (__va_copy): Document primarily as ISO C99
55775         va_copy.  Document allowing for unavailable va_copy only as
55776         pre-C99 compatibility.
55777         * manual/string.texi (Copying and Concatenation): Use va_copy
55778         instead of __va_copy in concat example.
55780 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
55782         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
55783         (__sendto): Use create_address_port.  Initialize APORT and deallocate
55784         it if not null.
55786         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
55787         with O_NOLINK passed to __file_name_lookup.
55789         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
55790         with O_NOLINK passed to __file_name_lookup.
55792         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
55793         negative N or less than NGIDS.
55795         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
55796         type to string_t.  Set ERANGE as errno and return it if NAME is not big
55797         enough.  Use memcpy instead of strncpy.
55799 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
55801         * elf/Makefile (check-data): Remove.
55802         (localplt.data): New vpath directive.
55803         ($(objpfx)check-localplt.out): Use localplt.data from vpath
55804         instead of $(check-data).
55805         * scripts/data/localplt-generic.data: Move to ...
55806         * sysdeps/generic/localplt.data: ... here.
55807         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
55808         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
55809         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
55810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
55811         ... here.
55812         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
55813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
55814         ... here.
55815         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
55816         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
55817         ... here.
55818         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
55819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
55820         ... here.
55821         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
55822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
55823         ... here.
55824         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
55825         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
55826         ... here.
55828 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55830         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
55831         PPC32 and PPC64 files.
55832         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
55833         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
55835 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55837         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
55838         __makecontext_ret to ...
55839         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
55840         ... here and call exit if uc_link is NULL.  New file.
55841         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
55842         __makecontext_ret.S.
55843         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
55844         __makecontext_ret to ...
55845         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
55846         ... here and call exit if uc_link is NULL.  New file.
55847         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
55848         __makecontext_ret.S.
55850 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55852         * elf/elf.h (R_390_IRELATIVE): New definition.
55853         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
55854         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
55855         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
55856         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55857         (elf_machine_lazy_rel): Likewise.
55858         * sysdeps/s390/dl-irel.h: New file.
55859         * sysdeps/s390/s390-64/memcpy.S: New asm code.
55860         * sysdeps/s390/s390-64/memset.S: New asm code.
55861         * sysdeps/s390/s390-64/memcmp.S: New asm code.
55862         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
55863         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
55864         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
55865         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
55866         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
55867         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
55868         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
55869         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
55870         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
55871         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
55872         * sysdeps/s390/s390-32/memcpy.S: New asm code.
55873         * sysdeps/s390/s390-32/memset.S: New asm code.
55874         * sysdeps/s390/s390-32/memcmp.S: New asm code.
55876 2012-07-17  Marek Polacek  <polacek@redhat.com>
55878         [BZ #14349]
55879         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
55880         * sysdeps/s390/s390-64/configure.in: Likewise.
55881         * sysdeps/sparc/configure.in: Likewise.
55882         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
55883         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
55884         * sysdeps/i386/configure.in: Likewise.
55885         * sysdeps/x86_64/configure.in: Likewise.
55886         * sysdeps/sh/configure.in: Likewise.
55887         * sysdeps/s390/s390-32/configure: Regenerated.
55888         * sysdeps/s390/s390-64/configure: Likewise.
55889         * sysdeps/x86_64/configure: Likewise.
55890         * sysdeps/sh/configure: Likewise.
55891         * sysdeps/powerpc/powerpc64/configure: Likewise.
55892         * sysdeps/powerpc/powerpc32/configure: Likewise.
55893         * sysdeps/sparc/configure: Likwise.
55894         * sysdeps/i386/configure: Likewise.
55896         * elf/dl-open.c: Comment fixes.
55898 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
55900         * Makefile [CXX] (check-data): Remove.
55901         [CXX] (c++-types.data): New vpath directive.
55902         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
55903         vpath.  Do not allow for C++ type data being missing.
55904         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
55905         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
55906         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
55907         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
55908         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
55909         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
55910         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
55911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
55912         ... here.
55913         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
55914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
55915         ... here.
55916         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
55917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
55918         ... here.
55919         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
55920         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
55921         ... here.
55922         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
55923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
55924         ... here.
55925         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
55926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
55927         ... here.
55928         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
55929         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
55930         ... here.
55931         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
55932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
55934         * elf/tls-macros.h (TLS_LE): Move architecture-specific
55935         definitions to architecture-specific files.
55936         (TLS_IE): Likewise.
55937         (TLS_LD): Likewise.
55938         (TLS_GD): Likewise.
55939         * sysdeps/i386/tls-macros.h: New file.
55940         * sysdeps/powerpc/tls-macros.h: Likewise.
55941         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
55942         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
55943         * sysdeps/sh/tls-macros.h: Likewise.
55944         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
55945         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
55946         * sysdeps/x86_64/tls-macros.h: Likewise.
55948 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
55950         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
55951         zero value for regular exit case.
55953         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
55954         (__start_context): Preserve zero value for regular exit case.
55956 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
55957             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55959         * manual/setjmp.texi (setcontext): Clarify normal process
55960         termination when uc_link is the null pointer.
55961         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
55962         exit call.
55964 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
55966         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
55967         preprocessor.  Test for each exception mask separately.
55969 2012-07-16  Andreas Jaeger  <aj@suse.de>
55971         * po/ru.po: Update from translation team.
55973 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
55975         * conform/data/string.h-data (NULL): Use macro-constant.  Require
55976         equal to 0.
55977         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55978         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55979         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
55980         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
55981         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55983 2012-07-13  Andreas Jaeger  <aj@suse.de>
55985         * po/fr.po: Update from translation team.
55987 2012-07-12  Marek Polacek  <polacek@redhat.com>
55989         [BZ #14173]
55990         * math/libm-test.inc (yn_test): Add test for BZ #14173.
55991         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
55992         loop condition.
55994 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
55996         [BZ #13717]
55997         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55998         Change to 2.4.1 where previously 2.4.0.
55999         * sysdeps/unix/sysv/linux/configure: Regenerated.
56000         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
56001         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
56002         version.
56003         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
56004         (__ASSUME_AT_CLKTCK): Remove.
56005         (__ASSUME_AT_PAGESIZE): Likewise.
56006         (__ASSUME_AT_XID): Likewise.
56007         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
56008         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
56009         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
56010         unconditionally.
56011         (HAVE_AUX_PAGESIZE): Likewise.
56012         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
56013         [__ASSUME_AT_CLKTCK]: Make code unconditional.
56014         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
56016 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
56018         [BZ #14307]
56019         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
56020         the temporary buffer used to invoke __gethostbyname2_r,
56021         __gethostbyaddr_r and gethostbyname4_r to make room for struct
56022         host_data / struct gaih_addrtuple.
56023         * resolv/nss_dns/dns-host.c (global scope): Move definition of
56024         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
56025         header file nss/nsswitch.h.
56026         * nss/nsswitch.h (global scope): Add definition of implementation
56027         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
56028         resolv/nss_dns/dns-host.c).
56030 2012-07-11  Andreas Jaeger  <aj@suse.de>
56032         * po/fr.po: Update from translation team.
56034         * po/sv.po: Update from translation team
56035         * po/fr.po: Another update from translation team.
56037 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56039         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
56040         for subnormals or multiply small sinh result by itself.
56041         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56044 2012-07-11  David S. Miller  <davem@davemloft.net>
56046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56048 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
56050         [BZ #14347]
56051         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
56052         (INTERNAL_MARK): Shift it here.
56054 2012-07-10  Marek Polacek  <polacek@redhat.com>
56056         [BZ #14151]
56057         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
56058         libc_cv_asm_global_directive with .globl.
56059         * configure: Regenerated.
56060         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
56061         with .globl.
56062         * sysdeps/i386/configure: Regenerated.
56063         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
56064         with .globl.
56065         * sysdeps/x86_64/configure: Regenerated.
56066         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
56067         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
56068         * elf/tst-unique2mod2.c: Likewise.
56069         * elf/tst-unique2mod1.c: Likewise.
56070         * elf/tst-unique1mod2.c: Likewise.
56071         * elf/tst-unique1mod1.c: Likewise.
56072         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56073         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
56074         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56075         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56076         * sysdeps/mach/sysdep.h: Likewise.
56077         * sysdeps/i386/sysdep.h: Likewise.
56078         * sysdeps/i386/i386-mcount.S: Likewise.
56079         * sysdeps/x86_64/_mcount.S: Likewise.
56080         * sysdeps/x86_64/sysdep.h: Likewise.
56081         * sysdeps/sh/_mcount.S: Likewise.
56082         * sysdeps/sh/sysdep.h: Likewise.
56083         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
56084         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
56085         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
56086         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56087         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
56088         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
56089         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
56090         * locale/localeinfo.h: Likewise.
56091         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
56092         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
56094 2012-07-09  Roland McGrath  <roland@hack.frob.com>
56096         [BZ #14336]
56097         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
56098         system".
56099         * manual/message.texi (The Uniforum approach): Likewise.
56100         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
56101         (glibc iconv Implementation): Likewise.
56103 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
56105         [BZ #14337]
56106         * math/s_clog.c (__clog): Avoid scaling a value down where that
56107         could result in underflow.
56108         * math/s_clog10.c (__clog10): Likewise.
56109         * math/s_clog10f.c (__clog10f): Likewise.
56110         * math/s_clog10l.c (__clog10l): Likewise.
56111         * math/s_clogf.c (__clogf): Likewise.
56112         * math/s_clogl.c (__clogl): Likewise.
56113         * math/libm-test.inc (clog_test): Add more tests.
56114         (clog10_test): Likewise.
56115         * sysdeps/i386/fpu/libm-test-ulps: Update.
56116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56118 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
56120         [BZ #14283]
56121         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
56122         by 7 not 8 to examine high bit of fractional part.
56124         [BZ #14042]
56125         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
56126         for call to __mcount_internal.
56127         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
56128         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
56129         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
56131 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
56133         [BZ #14154]
56134         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
56135         approximation for values within 0x1p-13f of an odd multiple of
56136         pi/4.
56137         * math/libm-test.inc (tan_test): Do not allow spurious underflow
56138         exception.  Add more tests.
56139         * sysdeps/i386/fpu/libm-test-ulps: Update.
56141         [BZ #6778]
56142         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
56143         inputs and return -1 for them.  Do not check for +Inf in case not
56144         reachable for +Inf.
56145         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
56146         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
56147         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56148         and return -1 for them.  Do not check for +Inf in case not
56149         reachable for +Inf.
56150         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
56151         define.
56152         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56153         and return -1 for them.  Do not check for +Inf in case not
56154         reachable for +Inf.
56155         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
56156         spurious underflow.
56157         * sysdeps/i386/fpu/libm-test-ulps: Update.
56158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56160 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
56162         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
56164 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
56166         [BZ #14157]
56167         [BZ #14331]
56168         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
56169         could result in spurious underflow.  Scale down values above
56170         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
56171         * math/s_csqrtf.c (__csqrtf): Likewise.
56172         * math/s_csqrtl.c (__csqrtl): Likewise.
56173         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
56174         spurious underflow.
56175         * sysdeps/i386/fpu/libm-test-ulps: Update.
56176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56178 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
56180         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
56181         xopen-msg.sed.
56182         * catgets/xopen-msg.awk: New file.
56183         * catgets/xopen-msg.sed: Removed.
56185         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
56186         po2text.sed.
56187         * intl/po2test.awk: New file.
56188         * intl/po2test.sed: Removed.
56190 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
56192         [BZ #14328]
56193         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
56194         or multiply small sinh result by itself.
56195         * math/s_ctanf.c (__ctanf): Likewise.
56196         * math/s_ctanh.c (__ctanh): Likewise.
56197         * math/s_ctanhf.c (__ctanhf): Likewise.
56198         * math/s_ctanhl.c (__ctanhl): Likewise.
56199         * math/s_ctanl.c (__ctanl): Likewise.
56200         * math/libm-test.inc (ctan_test_tonearest): New function.
56201         (ctan_test_towardzero): Likewise.
56202         (ctan_test_downward): Likewise.
56203         (ctan_test_upward): Likewise.
56204         (ctanh_test_tonearest): Likewise.
56205         (ctanh_test_towardzero): Likewise.
56206         (ctanh_test_downward): Likewise.
56207         (ctanh_test_upward): Likewise.
56208         (main): Call these new functions.
56209         * sysdeps/i386/fpu/libm-test-ulps: Update.
56210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56212 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
56214         * .gitignore: Delete /ports entry.
56216 2012-07-03  Andreas Jaeger  <aj@suse.de>
56218         * po/bg.po: Update from translation team.
56219         * po/cs.po: Likewise.
56220         * po/de.po: Likewise.
56221         * po/hr.po: Likewise.
56222         * po/nl.pl: Likewise.
56223         * po/pl.po: Likewise.
56224         * po/vi.po: Likewise.
56226 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
56228         * Makeconfig [!+link] (+link-before-libc): New variable.
56229         [!+link] (+link-after-libc): Likewise.
56230         [!+link] (+link-tests): Likewise.
56231         [!+link] (+link): Define in terms of $(+link-before-libc) and
56232         $(+link-after-libc).
56233         [!+link-static] (+link-static-before-libc): New variable.
56234         [!+link-static] (+link-static-after-libc): Likewise.
56235         [!+link-static] (+link-static-tests): Likewise.
56236         [!+link-static] (+link-static): Define in terms of
56237         $(+link-static-before-libc) and $(+link-static-after-libc).
56238         [build-shared] (link-libc-before-gnulib): New variable.
56239         [build-shared] (link-libc-tests): Likewise.
56240         [build-shared] (link-libc): Define in terms of
56241         $(link-libc-before-gnulib).
56242         [!build-shared] (link-libc-tests): New variable.
56243         (link-libc-static-tests): New variable.
56244         [!gnulib] (gnulib-arch): New variable.
56245         [!gnulib] (gnulib-tests): Likewise.
56246         [!gnulib] (static-gnulib-arch): Likewise.
56247         [!gnulib] (static-gnulib-tests): Likewise.
56248         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
56249         Define with "=" instead of ":=".
56250         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
56251         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
56252         * Rules (binaries-all-notests): New variable.
56253         (binaries-all-tests): Likewise.
56254         (binaries-static-notests): Likewise.
56255         (binaries-static-tests): Likewise.
56256         (binaries-all): Define using $(binaries-all-notests) and
56257         $(binaries-all-tests).
56258         (binaries-static): Define using $(binaries-static-notests) and
56259         $(binaries-static-tests).
56260         (binaries-shared-tests): New variable.
56261         (binaries-shared-notests): Likewise.
56262         (binaries-shared): Remove variable.
56263         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
56264         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
56265         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
56266         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
56267         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
56268         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
56269         * elf/Makefile (sln-modules): New variable.
56270         (extra-objs): Add $(sln-modules:=.o).
56271         (ldconfig-modules): Add static-stubs.
56272         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
56273         * elf/static-stubs.c: New file.
56275         [BZ #14283]
56276         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
56277         by 7 not 8 to examine high bit of fractional part.  Use volatile
56278         variables when splitting into final array of floats if
56279         __FLT_EVAL_METHOD__ != 0.
56280         * math/libm-test.inc (cos_test): Add another test.
56281         (sin_test): Likewise.
56282         * sysdeps/i386/fpu/libm-test-ulps: Update.
56284         [BZ #14273]
56285         * math/libm-test.inc (cosh_test): Add more tests.
56287         * version.h (RELEASE): Set to "development".
56288         (VERSION): Set to "2.16.90".
56290 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
56292         * NEWS: Update copyright. Remove last-updated date.
56293         Mention math library bug fixes and timezone data changes.
56294         * README: Mention GNU/Hurd, x32, and HPPA support status.
56296 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
56298         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
56300 2012-06-27  Andreas Jaeger  <aj@suse.de>
56302         * manual/contrib.texi (Contributors): Add Samuel Thibault.
56304 2012-06-25  Andreas Jaeger  <aj@suse.de>
56306         * sysdeps/s390/fpu/libm-test-ulps: Update.
56308 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
56309             Thomas Schwinge  <thomas@codesourcery.com>
56311         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
56312         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
56313         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
56314         fanotify_mark.
56316 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
56318         * sysdeps/mach/start.c: Remove file.
56319         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
56320         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
56321         * sysdeps/sh/init-first.c: Likewise.
56323         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
56324         registers for frame unwinding purposes, add CFI directives.
56325         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56326         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
56327         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
56328         Likewise.
56330         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
56331         __fortify_fail returning.
56332         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56334         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
56335         sysdeps/sh/____longjmp_chk.S.
56336         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
56337         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
56338         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
56339         (gen-as-const-headers): Append sigaltstack-offsets.sym.
56341         * sysdeps/sh/abort-instr.h: New file.
56342         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
56343         process in case exit returns.
56345         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
56346         initialize the GOT register before use.
56348         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
56349         calculation of ARGC > 4.
56351         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
56352         meaningful names to some local labels.
56354 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
56355             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56357         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
56358         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
56359         (__arch_compare_and_exchange_val_16_acq): Likewise.
56360         (__arch_compare_and_exchange_val_32_acq): Likewise.
56361         (atomic_exchange_and_add): Fix gUSA sequence.
56362         (atomic_add): Likewise.
56363         (atomic_add_negative): Likewise.
56364         (atomic_add_zero): Likewise.
56365         (atomic_bit_test_set): Likewise.
56367 2012-06-22  Andreas Schwab  <schwab@redhat.com>
56369         [BZ #13579]
56370         * include/link.h (struct link_map): Add l_free_initfini.
56371         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
56372         l_initfini.
56373         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
56374         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
56375         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
56376         set.
56378 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
56380         * configure.in: Use AC_LANG_SOURCE.
56381         * configure: Regenerate.
56383 2012-06-22  Roland McGrath  <roland@hack.frob.com>
56385         * configure.in (libc_cv_localstatedir): New substituted variable.
56386         * configure: Regenerated.
56387         * config.make.in (localstatedir): New variable, substituted from
56388         libc_cv_localstatedir.
56389         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
56390         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
56391         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
56392         * sysdeps/gnu/configure: Regenerated.
56394 2012-06-21  Jeff Law  <law@redhat.com>
56396         [BZ #14277]
56397         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
56398         free.  Simplify list management for _LIBC case.
56400 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
56402         [BZ #14273]
56403         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
56404         Clear sign bit of 64-bit integer value before comparing against
56405         overflow value.
56407         * sysdeps/mach/configure: Regenerated.
56409 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
56411         [BZ #14278]
56412         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
56414 2012-06-21  Jeff Law  <law@redhat.com>
56416         [BZ #13882]
56417         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
56418         uint16_t for elements in the "seen" array to avoid char overflows.
56419         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56420         * elf/dl-open.c (dl_open_worker): Likewise.
56422 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
56424         * scripts/list-sources.sh: Scan PORTS for translations.
56425         * po/libc.pot: Regenerated.
56427 2012-06-21  Andreas Jaeger  <aj@suse.de>
56429         [BZ #12194]
56430         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
56431         warning.
56432         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
56433         * bits/byteswap-16.h (__bswap_16): Likewise.
56434         * bits/byteswap.h (__bswap_constant_16): Likewise.
56436 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
56438         [BZ #14117]
56439         * sysdeps/i386/fpu_control.h: Removed.
56440         * sysdeps/x86_64/fpu_control.h: Moved to ...
56441         * sysdeps/x86/fpu_control.h: Here.
56443         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
56444         (_FPU_SETCW): Likewise.
56446 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
56448         [BZ #14117]
56449         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
56450         * sysdeps/x86/fpu/bits/mathinline.h: This.
56451         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
56453         [BZ #14050]
56454         [BZ #14117]
56455         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
56456         functions if __x86_64__ is defined.
56458 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
56460         * string/endian.h: Add !__ASSEMBLER__ condition for including
56461         conversion interfaces.
56463 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
56465         [BZ #14241]
56466         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
56467         of ABS(x) in calculating zero to negative powers other than odd
56468         integers.
56469         * math/libm-test.inc (pow_test): Add more tests.
56471 2012-06-15  Andreas Jaeger  <aj@suse.de>
56473         * manual/contrib.texi (Contributors): Update entry of Liubov
56474         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
56475         Machado Filho.
56477 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
56479         * string/string.h: Add __wur to GNU version of strerror_r.
56481 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
56483         [BZ #14229]
56484         * string/Makefile (tests): Add tst-strtok_r.
56485         * string/tst-strtok_r.c: New file.
56486         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
56487         RAX_LP/RDX_LP on SAVE_PTR.
56489 2012-06-14  Roland McGrath  <roland@hack.frob.com>
56491         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
56493 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
56495         * libm_test.inc (csqrt_test): Allow more spurious underflow
56496         exceptions.
56497         (j0_test): Likewise.
56498         (j1_test): Likewise.
56499         (y0_test): Likewise.
56500         (y1_test): Likewise.
56502 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
56504         * po/Makefile (libc.pot): Use UTF-8 charset.
56506 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
56508         [BZ #14210]
56509         Suppress sign-conversion warning from FD_SET.
56510         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
56511         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
56512         not unsigned long int.
56513         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
56515 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
56517         [BZ #14050]
56518         [BZ #14117]
56519         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
56520         __extern_always_inline instead of __extern_inline.
56521         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
56522         (__signbit): Likewise.
56523         (__signbitl): Support C++ namespace.
56524         (lrintf): New inline function.
56525         (lrint): Likewise.
56526         (llrintf): Likewise.
56527         (llrint): Likewise.
56528         (fmaxf): Likewise.
56529         (fmax): Likewise.
56530         (fminf): Likewise.
56531         (fmin): Likewise.
56532         (rint): Likewise.
56533         (rintf): Likewise.
56534         (ceil): Likewise.
56535         (ceilf): Likewise.
56536         (floor): Likewise.
56537         (floorf): Likewise.
56538         (nearbyint): Likewise.
56539         (nearbyintf): Likewise.
56541 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
56543         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
56544         non-default versions.
56546 2012-06-11  Roland McGrath  <roland@hack.frob.com>
56548         [BZ #14218]
56549         * manual/argp.texi (Argp): Reword argp_parse description slightly.
56551 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
56553         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
56554         (FE_UPWARD, FE_DOWNWARD): Don't define.
56555         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
56556         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56558         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
56559         reading it.
56560         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56561         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56563 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56565         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
56566         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
56567         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
56568         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
56570 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
56572         [BZ #14117]
56573         * sysdeps/i386/fpu/bits/fenv.h: Removed.
56574         * sysdeps/i386/fpu/Implies: New file.
56575         * sysdeps/x86_64/fpu/Implies: Likewise.
56576         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
56577         * sysdeps/x86/fpu/bits/fenv.h: This.
56579         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
56580         __SSE_MATH__.
56582 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56584         [BZ #14134]
56585         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
56586         character 0xffff that matches the last element of the
56587         conversion table.
56589 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56591         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
56592         fmodl commit.
56594 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56596         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
56597         values higher than 25.6283.
56599 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56601         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
56602         subnormal exponent extraction and add some __builtin_expect.
56603         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
56604         Fix for subnormal mantissa calculation.
56606 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
56608         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
56609         cpu2 is -1 and errno is not ENOSYS.
56611 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
56613         [BZ #14117]
56614         * sysdeps/i386/i486/bits/string.h: Renamed to ...
56615         * sysdeps/x86/bits/string.h: This.
56616         * sysdeps/x86_64/bits/string.h: Removed.
56618         * sysdeps/i386/i486/bits/string.h: Define inline functions only
56619         if not compiling for x86-64, but compiling for >= i486.
56621         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
56622         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
56624         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
56625         New macro from Linux kernel 3.4.0.
56626         (FP_XSTATE_MAGIC2): Likewise.
56627         (FP_XSTATE_MAGIC2_SIZE): Likewise.
56628         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
56629         (struct _fpx_sw_bytes): New struct.
56630         (struct _xsave_hdr): Likewise.
56631         (struct _ymmh_state): Likewise.
56632         (struct _xstate): Likewise.
56634         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
56635         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
56636         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
56637         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
56638         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
56639         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
56641         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
56642         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
56643         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
56644         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
56645         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
56646         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
56648 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56650         [BZ #13743]
56651         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
56652         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
56653         (sysdep_headers): Include sys/platform/ppc.h.
56654         * sysdeps/powerpc/test-gettimebase.c: Test for
56655         __ppc_get_timebase() to catch future ISA opcode/insn changes.
56656         * manual/Makefile (appendices): Include platform.texi.
56657         * manual/contrib.texi (Contributors): Update @node pointers.
56658         * manual/maint.texi (Maintenance): Likewise.
56659         (Platform): New node.
56660         * manual/platform.texi: New file.  Document the new features.
56662 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56663             Jakub Jelinek  <jakub@redhat.com>
56665         [BZ #14188]
56666         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
56667         where __builtin_expect is unavailable.
56669 2012-06-03  David S. Miller  <davem@davemloft.net>
56671         * stdlib/longlong.h: Updated from GCC.
56673 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
56675         [BZ #14042]
56676         * sysdeps/powerpc/powerpc32/mcount.c: New file.
56677         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
56678         __mcount_internal.
56679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56680         (GLIBC_2.16): Likewise.
56682 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56684         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
56686 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
56688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
56689         (default-abi): New variable.
56690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
56691         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
56692         variable.
56693         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
56694         Likewise.
56695         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
56696         Likewise.
56697         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
56698         Likewise.
56700         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
56701         definition.  Document in comment.
56703 2012-06-01  David S. Miller  <davem@davemloft.net>
56705         * stdlib/longlong.h: Updated from GCC.
56707 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56709         [BZ #14117]
56710         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
56711         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
56712         sys/debugreg.h sys/io.h here.
56713         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
56714         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
56715         sys/io.h.
56716         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
56717         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
56718         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
56719         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
56720         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
56721         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
56723         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
56724         Define only if __x86_64__ is defined.
56726 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
56728         [BZ #14048]
56729         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
56730         Use int64_t for variable i.
56731         * math/libm-test.inc (fmod_test): Add more tests.
56733         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
56734         z computation is not scheduled after fetestexcept.
56735         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
56736         Use math_force_eval instead of asm to ensure calculation scheduled
56737         before exception test.
56738         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
56739         Ensure a1 + u.d computation is not scheduled after fetestexcept.
56741 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
56743         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
56744         computation is not scheduled after fetestexcept.
56746 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56748         [BZ #14117]
56749         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
56750         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
56752 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56754         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
56755         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56757 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
56759         [BZ #14117]
56760         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
56761         <bits/wordsize.h>.
56762         (__WCHAR_MIN): Support __WORDSIZE == 64.
56763         (__WCHAR_MAX): Likewise.
56765         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
56766         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
56768         [BZ #14183]
56769         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
56770         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
56772         [BZ #14117]
56773         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
56774         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
56776         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
56777         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
56779         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
56780         Defined to 1 if __x86_64__ isn't defined.
56781         (_STAT_VER_LINUX_OLD): New.
56782         (st_atime): Remove duplicate.
56783         (st_mtime): Likewise.
56784         (st_ctime): Likewise.
56786 2012-05-31  David S. Miller  <davem@davemloft.net>
56788         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
56789         entries.
56791 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
56793         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
56794         gen-libm-test.pl.
56796         [BZ #14132]
56797         * elf/dl-reloc.c: Include <_itoa.h>.
56798         (_dl_reloc_bad_type): Remove use of INTUSE.
56799         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
56800         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
56801         * stdio-common/psiginfo.c (psiginfo): Likewise.
56802         * stdio-common/psignal.c (psignal): Likewise.
56803         * string/strsignal.c (strsignal): Likewise.
56804         * include/signal.h (_sys_siglist): Declare hidden proto.
56805         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
56806         INTVARDEF with libc_hidden_data_def.
56807         * stdio-common/itoa-udigits.c: Likewise.
56808         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
56809         (_itoa_lower_digits_internal): Remove declaration.
56810         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
56811         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
56812         (_sys_sigabbrev_internal): Remove aliases.
56813         (_sys_siglist): Define hidden alias.
56815 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
56817         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56818         bits/sysctl.h.
56820 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
56822         [BZ #14117]
56823         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
56824         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
56826         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
56827         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
56828         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
56829         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
56830         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
56831         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
56833         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
56834         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
56835         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
56837         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
56838         with __addr.
56839         (insw): Likewise.
56840         (insl): Likewise.
56841         (outsb): Likewise.
56842         (outsw): Likewise.
56843         (outsl): Likewise.
56845         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
56846         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
56847         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
56849         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
56850         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
56851         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
56852         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
56853         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
56854         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
56856         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
56857         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
56859         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
56860         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
56862         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
56863         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
56864         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
56866         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
56867         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
56868         to ...
56869         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
56871         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
56872         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
56873         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
56875         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
56876         for x86-64.
56877         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
56879 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
56881         * math/math.h (M_El): Use two more decimal places.
56882         (M_LOG2El): Likewise.
56883         (M_LOG10El): Likewise.
56884         (M_LN2l): Likewise.
56885         (M_LN10l): Likewise.
56886         (M_PIl): Likewise.
56887         (M_PI_2l): Likewise.
56888         (M_PI_4l): Likewise.
56889         (M_1_PIl): Likewise.
56890         (M_2_PIl): Likewise.
56891         (M_2_SQRTPIl): Likewise.
56892         (M_SQRT2l): Likewise.
56893         (M_SQRT1_2l): Likewise.
56895 2012-05-31  David S. Miller  <davem@davemloft.net>
56897         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
56898         values between float registers.
56899         * sysdeps/sparc/sparc64/memset.S: Likewise.
56900         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
56902 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
56904         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
56905         -D_FORTIFY_SOURCE=1.
56906         (CPPFLAGS-tst-longjmp_chk.c): Define.
56907         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
56908         (CPPFLAGS-tst-longjmp_chk2.c): Define.
56909         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
56910         CFLAGS-tst-wchar-h.c.
56912 2012-05-31  Marek Polacek  <polacek@redhat.com>
56914         [BZ #14132]
56915         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
56916         __endmntent_internal): Remove declaration.
56917         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
56918         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
56919         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
56921 2012-05-30  David S. Miller  <davem@davemloft.net>
56923         * sysdeps/sparc/sparc32/soft-fp/q_util.c
56924         (___Q_simulate_exceptions): Use real FP ops rather than writing
56925         into the %fsr.
56926         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
56927         Likewise.
56929 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56931         [BZ #14117]
56932         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
56933         * sysdeps/x86/bits/xtitypes.h: This.
56935         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
56936         * sysdeps/x86/bits/wordsize.h: This.
56938         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
56939         * sysdeps/x86/bits/huge_vall.h: This.
56941         * sysdeps/i386/bits/select.h: Removed.
56942         * sysdeps/x86_64/bits/select.h: Renamed to ...
56943         * sysdeps/x86/bits/select.h: This.
56945         * sysdeps/i386/bits/setjmp.h: Removed.
56946         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
56947         * sysdeps/x86/bits/setjmp.h: This.
56949         * sysdeps/i386/bits/mathdef.h: Removed.
56950         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
56951         * sysdeps/x86/bits/mathdef.h: This.
56953 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
56955         [BZ #14132]
56956         * include/sys/socket.h (__connect_internal)
56957         (__libc_sa_len_internal): Remove declaration.
56958         (__connect, __libc_sa_len): Declare hidden_proto.
56959         (SA_LEN): Remove use of INTUSE.
56960         * socket/connect.c: Add libc_hidden_def.
56961         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
56962         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
56963         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
56964         alias.
56965         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
56966         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
56967         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
56968         of adding _internal alias.
56970 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56972         [BZ #14117]
56973         * sysdeps/i386/bits/link.h: Removed.
56974         * sysdeps/i386/bits/linkmap.h: Likewise.
56975         * sysdeps/x86_64/bits/link.h: Renamed to ...
56976         * sysdeps/x86/bits/link.h: This.
56977         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
56978         * sysdeps/x86/bits/linkmap.h: This.
56980         * sysdeps/i386/bits/endian.h: Removed.
56981         * sysdeps/x86_64/bits/endian.h: Renamed to ...
56982         * sysdeps/x86/bits/endian.h: This.
56984         * sysdeps/i386/bits/byteswap.h: Removed.
56985         * sysdeps/i386/bits/byteswap-16.h: Likewise.
56986         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
56987         * sysdeps/x86/bits/byteswap.h: This.
56988         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
56989         * sysdeps/x86/bits/byteswap-16.h: This.
56990         * sysdeps/i386/Implies: Add x86.
56991         * sysdeps/x86_64/Implies: Likewise.
56993 2012-05-30  David S. Miller  <davem@davemloft.net>
56995         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
56996         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
56997         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56998         (FP_TRAPPING_EXCEPTIONS): Define.
56999         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57000         (FP_TRAPPING_EXCEPTIONS): Define.
57001         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
57002         subnormals only when inexact has been signalled or underflow
57003         exceptions are enabled.
57004         (_FP_PACK_CANONICAL): Likewise.
57006 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57008         [BZ #14183]
57009         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
57010         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
57012 2012-05-30  Richard Henderson  <rth@twiddle.net>
57014         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
57015         with #ifndef NOT_IN_libc.
57017         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
57018         marked to avoid plt entry.
57020 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57022         [BZ #14112]
57023         * Makeconfig (default-abi): New macro.
57024         (abi-includes): Likewise.
57025         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
57026         $(abi-$(default-abi)-lib-soname) for soname if defined.
57027         ($(common-objpfx)gnu/lib-names.stmp): Generate from
57028         abi-variants.
57029         * Makefile (installed-stubs): Likewise.
57030         * include/stubs-biarch.h: Removed.
57031         * scripts/lib-names.awk: Only handle one library at a time.
57032         * scripts/soversions.awk: Remove WORDSIZE support.
57033         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
57034         entries.
57035         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
57036         Removed.
57037         (syscall-list-default-condition): Likewise.
57038         (syscall-list-default-condition): Likewise.
57039         (syscall-list-includes): Likewise.
57040         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
57041         syscall-list-* with abi-*.  Handle undefined abi-variants.
57042         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
57043         * sysdeps/unix/sysv/linux/i386/Implies: New file.
57044         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
57045         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
57046         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
57047         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
57048         Removed.
57049         (syscall-list-32-options): Likewise.
57050         (syscall-list-32-condition): Likewise.
57051         (syscall-list-64-options): Likewise.
57052         (syscall-list-64-condition): Likewise.
57053         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
57054         macro.
57055         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
57056         Renamed to ...
57057         (abi-*): This.
57058         (abi-64-ld-soname): New macro.
57059         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
57060         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
57061         Renamed to ...
57062         (abi-*): This.
57063         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
57064         * sysdeps/x86_64/x32/shlib-versions: Likewise.
57066 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
57068         * sysdeps/unix/sysv/linux/kernel-features.h
57069         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
57070         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
57071         include <kernel-features.h>.
57072         [!__NR_ftruncate64]: Remove conditional code.
57073         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57074         [__NR_ftruncate64]: Make code unconditional.
57075         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57076         * sysdeps/unix/sysv/linux/truncate64.c: Do not
57077         include <kernel-features.h>.
57078         [!__NR_ftruncate64]: Remove conditional code.
57079         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57080         [__NR_ftruncate64]: Make code unconditional.
57081         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
57083         include <kernel-features.h>.
57084         [!__NR_ftruncate64]: Remove conditional code.
57085         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57086         [__NR_ftruncate64]: Make code unconditional.
57087         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57089         include <kernel-features.h>.
57090         [!__NR_ftruncate64]: Remove conditional code.
57091         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57092         [__NR_ftruncate64]: Make code unconditional.
57093         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57095         * configure.in (libc_cv_fpie): Weaken to a compile test using
57096         LIBC_TRY_CC_OPTION.
57097         * configure: Regenerated.
57099 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
57102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
57103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
57104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57105         Refreshed.
57106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
57107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
57108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
57109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
57110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
57111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57112         Refreshed.
57114 2012-05-27  David S. Miller  <davem@davemloft.net>
57116         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
57117         (___Q_zero): New.
57118         (__Q_simulate_exceptions): Return void.  Change to simulate
57119         exceptions by writing into the %fsr.
57120         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
57121         (__Qp_handle_exceptions): Likewise.
57122         (numbers): Delete.
57123         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
57124         __Qp_handle_exceptions.
57125         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
57126         __Qp_handle_exceptions.
57127         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57128         as unused and give dummy FP_RND_NEAREST initializer.
57129         (FP_INHIBIT_RESULTS): Define.
57130         (___Q_simulate_exceptions): Update declaration.
57131         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
57132         formatting.
57133         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57134         as unused and give dummy FP_RND_NEAREST initializer.
57135         (__Qp_handle_exceptions): Update declaration.
57136         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
57137         formatting.
57139 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
57141         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
57142         the temporary FPU control word.
57143         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
57144         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
57145         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
57146         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
57147         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
57148         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
57149         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
57150         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
57151         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
57152         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
57153         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57155 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57157         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
57158         fields.
57160 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
57162         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
57163         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
57164         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
57165         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
57166         Likewise.
57167         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
57168         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
57169         Likewise.
57171 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
57173         * po/h.po: Update from translation team.
57175 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
57177         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
57179         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
57180         handling of denormals.
57181         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57182         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57183         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
57184         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
57185         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57186         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
57187         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
57188         Likewise.
57190 2012-05-26  Marek Polacek  <polacek@redhat.com>
57192         [BZ #14152]
57193         * math/libm-test.inc (fma_test): Don't always expect underflow
57194         exception.
57196 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57198         [BZ #12416]
57199         * elf/tst-execstack.c: Include stackinfo.h.
57200         (do_test): Adjust test case to ensure that pthread_getattr_np
57201         behaviour remains the same after marking stack executable.
57203 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
57205         * sysdeps/unix/sysv/linux/kernel-features.h
57206         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
57207         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
57208         kernel-features.h.
57209         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57210         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57211         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
57212         kernel-features.h.
57213         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57214         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57216 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
57218         * configure.in: Define the default includes to being none.
57219         * configure: Regenerated.
57221 2012-05-25  Roland McGrath  <roland@hack.frob.com>
57223         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
57224         * sysdeps/x86_64/setjmp.S: Likewise.
57225         * sysdeps/i386/bsd-setjmp.S: Likewise.
57226         * sysdeps/i386/bsd-_setjmp.S: Likewise.
57227         * sysdeps/i386/setjmp.S: Likewise.
57228         * sysdeps/i386/__longjmp.S: Likewise.
57229         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57230         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
57232         * include/stap-probe.h: New file.
57233         * configure.in: Handle --enable-systemtap.
57234         * configure: Regenerated.
57235         * config.h.in (USE_STAP_PROBE): New #undef.
57236         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
57237         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
57238         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
57240 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
57242         [BZ #13717]
57243         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57244         to 2.4.0 where earlier.
57245         * sysdeps/unix/sysv/linux/configure: Regenerated.
57246         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
57247         <kernel-features.h>.
57248         [__ASSUME_32BITUIDS]: Make code unconditional.
57249         [!__ASSUME_32BITUIDS]: Remove conditional code.
57250         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
57251         <kernel-features.h>.
57252         [__ASSUME_32BITUIDS]: Make code unconditional.
57253         [!__ASSUME_32BITUIDS]: Remove conditional code.
57254         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
57255         [__ASSUME_32BITUIDS]: Make code unconditional.
57256         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
57257         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
57258         <kernel-features.h>.
57259         [__ASSUME_32BITUIDS]: Make code unconditional.
57260         [!__ASSUME_32BITUIDS]: Remove conditional code.
57261         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
57262         <kernel-features.h>.
57263         [__ASSUME_32BITUIDS]: Make code unconditional.
57264         [!__ASSUME_32BITUIDS]: Remove conditional code.
57265         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
57266         <kernel-features.h>.
57267         [__ASSUME_32BITUIDS]: Make code unconditional.
57268         [!__ASSUME_32BITUIDS]: Remove conditional code.
57269         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
57270         <kernel-features.h>.
57271         [__ASSUME_32BITUIDS]: Make code unconditional.
57272         [!__ASSUME_32BITUIDS]: Remove conditional code.
57273         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
57274         <kernel-features.h>.
57275         [__ASSUME_32BITUIDS]: Make code unconditional.
57276         [!__ASSUME_32BITUIDS]: Remove conditional code.
57277         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
57278         <kernel-features.h>.
57279         [__ASSUME_32BITUIDS]: Make code unconditional.
57280         [!__ASSUME_32BITUIDS]: Remove conditional code.
57281         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
57282         <kernel-features.h>.
57283         [__ASSUME_32BITUIDS]: Make code unconditional.
57284         [!__ASSUME_32BITUIDS]: Remove conditional code.
57285         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57286         <kernel-features.h>.
57287         [__ASSUME_32BITUIDS]: Make code unconditional.
57288         [!__ASSUME_32BITUIDS]: Remove conditional code.
57289         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
57290         <kernel-features.h>.
57291         [__ASSUME_32BITUIDS]: Make code unconditional.
57292         [!__ASSUME_32BITUIDS]: Remove conditional code.
57293         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
57294         <kernel-features.h>.
57295         [__ASSUME_32BITUIDS]: Make code unconditional.
57296         [!__ASSUME_32BITUIDS]: Remove conditional code.
57297         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
57298         <kernel-features.h>.
57299         [__NR_setresgid] (__setresgid): Do not declare.
57300         [__ASSUME_32BITUIDS]: Make code unconditional.
57301         [!__ASSUME_32BITUIDS]: Remove conditional code.
57302         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
57303         <kernel-features.h>.
57304         [__NR_setresuid] (__setresuid): Do not declare.
57305         [__ASSUME_32BITUIDS]: Make code unconditional.
57306         [!__ASSUME_32BITUIDS]: Remove conditional code.
57307         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
57308         <kernel-features.h>.
57309         [__ASSUME_32BITUIDS]: Make code unconditional.
57310         [!__ASSUME_32BITUIDS]: Remove conditional code.
57311         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
57312         <kernel-features.h>.
57313         [__ASSUME_32BITUIDS]: Make code unconditional.
57314         [!__ASSUME_32BITUIDS]: Remove conditional code.
57315         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
57316         <kernel-features.h>.
57317         [__ASSUME_32BITUIDS]: Make code unconditional.
57318         [!__ASSUME_32BITUIDS]: Remove conditional code.
57319         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
57320         <kernel-features.h>.
57321         [__ASSUME_32BITUIDS]: Make code unconditional.
57322         [!__ASSUME_32BITUIDS]: Remove conditional code.
57323         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
57324         <kernel-features.h>.
57325         [__ASSUME_32BITUIDS]: Make code unconditional.
57326         [!__ASSUME_32BITUIDS]: Remove conditional code.
57327         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
57328         <kernel-features.h>.
57329         [__ASSUME_32BITUIDS]: Make code unconditional.
57330         [!__ASSUME_32BITUIDS]: Remove conditional code.
57331         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
57332         <kernel-features.h>.
57333         [__ASSUME_32BITUIDS]: Make code unconditional.
57334         [!__ASSUME_32BITUIDS]: Remove conditional code.
57335         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
57336         <kernel-features.h>.
57337         [__ASSUME_32BITUIDS]: Make code unconditional.
57338         [!__ASSUME_32BITUIDS]: Remove conditional code.
57339         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
57340         <kernel-features.h>.
57341         [__ASSUME_32BITUIDS]: Make code unconditional.
57342         [!__ASSUME_32BITUIDS]: Remove conditional code.
57343         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
57344         <kernel-features.h>.
57345         [__ASSUME_32BITUIDS]: Make code unconditional.
57346         [!__ASSUME_32BITUIDS]: Remove conditional code.
57347         * sysdeps/unix/sysv/linux/kernel-features.h
57348         (__ASSUME_SETRESUID_SYSCALL): Remove.
57349         (__ASSUME_SETRESGID_SYSCALL): Likewise.
57350         (__ASSUME_32BITUIDS): Likewise.
57351         (__ASSUME_LDT_WORKS): Likewise.
57352         (__ASSUME_O_DIRECTORY): Likewise.
57353         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
57354         architecture but not kernel version.
57355         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
57356         (__ASSUME_MMAP2_SYSCALL): Likewise.
57357         (__ASSUME_STAT64_SYSCALL): Likewise.
57358         (__ASSUME_IPC64): Likewise.
57359         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
57360         <kernel-features.h>.
57361         [__ASSUME_32BITUIDS]: Make code unconditional.
57362         [!__ASSUME_32BITUIDS]: Remove conditional code.
57363         * sysdeps/unix/sysv/linux/opendir.c: Do not include
57364         <kernel-features.h>.
57365         [__ASSUME_O_DIRECTORY]: Make code unconditional.
57366         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
57367         132096]: Remove conditional code.
57368         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
57369         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57370         <kernel-features.h>.
57371         [__ASSUME_32BITUIDS]: Make code unconditional.
57372         [!__ASSUME_32BITUIDS]: Remove conditional code.
57373         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57374         <kernel-features.h>.
57375         [__ASSUME_32BITUIDS]: Make code unconditional.
57376         [!__ASSUME_32BITUIDS]: Remove conditional code.
57377         * sysdeps/unix/sysv/linux/setegid.c: Do not include
57378         <kernel-features.h>.
57379         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
57380         unconditional.
57381         (__setresgid): Do not declare.
57382         [__ASSUME_32BITUIDS]: Make code unconditional.
57383         [!__ASSUME_32BITUIDS]: Remove conditional code.
57384         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
57385         <kernel-features.h>.
57386         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
57387         unconditional.
57388         (__setresuid): Do not declare.
57389         [__ASSUME_32BITUIDS]: Make code unconditional.
57390         [!__ASSUME_32BITUIDS]: Remove conditional code.
57391         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57392         <kernel-features.h>.
57393         [__ASSUME_32BITUIDS]: Make code unconditional.
57394         [!__ASSUME_32BITUIDS]: Remove conditional code.
57395         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
57396         <kernel-features.h>.
57397         [__ASSUME_32BITUIDS]: Make code unconditional.
57398         [!__ASSUME_32BITUIDS]: Remove conditional code.
57400 2012-05-25  Richard Henderson  <rth@twiddle.net>
57402         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
57403         dl_hwcap to ifunc resolver.
57404         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
57405         elf_ifunc_invoke.
57406         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
57407         dl_hwcap to ifunc resolver.
57408         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
57410 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57412         [BZ #14153]
57413         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
57414         for |x| <= 2**-26, not 2**-57.
57415         * math/libm-test.inc (acos_test): Do not allow spurious underflow
57416         exception.
57418 2012-05-24  Jeff Law  <law@redhat.com>
57420         * stdio-common/Makefile (tests): Add bug25.
57421         * stdio-common/bug25.c: New test.
57423 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
57425         [BZ #13576]
57426         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
57427         multiple of MALLOC_ALIGNMENT in size.
57428         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
57430 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57432         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
57433         Require >= 256.
57434         (FILENAME_MAX): Use macro-int-constant.
57435         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
57436         (_IOFBF): Use macro-int-constant.
57437         (_IOLBF): Likewise.
57438         (_IONBF): Likewise.
57439         (SEEK_CUR): Likewise.
57440         (SEEK_END): Likewise.
57441         (SEEK_SET): Likewise.
57442         (TMP_MAX): Likewise.
57443         (EOF): Use macro-int-constant.  Require < 0.
57444         (NULL): Use macro-constant.  Require == 0.
57445         (stdin): Require type to be FILE *.
57446         (stdout): Likewise.
57447         (stderr): Likewise.
57448         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
57449         macro-int-constant.
57450         (EXIT_SUCCESS): Likewise.
57451         (NULL): Use macro-constant.  Require == 0.
57452         (RAND_MAX): Use macro-int-constant.
57453         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
57454         [C99-based standards] (strtof): Require function.
57455         [C99-based standards] (strtold): Likewise.
57456         [C99-based standards] (strtoll): Likewise.
57457         [C99-based standards] (strtoull): Likewise.
57458         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
57459         [ISO || ISO99 || ISO11] (limits.h): Likewise.
57460         [ISO || ISO99 || ISO11] (math.h): Likewise.
57461         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
57462         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
57463         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57465 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
57467         [BZ #14132]
57468         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
57469         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
57470         * intl/dgettext.c (DCGETTEXT): Likewise.
57471         * intl/gettext.c (DCGETTEXT): Likewise.
57472         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
57473         * posix/regex_internal.h (gettext): Likewise.
57474         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
57475         Remove declaration.
57476         * include/argz.h (__argz_count_internal)
57477         (__argz_stringify_internal): Remove declaration.
57478         (__argz_count, __argz_stringify): Declare hidden proto.
57479         * intl/dcgettext.c: Remove use of INTDEF.
57480         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
57481         * string/argz-stringify.c: Likewise.
57482         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57483         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57484         Declare hidden proto.
57485         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57486         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57487         Declare hidden proto.
57488         * include/stdio.h (__asprintf_internal): Don't declare.
57489         (__asprintf): Don't define as macro.  Declare hidden proto.
57490         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
57491         (__fsetlocking): Declare hidden proto.
57492         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
57493         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
57494         hidden proto.
57495         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
57496         (_IO_setlinebuf): Remove use of INTUSE.
57497         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
57498         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
57499         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
57500         Remove declaration.
57501         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
57502         (_IO_do_flush): Remove use of INTUSE.
57503         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
57504         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
57505         (_IO_adjust_column, _IO_least_wmarker)
57506         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
57507         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
57508         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
57509         (_IO_default_doallocate, _IO_wdefault_doallocate)
57510         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
57511         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
57512         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
57513         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
57514         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
57515         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
57516         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
57517         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
57518         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
57519         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
57520         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
57521         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
57522         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
57523         proto.
57524         (_IO_flush_all_internal, _IO_adjust_column_internal)
57525         (_IO_default_uflow_internal, _IO_default_finish_internal)
57526         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
57527         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
57528         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
57529         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
57530         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
57531         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
57532         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
57533         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
57534         (_IO_file_close_internal, _IO_file_close_it_internal)
57535         (_IO_file_underflow_internal, _IO_file_overflow_internal)
57536         (_IO_file_init_internal, _IO_file_attach_internal)
57537         (_IO_file_fopen_internal, _IO_file_read_internal)
57538         (_IO_file_sync_internal, _IO_file_seek_internal)
57539         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
57540         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
57541         (_IO_str_underflow_internal, _IO_str_overflow_internal)
57542         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
57543         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
57544         (_IO_list_all_internal, _IO_link_in_internal)
57545         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
57546         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
57547         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
57548         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
57549         (_IO_do_write_internal, _IO_padn_internal)
57550         (_IO_getline_info_internal, _IO_getline_internal)
57551         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
57552         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
57553         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
57554         (_IO_vfscanf_internal, _IO_vfprintf_internal)
57555         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
57556         (_IO_init_internal, _IO_un_link_internal): Don't declare.
57557         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
57558         with libc_hidden_ver, remove use of INTUSE.
57559         * libio/genops.c: Likewise.
57560         * libio/freopen.c: Likewise.
57561         * libio/freopen64.c: Likewise.
57562         * libio/iofclose.c: Likewise.
57563         * libio/iofdopen.c: Likewise.
57564         * libio/iofflush.c: Likewise.
57565         * libio/iofflush_u.c: Likewise.
57566         * libio/iofgets.c: Likewise.
57567         * libio/iofgets_u.c: Likewise.
57568         * libio/iofopen.c: Likewise.
57569         * libio/iofopncook.c: Likewise.
57570         * libio/iofread.c: Likewise.
57571         * libio/iofread_u.c: Likewise.
57572         * libio/ioftell.c: Likewise.
57573         * libio/iofwrite.c: Likewise.
57574         * libio/iogetline.c: Likewise.
57575         * libio/iogets.c: Likewise.
57576         * libio/iogetwline.c: Likewise.
57577         * libio/iopadn.c: Likewise.
57578         * libio/iopopen.c: Likewise.
57579         * libio/ioseekoff.c: Likewise.
57580         * libio/ioseekpos.c: Likewise.
57581         * libio/iosetbuffer.c: Likewise.
57582         * libio/iosetvbuf.c: Likewise.
57583         * libio/ioungetc.c: Likewise.
57584         * libio/ioungetwc.c: Likewise.
57585         * libio/iovdprintf.c: Likewise.
57586         * libio/iovsprintf.c: Likewise.
57587         * libio/iovsscanf.c: Likewise.
57588         * libio/memstream.c: Likewise.
57589         * libio/obprintf.c: Likewise.
57590         * libio/oldfileops.c: Likewise.
57591         * libio/oldiofclose.c: Likewise.
57592         * libio/oldiofdopen.c: Likewise.
57593         * libio/oldiofopen.c: Likewise.
57594         * libio/oldiopopen.c: Likewise.
57595         * libio/oldstdfiles.c: Likewise.
57596         * libio/putc.c: Likewise.
57597         * libio/setbuf.c: Likewise.
57598         * libio/setlinebuf.c: Likewise.
57599         * libio/stdfiles.c: Likewise.
57600         * libio/strops.c: Likewise.
57601         * libio/vasprintf.c: Likewise.
57602         * libio/vscanf.c: Likewise.
57603         * libio/vsnprintf.c: Likewise.
57604         * libio/vswprintf.c: Likewise.
57605         * libio/wfiledoalloc.c: Likewise.
57606         * libio/wfileops.c: Likewise.
57607         * libio/wgenops.c: Likewise.
57608         * libio/wmemstream.c: Likewise.
57609         * libio/wstrops.c: Likewise.
57610         * libio/__fpurge.c: Likewise.
57611         * libio/__fsetlocking.c: Likewise.
57612         * assert/assert.c: Likewise.
57613         * debug/fgets_chk.c: Likewise.
57614         * debug/fgets_u_chk.c: Likewise.
57615         * debug/fread_chk.c: Likewise.
57616         * debug/fread_u_chk.c: Likewise.
57617         * debug/gets_chk.c: Likewise.
57618         * debug/obprintf_chk.c: Likewise.
57619         * debug/vasprintf_chk.c: Likewise.
57620         * debug/vdprintf_chk.c: Likewise.
57621         * debug/vsnprintf_chk.c: Likewise.
57622         * debug/vsprintf_chk.c: Likewise.
57623         * malloc/mtrace.c: Likewise.
57624         * misc/error.c: Likewise.
57625         * misc/syslog.c: Likewise.
57626         * stdio-common/asprintf.c: Likewise.
57627         * stdio-common/fxprintf.c: Likewise.
57628         * stdio-common/getw.c: Likewise.
57629         * stdio-common/isoc99_fscanf.c: Likewise.
57630         * stdio-common/isoc99_scanf.c: Likewise.
57631         * stdio-common/isoc99_vfscanf.c: Likewise.
57632         * stdio-common/isoc99_vscanf.c: Likewise.
57633         * stdio-common/isoc99_vsscanf.c: Likewise.
57634         * stdio-common/printf-prs.c: Likewise.
57635         * stdio-common/printf_fp.c: Likewise.
57636         * stdio-common/printf_fphex.c: Likewise.
57637         * stdio-common/printf_size.c: Likewise.
57638         * stdio-common/putw.c: Likewise.
57639         * stdio-common/scanf.c: Likewise.
57640         * stdio-common/sprintf.c: Likewise.
57641         * stdio-common/tmpfile.c: Likewise.
57642         * stdio-common/vfprintf.c: Likewise.
57643         * stdio-common/vfscanf.c: Likewise.
57644         * stdlib/strfmon_l.c: Likewise.
57645         * sunrpc/openchild.c: Likewise.
57646         * sunrpc/xdr_stdio.c: Likewise.
57647         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
57648         * sysdeps/mach/hurd/tmpfile.c: Likewise.
57650 2012-05-24  Roland McGrath  <roland@hack.frob.com>
57652         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57654         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
57655         in the third column, to generate for the shared library an IFUNC
57656         that uses _dl_vdso_vsym.
57657         * Makerules (COMPILE.c, compile-stdin.c): New variables.
57658         * Makeconfig (object-suffixes-noshared): New variable.
57660         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
57661         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
57662         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
57663         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
57665         [BZ #14132]
57666         * include/sys/time.h (__gettimeofday): Remove macro.
57667         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
57668         * time/gettimeofday.c (__gettimeofday): Remove #undef.
57669         Remove INTDEF.
57670         (__gettimeofday): Add libc_hidden_def.
57671         (gettimeofday): Add libc_hidden_weak.
57672         * sysdeps/mach/gettimeofday.c: Likewise.
57673         * sysdeps/posix/gettimeofday.c: Likewise.
57674         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
57675         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
57676         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
57677         (__gettimeofday_internal): Remove strong_alias.
57678         (__gettimeofday): Add libc_hidden_def.
57679         (gettimeofday): Add libc_hidden_weak.
57680         * sysdeps/unix/syscalls.list (gettimeofday):
57681         Remove __gettimeofday_internal alias.
57683 2012-05-24  Daniel Jacobowitz  <drow@false.org>
57684             H.J. Lu  <hongjiu.lu@intel.com>
57686         [BZ #12495]
57687         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
57688         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
57689         (largebin_index_32_big): New.
57690         (largebin_index): Use it for 16-byte alignment.
57691         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
57692         correction with front_misalign.
57694 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
57696         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
57697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
57698         Likewise.
57699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
57700         Likewise.
57701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57702         Likewise.
57703         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
57704         Likewise.
57705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
57706         Likewise.
57707         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
57708         Likewise.
57709         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
57710         Likewise.
57711         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
57712         Likewise.
57713         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
57714         Likewise.
57715         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
57716         Likewise.
57717         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
57718         Likewise.
57719         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
57720         Likewise.
57722         * scripts/data/c++-types-x32-linux-gnu.data: New file.
57723         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
57725 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57727         [BZ #10846]
57728         [BZ #14036]
57729         * math/libm-test.inc (exp_test): Add test from bug 14036.
57730         (pow_test): Add test from bug 10846.
57732         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
57733         and other flags.
57734         (special_function): Do not include flags in test name.
57735         (parse_args): Likewise.
57736         * sysdeps/i386/fpu/libm-test-ulps: Update.
57737         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57738         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57739         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57742         * math/gen-libm-test.pl (%beautify): Add entries for underflow
57743         exceptions.
57744         * math/libm-test.inc ("Philosophy"): Update comment about
57745         exception testing.
57746         (UNDERFLOW_EXCEPTION): New macro.
57747         (UNDERFLOW_EXCEPTION_OK): Likewise.
57748         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
57749         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
57750         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
57751         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
57752         (INVALID_EXCEPTION_OK): Update value.
57753         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
57754         (OVERFLOW_EXCEPTION_OK): Likewise.
57755         (IGNORE_ZERO_INF_SIGN): Likewise.
57756         (test_exceptions): Handle underflow exceptions.
57757         (acos_test): Update for underflow exception expectations.
57758         (cexp_test): Likewise.
57759         (clog_test): Likewise.
57760         (clog10_test): Likewise.
57761         (csqrt_test): Likewise.
57762         (ctan_test): Likewise.
57763         (ctanh_test): Likewise.
57764         (exp_test): Likewise.
57765         (exp10_test): Likewise.
57766         (exp2_test): Likewise.
57767         (expm1_test): Likewise.
57768         (fma_test): Likewise.
57769         (j0_test): Likewise.
57770         (jn_test): Likewise.
57771         (nexttoward_test): Likewise.
57772         (pow_test): Likewise.
57773         (scalbn_test): Likewise.
57774         (scalbln_test): Likewise.
57775         (tan_test): Likewise.
57776         (y1_test): Likewise.
57777         * sysdeps/i386/fpu/libm-test-ulps: Update.
57778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57780 2012-05-23  David S. Miller  <davem@davemloft.net>
57782         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
57783         (__libc_sigaction): Remove unused local variables.
57785 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57787         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
57789 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
57791         mktime: avoid signed integer overflow
57792         * time/mktime.c (__mktime_internal): Do not mishandle the case
57793         where diff == INT_MIN.
57795         mktime: simplify computation of average
57796         * time/mktime.c (ranged_convert): Use new time_t_avg function
57797         instead of rolling our own (probably-slower) code.
57799         mktime: do not assume signed right shift propagates sign bit
57800         * time/mktime.c (isdst_differ): New static function.
57801         (__mktime_internal): No need to normalize tm_isdst now.
57802         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
57803         tm_isdst values.
57805         mktime: merge another wrapv change from gnulib
57806         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
57807         from some compilers.
57809         mktime: remove incorrect attempt at unusual arithmetics
57810         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
57811         The code didn't really work on such machines anyway.
57812         (TYPE_MINIMUM): Assume two's complement.
57813         (twos_complement_arithmetic): Verify that long_int and time_t
57814         are two's complement (or unsigned, in the latter case).
57816         mktime: check signed shifts on long_int and time_t, too
57817         * time/mktime.c (SHR): Check that shifts work as desired
57818         on the types long_int and time_t too, as SHR is used on
57819         such types.
57821         mktime: do not assume 'long' is wide enough
57822         * time/mktime.c (verify): Move decl up.
57823         (long_int): New type.
57824         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
57825         to remove assumption in the code that 'long' is wide enough to
57826         store year values.  This assumption is not true on x32 and on
57827         some non-glibc platforms.
57829         mktime: merge wrapv change from gnulib
57830         * time/mktime.c (WRAPV): New macro.
57831         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
57832         (guess_time_tm, __mktime_internal): Do not assume that signed
57833         integer overflow wraps around; modern compilers generate code
57834         where this assumption is no longer valid.
57836 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57838         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57839         Replace "jmp L(pseudo_end)" with "ret".
57840         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
57841         Likewise.
57843 2012-05-23  Andreas Jaeger  <aj@suse.de>
57845         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
57846         * sysdeps/unix/sysv/linux/poll.c: Remove file.
57848 2012-05-23  Andreas Jaeger  <aj@suse.de>
57849             Maximilian Attems  <max@stro.at>
57851         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
57852         New macros.
57854 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57856         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
57857         code so that pseudo_end is just ret and the stack pointer is
57858         correct also for static library in error case.
57860 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
57862         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
57863         move to syscalls.list.
57864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
57865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
57866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
57867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
57869         * manual/install.texi (Running make install): Do not mention Linux
57870         kernel version for which pt_chown is not needed.
57871         (Linux): Do not mention problems with nscd with 2.0 kernels.
57872         * INSTALL: Regenerated.
57874 2012-05-23  Andreas Jaeger  <aj@suse.de>
57876         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
57877         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
57878         macro.
57879         * sysdeps/unix/sysv/linux/s390/bits/mman.h
57880         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57881         * sysdeps/unix/sysv/linux/sh/bits/mman.h
57882         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57883         * sysdeps/unix/sysv/linux/i386/bits/mman.h
57884         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57885         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
57886         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57887         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
57888         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57889         * sysdeps/unix/sysv/linux/bits/in.h
57890         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
57892 2012-05-22  Roland McGrath  <roland@hack.frob.com>
57894         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
57895         (PREPARE_VERSION): Just use assert instead, it will be elided
57896         under [NDEBUG] anyway.
57898 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57900         * sysdeps/unix/sysv/linux/Makefile: Include
57901         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
57902         (sysdep_routines): Remove sysctl.
57903         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
57904         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
57905         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
57906         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
57907         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
57909 2012-05-22  Andreas Jaeger  <aj@suse.de>
57911         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
57912         that pseudo_end is just ret and the stack pointer is correct also
57913         for static library in error case.
57915 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
57917         [BZ #14122]
57918         * nss/nsswitch.c (defconfig_entries): New variable.
57919         (__nss_database_lookup): Don't leak defconfig entries.
57920         (nss_parse_service_list): Don't leak on error paths.
57921         (free_database_entries): New function.
57922         (free_defconfig): New function.
57923         (free_mem): Move common code to free_database_entries.
57925 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57927         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
57928         Add arch_prctl.
57929         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
57931         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57932         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
57933         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
57934         New macro.
57935         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
57936         (INTERNAL_SYSCALL_TYPES): Likewise.
57937         (LOAD_ARGS_TYPES_[1-6]): Likewise.
57938         (LOAD_REGS_TYPES_[1-6]): Likewise.
57939         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
57940         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
57942 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57944         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
57945         copysignl for GLIBC_2_0.
57946         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
57947         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
57948         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
57949         logbl for GLIBC_2_0.
57950         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
57951         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
57953 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57955         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
57956         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57958         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57959         Use "neg %eax".
57961         * time/mktime.c: Update copyright years.
57963 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
57965         mktime: merge comment-quoting-style change from gnulib
57966         * time/mktime.c: Quote 'like this' in comments.
57967         The GNU coding standards suggest that we no longer quote `like this',
57968         as "`" and "'" are typically rendered asymmetrically nowadays.
57969         The typical gnulib style is to quote 'like this' when quoting
57970         code, and "like this" when quoting English.
57972         * time/mktime.c (compile-command): Add "-I.".
57974         mktime: merge mktime-internal.h change from gnulib
57975         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
57977         mktime: merge time_r change from gnulib
57978         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
57980         mktime: merge DEBUG change from gnulib
57981         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
57982         case system <time.h> has a #define.
57984         mktime: merge <sys/types.h> change from gnulib
57985         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
57986         since <time.t> is now guaranteed to define time_t.
57988         mktime: merge HAVE_CONFIG_H change from gnulib
57989         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
57991 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57993         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57994         Use "neg %eax".
57996         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
57997         __rlim_t cast.
57998         (struct rusage): Use anonymous union to pad each field to
57999         __syscall_slong_t.
58001 2012-05-21  David S. Miller  <davem@davemloft.net>
58003         * Makefules (o-iterator): Remove .s cases.
58004         (compile-command.s): Delete.
58005         (COMPILE.s): Delete.
58006         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
58008 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
58010         * configure.in (libc_cv_predef_stack_protector): Only consider
58011         "foobar" and "__stack_chk_fail" lines in libc_undefs.
58012         * configure: Regenerated.
58014 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58016         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58017         New macro.  Use R*LP on int and pointer.
58018         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
58019         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
58020         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
58021         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
58023         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
58024         [__WORDSIZE_TIME64_COMPAT32] instead of
58025         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
58026         (struct utmp): Likewise.
58027         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
58028         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
58029         Renamed to ...
58030         (__WORDSIZE_TIME64_COMPAT32): This.
58031         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
58032         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
58033         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
58034         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
58035         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
58036         (__WORDSIZE_TIME64_COMPAT32): New macro.
58038 2012-05-21  Andreas Jaeger  <aj@suse.de>
58040         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
58041         only if [SHARED]. Add prototype for __wcschr_ia32.
58043 2012-05-21  Roland McGrath  <roland@hack.frob.com>
58045         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
58046         of %rbp unmolested in the jmp_buf while mangling the low bits.
58047         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
58048         unmolested high bits of %rbp while demangling the low bits.
58049         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
58051 2012-05-21  Andreas Jaeger  <aj@suse.de>
58053         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
58054         * sunrpc/svc_simple.c: Use it for registerrpc.
58055         * sunrpc/xcrypt.c: Use it for passwd2des.
58057         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
58059 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58061         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
58062         Don't define if [__SYSCALL_WORDSIZE != 32].
58063         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
58064         New macro.
58066 2012-05-21  Bruno Haible  <bruno@clisp.org>
58067             Andreas Jaeger  <aj@suse.de>
58069         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
58070         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
58071         inptr and inend for must_buffer_ch.
58072         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
58073         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
58074         * stdio-common/Makefile (tests): Remove bug15.
58075         (bug15-ENV): Remove macro.
58076         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
58077         anymore.
58079 2012-05-19  Andreas Jaeger  <aj@suse.de>
58080             Roland McGrath  <roland@hack.frob.com>
58082         * manual/contrib.texi: Completely rewritten. It contains now an
58083         alphabetical list of contributors and their contributions.
58085 2012-05-21  Richard Henderson  <rth@twiddle.net>
58087         * misc/getauxval.c (__getauxval): Use unsigned long int.
58088         * misc/sys/auxv.h: Include <sys/cdefs.h>.
58089         (getauxval): Use unsigned long int.
58091 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58093         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58095 2012-05-21  Roland McGrath  <roland@hack.frob.com>
58097         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
58098         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
58099         __alignof__ (long double).
58101 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58105 2012-05-20  Richard Henderson  <rth@twiddle.net>
58107         * misc/getauxval.c: New file.
58108         * misc/sys/auxv.h: New file.
58109         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
58110         (routines): Add getauxval.
58111         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
58112         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
58113         * elf/dl-sysdep.c (_dl_auxv): Remove.
58114         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
58115         * elf/dl-support.c (_dl_auxv): New variable.
58116         (_dl_aux_init): Initialize it.
58117         * manual/startup.texi (Auxiliary Vector): New node.
58118         * sysdeps/generic/bits/hwcap.h: New file.
58119         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
58120         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
58121         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
58122         * sysdeps/sparc/sysdep.h: ... here.  Include it.
58123         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
58124         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
58125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58126         Update.
58127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
58128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
58129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
58130         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
58131         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58132         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58133         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
58134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
58136 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58140 2012-05-19  David S. Miller  <davem@davemloft.net>
58142         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58144 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
58146         [BZ #14123]
58147         * math/s_ccosh.c: Include <float.h>
58148         (__ccosh): Avoid internal overflow calculating sinh and cosh
58149         values before multiplying by sin and cos values.
58150         * math/s_ccoshf.c: Likewise.
58151         * math/s_ccoshl.c: Likewise.
58152         * math/s_csin.c: Likewise.
58153         * math/s_csinf.c: Likewise.
58154         * math/s_csinl.c: Likewise.
58155         * math/s_csinh.c: Likewise.
58156         * math/s_csinhf.c: Likewise.
58157         * math/s_csinhl.c: Likewise.
58158         * math/libm-test.inc (ccos_test): Add more tests.
58159         (ccosh_test): Likewise.
58160         (csin_test): Likewise.
58161         (csinh_test): Likewise.
58162         * sysdeps/i386/fpu/libm-test-ulps: Update.
58163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58165 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
58167         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
58168         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
58170         * sysdeps/x86_64/x32/_itoa.h: Add comment.
58172 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
58174         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
58175         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
58176         * sysdeps/powerpc/soft-fp/Versions: Likewise.
58177         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
58178         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
58179         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
58180         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
58181         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
58182         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
58183         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
58184         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
58185         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
58186         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
58187         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
58188         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
58189         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
58190         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
58191         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
58192         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
58193         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
58194         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
58195         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
58196         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
58197         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
58198         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
58199         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
58200         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
58201         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
58202         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
58203         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
58204         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
58206 2012-05-18  Andreas Jaeger  <aj@suse.de>
58208         * csu/.gitignore: Delete.
58210 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58212         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
58213         (timex): Use __syscall_slong_t.
58215 2012-05-18  Andreas Jaeger  <aj@suse.de>
58216             Carlos O'Donell  <carlos_odonell@mentor.com>
58218         * manual/install.texi (Configuring and compiling): Update
58219         description about files modified in the source directory.
58220         * INSTALL: Regenerated.
58222 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58224         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
58225         value.  Use "or" to set return value to -1.
58226         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
58227         negate return value.
58229 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58231         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
58232         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
58233         failure if the compiler has Graphite support disabled.
58234         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
58235         Likewise.
58236         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
58237         (CFLAGS-memmove.c): Likewise.
58238         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
58239         Likewise.
58241 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58243         * sysdeps/x86_64/x32/_itoa.h: New file.
58245         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
58246         getdents system call only if kernel and user dirents have the
58247         same d_ino and d_off.
58249         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
58250         LLONG_MAX != LONG_MAX.
58251         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58252         (_fitoa_word): Likewise.
58254         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
58255         years.
58256         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
58257         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
58258         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
58260         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
58261         include <bits/wordsize.h>.  Check __x86_64__ instead of
58262         __WORDSIZE.
58263         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
58264         if __x86_64__ is defined.  Use anonymous union on fpstate.
58266         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
58267         anonymous union.
58269 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
58271         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
58272         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
58273         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
58274         Refer to _rtld_local_ro instead of _rtld_global_ro.
58275         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
58276         Likewise.
58277         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
58278         Likewise.
58279         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
58280         Likewise.
58281         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
58282         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
58283         of _rtld_global, and rtld_progname instead of _dl_argv[0].
58285         [BZ #10882]
58286         * sysdeps/powerpc/powerpc32/dl-machine.c
58287         (__elf_machine_runtime_setup) [PROF]: Don't reference
58288         _dl_prof_resolve.
58290 2012-05-18  Andreas Jaeger  <aj@suse.de>
58292         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
58293         function only available for GCCs before 3.4 since GCC 3.4
58294         introduced a builtin.
58295         (lrint): Likewise.
58296         (llrintf): Likewise.
58297         (llrint): Likewise.
58298         (fmaxf): Likewise.
58299         (fmax): Likewise.
58300         (fminf): Likewise.
58301         (fmin): Likewise.
58302         (rint): Likewise.
58303         (rintf): Likewise.
58304         (nearbyint): Likewise.
58305         (nearbyintf): Likewise.
58306         (ceil): Likewise.
58307         (ceilf): Likewise.
58308         (floor): Likewise.
58309         (floorf): Likewise.
58311 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58313         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
58314         on both fields and cast pointer to __syscall_ulong_t.
58316         * bits/types.h (__fsword_t): New type.
58317         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
58318         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
58319         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58320         (__FSWORD_T_TYPE): Likewise.
58321         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58322         (__FSWORD_T_TYPE): Likewise.
58323         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58324         (__FSWORD_T_TYPE): Likewise.
58325         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
58326         (__FSWORD_T_TYPE): Likewise.
58327         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
58328         __SWORD_TYPE with __fsword_t.
58329         (statfs64): Likewise.
58331 2012-05-17  David S. Miller  <davem@davemloft.net>
58333         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
58335 2012-05-17  Andreas Jaeger  <aj@suse.de>
58337         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
58338         warning.
58340 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58342         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
58344 2012-05-17  Andreas Jaeger  <aj@suse.de>
58346         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
58347         when it is used.
58349 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58351         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
58353 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58355         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
58356         * sysdeps/x86_64/tst-mallocalign1.c: New file.
58358 2012-05-17  Andreas Jaeger  <aj@suse.de>
58359             Carlos O'Donell  <carlos_odonell@mentor.com>
58361         [BZ #14059]
58362         * sysdeps/x86_64/multiarch/init-arch.h
58363         (bit_YMM_Usable): Rename to...
58364         (bit_AVX_Usable): ... this.
58365         (bit_FMA4_Usable): New macro.
58366         (bit_XMM_state): New macro.
58367         (bit_YMM_state): New macro.
58368         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
58369         [__ASSEMBLER__] (index_AVX_Usable): ... this.
58370         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
58371         (CPUID_OSXSAVE): New macro.
58372         (CPUID_AVX): New macro.
58373         (CPUID_FMA4): New macro.
58374         (index_YMM_Usable): Rename to...
58375         (index_AVX_Usable): ... this.
58376         (HAS_AVX): Use HAS_ARCH_FEATURE.
58377         (HAS_FMA4): Likewise.
58378         (HAS_YMM_USABLE): Remove.
58379         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58380         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
58381         are present.
58382         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
58383         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
58384         * sysdeps/x86_64/multiarch/Makefile: Likewise.
58385         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
58386         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
58388 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58390         * math/libm-test.c: Support platforms without multiple rounding modes.
58391         * math/bug-nextafter.c: Support platforms without FP exceptions.
58392         * math/bug-nexttoward.c: Likewise.
58393         * math/test-fenv.c: Likewise.
58394         * math/test-misc.c: Likewise.
58395         * stdlib/bug-getcontext.c: Likewise.
58397 2012-05-17  Andreas Jaeger  <aj@suse.de>
58399         * manual/examples/search.c (critter_cmp): Change signature to
58400         avoid warnings.
58401         * manual/string.texi (Collation Functions): Likewise.
58403 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58405         * bits/types.h: Fold copyright years.
58406         * bits/typesizes.h: Likewise.
58407         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
58408         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58409         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
58410         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
58411         * time/time.h: Likewise.
58413 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
58415         [BZ #208]
58416         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
58417         in instead of returning them.  Return void.
58418         (__libc_mallinfo): Accumulate over all arenas.
58419         (__malloc_stats): Adjust for change in int_mallinfo interface.
58421 2012-05-16  Roland McGrath  <roland@hack.frob.com>
58423         [BZ #10375]
58424         * configure.in (NM): Add AC_CHECK_TOOL for it.
58425         (libc_extra_cflags): New substituted variable.
58426         Check for -fstack-protector being used implicitly.
58427         * configure: Regenerated.
58428         * config.make.in (config-extra-cflags): New variable,
58429         gets @libc_extra_cflags@.
58430         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
58432         [BZ #10375]
58433         * configure.in: Check for _FORTIFY_SOURCE being predefined.
58434         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
58435         * configure: Regenerated.
58436         * config.make.in (CPPUNDEFS): New substituted variable.
58437         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
58438         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
58439         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
58441 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58443         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
58444         (mq_attr): Use __syscall_slong_t.
58446 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58448         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
58449         Check __x86_64__ instead of __WORDSIZE.
58450         (_STAT_VER_LINUX): Likewise.
58451         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
58452         __syscall_ulong_t and __syscall_slong_t.
58453         (stat64): Likewise.
58455 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58457         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
58459 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58461         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
58463 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58465         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
58466         __syscall_ulong_t.
58468         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
58469         include <bits/wordsize.h>.  Check __x86_64__ instead of
58470         __WORDSIZE.
58471         (greg_t): Use "__extension__ long long int" if __x86_64__ is
58472         defined.
58473         (mcontext_t): Replace "unsigned long" with "unsigned long long".
58475         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
58476         include <bits/wordsize.h>.  Check __x86_64__ instead of
58477         __WORDSIZE.
58478         (user_regs_struct): Use "__extension__ unsigned long long"
58479         instead of "unsigned long" if __x86_64__ is defined.
58480         (user): Likewise.  Pad after pointer field if __ILP32__ is
58481         defined.
58483 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
58485         * configure.in (makeinfo): Require version 4.5 or later.  Allow
58486         versions 5 to 9.
58487         * configure: Regenerated.
58488         * manual/install.texi (texinfo): Increase version requirement to
58489         4.5 or later.
58490         * INSTALL: Regenerated.
58492         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
58494 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58496         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
58498         * sysdeps/x86_64/x32/ffs.c: New file.
58500         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
58501         __syscall_ulong_t.
58502         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
58503         defined.  Use __syscall_ulong_t.
58504         (shminfo): Use __syscall_ulong_t.
58505         (shm_info): Likewise.
58507         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
58508         __syscall_ulong_t.
58510         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
58511         <bits/wordsize.h>.
58512         (msgqnum_t): Use __syscall_ulong_t.
58513         (msglen_t): Likewise.
58514         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
58515         __syscall_ulong_t.
58517         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
58518         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58520         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
58522         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
58523         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
58525         * sysvipc/sys/msg.h (msgbuf): Replace long int with
58526         __syscall_slong_t.
58528         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
58529         include <bits/wordsize.h>.  Check __x86_64__ instead of
58530         __WORDSIZE.
58532         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
58533         "unsigned long long int" if __x86_64__ is defined.
58534         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
58536         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
58537         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58538         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
58540         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
58541         <stdint.h>.
58542         (GET_PC): Cast to uintptr_t first.
58543         (GET_FRAME): Likewise.
58544         (GET_STACK): Likewise.
58546         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
58547         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
58548         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
58549         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
58550         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
58551         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
58552         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
58553         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
58554         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
58555         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
58556         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
58557         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
58558         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58559         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
58560         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
58561         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
58562         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
58563         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
58564         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
58565         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
58566         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
58567         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
58568         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
58569         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
58570         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
58571         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
58572         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
58573         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
58574         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
58576 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
58578         * Makerules (+depfiles): Also collect depfiles from .oS in
58579         $(extra-objs).
58580         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
58581         .oS, $(libnldbl-routines)).
58583         * Makerules (native-compile-mkdep-flags): Define.
58584         * sunrpc/Makefile (extra-objs): Add $(addprefix
58585         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
58586         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
58587         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
58588         calling $(make-target-directory).
58590 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58592         * bits/types.h (__snseconds_t): Removed.
58593         * time/time.h (struct timespec): Replace __snseconds_t with
58594         __syscall_slong_t.
58595         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
58596         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
58597         Likewise.
58598         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58599         (__SNSECONDS_T_TYPE): Likewise.
58600         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58601         (__SNSECONDS_T_TYPE): Likewise.
58602         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58603         (__SNSECONDS_T_TYPE): Likewise.
58605 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58607         * sysdeps/mach/hurd/bits/typesizes.h
58608         (__SYSCALL_SLONG_TYPE): New macro.
58609         (__SYSCALL_ULONG_TYPE): Likewise.
58611 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58613         * bits/types.h (__syscall_slong_t): New type.
58614         (__syscall_ulong_t): Likewise.
58616         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
58617         (__SYSCALL_ULONG_TYPE): Likewise.
58618         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58619         (__SYSCALL_SLONG_TYPE): Likewise.
58620         (__SYSCALL_ULONG_TYPE): Likewise.
58621         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58622         (__SYSCALL_SLONG_TYPE): Likewise.
58623         (__SYSCALL_ULONG_TYPE): Likewise.
58624         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58625         (__SYSCALL_SLONG_TYPE): Likewise.
58626         (__SYSCALL_ULONG_TYPE): Likewise.
58628 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58630         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
58631         Add sigaltstack-offsets.sym.
58632         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
58633         <sigaltstack-offsets.h>.
58634         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
58635         longjmp_msg pointer.
58636         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
58637         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
58638         signal stack.
58639         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
58641 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
58643         * elf/stackguard-macros.h: Remove file.
58644         * sysdeps/generic/stackguard-macros.h: New file.
58645         * sysdeps/i386/stackguard-macros.h: Likewise.
58646         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
58647         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
58648         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
58649         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
58650         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
58651         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
58652         * sysdeps/x86_64/stackguard-macros.h: Likewise.
58653         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
58654         <elf/stackguard-macros.h>.
58656         [BZ #14109]
58657         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
58658         __aligned__ in attribute.
58659         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
58660         (gregset_t): Likewise.
58662 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58664         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
58665         * sysdeps/x86_64/64/Implies-after: Here.  New file.
58666         * sysdeps/x86_64/x32/Implies-after: New file.
58668 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58670         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
58671         and access return value for _dl_profile_fixup.  Use R10_LP to
58672         load frame size.
58674 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58676         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
58678 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58680         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
58681         * sysdeps/x86_64/x32/sysdep.h: New file.
58683 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58685         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
58686         * sysdeps/x86_64/setjmp.S: Likewise.
58688 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58690         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
58691         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
58692         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
58693         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
58694         remove unused global constant.
58696 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
58698         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
58699         include of <not-cancel.h>.
58701 2012-05-15  Roland McGrath  <roland@hack.frob.com>
58703         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
58705 2012-05-15  Jeff Law  <law@redhat.com>
58706             Andreas Jaeger  <aj@suse.de>
58708         [BZ #13594]
58709         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
58710         out from...
58711         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
58712         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
58713         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
58714         code changing __hst_map_handle.map.
58716 2012-05-15  Roland McGrath  <roland@hack.frob.com>
58718         * configure.in (sysnames): Look for Implies-before and Implies-after
58719         files.
58720         * configure: Regenerated.
58722 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58724         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
58725         8-byte data alignment with LP_SIZE alignment.
58727 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58729         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
58730         into R10_LP.
58732 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58734         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
58736 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58738         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
58739         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
58740         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
58741         Likewise.
58742         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58744 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58746         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
58747         (stackinfo_sub_sp): Likewise.
58749 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58751         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
58752         RAX_LP.
58754 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58756         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
58757         into R*_LP.
58759 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58761         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
58762         sizes into R*_LP.
58764 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58766         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
58768 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58770         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
58771         into R11_LP and load __x86_64_shared_cache_size_half into
58772         R8_LP.
58774 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58776         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
58777         R8_LP.
58779 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58781         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
58782         logb for POWER7.
58783         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
58784         logbf for POWER7.
58785         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
58786         logbl for POWER7.
58787         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
58788         powerpc32/power7/fpu/s_logb.c via #include.
58789         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
58790         powerpc32/power7/fpu/s_logbf.c via #include.
58791         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
58792         powerpc32/power7/fpu/s_logbl.c via #include.
58794 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
58796         * README.libm: Remove file.
58798 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58800         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
58801         count for x32.  Use R*_LP and omit operand-size suffix.
58803 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58805         * shlib-versions: Move x86_64-.*-linux.* entries to ...
58806         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
58807         * sysdeps/x86_64/x32/shlib-versions: New file.
58809 2012-05-14  Roland McGrath  <roland@hack.frob.com>
58811         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
58812         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
58813         Use _dl_fatal_printf instead.
58815 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
58817         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
58818         set if not set by the user.  Do not allow for being unset.
58819         * sysdeps/unix/sysv/linux/configure: Regenerated.
58821 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58823         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
58824         the `q' suffix from lea and replace .quad with ASM_ADDR.
58826 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58828         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
58829         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
58830         instead of $17.
58831         (PTR_DEMANGLE): Likewise.
58833 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58835         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
58836         (LP_OP): Likewise.
58837         (ASM_ADDR): Likewise.
58838         (RAX_LP): Likewise.
58839         (RBP_LP): Likewise.
58840         (RBX_LP): Likewise.
58841         (RCX_LP): Likewise.
58842         (RDI_LP): Likewise.
58843         (RSI_LP): Likewise.
58844         (RSP_LP): Likewise.
58845         (R8_LP): Likewise.
58846         (R9_LP): Likewise.
58847         (R10_LP): Likewise.
58848         (R10_LP): Likewise.
58849         (R11_LP): Likewise.
58850         (R12_LP): Likewise.
58851         (R13_LP): Likewise.
58852         (R14_LP): Likewise.
58853         (R15_LP): Likewise.
58855 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58857         * sysdeps/x86_64/x32/dl-machine.h: New file.
58859 2012-05-14  Andreas Jaeger  <aj@suse.de>
58861         * manual/Makefile (subdir): Remove export of subdir.
58862         (all): Remove target.
58863         (.PHONY): Remove all from list.
58864         (mkinstalldirs): Remove.
58865         (.PHONY): Remove installdirs from list.
58866         ($(inst_infodir)/libc.info): Use make-target-directory.
58867         (installdirs): Remove.
58868         (subdir_%): Remove.
58869         (glibc-targets): Remove.
58870         (lib): Remove.
58871         (stubs): Remove.
58872         ($(objpfx)stubs ../po/manual.pot): Remove.
58873         ($(objpfx)stamp%): Remove.
58874         (make-target-directory): Remove.
58875         (subdir_install): Remove.
58876         (routines): Remove.
58877         (aux): Remove.
58878         (sources): Remove.
58879         (objects): Remove.
58880         (headers): Remove.
58882         [BZ #13750]
58883         * manual/.gitignore: Remove, it's not needed anymore.
58884         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
58885         all files in it.
58886         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
58887         directory.
58888         (texis): Renamed to $(objpfx)texis.
58889         (texis-path): New, contains path to generated files.
58890         (chapters.%): Use texis-path for complete path, add extra argument
58891         libc-texinfo.sh.
58892         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
58893         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
58894         (summary,texi, stamp-summary): Use complete path of
58895         files. Generate files in build dir.
58896         (dir-add.texi): Build in build dir.
58897         (libm-err.texi,stamp-libm-err): Likewise.
58898         (version.texi, stamp-version): Likewise.
58899         (.%c.texi): Likewise.
58900         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
58901         (mostlyclean): Remove target.
58902         (realclean): Remove target.
58903         (generated): Add new variable with contents from mostlyclean and
58904         realclean, remove entries duplicated in common-mostlyclean, add
58905         stamp-libm-err and stamp-version.
58906         (generated-dirs): Add libc directory.
58907         ($(inst_infodir)/libc.info): Install files from build dir.
58909         * manual/install.texi (Configuring and compiling): Adjust since
58910         the info files are not part of the tar ball anymore.
58912 2012-05-14  Andreas Jaeger  <aj@suse.de>
58914         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
58915         variable.
58917 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
58919         [BZ #13717]
58920         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
58921         to 2.2.0 where earlier.
58922         * sysdeps/unix/sysv/linux/configure: Regenerated.
58923         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
58924         Remove conditional code.
58925         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
58926         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
58927         Remove conditional code.
58928         [!__NR_lchown]: Likewise.
58929         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58930         [__NR_lchown]: Likewise.
58931         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
58932         comment referencing __ASSUME_LCHOWN_SYSCALL.
58933         * sysdeps/unix/sysv/linux/i386/sigaction.c
58934         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58935         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58936         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
58937         Remove conditional code.
58938         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
58939         (__protocol_available): Remove #if 0 code.
58940         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
58941         conditional code.
58942         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
58943         * sysdeps/unix/sysv/linux/kernel-features.h
58944         (__ASSUME_GETCWD_SYSCALL): Don't define.
58945         (__ASSUME_REALTIME_SIGNALS): Likewise.
58946         (__ASSUME_PREAD_SYSCALL): Likewise.
58947         (__ASSUME_PWRITE_SYSCALL): Likewise.
58948         (__ASSUME_POLL_SYSCALL): Likewise.
58949         (__ASSUME_LCHOWN_SYSCALL): Likewise.
58950         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
58951         non-SPARC.
58952         (__ASSUME_SIOCGIFNAME): Don't define.
58953         (__ASSUME_MSG_NOSIGNAL): Likewise.
58954         (__ASSUME_SENDFILE): Define unconditionally.
58955         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
58956         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
58957         conditional code.
58958         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
58959         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
58960         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58961         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58962         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
58963         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58964         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
58966         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58967         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
58969         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58970         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
58972         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58973         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
58975         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58976         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
58978         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58979         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
58981         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58982         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
58984         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58985         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
58987         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58988         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58989         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
58990         Remove conditional code.
58991         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58992         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58993         Remove conditional code.
58994         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58995         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
58996         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
58997         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58998         Remove conditional code.
58999         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59000         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
59001         Remove conditional code.
59002         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59003         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
59004         Remove conditional code.
59005         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59006         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59007         Remove conditional code.
59008         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59009         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59010         Remove conditional code.
59011         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59012         * sysdeps/unix/sysv/linux/sh/pwrite64.c
59013         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59014         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59015         * sysdeps/unix/sysv/linux/sigaction.c
59016         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59017         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59018         * sysdeps/unix/sysv/linux/sigpending.c
59019         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59020         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59021         * sysdeps/unix/sysv/linux/sigprocmask.c
59022         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59023         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59024         * sysdeps/unix/sysv/linux/sigsuspend.c
59025         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59026         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59027         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59028         (__libc_missing_rt_sigs): Remove.
59029         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
59030         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
59031         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
59032         Remove conditional code.
59033         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
59034         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
59035         return 1.
59036         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
59037         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
59038         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
59039         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
59041 2012-05-14  Andreas Jaeger  <aj@suse.de>
59043         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
59044         it's not used in glibc.
59045         (__coshm1): Likewise.
59046         (__acosh1p): Likewise.
59047         (__sgn): Likewise.
59049         * manual/string.texi (Copying and Concatenation): Add missing
59050         variable in concat example.
59051         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
59053 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59055         [BZ #14103]
59056         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
59057         __builtin_clzl with __builtin_clzll.
59059 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59061         [BZ #14104]
59062         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
59063         libc_freeres_ptr.
59065 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59067         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
59068         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
59069         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
59070         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
59072 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
59074         * NEWS: Update ia64 info.
59076 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
59078         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
59079         used as bcopy.
59081 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
59083         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
59084         * sysdeps/unix/syscalls.list (dup3): Likewise.
59085         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
59086         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
59088 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
59090         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
59091         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
59093 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
59095         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
59096         thread pointer.
59097         (TLS_IE): Use mov/add instead of movq/addq to load thread
59098         pointer.
59099         (TLS_GD_PREFIX): New.
59100         (TLS_GD): Use it.
59102 2012-05-11  David S. Miller  <davem@davemloft.net>
59104         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
59105         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
59106         (_FPU_SETCW): Likewise.
59108 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59110         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
59111         is 32-byte aligned.
59113 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
59115         [BZ #11837]
59116         * iconvdata/gb18030.c: Update tables.
59117         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
59118         characters specially.
59119         (BODY for TO_LOOP): Add encoding of missing ranges.
59121 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
59123         [BZ #13673]
59124         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
59125         * sysdeps/mach/hurd/dup3.c: Likewise.
59126         * sysdeps/mach/hurd/readlinkat.c: Likewise.
59127         * sysdeps/powerpc/memmove.c:: Likewise.
59129 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59131         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
59132         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
59134 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59136         * elf/elf.h (R_X86_64_RELATIVE64): New.
59137         (R_X86_64_NUM): Updated.
59138         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59139         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
59140         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
59141         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
59142         tst-quad1pie tst-quad2pie
59143         (modules-names): Add tst-quadmod1 tst-quadmod2.
59144         ($(objpfx)tst-quad1): New dependency.
59145         ($(objpfx)tst-quad2): Likewise.
59146         ($(objpfx)tst-quad1pie): Likewise.
59147         ($(objpfx)tst-quad2pie): Likewise.
59148         * sysdeps/x86_64/tst-quad1.c: New file.
59149         * sysdeps/x86_64/tst-quad1pie.c: New file.
59150         * sysdeps/x86_64/tst-quad2.c: Likewise.
59151         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
59152         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
59153         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
59154         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
59155         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
59157 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59159         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
59160         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
59161         * streams/stropts.h (t_scalar_t): Define type.
59163         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
59164         (_PATH_PRESERVE): Set to "/var/lib".
59165         (_PATH_RWHODIR): Set to "/var/spool/rwho".
59167         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
59168         instead of int.
59170         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
59171         if __dir_mkfile succeeded.
59173         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
59174         checking for _hurd_dtablesize.  Unlock it right after having
59175         finished _hurd_dtable allocation.
59177 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59179         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
59180         * sysdeps/mach/hurd/configure: Regenerated.
59181         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
59182         special-casing to...
59183         * sysdeps/gnu/configure.in: ... this new file.
59184         * sysdeps/unix/sysv/linux/configure: Regenerated.
59185         * sysdeps/gnu/configure: New generated file.
59187         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
59188         for Linux: use nsec instead of usec, as well as:
59189         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
59190         members of type struct timespec.
59191         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
59192         New macros.
59193         (struct stat64): Likewise.
59194         (_STATBUF_ST_NSEC): New macro.
59195         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
59197         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59198         __strtoul_internal rather than strtoul.
59200 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59202         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
59203         and reject them.
59205 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59207         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
59208         which preserves existing values.
59209         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
59211 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59213         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
59214         TIMEOUT values.  Return EINVAL for NFDS values either negative or
59215         greater than FD_SETSIZE.
59217 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59219         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
59220         allocated, call __vm_protect to finish enabling the existing space, and
59221         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
59222         allocate the remainder.
59224 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59226         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
59227         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
59229 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59231         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
59232         sysdeps/mach/hurd/readlink.c.
59234         * posix/tst-sysconf.c (posix_options): Only use
59235         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
59236         _POSIX_SYNCHRONIZED_IO when they are defined
59237         * sysdeps/mach/hurd/bits/posix_opt.h:
59238         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
59239         (_XOPEN_REALTIME): Undefine macro.
59240         (_XOPEN_REALTIME_THREADS): Undefine macro.
59241         (_XOPEN_SHM): Undefine macro.
59242         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
59243         macro to -1.
59244         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
59245         macro to -1.
59246         (_POSIX_ASYNC_IO): Undefine macro.
59247         (_POSIX_PRIORITIZED_IO): Undefine macro.
59248         (_POSIX_SPIN_LOCKS): Define macro to -1.
59250         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
59251         SA_NODEFER, SA_RESETHAND.
59252         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
59253         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
59254         F_DUPFD_CLOEXEC.
59256 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59258         * elf/Makefile (pldd-modules): Define unconditionally.
59260 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59262         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
59264 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59266         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
59267         Return ENOENT when name is empty.
59268         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
59270 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59272         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
59274         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
59276 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59278         Fix mlock in all cases except non-readable pages.
59279         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
59280         instead of VM_PROT_ALL as parameter to __vm_wire function.
59282         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
59283         (__mkdir): When path is `/', just fail with EEXIST.
59284         * sysdeps/mach/hurd/mkdirat.c: Likewise.
59286 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59288         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
59289         <sys/uio.h> (for writev).
59290         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
59291         and <sys/param.h> (for MIN).
59293 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59295         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
59296         REQUESTED_TIME.  Properly set the remaining time and return EINTR
59297         if interrupted.
59299 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59301         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
59302         Depend on against $(link-rpcuserlibs).
59304 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59306         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
59307         (__libc_stack_end): Do not use attribute_relro.
59308         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
59309         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
59310         to libthread-provided value.
59311         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
59312         attribute_relro.
59314 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59316         [BZ #3748]
59317         * bits/libc-lock.h (__libc_once_get): New macro.
59318         * sysdeps/mach/bits/libc-lock.h: Likewise.
59319         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
59320         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
59321         instead of using implementation details.
59323         * libio/fileops.c: Unconditionally include <kernel-features.h>.
59324         * libio/freopen.c: Likewise.
59325         * libio/freopen64.c: Likewise.
59326         * misc/syslog.c: Likewise.
59327         * nscd/connections.c: Likewise.
59328         * nscd/netgroupcache.c: Likewise.
59329         * sysdeps/posix/getcwd.c: Likewise.
59331 2012-05-10  Roland McGrath  <roland@hack.frob.com>
59333         * math/w_ilogbf.c: Add #include <limits.h>.
59335 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59337         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
59338         path instead of returning without unlocking.
59340         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
59341         immediate-write ioctls.
59342         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
59344 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59346         * sysdeps/mach/hurd/i386/init-first.c (init): Use
59347         __builtin_frame_address instead of making assumptions about the
59348         location of the return address relative to DATA.  Force early load of
59349         the return address.
59350         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
59351         __builtin_frame_address.
59353         dup3 for GNU Hurd.
59354         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
59355         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
59356         implement dup3 and do some further code clean-ups.
59357         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
59358         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
59360 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59362         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
59364         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
59365         HURD_CRITICAL_END around holding _hurd_dtable_lock.
59366         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
59367         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
59368         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
59369         d->port.lock.
59371         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
59372         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
59373         when handler == SIG_ERR, not when handler != SIG_ERR.
59375 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59377         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
59378         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
59379         definitions.
59381         accept4 for GNU Hurd.
59382         * include/sys/socket.h (__libc_accept4): New prototype.
59383         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
59384         to implement __libc_accept4.
59385         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
59386         __libc_accept4.
59387         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
59389         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
59390         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
59391         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
59392         signal-defines.sym.
59394 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59396         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
59398 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59400         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
59401         assertion on O_CLOEXEC flag.
59402         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
59403         * hurd/intern-fd.c: Likewise.
59404         * hurd/port2fd.c: Likewise.
59406 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59408         [BZ #3906]
59409         * bits/in.h (IPV6_PKTINFO): Define new macro.
59410         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
59412 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59414         [BZ #13954]
59415         [BZ #13955]
59416         [BZ #13956]
59417         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
59418         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59419         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
59420         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59421         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59422         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59423         * math/libm-test.inc (logb_test) : Additional logb tests.
59425 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
59426             Andreas Jaeger  <aj@suse.de>
59428         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
59429         * configure: Regenerated.
59430         * config.h.in (LINK_OBSOLETE_RPC): New macro.
59431         * config.make.in (link-obsolete-rpc): New substituted variable.
59432         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
59433         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
59434         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59435         (shared-only-routines): Don't set it under [link-obsolete-rpc],
59436         so that libc.a contains the symbols.
59437         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59438         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
59439         * sunrpc/auth_none.c: Likewise.
59440         * sunrpc/auth_unix.c: Likewise.
59441         * sunrpc/authdes_prot.c: Likewise.
59442         * sunrpc/authuxprot.c: Likewise.
59443         * sunrpc/clnt_gen.c: Likewise.
59444         * sunrpc/clnt_perr.c: Likewise.
59445         * sunrpc/clnt_raw.c: Likewise.
59446         * sunrpc/clnt_simp.c: Likewise.
59447         * sunrpc/clnt_tcp.c: Likewise.
59448         * sunrpc/clnt_udp.c: Likewise.
59449         * sunrpc/clnt_unix.c: Likewise.
59450         * sunrpc/des_crypt.c: Likewise.
59451         * sunrpc/des_soft.c: Likewise.
59452         * sunrpc/get_myaddr.c: Likewise.
59453         * sunrpc/key_call.c: Likewise.
59454         * sunrpc/key_prot.c: Likewise.
59455         * sunrpc/netname.c: Likewise.
59456         * sunrpc/pm_getmaps.c: Likewise.
59457         * sunrpc/pm_getport.c: Likewise.
59458         * sunrpc/pmap_clnt.c: Likewise.
59459         * sunrpc/pmap_prot.c: Likewise.
59460         * sunrpc/pmap_prot2.c: Likewise.
59461         * sunrpc/pmap_rmt.c: Likewise.
59462         * sunrpc/publickey.c: Likewise.
59463         * sunrpc/rpc_cmsg.c: Likewise.
59464         * sunrpc/rpc_common.c: Likewise.
59465         * sunrpc/rpc_dtable.c: Likewise.
59466         * sunrpc/rpc_prot.c: Likewise.
59467         * sunrpc/rpc_thread.c: Likewise.
59468         * sunrpc/rtime.c: Likewise.
59469         * sunrpc/svc.c: Likewise.
59470         * sunrpc/svc_auth.c: Likewise.
59471         * sunrpc/svc_raw.c: Likewise.
59472         * sunrpc/svc_run.c: Likewise.
59473         * sunrpc/svc_tcp.c: Likewise.
59474         * sunrpc/svc_udp.c: Likewise.
59475         * sunrpc/svc_unix.c: Likewise.
59476         * sunrpc/svcauth_des.c: Likewise.
59477         * sunrpc/xcrypt.c: Likewise.
59478         * sunrpc/xdr.c: Likewise.
59479         * sunrpc/xdr_array.c: Likewise.
59480         * sunrpc/xdr_float.c: Likewise.
59481         * sunrpc/xdr_intXX_t.c: Likewise.
59482         * sunrpc/xdr_mem.c: Likewise.
59483         * sunrpc/xdr_rec.c: Likewise.
59484         * sunrpc/xdr_ref.c: Likewise.
59485         * sunrpc/xdr_sizeof.c: Likewise.
59486         * sunrpc/xdr_stdio.c: Likewise.
59488 2012-05-10  Roland McGrath  <roland@hack.frob.com>
59490         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
59491         change.  Update copyright years.
59493 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
59495         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
59497 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
59498             Joseph Myers  <joseph@codesourcery.com>
59499             Paul Pluzhnikov  <ppluzhnikov@google.com>
59501         [BZ #14012]
59502         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
59503         requiring rpcgen.
59504         [cross-compiling] (extra-libs): Likewise.
59505         [cross-compiling] (extra-libs-others): Likewise.
59506         [cross-compiling] (librpcsvc-routines): Likewise.
59507         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
59508         [cross-compiling] (omit-deps): Likewise.
59509         (sunrpc-CPPFLAGS): New variable.
59510         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
59511         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
59512         (cross-rpcgen-objs): New variable.
59513         (extra-objs): Append $(cross-rpcgen-objs).
59514         ($(cross-rpcgen-objs)): New rule.
59515         ($(objpfx)cross-rpcgen): Likewise.
59516         (rpcgen-cmd): Define to use $(built-program-file).  Expand
59517         comment.
59518         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
59519         ($(objpfx)x%.stmp): Likewise.
59520         * sunrpc/proto.h [IS_IN_build] (_): Define.
59521         [IS_IN_build] (_libc_intl_domainname): Likewise.
59523 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59525         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
59526         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
59527         and R_X86_64_TPOFF64.
59529 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
59531         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
59532         sysdeps/unix/sysv/syscalls.list.
59533         (stime): Likewise.
59534         (utime): Likewise.
59535         * sysdeps/unix/sysv/syscalls.list: Remove file.
59537 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
59539         [BZ #3440]
59540         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
59541         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
59542         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
59543         (__LC_IDENTIFICATION): Make these macros useful in #if
59544         expressions, as required by C99.
59546 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
59548         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
59549         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
59550         after this.
59552 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
59554         * stdlib/longlong.h: Updated from GCC.
59556 2012-05-09  Andreas Jaeger  <aj@suse.de>
59558         * nscd/nscd.c (run_modes): Make named enum, reorder so that
59559         default is first entry.
59560         (run_mode): Set type.
59561         (main): Remove informal message about syslog.
59562         (options): Fix typo.
59564         [BZ #14053]
59565         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
59566         to asm.
59567         (lrint): Likewise.
59568         (llrintf): Likewise.
59569         (llrint): Likewise.
59570         (rint): Likewise.
59571         (rintf): Likewise.
59572         (nearbyint): Likewise.
59573         (nearbyintf): Likewise.
59575 2012-05-09  Andreas Jaeger  <aj@suse.de>
59576             Pedro Alves  <palves@redhat.com>
59578         * nscd/nscd.c (run_mode): Use enum.
59579         (main): Cleanup coding style issue.
59581 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
59582             Andreas Jaeger  <aj@suse.de>
59584         * nscd/nscd.c (go_background): Replaced with...
59585         (run_mode): ... this.
59586         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
59587         (options): Add -F --foreground.
59588         (main): Implement it.
59589         (parse_opt): Parse it.
59591 2012-05-09  Andreas Jaeger  <aj@suse.de>
59593         [BZ #14083]
59594         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
59595         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
59596         -Wconversion warning.
59597         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
59598         Likewise.
59600 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
59602         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
59603         == 0.
59604         (LC_ALL): Use macro-int-constant.
59605         (LC_COLLATE): Likewise.
59606         (LC_CTYPE): Likewise.
59607         (LC_MESSAGES): Likewise.
59608         (LC_MONETARY): Likewise.
59609         (LC_NUMERIC): Likewise.
59610         (LC_TIME): Likewise.
59611         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
59612         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
59613         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59614         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
59615         Specify type.
59616         [C99-based standards] (float_t): Expect type.
59617         [C99-based standards] (double_t): Expect type.
59618         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
59619         type.
59620         [C99-based standards] (HUGE_VALL): Likewise.
59621         [C99-based standards] (INFINITY): Likewise.
59622         [C99-based standards] (NAN): Likewise.
59623         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
59624         [C99-based standards] (FP_NAN): Likewise.
59625         [C99-based standards] (FP_NORMAL): Likewise.
59626         [C99-based standards] (FP_SUBNORMAL): Likewise.
59627         [C99-based standards] (FP_ZERO): Likewise.
59628         [C99-based standards] (FP_FAST_FMA): Use
59629         optional-macro-int-constant.  Specify type.  Require == 1.
59630         [C99-based standards] (FP_FAST_FMAF): Likewise.
59631         [C99-based standards] (FP_FAST_FMAL): Likewise.
59632         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
59633         [C99-based standards] (FP_ILOGBNAN): Likewise.
59634         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
59635         Specify type.
59636         [C99-based standards] (MATH_ERREXCEPT): Likewise.
59637         [C99-based standards] (math_errhandling): Specify type.
59638         [ISO99 || ISO11] (signgam): Do not allow.
59639         [non-C99-based standards] (copysignf): Do not allow.
59640         [non-C99-based standards] (exp2f): Likewise.
59641         [non-C99-based standards] (log2f): Likewise.
59642         [non-C99-based standards] (modff): Allow.
59643         [non-C99-based standards] (erff): Do not allow.
59644         [non-C99-based standards] (erfcf): Likewise.
59645         [non-C99-based standards] (gammaf): Likewise.
59646         [non-C99-based standards] (hypotf): Likewise.
59647         [non-C99-based standards] (j0f): Likewise.
59648         [non-C99-based standards] (j1f): Likewise.
59649         [non-C99-based standards] (jnf): Likewise.
59650         [non-C99-based standards] (lgammaf): Likewise.
59651         [non-C99-based standards] (tgammaf): Likewise.
59652         [non-C99-based standards] (y0f): Likewise.
59653         [non-C99-based standards] (y1f): Likewise.
59654         [non-C99-based standards] (ynf): Likewise.
59655         [non-C99-based standards] (isnanf): Likewise.
59656         [non-C99-based standards] (acoshf): Likewise.
59657         [non-C99-based standards] (asinhf): Likewise.
59658         [non-C99-based standards] (atanhf): Likewise.
59659         [non-C99-based standards] (cbrtf): Likewise.
59660         [non-C99-based standards] (expm1f): Likewise.
59661         [non-C99-based standards] (ilogbf): Likewise.
59662         [non-C99-based standards] (log1pf): Likewise.
59663         [non-C99-based standards] (logbf): Likewise.
59664         [non-C99-based standards] (nextafterf): Likewise.
59665         [non-C99-based standards] (remainderf): Likewise.
59666         [non-C99-based standards] (rintf): Likewise.
59667         [non-C99-based standards] (scalbf): Likewise.
59668         [non-C99-based standards] (copysignl): Likewise.
59669         [non-C99-based standards] (exp2l): Likewise.
59670         [non-C99-based standards] (log2l): Likewise.
59671         [non-C99-based standards] (modfl): Allow.
59672         [non-C99-based standards] (erfl): Do not allow.
59673         [non-C99-based standards] (erfcl): Likewise.
59674         [non-C99-based standards] (gammal): Likewise.
59675         [non-C99-based standards] (hypotl): Likewise.
59676         [non-C99-based standards] (j0l): Likewise.
59677         [non-C99-based standards] (j1l): Likewise.
59678         [non-C99-based standards] (jnl): Likewise.
59679         [non-C99-based standards] (lgammal): Likewise.
59680         [non-C99-based standards] (tgammal): Likewise.
59681         [non-C99-based standards] (y0l): Likewise.
59682         [non-C99-based standards] (y1l): Likewise.
59683         [non-C99-based standards] (ynl): Likewise.
59684         [non-C99-based standards] (isnanl): Likewise.
59685         [non-C99-based standards] (acoshl): Likewise.
59686         [non-C99-based standards] (asinhl): Likewise.
59687         [non-C99-based standards] (atanhl): Likewise.
59688         [non-C99-based standards] (cbrtl): Likewise.
59689         [non-C99-based standards] (expm1l): Likewise.
59690         [non-C99-based standards] (ilogbl): Likewise.
59691         [non-C99-based standards] (log1pl): Likewise.
59692         [non-C99-based standards] (logbl): Likewise.
59693         [non-C99-based standards] (nextafterl): Likewise.
59694         [non-C99-based standards] (remainderl): Likewise.
59695         [non-C99-based standards] (rintl): Likewise.
59696         [non-C99-based standards] (scalbl): Likewise.
59697         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59698         [non-C99-based standards] (FP_*): Do not allow.
59699         [C99-based standards] (FP_*): Change to
59700         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
59701         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59702         allow.
59703         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
59704         (SIG_ERR): Likewise.
59705         [X/Open-based standards] (SIG_HOLD): Likewise.
59706         (SIG_IGN): Likewise.
59707         (SIGABRT): Use macro-int-constant.  Specify type.  Require
59708         positive value.
59709         (SIGFPE): Likewise.
59710         (SIGILL): Likewise.
59711         (SIGINT): Likewise.
59712         (SIGSEGV): Likewise.
59713         (SIGTER): Likewise.
59714         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
59715         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
59716         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
59717         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
59718         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
59719         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
59720         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
59721         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
59722         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
59723         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
59724         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
59725         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
59726         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
59727         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
59728         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
59729         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
59730         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
59731         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
59732         [X/Open-based standards] (SIGTRAP): Likewise.
59733         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
59734         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
59735         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
59736         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
59737         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59738         allow.
59740 2012-05-08  Ian Wienand  <ianw@vmware.com>
59742         [BZ #14080]
59743         * time/tzset.c (__tzset_parse_tz): Update default rules for
59744         daylight time changes in the Energy Policy Act of 2005.
59746 2012-05-09  Andreas Jaeger  <aj@suse.de>
59748         [BZ #13983]
59749         * elf/ldconfig.c (parse_conf): Change string to make clear that
59750         ldconfig only issued a warning if ld.so.conf does not exist.
59752 2012-05-08  David S. Miller  <davem@davemloft.net>
59754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
59755         movxtod instead of popping the value on the stack.
59757         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59759 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
59761         * config.h.in: Add HAVE_ARM_PCS_VFP.
59763 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
59765         [BZ #13979]
59766         * include/features.h: Warn if user requests __FORTIFY_SOURCE
59767         checking but the checks are disabled for any reason.
59769 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
59771         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
59772         and ELF64_R_TYPE with ELFW(R_TYPE).
59774 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
59776         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
59777         (ulimit): Likewise.
59779         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
59780         (settimeofday): Likewise.
59782 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
59784         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
59785         a struct th_u2 inside the union, and move tu_block/tu_code into
59786         a new th_u3 union of tu_block/tu_code inside of that.  Move
59787         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
59788         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
59789         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
59790         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
59791         (th_stuff): Change to th_u1.tu_stuff.
59792         (th_data): Define.
59793         (th_msg): Change to th_u1.th_u2.tu_data.
59795 2012-05-07  David S. Miller  <davem@davemloft.net>
59797         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59799         [BZ #14074]
59800         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
59801         (SETUP_PIC_REG): Use it.
59802         (SETUP_PIC_REG_LEAF): Use it.
59804 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
59806         [BZ #13885]
59807         [BZ #13923]
59808         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59809         USE_AS_EXPM1L.
59810         (EXPL_FINITE): Likewise.
59811         (FLDLOG): Likewise.
59812         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59813         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59814         e_expl.S.
59815         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59816         USE_AS_EXPM1L.
59817         (EXPL_FINITE): Likewise.
59818         (FLDLOG): Likewise.
59819         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59820         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59821         e_expl.S.
59822         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
59823         test of -max_value argument for long double.
59824         * sysdeps/i386/fpu/libm-test-ulps: Update.
59825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59827 2012-05-06  David S. Miller  <davem@davemloft.net>
59829         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
59830         quad soft-float symbols whose references which are compiler
59831         generated.
59832         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59834 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
59836         [BZ #13884]
59837         [BZ #13914]
59838         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59839         USE_AS_EXP10L.
59840         (EXPL_FINITE): Likewise.
59841         (FLDLOG): Likewise.
59842         (c0): Likewise.
59843         (c1): Likewise.
59844         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
59845         Adjust comments for base varying.
59846         (__expl_finite): Change alias to EXPL_FINITE.
59847         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
59848         e_expl.S.
59849         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
59850         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
59851         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
59852         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
59853         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59854         USE_AS_EXP10L.
59855         (EXPL_FINITE): Likewise.
59856         (FLDLOG): Likewise.
59857         (c0): Likewise.
59858         (c1): Likewise.
59859         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
59860         Adjust comments for base varying.
59861         (__expl_finite): Change alias to EXPL_FINITE.
59862         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
59863         tests for bugs.
59864         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59866         [BZ #14064]
59867         * math/libm-test.inc (check_float_internal): Correct ulp
59868         calculation for subnormal expected results.
59870 2012-05-06  Andreas Jaeger  <aj@suse.de>
59872         * Makeconfig (+math-flags): New, set to -frounding-math.
59873         (+cflags): Add +math-flags so that all of glibc gets compiled with
59874         it.
59876         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
59878 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
59880         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
59881         Disable one test.
59883         [BZ #13787]
59884         [BZ #13922]
59885         [BZ #14036]
59886         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
59887         (__ieee754_expl): Allow for and saturate large arguments.
59888         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
59889         (u_threshold): Likewise.
59890         (__exp): Call __ieee754_exp before checking for overflow and
59891         underflow.
59892         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
59893         (u_threshold): Likewise.
59894         (__expf): Call __ieee754_expf before checking for overflow and
59895         underflow.
59896         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
59897         (u_threshold): Likewise.
59898         (__expl): Call __ieee754_expl before checking for overflow and
59899         underflow.
59900         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
59901         (__ieee754_expl): Allow for and saturate large arguments.
59902         * math/libm-test.inc (exp_test): Add another test.  Do not allow
59903         missing overflow exception on overflow.
59904         (expm1_test): Do not allow missing overflow exception on overflow.
59906         * sysdeps/i386/fpu/e_expl.c: Move to ...
59907         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
59908         rather than using inline asm.
59909         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
59910         * sysdeps/x86_64/fpu/e_expl.S: Copy from
59911         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
59913         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
59914         (nice): Likewise.
59915         (poll): Likewise.
59916         (signal): Likewise.
59917         (time): Likewise.
59918         (times): Likewise.
59920 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59922         * sysdeps/unix/syscalls.list (adjtime): Add entry from
59923         sysdeps/unix/common/syscalls.list.
59924         (fchmod): Likewise.
59925         (fchown): Likewise.
59926         (ftruncate): Likewise.
59927         (getrusage): Likewise.
59928         (gettimeofday): Likewise.
59929         (setpgid): Likewise.
59930         (setregid): Likewise.
59931         (setreuid): Likewise.
59932         (sigaction): Likewise.
59933         (truncate): Likewise.
59934         (vhangup): Likewise.
59935         * sysdeps/unix/common/syscalls.list: Remove file.
59936         * sysdeps/unix/bsd/Implies: Don't include unix/common.
59937         * sysdeps/unix/sysv/linux/Implies: Likewise.
59939 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
59941         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
59942         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
59943         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
59944         Moved to ...
59945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
59946         Here.
59947         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
59948         to ...
59949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
59950         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
59951         to ...
59952         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
59953         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
59954         to ...
59955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
59956         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
59957         to ...
59958         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
59959         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
59960         to ...
59961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
59962         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
59963         to ...
59964         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
59965         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
59966         to ...
59967         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
59968         Here.
59969         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
59970         to ...
59971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
59972         Here.
59973         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
59974         to ...
59975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
59976         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
59977         Moved to ...
59978         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
59979         Here.
59980         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
59981         to ...
59982         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
59984 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59986         * sysdeps/unix/common/bits/dirent.h: Remove file.
59987         * sysdeps/unix/common/bits/fcntl.h: Likewise.
59989         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
59990         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
59991         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
59992         * sysdeps/unix/bsd/isatty.c: Likewise.
59993         * sysdeps/unix/bsd/tcdrain.c: Likewise.
59994         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
59995         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
59997 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59999         [BZ #13563]
60000         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
60001         long double comparison inaccuracies.
60002         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
60003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60005 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
60007         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
60008         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
60010 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60012         [BZ #14049]
60013         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
60014         nonzero digits before rounding a hex value.
60015         * stdlib/tst-strtod.c (tests): Add another test.
60017 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60019         * sysdeps/s390/fpu/libm-test-ulps: Update.
60021 2012-05-03  Andreas Jaeger  <aj@suse.de>
60023         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
60024         does not get optimized out.
60025         (malloc_opt_barrier): New.
60027 2012-05-03  Andreas Jaeger  <aj@suse.de>
60028             Roland McGrath  <roland@hack.frob.com>
60030         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
60031         intermediate file deletion.
60032         (generated): Add .symlist files.
60034 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
60036         [BZ #13775]
60037         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
60038         Redirect under this condition.
60039         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60040         [__USE_GNU] (__dprintf_chk): Not under this condition.
60041         [__USE_GNU] (__vdprintf_chk): Likewise.
60042         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
60043         under this condition.
60044         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60045         [__USE_XOPEN2K8] (dprintf): Define under this condition.
60046         [__USE_XOPEN2K8] (vdprintf): Likewise.
60047         [__USE_GNU] (__dprintf_chk): Not under this condition.
60048         [__USE_GNU] (__vdprintf_chk): Likewise.
60049         [__USE_GNU] (dprintf): Likewise.
60050         [__USE_GNU] (vdprintf): Likewise.
60052 2012-05-03  Roland McGrath  <roland@hack.frob.com>
60054         * elf/Makefile (common-generated): Set this instead of generated for
60055         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
60056         $(all-built-dso)-derived lists.
60058 2012-05-03  Andreas Jaeger  <aj@suse.de>
60060         * sysdeps/i386/fpu/libm-test-ulps: Update.
60062         * FAQ: Removed.
60063         * FAQ.in: Likewise.
60064         * scripts/gen-FAQ.pl: Likewise.
60065         * manual/install.texi (Installation): Point to online location of
60066         FAQ.
60067         * Makefile (files-for-dist): Remove FAQ.
60068         (FAQ): Remove.
60070 2012-05-02  Allan McRae  <allan@archlinux.org>
60072         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
60073         (LDFLAGS-reldepmod5.so): Likewise.
60074         (LDFLAGS-reldep6mod1.so): Likewise.
60075         (LDFLAGS-reldep6mod4.so): Likewise.
60076         (LDFLAGS-reldep8mod3.so): Likewise.
60077         (LDFLAGS-unload4mod1.so): Likewise.
60078         (LDFLAGS-unload4mod2.so): Likewise.
60079         (LDFLAGS-tst-initorder): Likewise.
60080         (LDFLAGS-tst-initordera2.so): Likewise.
60081         (LDFLAGS-tst-initordera3.so): Likewise.
60082         (LDFLAGS-tst-initordera4.so): Likewise.
60083         (LDFLAGS-tst-initorderb2.so): Likewise.
60084         (LDFLAGS-noload): Likewise.
60085         (LDFLAGS-next): Likewise.
60086         (LDFLAGS-order2mod1.so): Likewise.
60087         (LDFLAGS-order2mod2.so): Likewise.
60088         (LDFLAGS-tst-initorder2): Likewise.
60089         (LDFLAGS-tst-initorder2a.so): Likewise.
60090         (LDFLAGS-tst-initorder2b.so): Likewise.
60091         (LDFLAGS-tst-initorder2c.so): Likewise.
60092         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
60094 2012-05-02  David S. Miller  <davem@davemloft.net>
60096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60098 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
60100         [BZ #14055]
60101         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
60103 2012-05-02  Andreas Jaeger  <aj@suse.de>
60105         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
60106         since we manipulate rounding mode.
60107         (CPPFLAGS-test-idouble.c): Likewise.
60108         (CPPFLAGS-test-ifloat.c): Likewise.
60109         (CFLAGS-test-ldouble.c): Likewise.
60110         (CFLAGS-test-double.c): Likewise.
60111         (CFLAGS-test-float.c): Likewise.
60112         (CFLAGS-test-misc.c): Likewise.
60113         (CFLAGS-test-test-fenv.c): Likewise.
60115 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60117         [BZ #2550]
60118         [BZ #2570]
60119         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
60120         comparisons to determine direction to adjust input.
60122 2012-05-01  Roland McGrath  <roland@hack.frob.com>
60124         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
60125         output to the target.
60127         * scripts/localplt.awk: New file.
60128         * elf/Makefile ($(objpfx)check-localplt): Target removed.
60129         (check-localplt-CFLAGS): Variable removed.
60130         ($(all-built-dso:=.jmprel)): New static pattern rule.
60131         (generated): Add those targets.
60132         (localplt-built-dso): New variable.
60133         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
60135         * elf/check-localplt.c: File removed.
60137         * scripts/check-execstack.awk: New file.
60138         * elf/Makefile ($(objpfx)check-execstack): Target removed.
60139         (check-execstack-CFLAGS): Variable removed.
60140         ($(objpfx)check-execstack.h): Target removed.
60141         ($(objpfx)execstack-default): New target.
60142         (generated): Add that instead of check-execstack.h.
60143         ($(all-built-dso:=.phdr)): New static pattern rule.
60144         (generated): Add those targets.
60145         * elf/check-execstack.c: File removed.
60147         * scripts/check-textrel.awk: New file.
60148         * elf/Makefile ($(objpfx)check-textrel): Target removed.
60149         (check-textrel-CFLAGS): Variable removed.
60150         (all-built-dso): Use := to define.o
60151         ($(all-built-dso:=.dyn)): New static pattern rule.
60152         (generated): Add those targets.
60153         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
60154         * config.make.in (READELF): New substituted variable.
60155         * elf/check-textrel.c: File removed.
60157 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
60159         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60160         allow.
60161         * conform/data/ctype.h-data [C99-based standards] (isblank):
60162         Expect function.
60163         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
60164         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
60165         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60166         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
60167         Specify type.  Require positive value.
60168         (EILSEQ): Likewise.
60169         (ERANGE): Likewise.
60170         [ISO || POSIX] (EILSEQ): Do not expect.
60171         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
60172         Specify type.  Require positive value.
60173         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
60174         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
60175         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
60176         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
60177         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
60178         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
60179         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
60180         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
60181         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
60182         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
60183         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
60184         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
60185         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
60186         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
60187         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
60188         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
60189         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
60190         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
60191         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
60192         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
60193         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
60194         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
60195         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
60196         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
60197         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
60198         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
60199         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
60200         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
60201         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
60202         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
60203         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
60204         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
60205         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
60206         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
60207         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
60208         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
60209         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
60210         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
60211         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
60212         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
60213         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
60214         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
60215         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
60216         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
60217         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
60218         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
60219         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
60220         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
60221         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
60222         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
60223         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
60224         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
60225         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
60226         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
60227         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
60228         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
60229         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
60230         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
60231         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
60232         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
60233         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
60234         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
60235         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
60236         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
60237         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
60238         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
60239         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
60240         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
60241         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
60242         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
60243         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
60244         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
60245         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
60246         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
60247         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
60248         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
60249         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
60250         Require >= 2.
60251         (FLT_ROUNDS): Expect as macro, not constant.
60252         (FLT_MANT_DIG): Use macro-int-constant.
60253         (DBL_MANT_DIG): Likewise.
60254         (LDBL_MANT_DIG): Likewise.
60255         (FLT_DIG): Likewise.
60256         (DBL_DIG): Likewise.
60257         (LDBL_DIG): Likewise.
60258         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
60259         (DBL_MIN_EXP): Likewise.
60260         (LDBL_MIN_EXP): Likewise.
60261         (FLT_MAX_EXP): Use macro-int-constant.
60262         (DBL_MAX_EXP): Likewise.
60263         (LDBL_MAX_EXP): Likewise.
60264         (FLT_MAX_10_EXP): Likewise.
60265         (DBL_MAX_10_EXP): Likewise.
60266         (LDBL_MAX_10_EXP): Likewise.
60267         (FLT_MAX): Use macro-constant.
60268         (DBL_MAX): Likewise.
60269         (LDBL_MAX): Likewise.
60270         (FLT_EPSILON): Use macro-constant.  Give upper bound.
60271         (DBL_EPSILON): Likewise.
60272         (LDBL_EPSILON): Likewise.
60273         (FLT_MIN): Likewise.
60274         (DBL_MIN): Likewise.
60275         (LDBL_MIN): Likewise.
60276         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
60277         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
60278         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
60279         [ISO11] (FLT_HAS_SUBNORM): Likewise.
60280         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
60281         [ISO11] (DBL_DECIMAL_DIG): Likewise.
60282         [ISO11] (FLT_DECIMAL_DIG): Likewise.
60283         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
60284         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
60285         [ISO11] (FLT_TRUE_MIN): Likewise.
60286         [ISO11] (LDBL_TRUE_MIN): Likewise.
60287         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60288         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
60289         (SCHAR_MIN): Use macro-int-constant.  Specify type.
60290         (SCHAR_MAX): Likewise.
60291         (UCHAR_MAX): Likewise.
60292         (CHAR_MIN): Likewise.
60293         (CHAR_MAX): Likewise.
60294         (MB_LEN_MAX): Use macro-int-constant.
60295         (SHRT_MIN): Use macro-int-constant.  Specify type.
60296         (SHRT_MAX): Likewise.
60297         (USHRT_MAX): Likewise.
60298         (INT_MAX): Likewise.
60299         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
60300         bound negative.
60301         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60302         bound with "U".
60303         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60304         bound with "L".
60305         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
60306         bound negative.  Suffix upper bound with "L".
60307         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60308         bound with "UL".
60309         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
60310         Specify type.
60311         [C99-based standards] (LLONG_MAX): Likewise.
60312         [C99-based standards] (ULLONG_MAX): Likewise.
60313         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
60314         == 0.
60315         [ISO11] (max_align_t): Require type.
60316         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60318         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
60319         from $CFLAGS, without defining away __attribute__ calls.
60320         (checknamespace): Use $CFLAGS_namespace.
60322         * conform/conformtest.pl (@keywords): Only include C99 keywords
60323         for standards based on C99 or C11.
60325         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
60326         Disable tests.
60327         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
60328         UNIX98]: Likewise.
60330         * conform/conformtest.pl: Handle "macro-int-constant" and test for
60331         usability of symbols in #if.
60333         * conform/conformtest.pl: If macro or constant types start
60334         "promoted:", expect the symbol to be of the following type
60335         promoted by the integer promotions.
60337         * conform/conformtest.pl: Parse all "constant" and "macro" lines
60338         in one place.  Also handle "macro-constant".
60340         * conform/conformtest.pl: Only accept expected macro values with
60341         "==".  Parse all "macro" lines in one place.
60342         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
60344         * conform/conformtest.pl: Handle braced types on "constant" lines
60345         instead of handling "typed-constant".
60346         * conform/data/signal.h-data: Use "constant" instead of
60347         "typed-constant".
60349         * conform/conformtest.pl: Handle "optional-" at start of lines in
60350         one place rather than duplicating several cases.  Handle each
60351         format of "macro" line with initial "optional-".
60353         * conform/conformtest.pl: Only accept expected constant or
60354         optional-constant values with "==".  Parse all "constant" lines in
60355         one place.  Parse all "optional-constant" lines in one place.
60356         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
60357         * conform/data/fmtmsg.h-data: Likewise.
60358         * conform/data/netinet/in.h-data: Likewise.
60359         * conform/data/tar.h-data: Likewise.
60360         * conform/data/limits.h-data: Use "==" form on "constant" and
60361         "optional-constant" lines.
60363         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
60364         Use -std=c99 for XOPEN2K.
60365         (@knownproblems): Remove.
60366         (newtoken): Don't check %isknown.
60368         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
60369         Do not expect macro.
60370         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
60371         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
60372         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
60373         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
60374         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
60375         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
60376         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
60377         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
60378         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
60379         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
60380         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
60381         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
60382         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
60383         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
60384         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
60385         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
60386         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
60387         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
60388         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
60389         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
60390         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
60391         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
60392         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
60393         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
60394         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
60395         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
60396         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
60397         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
60398         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
60399         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
60400         [XPG3] (acosh): Likewise.
60401         [XPG3] (asinh): Likewise.
60402         [XPG3] (atanh): Likewise.
60403         [XPG3] (cbrt): Likewise.
60404         [XPG3] (expm1): Likewise.
60405         [XPG3] (ilogb): Likewise.
60406         [XPG3] (log1p): Likewise.
60407         [XPG3] (logb): Likewise.
60408         [XPG3] (nextafter): Likewise.
60409         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
60410         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
60411         [XPG3] (remainder): Likewise.
60412         [XPG3] (rint): Likewise.
60413         [XPG3 || XPG4 || UNIX98] (round): Likewise.
60414         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
60415         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
60416         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
60417         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
60418         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
60419         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
60420         [UNIX98 || XOPEN2K] (scalb): Expect.
60421         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
60422         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
60423         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
60424         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
60425         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
60426         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
60427         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
60428         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
60429         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
60430         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
60431         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
60432         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
60433         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
60434         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
60435         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
60436         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
60437         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
60438         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
60439         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
60440         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
60441         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
60442         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
60443         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
60444         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
60445         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
60446         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
60447         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
60448         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
60449         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
60450         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
60451         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
60452         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
60453         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
60454         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
60455         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
60456         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
60457         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
60458         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
60459         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
60460         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
60461         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
60462         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
60463         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
60464         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
60465         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
60466         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
60467         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
60468         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
60469         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
60470         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
60471         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
60472         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
60473         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
60474         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
60475         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
60476         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
60477         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
60478         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
60479         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
60480         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
60481         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
60482         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
60483         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
60484         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
60485         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
60486         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
60487         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
60488         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
60489         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
60490         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
60491         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
60492         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
60493         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
60494         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
60495         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
60496         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
60497         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
60498         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
60499         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
60500         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
60501         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
60502         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
60503         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
60504         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
60505         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
60506         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
60507         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
60508         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
60509         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
60510         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
60511         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
60512         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
60513         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
60514         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
60515         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
60516         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
60517         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
60518         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
60519         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
60520         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
60521         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
60522         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
60523         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
60524         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
60525         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
60526         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
60527         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
60528         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
60529         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
60530         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
60531         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
60532         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
60533         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
60534         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
60535         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
60536         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
60537         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
60538         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
60539         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
60540         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
60541         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
60542         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
60543         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
60544         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
60545         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
60546         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
60547         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
60548         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
60549         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
60550         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
60551         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
60552         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
60553         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
60554         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
60555         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
60556         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
60557         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
60559         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
60560         _XOPEN_SOURCE_EXTENDED for XPG4.
60562         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
60564         * Makeconfig (localtime): Remove variable.
60565         (inst_localtime-file): Likewise.
60567 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
60569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
60570         Update.
60571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60572         Update.
60573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
60574         Update.
60575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
60576         Update.
60577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
60578         Update.
60579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
60580         Update.
60581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60582         Update.
60583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
60584         Update.
60585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60586         Update.
60588 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
60590         [BZ #2550]
60591         [BZ #2570]
60592         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
60593         comparisons to determine direction to adjust input.
60594         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
60595         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
60596         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
60597         Likewise.
60598         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
60599         Likewise.
60600         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
60601         Likewise.
60602         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
60603         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
60604         Likewise.
60605         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
60606         Likewise.
60607         * math/libm-test.inc (nexttoward_test): Add more tests.
60609 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
60611         [BZ #14040]
60612         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
60613         in version GLIBC_2.1, not GLIBC_2.0.
60614         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
60615         Likewise.
60617 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
60619         [BZ #13942]
60620         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
60621         (1 - x) * (1 + x).
60622         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60623         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
60624         * math/libm-test.inc (acos_test): Add more tests.
60625         (asin_test): Likewise.
60626         * sysdeps/i386/fpu/libm-test-ulps: Update.
60627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60629         [BZ #14034]
60630         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
60631         of square root.
60632         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
60633         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60634         * math/libm-test.inc (acos_test_tonearest): New function.
60635         (acos_test_towardzero): Likewise.
60636         (acos_test_downward): Likewise.
60637         (acos_test_upward): Likewise.
60638         (asin_test_tonearest): Likewise.
60639         (asin_test_towardzero): Likewise.
60640         (asin_test_downward): Likewise.
60641         (asin_test_upward): Likewise.
60642         (main): Call the new functions.
60643         * sysdeps/i386/fpu/libm-test-ulps: Update.
60644         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60646         [BZ #13884]
60647         [BZ #13924]
60648         * math/e_exp10.c: Include <float.h>.
60649         (__ieee754_exp10): Handle underflow here rather than multiplying
60650         large negative argument by M_LN10.
60651         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
60652         of __ieee754_expf.
60653         * math/e_exp10l.c: Include <float.h>.
60654         (__ieee754_exp10l): Handle underflow here rather than multiplying
60655         large negative argument by M_LN10l.
60656         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
60657         spurious overflow exception on underflow.
60659 2012-04-29  Marek Polacek  <polacek@redhat.com>
60661         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
60662         (__fortify_function): New macro.
60663         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
60664         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
60665         __extern_always_inline.
60666         * libio/bits/stdio2.h: Likewise.
60667         * libio/bits/stdio.h: Likewise.
60668         * string/string.h: Likewise.
60669         * string/bits/string3.h: Likewise.
60670         * include/stdio.h: Likewise.
60671         * stdlib/bits/stdlib.h: Likewise.
60672         * stdlib/stdlib.h: Likewise.
60673         * rt/bits/mqueue2.h: Likewise.
60674         * rt/mqueue.h: Likewise.
60675         * posix/bits/unistd.h: Likewise.
60676         * posix/unistd.h: Likewise.
60677         * io/bits/poll2.h: Likewise.
60678         * io/bits/fcntl2.h: Likewise.
60679         * io/fcntl.h: Likewise.
60680         * io/sys/poll.h: Likewise.
60681         * misc/bits/syslog.h: Likewise.
60682         * misc/bits/syslog-ldbl.h: Likewise.
60683         * misc/sys/syslog.h: Likewise.
60684         * socket/bits/socket2.h: Likewise.
60685         * socket/sys/socket.h: Likewise.
60686         * debug/tst-chk1.c: Likewise.
60687         * wcsmbs/bits/wchar2.h: Likewise.
60688         * wcsmbs/bits/wchar-ldbl.h: Likewise.
60689         * wcsmbs/wchar.h: Likewise.
60691 2012-04-29  Andreas Jaeger  <aj@suse.de>
60693         * Makerules (tests): Remove enable-check-abi protection.
60694         (check-abi-warn): Remove.
60695         (check-abi-%): Remove check-abi-warn usage.
60697         * configure.in: Remove check-abi configure option.
60698         * configure: Regenerated.
60699         * config.make.in (enable-check-abi): Remove.
60701 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
60703         [BZ #14033]
60704         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
60705         double functions to double *_finite functions.
60707         [BZ #13941]
60708         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
60709         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
60710         LDBL_MIN_EXP.
60711         * stdio-common/Makefile (tests): Add tst-sprintf3.
60712         * stdio-common/tst-sprintf3.c: New file.
60714         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
60715         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
60717 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
60719         * conform/conformtest.pl: Remove duplicate typed-constant
60720         handling.
60722 2012-04-28  David S. Miller  <davem@davemloft.net>
60724         * Makerules (%.abilist): Add vpath on sysdep_dirs.
60725         (check-abi-%): Remove AWK script prerequisite and explicit
60726         abilist directory.
60727         (check-abi): Rewrite to just diff the symlist with the abilist.
60728         (config-tls, config-abi-config): Delete, no longer used.
60729         (update-abi-%): Remove AWK script and explicit abilist directory.
60730         (update-abi): Rewrite to simply compare and conditionally copy the
60731         symlist and the sysdep abilist file.  Remove update-abi-config
60732         checks.
60733         * abilist/ld.abilist: Remove.
60734         * abilist/libBrokenLocale.abilist: Remove.
60735         * abilist/libanl.abilist: Remove.
60736         * abilist/libcrypt.abilist: Remove.
60737         * abilist/libdl.abilist: Remove.
60738         * abilist/librt.abilist: Remove.
60739         * abilist/libthread_db.abilist: Remove.
60740         * abilist/libutil.abilist: Remove.
60741         * scripts/extract-abilist.awk: Remove.
60742         * scripts/merge-abilist.awk: Remove.
60743         * sysdeps/generic/libcidn.abilist: New file.
60744         * sysdeps/generic/libnss_compat.abilist: New file.
60745         * sysdeps/generic/libnss_db.abilist: New file.
60746         * sysdeps/generic/libnss_dns.abilist: New file.
60747         * sysdeps/generic/libnss_files.abilist: New file.
60748         * sysdeps/generic/libnss_hesiod.abilist: New file.
60749         * sysdeps/generic/libnss_nis.abilist: New file.
60750         * sysdeps/generic/libnss_nisplus.abilist: New file.
60751         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
60752         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
60753         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
60754         file.
60755         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
60756         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
60757         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
60758         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
60759         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
60760         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
60761         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
60762         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
60763         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
60764         file.
60765         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
60766         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
60767         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
60768         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
60769         file.
60770         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
60771         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
60772         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
60773         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
60774         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
60775         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
60776         file.
60777         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
60778         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
60779         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
60780         file.
60781         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
60782         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
60783         New file.
60784         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
60785         New file.
60786         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
60787         New file.
60788         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
60789         New file.
60790         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
60791         New file.
60792         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
60793         New file.
60794         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
60795         New file.
60796         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
60797         New file.
60798         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
60799         New file.
60800         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
60801         New file.
60802         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
60803         New file.
60804         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
60805         New file.
60806         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
60807         New file.
60808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
60809         file.
60810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
60811         New file.
60812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
60813         New file.
60814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
60815         file.
60816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
60817         New file.
60818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
60819         New file.
60820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
60821         file.
60822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
60823         New file.
60824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60825         New file.
60826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
60827         New file.
60828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
60829         New file.
60830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
60831         New file.
60832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
60833         New file.
60834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
60835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
60836         file.
60837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
60838         New file.
60839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
60840         file.
60841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
60842         file.
60843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
60844         file.
60845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
60846         file.
60847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
60848         file.
60849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60850         New file.
60851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
60852         file.
60853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
60854         file.
60855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
60856         New file.
60857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
60858         file.
60859         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
60860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
60861         file.
60862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
60863         New file.
60864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
60865         file.
60866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
60867         file.
60868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
60869         file.
60870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
60871         file.
60872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
60873         file.
60874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60875         New file.
60876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
60877         file.
60878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
60879         file.
60880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
60881         New file.
60882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
60883         file.
60884         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60885         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
60886         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
60887         file.
60888         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
60889         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
60890         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
60891         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
60892         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
60893         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
60894         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
60895         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
60896         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
60897         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
60898         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
60899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
60900         file.
60901         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
60902         New file.
60903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
60904         file.
60905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
60906         file.
60907         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
60908         file.
60909         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
60910         file.
60911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
60912         file.
60913         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
60914         New file.
60915         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
60916         New file.
60917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
60918         file.
60919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
60920         New file.
60921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
60922         file.
60923         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
60924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
60925         file.
60926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
60927         New file.
60928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
60929         file.
60930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
60931         file.
60932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
60933         file.
60934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
60935         file.
60936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
60937         file.
60938         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
60939         New file.
60940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
60941         New file.
60942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
60943         file.
60944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
60945         New file.
60946         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
60947         file.
60949 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
60951         * conform/conformtest.pl: Fix typo in handling typed-constant from
60952         allow-header.
60954 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
60956         * README: Cut down references to pre-2.6 Linux kernels and
60957         Linuxthreads.  Update lists of configurations in libc and ports
60958         and sort alphabetically.  Say "or newer" with Linux kernel version
60959         requirements.
60961         * config.h.in [IS_IN_build]: Allow compiling without optimization.
60963 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60965         [BZ #887]
60966         * math/libm-test.inc (logb_test_downward): New test to expose
60967         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
60968         rounding mode.
60970 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
60972         [BZ #14027]
60973         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
60974         to be done.
60975         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
60976         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
60978 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
60980         * sysdeps/unix/i386/brk.S: Remove file.
60981         * sysdeps/unix/i386/dl-brk.S: Likewise.
60982         * sysdeps/unix/i386/pipe.S: Likewise.
60983         * sysdeps/unix/i386/sigreturn.S: Likewise.
60984         * sysdeps/unix/i386/syscall.S: Likewise.
60985         * sysdeps/unix/i386/vfork.S: Likewise.
60986         * sysdeps/unix/i386/wait.S: Likewise.
60988         * sysdeps/unix/common/tcsendbrk.c: Move to ...
60989         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
60991         * configure.in (arm*-none*): Do not allow without
60992         --enable-hacker-mode.
60993         (netbsd*): Remove case setting base_os.
60994         (386bsd*): Likewise.
60995         (freebsd*): Likewise.
60996         (bsdi*): Likewise.
60997         (osf*): Likewise.
60998         (sunos*): Likewise.
60999         (ultrix*): Likewise.
61000         (newsos*): Likewise.
61001         (dynix*): Likewise.
61002         (*bsd*): Likewise.
61003         (sysv*): Likewise.
61004         (isc*): Likewise.
61005         (esix*): Likewise.
61006         (sco*): Likewise.
61007         (minix*): Likewise.
61008         (irix4*): Likewise.
61009         (irix6*): Likewise.
61010         (solaris[2-9]*): Likewise.
61011         (none): Likewise.
61012         * configure: Regenerated.
61014 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61016         [BZ #11521]
61017         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
61018         overflow or cancellation in calculating denominator.
61019         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
61020         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
61021         down expression to avoid unexpected rounding in newer GCCs.
61022         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
61024 2012-04-26  David S. Miller  <davem@davemloft.net>
61026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
61027         long-double compat symbols.
61028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
61032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
61034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
61035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
61036         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
61037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
61038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
61039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
61040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61042 2012-04-25  David S. Miller  <davem@davemloft.net>
61044         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
61045         HWCAP_* values only after the memory barriers have been defined.
61046         (atomic_full_barrier): Define.
61047         (atomic_read_barrier): Define.
61048         (atomic_write_barrier): Define.
61050 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61052         * shlib-versions: Add libgcc_s version information.
61053         * sysdeps/generic/libgcc_s.h: Remove.
61054         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
61055         libgcc_s.h.
61056         * sysdeps/gnu/unwind-resume.c: Likewise.
61057         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
61059 2012-04-25  David S. Miller  <davem@davemloft.net>
61061         * sysdeps/unix/sparc/brk.S: Delete.
61062         * sysdeps/unix/sparc/dl-brk.S: Delete.
61063         * sysdeps/unix/sparc/pipe.S: Delete.
61064         * sysdeps/unix/sparc/sysdep.S: Delete.
61065         * sysdeps/unix/sparc/sysdep.h: Delete.
61066         * sysdeps/unix/sparc/vfork.S: Delete.
61067         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
61068         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
61069         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
61070         (ret_ERRVAL, r0, r1, MOVE): Define.
61071         (JUMPTARGET): Remove.
61072         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
61073         sysdeps/unix/sparc/sysdep.h
61074         (ENTRY, END): Remove.
61075         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61077 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
61079         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
61080         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
61081         -DIS_IN_build.
61083         * timezone/README: Update upstream location and email address for
61084         tzcode and tzdata.
61085         * timezone/zdump.c: Update from tzcode 2012b.
61086         * timezone/zic.c: Likewise.
61088         * configure.in (libc_cv_as_needed): Remove test.
61089         * configure: Regenerated.
61090         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
61091         conditional definition.
61092         [$(have-as-needed) != yes] (no-as-needed): Likewise.
61093         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
61094         * config.make.in (have-as-needed): Remove variable.
61096 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61097             Paul Pluzhnikov  <ppluzhnikov@google.com>
61099         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
61100         strings correctly.
61102 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
61104         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
61105         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
61106         * sysdeps/sh/strlen.S: Likewise.
61108 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61110         * sysdeps/unix/fork.S: Remove file.
61111         * sysdeps/unix/i386/fork.S: Likewise.
61112         * sysdeps/unix/sparc/fork.S: Likewise.
61114         * sysdeps/unix/system.c: Remove file.
61115         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
61117         * sysdeps/unix/getegid.S: Remove file.
61118         * sysdeps/unix/geteuid.S: Likewise.
61120 2012-04-24  Roland McGrath  <roland@hack.frob.com>
61122         * scripts/check-localplt.awk: New file.
61123         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
61124         of diff.
61125         * scripts/data/localplt-generic.data: Add a comment.
61127         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
61128         NODE when __dir_mkfile failed.
61129         * sysdeps/mach/hurd/symlinkat.c: Likewise.
61130         Reported by Ludovic Courtès <ludo@gnu.org>.
61132 2012-04-24  Andreas Jaeger  <aj@suse.de>
61134         * Makerules (common-clean): Also remove gen-as-const-headers
61135         files.
61137 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61139         * Makerules (native-compile): Do not change working directory for
61140         build.  Use $(OUTPUT_OPTION) in command.
61141         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
61143 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61145         [BZ #13886]
61146         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
61147         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
61148         * math/libm-test.inc (floor_test): Add more tests.
61149         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
61151 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61153         * sysdeps/unix/getdents.c: Remove file.
61154         * sysdeps/unix/sysv/getdents.c: Likewise.
61155         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
61157         * sysdeps/unix/syscalls.list (madvise): Add syscall from
61158         sysdeps/unix/mman/syscalls.list.
61159         (mmap): Likewise.
61160         (mprotect): Likewise.
61161         (msync): Likewise.
61162         (munmap): Likewise.
61163         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
61164         * sysdeps/unix/mman/syscalls.list: Remove.
61165         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
61167         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
61168         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
61169         * configure: Regenerated.
61170         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
61171         $(libgcc_s_suffix).
61172         * config.make.in (libgcc_s_suffix): Remove variable.
61174 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
61176         * sysdeps/unix/sysv/gethostname.c: Move to ...
61177         * sysdeps/posix/gethostname.c: ... here.
61179         * sysdeps/unix/execve.S: Remove file.
61181         * sysdeps/unix/_exit.S: Remove file.
61183 2012-04-23  Andreas Jaeger  <aj@suse.de>
61185         [BZ #13739]
61186         * manual/Makefile: Remove make dist support, there's no
61187         need for a stand-alone documentation tar ball.
61188         (TEXI2DVI): Define always, it's not in Makeconfig.
61189         (dist): Removed.
61190         (tar-it): Removed.
61191         (edition): Removed.
61192         (glibc-doc-$(edition).tar): Removed
61193         (%.Z): Removed.
61194         (%.gz): Removed.
61195         (%.uu): Removed.
61196         (ETAGS): Remove, it's in Makeconfig.
61197         (move-if-change): Remove, it's in Makeconfig.
61199 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
61201         [BZ #13970]
61202         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
61203         (strtod, strtof, strtold, strtol, strtoul, strtoq)
61204         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
61205         (strtod_l, strtof_l, strtold_l): Remove __wur.
61206         It is not necessarily an error to ignore strtol's return value.
61207         One can reliably look at the stored endptr to decide whether
61208         the number had valid syntax.
61210 2012-04-21  Andreas Jaeger  <aj@suse.de>
61212         [BZ #13739]
61213         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
61215 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
61217         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
61218         * sysdeps/unix/sysv/Versions: Remove file.
61220 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
61222         [BZ #13927]
61223         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61225 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
61227         [BZ #7064]
61228         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
61229         version from __vm86.
61231 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
61233         * sysdeps/unix/common/lxstat.c: Remove file.
61234         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
61236         * sysdeps/unix/sysv/Makefile: Remove file.
61238         * sysdeps/unix/sysv/direct.h: Remove file.
61240         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
61241         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
61242         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
61243         * sysdeps/unix/sysv/bits/signum.h: Likewise.
61244         * sysdeps/unix/sysv/bits/stat.h: Likewise.
61245         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
61246         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
61248         * sysdeps/unix/sysv/setrlimit.c: Remove file.
61250         * sysdeps/unix/xmknod.c: Remove file.
61251         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
61253         * sysdeps/unix/sysv/settimeofday.c: Remove file.
61255         * sysdeps/unix/sysv/i386/time.S: Remove file.
61257         * sysdeps/unix/fxstat.c: Remove file.
61258         * sysdeps/unix/xstat.c: Likewise.
61259         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
61261         * sysdeps/unix/sysv/sigaction.c: Remove file.
61263         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
61264         (sysdep_headers): Remove variable.
61265         [termio.h not in sysdep_headers] (generated): Likewise.
61266         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
61267         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
61268         * sysdeps/unix/sysv/tcdrain.c: Likewise.
61269         * sysdeps/unix/sysv/tcflow.c: Likewise.
61270         * sysdeps/unix/sysv/tcflush.c: Likewise.
61271         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
61272         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
61273         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
61274         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
61275         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
61277         * sysdeps/unix/siglist.c: Remove file.
61279         * sysdeps/unix/getppid.S: Remove file.
61281         * sysdeps/unix/mkdir.c: Remove file.
61282         * sysdeps/unix/rmdir.c: Likewise.
61284 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
61286         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
61287         ERR_MAX value.
61288         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
61289         errlist-compat value.
61291 2012-04-18  David S. Miller  <davem@davemloft.net>
61293         * sysdeps/generic/memcopy.h (reg_char): Delete.
61294         * debug/strcat_chk.c: Use char, not reg_char.
61295         * debug/strcpy_chk.c: Likewise.
61296         * debug/strncat_chk.c: Likewise.
61297         * debug/strncpy_chk.c: Likewise.
61298         * string/memchr.c: Likewise.
61299         * string/memrchr.c: Likewise.
61300         * string/rawmemchr.c: Likewise.
61301         * string/strcat.c: Likewise.
61302         * string/strchr.c: Likewise.
61303         * string/strchrnul.c: Likewise.
61304         * string/strcmp.c: Likewise.
61305         * string/strcpy.c: Likewise.
61306         * string/strncat.c: Likewise.
61307         * string/strncmp.c: Likewise.
61308         * string/strncpy.c: Likewise.
61310 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61312         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
61313         __builtin_memcopy is called when src and dest ranges are known to not
61314         overlap.
61316 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61318         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
61319         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
61320         fwd_align_merge macro call.
61321         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
61322         bwd_align_merge macro call.
61323         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61325 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61327         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
61328         bwd_align_merge macros.
61329         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
61330         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
61331         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61333 2012-04-18  David S. Miller  <davem@davemloft.net>
61335         * sysdeps/sparc/sparc64/memcopy.h: Delete.
61337 2012-04-18  Andreas Jaeger  <aj@suse.de>
61339         [BZ# 6794]
61340         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
61341         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
61342         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61344         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
61345         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
61346         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61348         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
61349         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
61350         Adjust for changed ldbl-128 files.
61352         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
61353         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
61354         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61356 2012-04-17  David S. Miller  <davem@davemloft.net>
61358         * sysdeps/sparc/sparc32/memcopy.h: Delete.
61360 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
61362         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
61363         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
61364         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
61365         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
61366         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61367         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
61369 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61371         [BZ #6794]
61372         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
61373         * math/libm-test.inc: Add ilogb errno and exception tests.
61374         * math/w_ilogb.c: New file: ilogb wrapper.
61375         * math/w_ilogbf.c: New file: ilogbf wrapper.
61376         * math/w_ilogbl.c: New file: ilogbl wrapper.
61377         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
61378         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
61379         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
61380         exception being thrown with 0.0 as argument.
61381         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
61382         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
61383         exception being thrown with 0.0 as argument.
61384         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
61385         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61386         exception being thrown with 0.0 as argument.
61387         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
61388         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61389         exception being thrown with 0.0 as argument.
61390         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
61391         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
61392         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
61393         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
61394         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
61395         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
61396         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
61397         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
61398         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
61400 2012-04-17  Petr Baudis  <pasky@ucw.cz>
61402         * include/sys/uio.h: Change __vector to __iovec to avoid clash
61403         with altivec.
61405 2012-04-16  Marek Polacek  <polacek@redhat.com>
61407         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
61409 2012-04-16  Marek Polacek  <polacek@redhat.com>
61411         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
61412         operands of fdivp instruction.
61414 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
61416         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
61417         * elf/tst-auditmod3b.c: Likewise.
61418         * elf/tst-auditmod4b.c: Likewise.
61419         * elf/tst-auditmod5b.c: Likewise.
61420         * elf/tst-auditmod6b.c: Likewise.
61421         * elf/tst-auditmod6c.c: Likewise.
61422         * elf/tst-auditmod7b.c: Likewise.
61423         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
61424         * sysdeps/x86_64/preconfigure.in: Likewise.
61425         * sysdeps/x86_64/preconfigure: Regenerated.
61427 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
61429         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
61430         __ILP32__.
61432 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
61434         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61435         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
61437 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
61439         [BZ #13973]
61440         * locale/iso-639.def: Fix gl language name. Spotted by
61441         Yaron Shahrabani.
61443 2012-04-12  Roland McGrath  <roland@hack.frob.com>
61445         [BZ #2074]
61446         * libio/libio.h (__io_write_fn): Update comment.
61448 2012-04-12  Petr Baudis  <pasky@ucw.cz>
61450         [BZ #2074]
61451         * stdio.texi (Hook Functions): The user provided writer function
61452         is not allowed to return -1.
61454 2012-04-11  David S. Miller  <davem@davemloft.net>
61456         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61458 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
61460         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
61461         Add a leading slash to rtkaio.
61463 2012-04-11  Jim Meyering  <meyering@redhat.com>
61465         [BZ #11959]
61466         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
61467         It is not necessarily an error to ignore fwrite's return
61468         value.  One can reliably use ferror to test for errors after
61469         the fact.
61471 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
61473         * bits/types.h (__snseconds_t): New type.
61474         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
61476         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
61477         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61478         (__SNSECONDS_T_TYPE): Likewise.
61479         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61480         (__SNSECONDS_T_TYPE): Likewise.
61481         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61482         (__SNSECONDS_T_TYPE): Likewise.
61484 2012-04-10  Andreas Jaeger  <aj@suse.de>
61486         [BZ #2636]
61487         * manual/time.texi (Processor Time): Return type of times is
61488         elapsed real time since an arbitrary point in the past.
61489         (CPU Time): Move CLK_TCK from here...
61490         (Processor Time): ...to here.  Correct description.
61491         * manual/conf.texi (Constants for Sysconf): Correct description of
61492         _SC_CLK_TCK.
61494 2012-04-10  David S. Miller  <davem@davemloft.net>
61496         [BZ #13967]
61497         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
61498         where the is a gap between DT_REL(A) and DT_JMPREL.
61500 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
61502         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
61503         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61504         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61506 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61508         * elf/dl-support.c (_dl_inhibit_cache): New variable.
61509         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
61510         (dl_main): Handle --inhibit-cache.
61511         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
61512         _dl_inhibit_cache.
61513         * elf/dl-load.c (_dl_map_object): Use it.
61514         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
61516 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
61518         [BZ #13872]
61519         * sysdeps/i386/fpu/e_powl.S (p78): New object.
61520         (__ieee754_powl): Saturate large exponents rather than testing for
61521         overflow of y*log2(x).
61522         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61523         * math/libm-test.inc (pow_test): Do not permit spurious overflow
61524         exceptions.
61526         [BZ #11521]
61527         * math/s_ctan.c: Include <float.h>.
61528         (__ctan): Avoid internal overflow or cancellation in calculating
61529         denominator.
61530         * math/s_ctanf.c: Likewise.
61531         * math/s_ctanl.c: Likewise.
61532         * math/s_ctanh.c: Likewise.
61533         * math/s_ctanhf.c: Likewise.
61534         * math/s_ctanhl.c: Likewise.
61535         * math/libm-test.inc (ctan_test): Add more tests.
61536         (ctanh_test): Likewise.
61537         * sysdeps/i386/fpu/libm-test-ulps: Update.
61538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61540 2012-04-09  Andreas Jaeger  <aj@suse.de>
61542         [BZ #6894]
61543         * manual/filesys.texi (Directory Entries): Mention that d_namlen
61544         is an optional BSD extension.
61546         [BZ #10254]
61547         * manual/stdio.texi (Opening Streams): Document additional fopen
61548         parameters.
61550 2012-04-09  Roland McGrath  <roland@hack.frob.com>
61552         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
61553         %eax without telling the compiler.
61555 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
61557         [BZ # 13963]
61558         * manual/install.texi: Use sourceware.org.
61560 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
61562         [BZ #13873]
61563         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
61564         (__ieee754_pow): Generate overflow and underflow using huge*huge
61565         and tiny*tiny rather than just returning constant infinity or zero
61566         for large exponents.
61567         * math/libm-test.inc (pow_test): Require overflow exceptions for
61568         applicable cases of large exponents.
61570         [BZ #706]
61571         * sysdeps/i386/fpu/e_pow.S (p10): New object.
61572         (__ieee754_pow): Use iterative multiplication algorithm only for
61573         integer exponents with absolute value below 1024.  Check for odd
61574         integer exponents when using algorithm for real exponents.
61575         * math/libm-test.inc (pow_test): Add more tests.
61576         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61578 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
61580         [BZ #13705]
61581         * math/libm-test.inc (exp_test): Do not allow overflow exception
61582         on underflow test.
61584 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
61586         [BZ #13705]
61587         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
61588         instead of __kernel_standard_f.
61590 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
61592         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
61593         * sysdeps/x86_64/memset_chk.S: Likewise.
61595 2012-04-08  Andreas Jaeger  <aj@suse.de>
61597         [BZ #10153]
61598         * manual/startup.texi (Environment Access): Describe return value
61599         for putenv and setenv.
61601         [BZ #6895]
61602         * manual/filesys.texi (Directory Entries): Add description for
61603         DT_LNK.
61605         [BZ #6890]
61606         * manual/filesys.texi (Directory Entries): Clarify that it's file
61607         system not operating system in the description of DT_UNKNOWN.
61609         [BZ #6578]
61610         * manual/syslog.texi (closelog): Fix reference, it's openlog.
61612 2012-04-08  Stephen Compall  <s11@member.fsf.org>
61614         [BZ #6649]
61615         * manual/llio.texi (Opening and Closing Files): Add cross
61616         reference to explain mode argument.
61618 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
61620         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
61621         * sysdeps/x86_64/memset_chk.S: Likewise.
61623 2012-04-07  David S. Miller  <davem@davemloft.net>
61625         * elf/elf.h (R_SPARC_WDISP10): Define.
61626         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
61627         R_SPARC_SIZE32.
61628         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
61629         R_SPARC_SIZE64 and R_SPARC_H34.
61631 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
61633         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
61634         conditions and remove no longer applicable assertion.
61636 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
61638         * bits/byteswap.h: Include <features.h>.
61639         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61640         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61642 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
61644         * bits/byteswap.h (__bswap_16): Removed.
61645         Include <bits/byteswap-16.h> to get __bswap_16.
61646         * sysdeps/i386/bits/byteswap.h: Likewise.
61647         * sysdeps/s390/bits/byteswap.h: Likewise.
61648         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61649         * bits/byteswap-16.h: New file.
61650         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61651         * sysdeps/s390/bits/byteswap-16.h: Likewise.
61652         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
61653         * string/Makefile (headers): Add bits/byteswap-16.h.
61655 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61657         [BZ #13895]
61658         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
61659         extra indirection.
61660         * nss/Makefile (tests-static, tests): Add tst-nss-static.
61661         * nss/tst-nss-static.c: New.
61663 2012-04-06  Robert Millan  <rmh@gnu.org>
61665         [BZ #6486]
61666         * manual/llio.texi (File Position Primitive): lseek
61667         refers to WHENCE when it really means OFFSET.
61669 2012-04-06  Andreas Jaeger  <aj@suse.de>
61671         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
61672         strncmp declarations.
61674         * abilist/libc.abilist: Add __poll and __ppoll.
61676 2012-04-05  David S. Miller  <davem@davemloft.net>
61678         * scripts/check-local-headers.sh: Accept a host triplet in the
61679         path matched by the exclude regexp.
61681         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
61682         definition.
61683         * sysdeps/powerpc/powerpc32/dl-machine.h
61684         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
61685         * sysdeps/s390/s390-32/dl-machine.h
61686         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61687         * sysdeps/sparc/sparc32/dl-machine.h
61688         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61689         * sysdeps/sparc/sparc64/dl-machine.h
61690         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61692         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
61693         lazy binding.
61694         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
61695         undefined symbol errors.
61697         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
61698         DT_NEEDED entries.
61700 2012-04-05  Michael Matz  <matz@suse.de>
61702         [BZ #13592]
61703         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
61705 2012-04-05  Andreas Jaeger  <aj@suse.de>
61707         [BZ #13908]
61708         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
61709         comment.
61711 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61713         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
61714         which ROUND is no valid rounding mode.
61716 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61718         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
61719         read again.
61720         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
61722 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61724         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
61725         an exception using FPU order intentionally.
61727 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61729         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
61730         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
61731         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
61732         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
61734 2012-04-05  Simon Josefsson  <simon@josefsson.org>
61736         [BZ #12340]
61737         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
61738         EINVAL when BUFLEN is too smal.
61740 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
61742         [BZ #13553]
61743         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
61744         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
61746 2012-04-03  Andreas Jaeger  <aj@suse.de>
61748         [BZ #13938]
61749         * manual/setjmp.texi (System V contexts): Fix sentence.
61751         [BZ #13926]
61752         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
61753         New macro for this case.
61754         [!__GNUC__] (__bswap_64): New inline function for this case.
61755         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61756         * bits/byteswap.h: Likewise.
61757         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
61758         ull, guard with __GLIBC_HAVE_LONG_LONG.
61760         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
61761         __GLIBC_HAVE_LONG_LONG.
61763         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
61764         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
61766 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
61768         [BZ #13691]
61769         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
61770         inptr and inend, rather than using last_ch.
61772 2012-04-02  David S. Miller  <davem@davemloft.net>
61774         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
61775         * stdio-common/printf-parse.h (read_int): Change return type to
61776         'int', return -1 on INT_MAX overflow.
61777         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
61778         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
61779         overflows INT_MAX.  Check for overflow of in-format-string precision
61780         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
61781         SIZE_MAX not INT_MAX for integer overflow test.
61782         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
61783         skip the construct in the format string but do not record anything.
61784         * stdio-common/bug22.c: Adjust to test both width/prevision
61785         INT_MAX overflow as well as total length INT_MAX overflow.  Check
61786         explicitly for proper errno values.
61788 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
61790         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
61791         CHAR_MAX.
61792         * string/test-strcmp.c [! WIDE]: Likewise.
61793         * time/tst-mktime2.c: Likewise for INT_MAX.
61794         * string/test-string.h: #include <sys/param.h> for MIN.
61796         * csu/init-first.c (__libc_init_first): Call __ctype_init.
61797         * sysdeps/i386/init-first.c (init): Likewise.
61798         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
61799         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
61800         * sysdeps/sh/init-first.c (init): Likewise.
61802 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
61804         * po/ru.po: Update from translation team.
61805         * po/vi.po: Likewise.
61807 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
61809         * resolv/nss_dns/dns-host.c: Merge copyright years.
61811 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61813         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
61814         Optimize memcpy with prefetch if
61815         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
61816         src, dst pointers have unequal 16 byte alignments.
61818 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61820         [BZ #13928]
61821         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
61822         from a CNAME entry and return the minimum ttl for the query.
61823         (gaih_getanswer_slice): Likewise.
61825 2012-03-30  Jeff Law  <law@redhat.com>
61827         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
61828         due to long keys.
61829         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
61830         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
61832         * resolv/nss_dns/dns-host.c: Update copyright year.
61834 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
61836         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
61837         requests to save a system call.  Fix check that all bytes are sent.
61839         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
61840         comments for sendmmsg.
61842 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61844         [BZ #13691]
61845         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
61846         with only 1 character between 0x0041 and 0x01b0.
61847         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
61848         * wcsmbs/tst-mbsnrtowcs.c: New file.
61850 2012-03-29  David S. Miller  <davem@davemloft.net>
61852         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
61853         small copies by hand.
61855 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61857         [BZ #13761]
61858         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
61859         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
61860         group memberships.
61862 2012-03-28  David S. Miller  <davem@davemloft.net>
61864         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
61865         that branches into memcpy.
61866         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
61867         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
61868         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61869         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
61870         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
61871         bits.
61872         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
61873         implementation too.
61874         * sysdeps/sparc/mempcpy.S: New file.
61876         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
61877         the IFUNC routine in the libc case.
61878         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
61880         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
61881         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
61882         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
61883         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
61884         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
61885         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
61886         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
61887         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
61889         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
61890         loop to 256 bytes instead of 64 bytes and fix test signedness.
61892         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
61893         * sysdeps/sparc/sparc32/Makefile: rather than here...
61894         * sysdeps/sparc/sparc64/Makefile: and here.
61896 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
61898         * malloc/mallocbug.c: Avoid warnings about unused variables.
61900 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61902         [BZ #13760]
61903         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
61904         in the right place. Discard and retry query if response is
61905         larger than input buffer size.
61907 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
61909         [BZ #369]
61910         [BZ #2678]
61911         [BZ #3866]
61912         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
61913         x for large integer exponent.
61914         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61915         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
61916         sign of result as needed afterwards.
61917         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61918         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
61919         result for underflowing pow the same as for overflow.
61920         (__kernel_standard_l): Handle powl overflow and underflow here
61921         rather than calling __kernel_standard.
61922         * math/libm-test.inc (pow_test): Add more tests.
61924         [BZ #3868]
61925         [BZ #13879]
61926         [BZ #13910]
61927         [BZ #13911]
61928         [BZ #13912]
61929         [BZ #13913]
61930         [BZ #13915]
61931         [BZ #13916]
61932         [BZ #13917]
61933         [BZ #13918]
61934         [BZ #13919]
61935         [BZ #13920]
61936         [BZ #13921]
61937         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
61938         * sysdeps/ieee754/k_standard.c: Include <float.h>.
61939         (__kernel_standard_l): New function.
61940         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
61941         __kernel_standard.
61942         * math/w_acosl.c (__acosl): Likewise.
61943         * math/w_asinl.c (__asinl): Likewise.
61944         * math/w_atan2l.c (__atan2l): Likewise.
61945         * math/w_atanhl.c (__atanhl): Likewise.
61946         * math/w_coshl.c (__coshl): Likewise.
61947         * math/w_exp10l.c (__exp10l): Likewise.
61948         * math/w_exp2l.c (__exp2l): Likewise.
61949         * math/w_fmodl.c (__fmodl): Likewise.
61950         * math/w_hypotl.c (__hypotl): Likewise.
61951         * math/w_j0l.c (__j0l, __y0l): Likewise.
61952         * math/w_j1l.c (__j1l, __y1l): Likewise.
61953         * math/w_jnl.c (__jnl, __ynl): Likewise.
61954         * math/w_lgammal.c (__lgammal): Likewise.
61955         * math/w_log10l.c (__log10l): Likewise.
61956         * math/w_log2l.c (__log2l): Likewise.
61957         * math/w_logl.c (__logl): Likewise.
61958         * math/w_powl.c (__powl): Likewise.
61959         * math/w_remainderl.c (__remainderl): Likewise.
61960         * math/w_scalbl.c (sysv_scalbl): Likewise.
61961         * math/w_sinhl.c (__sinhl): Likewise.
61962         * math/w_sqrtl.c (__sqrtl): Likewise.
61963         * math/w_tgammal.c (__tgammal): Likewise.
61964         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
61965         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
61966         * math/libm-test.inc (acos_test): Add more tests.
61967         (acosh_test): Likewise.
61968         (asin_test): Likewise.
61969         (atanh_test): Likewise.
61970         (exp_test): Likewise.
61971         (exp10_test): Likewise.
61972         (exp2_test): Likewise.
61973         (expm1_test): Likewise.
61974         (lgamma_test): Likewise.
61975         (log_test): Likewise.
61976         (log10_test): Likewise.
61977         (log1p_test): Likewise.
61978         (log2_test): Likewise.
61979         (pow_test): Do not allow some spurious overflow exceptions.
61980         (sqrt_test): Add more tests.
61981         (tgamma_test): Likewise.
61982         (y0_test): Likewise.
61983         (y1_test): Likewise.
61984         (yn_test): Likewise.
61986 2012-03-27  Anton Blanchard  <anton@samba.org>
61988         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
61989         MAP_HUGETLB.
61990         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61991         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61992         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61994 2012-03-27  David S. Miller  <davem@davemloft.net>
61996         * conform/Makefile: Run run-conformtest.sh using $(BASH).
61998         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
61999         have-as-vis3 check.
62001 2012-03-27  Andreas Jaeger  <aj@suse.de>
62003         * sysdeps/x86_64/elf/configure.in: Moved to ...
62004         * sysdeps/x86_64/configure.in: ... here.
62005         * sysdeps/x86_64/elf/start.S: Moved to ...
62006         * sysdeps/x86_64/start.S: ... here.
62007         * sysdeps/x86_64/elf/configure: Delete.
62009         * sysdeps/x86_64/configure.in: Merge contents from
62010         sysdeps/i386/configure.in (without i686 check).
62012         * sysdeps/i386/elf/Versions: Merge into ...
62013         * sysdeps/i386/Versions: ... this.
62014         * sysdeps/i386/elf/Versions: Delete file.
62015         * sysdeps/i386/elf/start.S: Moved to ...
62016         * sysdeps/i386/start.S: ...here.
62017         * sysdeps/i386/elf/configure.in: Merge into...
62018         * sysdeps/i386/configure.in: ...here.
62019         * sysdeps/i386/elf/configure.in: Delete file.
62020         * sysdeps/i386/elf/configure: Delete file.
62022         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
62023         * debug/backtracesyms.c: ... here.
62024         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
62025         * debug/backtracesymsfd.c: ... here.
62026         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
62027         * sysdeps/generic/ifunc-sel.h: ... here.
62029         * sysdeps/unix/i386/start.c: Delete file.
62030         * sysdeps/unix/sparc/start.c: Delete file.
62031         * sysdeps/unix/start.c: Delete file.
62033         * sysdeps/sh/elf/configure.in: Moved to ...
62034         * sysdeps/sh/configure.in: ... here.
62035         * sysdeps/sh/elf/start.S: Moved to ...
62036         * sysdeps/sh/start.S: ... here.
62037         * sysdeps/sh/elf/configure: Delete file.
62039         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
62040         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
62041         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
62042         * sysdeps/powerpc/powerpc64/entry.h: ... here.
62043         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
62044         * sysdeps/powerpc/powerpc64/start.S: here.
62045         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
62046         * sysdeps/powerpc/powerpc64/Makefile: ... this.
62047         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
62048         * sysdeps/powerpc/powerpc64/configure.in: ... this.
62049         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
62051         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
62052         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
62053         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
62054         * sysdeps/powerpc/powerpc32/start.S: ... here.
62055         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
62056         * sysdeps/powerpc/powerpc32/configure.in: ... this.
62057         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
62059         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
62060         * sysdeps/powerpc/ifunc-sel.h: ... here.
62061         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
62062         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
62064         * sysdeps/sparc/elf/configure.in: Moved to ...
62065         * sysdeps/sparc/configure.in: ... here.
62066         * sysdeps/sparc/elf/configure: Delete file.
62067         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
62068         * sysdeps/sparc/sparc32/start.S: ... here.
62069         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
62070         * sysdeps/sparc/sparc64/start.S: ... here.
62071         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
62072         * sysdeps/sparc/sparc32/Makefile: ... this.
62073         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
62074         * sysdeps/sparc/sparc64/Makefile: ... this.
62076         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
62077         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
62078         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
62079         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
62080         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
62081         * sysdeps/s390/s390-32/setjmp.S: ... here.
62082         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
62083         * sysdeps/s390/s390-32/configure.in: ... here.
62084         * sysdeps/s390/s390-32/elf/configure: Delete file.
62085         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
62086         * sysdeps/s390/s390-32/start.S: ... here.
62088         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
62089         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
62090         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
62091         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
62092         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
62093         * sysdeps/s390/s390-64/setjmp.S: ... here.
62094         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
62095         * sysdeps/s390/s390-64/configure.in: ... here
62096         * sysdeps/s390/s390-64/elf/configure: Delete file.
62097         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
62098         * sysdeps/s390/s390-64/start.S: ... here.
62099         * sysdeps/s390/s390-64/elf/configure: Delete.
62101         * configure.in: Remove support for elf directories in sysdeps.
62103         * configure: Regenerated.
62104         * sysdeps/i386/configure: Regenerated.
62105         * sysdeps/powerpc/powerpc32/configure: Regenerated.
62106         * sysdeps/powerpc/powerpc64/configure: Regenerated.
62107         * sysdeps/s390/s390-32/configure: Regenerated.
62108         * sysdeps/s390/s390-64/configure: Regenerated.
62109         * sysdeps/sh/configure: Regenerated.
62110         * sysdeps/sparc/configure: Regenerated.
62111         * sysdeps/x86_64/configure: Regenerated.
62113 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
62115         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62117         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
62118         denormal result into account.
62120 2012-03-25  Roland McGrath  <roland@hack.frob.com>
62122         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
62123         Reported by Allan McRae <allan@archlinux.org>.
62125 2012-03-23  Jeff Law  <law@redhat.com>
62127         * nss/getnssent.c (__nss_getent): Fix typo.
62129 2012-03-23  David S. Miller  <davem@davemloft.net>
62131         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62133 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
62135         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
62136         to pad to uint64_t for each field.
62137         (dl_tls_index): Replace unsigned long with uint64_t.
62139 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
62140         Paul Pluzhnikov  <ppluzhnikov@google.com>
62142         [BZ #6528]
62143         * grp/Makefile (otherlibs): Don't set it.
62144         * inet/Makefile (otherlibs): Likewise.
62145         * login/Makefile (otherlibs): Likewise.
62146         * nscd/Makefile (otherlibs): Likewise.
62147         * posix/Makefile (otherlibs): Likewise.
62148         * pwd/Makefile (otherlibs): Likewise.
62149         * rt/Makefile (otherlibs): Likewise.
62150         * sunrpc/Makefile (otherlibs): Likewise.
62151         * nss/Makefile (otherlibs): Likewise.
62152         Add libnss_files to routines and static-only-routines.
62153         ($(objpfx)getent): Remove rule.
62154         * resolv/Makefile: Add libnss_dns and libresolv to routines and
62155         static-only-routines.
62157 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
62159         [BZ #13892]
62160         * math/s_cexp.c: Include <float.h>.
62161         (__cexp): Handle exp result overflowing not necessarily
62162         overflowing both real and imaginary parts of result.
62163         * math/s_cexpf.c: Likewise.
62164         * math/s_cexpl.c: Likewise.
62165         * math/libm-test.inc (cexp_test): Add more tests.
62166         * sysdeps/i386/fpu/libm-test-ulps: Update.
62167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62169 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62171         * include/link.h (ELFW): New macro.
62172         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
62173         Replace ELF64_R_TYPE with ELFW(R_TYPE).
62175 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62177         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
62178         with uint64_t.
62180 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62182         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
62183         declaration.
62184         (struct La_x32_retval): Likewise.
62186 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62188         * sysdeps/x86_64/preconfigure.in: New file.
62189         * sysdeps/x86_64/preconfigure: New generated file.
62191 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
62193         [BZ #13824]
62194         * math/e_exp2l.c: Include <float.h>.
62195         (__ieee754_exp2l): Handle overflow and underflow cases
62196         separately.  Only pass fractional part of argument to
62197         __ieee754_expl.
62198         * math/libm-test.inc (exp2_test): Add more tests.
62200         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
62201         negating x to take absolute value.
62202         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
62203         Likewise.
62204         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62205         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
62206         Likewise.
62207         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
62208         computing low part if x was negated.
62209         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62211 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62213         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
62214         la_x32_gnu_pltexit.
62215         (pltexit): Cast int_retval to ptrdiff_t.
62216         * elf/tst-auditmod3b.c: Likewise.
62217         * elf/tst-auditmod4b.c: Likewise.
62218         * elf/tst-auditmod5b.c: Likewise.
62219         * elf/tst-auditmod6b.c: Likewise.
62220         * elf/tst-auditmod6c.c: Likewise.
62221         * elf/tst-auditmod7b.c: Likewise.
62223         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
62224         and x32_gnu_pltexit.
62226         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
62227         __ELF_NATIVE_CLASS.
62228         (La_x32_regs): New macro.
62229         (La_x32_retval): Likewise.
62230         (la_x32_gnu_pltenter): New function prototype.
62231         (la_x32_gnu_pltexit): Likewise.
62233 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
62235         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
62236         exponent.
62238         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62240         * configure.in (libc_cv_cc_nofma): Check for option to disable
62241         generation of FMA instructions.
62242         * configure: Regenerate.
62243         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
62244         * sysdeps/ieee754/dbl-64/Makefile: New file.
62245         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
62246         Remove brandred-fma4.
62247         (CFLAGS-brandred-fma4.c): Remove.
62248         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
62249         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
62250         define.
62251         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
62252         define.
62254 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62256         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62257         LLONG_MAX != LONG_MAX.
62258         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62259         (_fitoa_word): Likewise.
62260         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
62261         LLONG_MAX != LONG_MAX.
62262         * stdio-common/_itowa.h: Include <_itoa.h>.
62263         (_itowa_word): Use _ITOA_WORD_TYPE on value.
62264         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
62265         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
62266         only if not defined.
62267         (_ITOA_WORD_TYPE): Likewise.
62268         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62269         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
62271 2012-03-21  David S. Miller  <davem@davemloft.net>
62273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62275 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62277         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
62278         of x86_64 when setting libc_cv_slibdir, libdir and
62279         libc_cv_localedir.
62280         * sysdeps/unix/sysv/linux/configure: Regenerated.
62282 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62284         * manual/lang.texi (Old Varargs): Remove section.
62285         (How Variadic): Update menu.
62286         (va_start): Do not mention varargs.h.
62288 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62289             Joseph Myers  <joseph@codesourcery.com>
62291         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
62292         link test.
62293         * configure: Regenerated.
62295 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62297         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
62298         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
62299         conformtest.pl
62301 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62303         * NOTES: Remove.
62304         * Makefile (files-for-dist): Remove NOTES.
62305         (NOTES): Remove rule.
62306         * README: Don't refer to NOTES.
62307         * manual/creature.texi: Don't include macros.texi.
62308         * manual/intro.texi (creature.texi): Remove comment referring to
62309         NOTES.
62311         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
62312         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
62313         * configure: Regenerated.
62314         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
62315         LIBC_TRY_CC_OPTION.
62316         (libc_cv_as_i686): Likewise.
62317         (libc_cv_cc_avx): Likewise.
62318         (libc_cv_cc_sse2avx): Likewise.
62319         (libc_cv_cc_fma4): Likewise.
62320         (libc_cv_cc_novzeroupper): Likewise.
62321         * sysdeps/i386/configure: Regenerated.
62323         [BZ #13883]
62324         * sysdeps/i386/fpu/s_cexp.S: Remove.
62325         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62326         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62327         * math/libm-test.inc (cexp_test): Add more tests.
62328         * sysdeps/i386/fpu/libm-test-ulps: Update.
62329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62331 2012-03-21  Allan McRae  <allan@archlinux.org>
62333         * timezone/Makefile: Do not install iso3166.tab and zone.tab
62335 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62337         [BZ #13871]
62338         * math/w_exp2.c: Do not include <float.h>.
62339         (o_threshold, u_threshold): Remove.
62340         (__exp2): Calculate result before checking finiteness and calling
62341         __kernel_standard.
62342         * math/w_exp2f.c: Likewise.
62343         * math/w_exp2l.c: Likewise.
62344         * math/libm-test.inc (exp2_test): Require overflow exception for
62345         1e6 input.
62347         [BZ #3866]
62348         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
62349         range of signed 64-bit integers before using fistpll.  Remove
62350         checks for whether integers fit in mantissa bits.
62351         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
62352         the range of signed 32-bit integers before using fistpl.  Remove
62353         checks for whether integers fit in mantissa bits.
62354         * sysdeps/i386/fpu/e_powl.S (p64): New object.
62355         (__ieee754_powl): Test for y outside the range of signed 64-bit
62356         integers before using fistpll.  Reduce 64-bit values to 63-bit
62357         ones as needed.
62358         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
62359         divide-by-zero is raised for zero to large negative powers.
62360         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
62361         (__ieee754_powl): Test for y outside the range of signed 64-bit
62362         integers before using fistpll.  Reduce 64-bit values to 63-bit
62363         ones as needed.
62364         * math/libm-test.inc (pow_test): Add more tests.
62366 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62368         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
62369         <stdio-common/_itoa.h>.
62370         * debug/segfault.c: Likewise.
62371         * elf/dl-cache.c: Likewise.
62372         * elf/dl-minimal.c: Likewise.
62373         * elf/dl-misc.c: Likewise.
62374         * elf/dl-sysdep.c: Likewise.
62375         * elf/dl-version.c: Likewise.
62376         * elf/rtld.c: Likewise.
62377         * hurd/hurdsock.c: Likewise.
62378         * hurd/lookup-retry.c: Likewise.
62379         * malloc/malloc.c: Likewise.
62380         * malloc/mtrace.c: Likewise.
62381         * nscd/nscd_getgr_r.c: Likewise.
62382         * nscd/nscd_getpw_r.c: Likewise.
62383         * nscd/nscd_getserv_r.c: Likewise.
62384         * posix/getopt_init.c: Likewise.
62385         * posix/wordexp.c: Likewise.
62386         * stdio-common/_itoa.c: Likewise.
62387         * stdio-common/printf_fphex.c: Likewise.
62388         * stdio-common/vfprintf.c: Likewise.
62389         * string/_strerror.c: Likewise.
62390         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
62391         * sysdeps/i386/i686/hp-timing.h: Likewise.
62392         * sysdeps/mach/_strerror.c: Likewise.
62393         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
62394         * sysdeps/mach/hurd/sethostid.c: Likewise.
62395         * sysdeps/mach/hurd/xmknodat.c: Likewise.
62396         * sysdeps/mach/xpg-strerror.c: Likewise.
62397         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62398         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62399         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
62400         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
62401         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62402         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
62403         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
62404         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
62405         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
62406         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
62407         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
62408         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62409         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
62410         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62411         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62412         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
62413         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
62414         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
62415         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
62416         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
62417         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
62419         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
62421         * stdio-common/_itoa.h: Moved to ...
62422         * sysdeps/generic/_itoa.h: Here.
62424         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
62426         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
62427         instead of "_itoa.h" and "_itowa.h".
62428         * stdio-common/vfprintf.: Likewise.
62430 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62432         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
62433         <bits/wordsize.h>.
62434         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
62435         (__signbit): Likwise.
62436         (llrintf): Likwise.
62437         (llrint): Likwise.
62439 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62441         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
62442         __WORDSIZE != 64.
62444 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
62446         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
62447         OVERFLOW_EXCEPTION_OK.
62448         * math/libm-test.inc ("Philosophy"): Update comment about
62449         exception testing.
62450         (OVERFLOW_EXCEPTION): Define.
62451         (OVERFLOW_EXCEPTION_OK): Likewise.
62452         (INVALID_EXCEPTION_OK): Renumber.
62453         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62454         (IGNORE_ZERO_INF_SIGN): Likewise.
62455         (test_exceptions): Handle FE_OVERFLOW.
62456         (exp10_test): Expect overflow exceptions.
62457         (exp2_test): Likewise.
62458         (expm1_test): Likewise.
62459         (nextafter_test): Likewise.
62460         (pow_test): Likewise.
62461         (scalbn_test): Likewise.
62462         (scalbln_test): Likewise.
62464 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62466         * sysdeps/x86_64/bits/atomic.h
62467         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
62468         64bit integer.
62469         (atomic_exchange_acq): Likewise.
62470         (__arch_exchange_and_add_body): Likewise.
62471         (__arch_add_body): Likewise.
62472         (atomic_add_negative): Likewise.
62473         (atomic_add_zero): Likewise.
62475 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62477         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
62478         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
62480 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62482         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
62483         Check __x86_64__ instead of __WORDSIZE.
62485 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62487         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
62489 2012-03-19  David S. Miller  <davem@davemloft.net>
62491         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62493         * sysdeps/sparc/fpu/fenv_private.h: New file.
62494         * sysdeps/sparc/fpu/math_private.h: Use it.
62495         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
62496         Remove.
62497         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
62498         (libc_feholdexcept_setroundl): Remove.
62499         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
62500         Remove.
62501         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
62502         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
62504 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62506         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
62507         int64_t instead of long int.
62508         (INSERT_WORDS64): Likwise.
62510 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62512         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
62513         _Unwind_GetCFA return to _Unwind_Ptr first.
62515 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
62517         [BZ #13629]
62518         * math/s_clog.c: Include <float.h>.
62519         (__clog): Scale large or subnormal inputs.
62520         * math/s_clogf.c: Likewise.
62521         * math/s_clogl.c: Likewise.
62522         * math/s_clog10.c: Include <float.h>.
62523         (M_LOG10_2): Define.
62524         (__clog10): Scale large or subnormal inputs.
62525         * math/s_clog10f.c: Likewise.
62526         * math/s_clog10l.c: Likewise.
62527         * math/libm-test.inc (clog_test): Add more tests.
62528         (clog10_test): Likewise.
62529         * sysdeps/i386/fpu/libm-test-ulps: Update.
62530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62532         [BZ #11451]
62533         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
62534         x and y.
62535         * math/libm-test.inc (atan2_test): Add another test.
62537         * Makerules (common-objdir-compile): Remove.
62538         * sysdeps/unix/Makefile (config-generated): Do not add
62539         $(unix-generated) to variable.
62540         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
62541         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
62542         Remove rule.
62543         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
62544         Likewise.
62545         [generic bits/local_lim.h] (before-compile): Do not append to
62546         variable.
62547         [generic bits/local_lim.h] (common-generated): Likewise.
62548         [generic sys/param.h] (before-compile): Do not append to variable.
62549         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
62550         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
62551         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
62552         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
62553         include.
62554         [generic sys/param.h] (sys/param.h-includes): Remove variable.
62555         [generic sys/param.h] (sys/param.h-includes): Remove rule.
62556         [generic sys/param.h] ($(addprefix
62557         $(common-objpfx),$(sys/param.h-includes))): Likewise.
62558         [generic sys/param.h] (common-generated): Do not append to
62559         variable.
62560         [generic sys/param.h] (sysdep_headers): Likewise.
62561         [generic bits/errno.h] (before-compile): Do not append to
62562         variable.
62563         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
62564         rule.
62565         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
62566         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
62567         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
62568         [generic bits/errno.h] (common-generated): Do not append to
62569         variable.
62570         [generic bits/ioctls.h] (before-compile): Do not append to
62571         variable.
62572         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
62573         rule.
62574         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
62575         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
62576         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
62577         rule.
62578         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
62579         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
62580         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
62581         [generic bits/ioctls.h] (common-generated): Do not append to
62582         variable.
62583         [generic sys/syscall.h] (syscall.h): Remove variable.
62584         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
62585         rule.
62586         [generic sys/syscall.h] (before-compile): Do not append to
62587         variable.
62588         [generic sys/syscall.h] (common-generated): Likewise.
62589         * sysdeps/unix/errnos-tmpl.c: Remove file.
62590         * sysdeps/unix/errnos.awk: Likewise.
62591         * sysdeps/unix/ioctls-tmpl.c: Likewise.
62592         * sysdeps/unix/ioctls.awk: Likewise.
62593         * sysdeps/unix/mk-local_lim.c: Likewise.
62594         * sysdeps/unix/snarf-ioctls: Likewise.
62596 2012-03-19  Richard Henderson  <rth@twiddle.net>
62598         * sysdeps/i386/fpu/fenv_private.h: New file.
62599         * sysdeps/i386/fpu/math_private.h: Use it.
62600         (math_opt_barrier, math_force_eval): Remove.
62601         (libc_feholdexcept_setround_53bit): Remove.
62602         (libc_feupdateenv_53bit): Remove.
62603         * sysdeps/x86_64/fpu/math_private.h: Likewise.
62604         (math_opt_barrier, math_force_eval): Remove.
62605         (libc_feholdexcept): Remove.
62606         (libc_feholdexcept_setround): Remove.
62607         (libc_fetestexcept, libc_fesetenv): Remove.
62608         (libc_feupdateenv_test): Remove.
62609         (libc_feupdateenv, libc_feholdsetround): Remove.
62610         (libc_feresetround): Remove.
62612         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
62613         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
62615         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
62616         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
62617         (libc_feupdateenv_testl): New.
62618         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
62619         (libc_feupdateenv_testf): New.
62620         (libc_feupdateenv): Use libc_feupdateenv_test.
62621         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
62622         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
62624         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
62625         (libc_feholdsetroundf, libc_feholdsetroundl): New.
62626         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
62627         (libc_feresetround_noex): New.
62628         (libc_feresetround_noexf): New.
62629         (libc_feresetround_noexl): New.
62630         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
62631         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
62632         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
62633         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
62634         SET_RESTORE_ROUND.
62635         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
62636         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
62637         (__cos): Likewise.
62638         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
62639         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
62640         SET_RESTORE_ROUND_NOEX.
62641         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
62642         SET_RESTORE_ROUND_NOEXF.
62643         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
62644         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
62645         (libc_feholdsetroundf): New.
62646         (libc_feresetround, libc_feresetroundf): New.
62648         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
62649         (libc_feholdexcept_setround_53bit): Convert from macro to function.
62650         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
62652         * sysdeps/generic/math_private.h: Include <fenv.h>.
62653         (default_libc_feholdexcept): New.
62654         (default_libc_feholdexcept_setround): New.
62655         (default_libc_fesetenv, default_libc_feupdateenv): New.
62656         (libc_feholdexcept): Only define if undefined.
62657         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
62658         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
62659         (libc_feholdexcept_setroundl): Likewise.
62660         (libc_feholdexcept_setround_53bit): Likewise.
62661         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
62662         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
62663         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
62664         (libc_feupdateenv_53bit): Likewise.
62665         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
62666         (libc_feholdexcept): Convert from macro to inline function.
62667         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
62668         (libc_fesetenv, libc_feupdateenv): Likewise.
62670         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
62671         not previously defined.
62672         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
62673         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
62674         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
62675         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
62676         * sysdeps/ieee754/flt-32/math_private.h: New file.
62677         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
62678         math_private.h below SET_FLOAT_WORD.
62679         (__isnan, __isinf_ns, __finite): Remove.
62680         (__isnanf, __isinf_nsf, __finitef): Remove.
62682 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
62684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62686 2012-03-17  David S. Miller  <davem@davemloft.net>
62688         [BZ #6471]
62689         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
62690         for 2.16.
62692 2012-03-16  David S. Miller  <davem@davemloft.net>
62694         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
62695         warnings.
62697         [BZ #6471]
62698         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
62699         properly.
62700         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
62701         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
62702         sysdep_routines when subdir is sysvipc.
62703         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
62704         __getshmlba helper.
62706         * sysdeps/sparc/fpu/libm-test/ulps: Update.
62708 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62710         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
62711         [__LP64__].
62713 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62715         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
62716         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
62717         (__lround): Renamed to ...
62718         (__llround): This.  Replace long int with long long int.
62719         Define lround functions as aliases of llround functions.
62720         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
62722 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62724         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
62725         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
62726         adresses to uintptr_t.  Replace "long int" and "unsigned long
62727         int" with "greg_t" on va_arg.
62729 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62731         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
62732         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
62734         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
62735         Move e_machine check before EI_CLASS check.  Handle x32
62736         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
62737         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
62738         SKIP_EM_IA_64 and include
62739         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
62741         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
62742         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
62743         (add_system_dir): New macro.
62745         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
62746         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
62748 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
62750         [BZ #2551]
62751         [BZ #2552]
62752         [BZ #2553]
62753         [BZ #2554]
62754         [BZ #2562]
62755         [BZ #2563]
62756         [BZ #2565]
62757         [BZ #2566]
62758         [BZ #2576]
62759         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
62760         (y0): Likewise.
62761         * math/w_j0f.c (j0f): Likewise.
62762         (y0f): Likewise.
62763         * math/w_j0l.c (__j0l): Likewise.
62764         (__y0l): Likewise.
62765         * math/w_j1.c (j1): Likewise.
62766         (y1): Likewise.
62767         * math/w_j1f.c (j1f): Likewise.
62768         (y1f): Likewise.
62769         * math/w_j1l.c (__j1l): Likewise.
62770         (__y1l): Likewise.
62771         * math/w_jn.c (jn): Likewise.
62772         (yn): Likewise.
62773         * math/w_jnf.c (jnf): Likewise.
62774         (ynf): Likewise.
62775         * math/w_jnl.c (__jnl): Likewise.
62776         (__ynl): Likewise.
62777         * math/libm-test.inc (j0_test): Add more tests.
62778         (j1_test): Likewise.
62779         (jn_test): Likewise.  Add trailing semicolon to existing test.
62780         (y0_test): Likewise.
62781         (y1_test): Likewise.
62782         * sysdeps/i386/fpu/libm-test-ulps: Update.
62783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62785         [BZ #13851]
62786         [BZ #13854]
62787         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
62788         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
62789         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
62790         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
62791         (__tanl): Set errno for infinite argument.
62792         * sysdeps/i386/fpu/mptan.c: Remove.
62793         * sysdeps/i386/fpu/s_tan.S: Likewise.
62794         * sysdeps/i386/fpu/s_tanl.S: Likewise.
62795         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
62796         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
62797         * math/libm-test.inc (tan_test): Add more tests and enable more
62798         tests for double and long double.
62799         * sysdeps/i386/fpu/libm-test-ulps: Update.
62800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62802 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
62804         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
62805         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
62807 2012-03-16  Roland McGrath  <roland@hack.frob.com>
62809         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
62810         * configure.in: Use it for both main tree and add-ons.
62811         * configure: Regenerated.
62813 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62815         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
62817 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
62819         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
62820         in comment.
62822         [BZ #13851]
62823         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
62824         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
62825         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
62826         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
62827         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
62828         infinite argument.
62829         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
62830         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
62831         != 0 for prec == 2.
62832         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
62833         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
62834         * sysdeps/i386/fpu/s_cosl.S: Likewise.
62835         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
62836         * sysdeps/i386/fpu/s_sinl.S: Likewise.
62837         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
62838         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
62839         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
62840         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
62841         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
62842         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
62843         * math/libm-test.inc (cos_test): Add more tests and enable more
62844         tests for long double.
62845         (sin_test): Likewise.
62846         (sincos_test): Likewise.
62847         * sysdeps/i386/fpu/libm-test-ulps: Update.
62848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62850 2012-03-16  David S. Miller  <davem@davemloft.net>
62852         * sysdeps/sparc/fpu/math_private.h: New file.
62854 2012-03-15  David S. Miller  <davem@davemloft.net>
62856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
62857         file.
62858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
62859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
62860         file.
62861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
62862         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
62863         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
62864         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
62865         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
62866         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
62867         sysdep routines.
62868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62870         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
62871         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
62873         * sysdeps/sparc/sparc-ifunc.h: New file.
62874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
62875         sparc-ifunc.h
62876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
62877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
62878         Likewise.
62879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
62880         Likewise.
62881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
62882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
62883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
62885         Likewise.
62886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
62887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
62888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
62889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
62890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
62891         Likewise.
62892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
62893         Likewise.
62894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
62895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
62896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
62897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
62898         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
62899         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
62900         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
62901         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
62902         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
62903         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
62904         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
62905         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
62906         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
62907         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
62908         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
62909         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
62910         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
62911         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
62912         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
62913         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
62914         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
62915         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
62916         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
62917         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
62919 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
62921         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
62922         scaling.
62923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62925 2012-03-15  Andreas Jaeger  <aj@suse.de>
62927         [BZ #13852]
62928         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
62929         ieee754/flt-32 implementation for sin, cos and sincos.
62930         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
62931         * sysdeps/i386/fpu/s_cosf.S: Likewise.
62932         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
62933         * sysdeps/i386/fpu/s_sinf.S: Likewise.
62934         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
62935         ieee754/flt-32 implementation for tan.
62937         * math/libm-test.inc (cos_test): Enable some large input tests for
62938         float as well
62939         (sin_test): Likewise.
62940         (sincos_test): Likewise.
62941         (tan_test): Add tests for large input.
62943         * sysdeps/i386/fpu/libm-test-ulps: Update.
62945 2012-03-15  Andreas Jaeger  <aj@suse.de>
62947         [BZ #13658]
62948         * math/libm-test.inc (cos_test): Add more test cases.
62949         (sin_test): Likewise.
62950         (sincos_test): Likewise.
62952 2012-03-15  Andreas Jaeger  <aj@suse.de>
62954         [BZ #13837]
62955         * math/libm-test.inc (cos_test): Add a test case for large input
62956         value.
62957         (sin_test): Likewise.
62958         (sincos_test): Likewise.
62960 2012-03-15  Andreas Jaeger  <aj@suse.de>
62961             Joseph Myers  <joseph@codesourcery.com>
62963         [BZ #13658]
62964         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
62965         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
62966         * sysdeps/i386/fpu/branred.c: Likewise.
62967         * sysdeps/i386/fpu/dosincos.c: Likewise.
62968         * sysdeps/i386/fpu/mpa.c: Likewise.
62969         * sysdeps/i386/fpu/s_cos.S: Likewise.
62970         * sysdeps/i386/fpu/s_sin.S: Likewise.
62971         * sysdeps/i386/fpu/s_sincos.S: Likewise.
62972         * sysdeps/i386/fpu/sincos32.c: Likewise.
62974         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
62975         Define.
62976         (libc_feupdateenv_53bit): Define.
62977         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
62978         Define.
62979         (libc_feupdateenv_53bit): Define.
62981         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
62982         53 bit (without extend i386 double precision).
62984         * math/libm-test.inc (sincos_test): Add tests for large input.
62985         (sin): Likewise.
62986         (cos): Likewise.
62988         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
62990 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
62992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62994 2012-03-15  David S. Miller  <davem@davemloft.net>
62996         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
62997         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
62998         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
62999         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
63000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
63001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
63002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
63003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
63004         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
63005         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
63006         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
63007         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
63008         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
63009         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
63010         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
63011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
63012         file.
63013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
63014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
63015         file.
63016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
63017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
63018         file.
63019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
63020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
63021         file.
63022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
63023         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
63024         fmin/fmax sysdep routines.
63025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63027 2012-03-14  David S. Miller  <davem@davemloft.net>
63029         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
63030         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
63031         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
63032         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
63033         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
63034         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
63035         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
63036         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
63037         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
63038         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
63039         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
63040         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
63041         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
63042         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
63043         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
63044         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
63045         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
63046         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
63047         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
63048         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
63049         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
63050         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
63051         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
63052         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
63053         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
63054         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
63055         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
63056         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
63057         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
63058         routines.
63059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
63060         file.
63061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
63062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
63063         file.
63064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
63065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
63066         file.
63067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
63068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
63069         file.
63070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
63071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
63072         file.
63073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
63074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
63075         file.
63076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
63077         file.
63078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
63079         file.
63080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
63081         file.
63082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
63083         New file.
63084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
63085         file.
63086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
63087         file.
63088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
63089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
63090         file.
63091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
63092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
63093         file.
63094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
63095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
63096         file.
63097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
63098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
63099         VIS3 routines.
63101         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
63102         New file.
63104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63106         * sysdeps/sparc/configure.in: New file.
63107         * sysdeps/sparc/configure: Generate.
63108         * configure.in (libc_cv_sparc_as_vis3): Substitute.
63109         * configure: Regenerate.
63110         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
63111         * config.make.in (have-as-vis3): New.
63112         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
63113         available use -Av9d instead of -Av9a.
63114         * sysdeps/sparc/sparc64/Makefile: Likewise.
63115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
63116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
63117         New file.
63118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
63119         file.
63120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
63121         New file.
63122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
63123         file.
63124         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
63125         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
63126         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
63127         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
63128         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
63130         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
63131         fzeros/fnegs to load 0x80000000 into a float register instead of
63132         using the stack.
63133         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
63135 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
63137         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63138         bits/syscall.h.
63139         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
63140         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
63141         ($(inst_includedir)/bits/syscall.h): Remove rule.
63142         ($(objpfx)bits/syscall.d): Include instead of
63143         $(objpfx)syscall-list.d.
63144         (generated): Change syscall-list.h and syscall-list.d to
63145         bits/syscall.h and bits/syscall.d.
63147 2012-03-14  Roland McGrath  <roland@hack.frob.com>
63149         [BZ #13846]
63150         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
63152 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
63154         [BZ #13841]
63155         * math/s_csqrt.c: Include <float.h>.
63156         (__csqrt): Scale large or subnormal inputs.
63157         * math/s_csqrtf.c: Likewise.
63158         * math/s_csqrtl.c: Likewise.
63159         * math/libm-test.inc (csqrt_test): Add more tests.
63160         * sysdeps/i386/fpu/libm-test-ulps: Update.
63161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63163         [BZ #13840]
63164         * math/libm-test.inc (hypot_test): Add more tests.
63166 2012-03-13  David S. Miller  <davem@davemloft.net>
63168         [BZ #13840]
63169         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
63170         double-precision for the calculation instead of scaling.
63172 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
63174         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
63175         manipulate bits before adding and subtracting TWO52[sx].
63176         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
63177         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
63178         Likewise.
63179         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
63181 2012-03-13  David S. Miller  <davem@davemloft.net>
63183         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
63184         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
63185         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
63186         rtld-global-offsets.h
63187         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63189         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
63190         large parameters.
63192         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
63194         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
63195         'err' in the ifdef scope in which it is actually used.
63197         * nss/nss_db/db-init.c: Include string.h
63199 2012-03-12  David S. Miller  <davem@davemloft.net>
63201         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63202         masking out of the most significant byte of random value used.
63203         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63204         Fix coding style in previous change.
63206         * sysdeps/unix/sysv/linux/kernel-features.h
63207         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
63208         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
63209         expression.
63210         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
63211         later.
63213 2012-03-11  David S. Miller  <davem@davemloft.net>
63215         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63216         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
63217         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
63218         for 'resultvar' otherwise things get truncated on 64-bit.
63220         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63221         Fix masking out of the most significant byte of random value used.
63223         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63225 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
63227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63229 2012-03-09  David S. Miller  <davem@davemloft.net>
63231         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
63232         variables with appropriate CPP guards.
63233         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
63234         from the frame pointer, not the stack pointer.  Correct layout
63235         comments.  Fix test on resulting framesize and the management of
63236         the outregs buffer for pltexit.  Preserve floating point return
63237         values across _dl_call_pltexit call.
63238         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
63239         framesize and the management of the outregs buffer for pltexit.
63240         Preserve floating point return values across _dl_call_pltexit
63241         call.
63242         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
63243         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
63244         (la_sparc64_gnu_pltexit): New functions.
63245         (print_exit): Fix format string for return register value.
63247 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
63249         * sunrpc/Makefile (others): Add rpcgen.
63250         ($(objpfx)rpcgen): Remove special build rule and dependency on
63251         libc.
63252         * sunrpc/rpcgen.c: New file.
63254 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
63256         [BZ #13673]
63257         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
63258         * stdio-common/bug-vfprintf-nargs.c: Likewise.
63259         * sysdeps/i386/crti.S: Likewise.
63260         * sysdeps/i386/crtn.S: Likewise.
63261         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
63262         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
63263         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
63264         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
63265         * sysdeps/sh/crti.S: Likewise.
63266         * sysdeps/sh/crtn.S: Likewise.
63267         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63269         [BZ #13673]
63270         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
63271         with URL.
63272         * locale/programs/locfile-kw.gperf: Likewise.
63273         * locale/programs/charmap-kw.h: Regenerated.
63274         * locale/programs/locfile-kw.h: Likewise.
63276         [BZ #13673]
63277         * intl/plural.y: Replace FSF snail mail address with URL.
63278         * intl/plural.c: Regenerated.
63280 2012-03-09  Richard Henderson  <rth@twiddle.net>
63282         * include/math_private.h: Remove file.
63283         * math/math_private.h: Move file ...
63284         * sysdeps/generic/math_private.h: ... here.
63286         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
63287         * sysdeps/powerpc/fpu/math_private.h: Likewise.
63288         * sysdeps/x86_64/fpu/math_private.h: Likewise.
63290         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
63291         and <math_private.h>.
63292         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63293         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63294         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63295         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63296         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63297         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
63298         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63299         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63300         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
63301         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63302         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63303         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63304         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
63305         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63306         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
63307         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
63308         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63309         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63310         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
63311         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
63312         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63313         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
63314         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
63315         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63316         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
63317         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63318         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
63319         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63320         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63321         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63322         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
63323         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63324         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
63325         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
63326         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63327         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63328         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63329         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63330         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63331         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63332         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
63333         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63334         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63335         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
63336         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
63337         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63338         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
63339         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
63340         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63341         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63342         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
63343         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
63344         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
63345         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63346         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
63347         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63348         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63349         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
63350         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
63351         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
63352         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63353         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
63354         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63355         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63356         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
63357         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63358         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63359         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63360         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
63361         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
63362         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63363         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63364         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63365         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63366         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
63367         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
63368         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
63369         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63370         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
63371         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
63372         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63373         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
63374         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63375         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63376         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63377         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
63378         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
63379         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
63380         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
63381         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63382         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63383         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
63384         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63385         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
63386         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
63387         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
63388         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63389         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
63390         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63391         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
63392         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
63393         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
63394         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
63395         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
63396         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63397         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
63398         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
63399         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
63400         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63401         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63402         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63403         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63404         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
63405         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63406         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
63407         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63408         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63409         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63410         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63411         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
63412         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63413         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63414         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63415         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
63416         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63417         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63418         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
63419         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
63420         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63421         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
63422         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
63423         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
63424         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63425         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
63426         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
63427         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63428         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63429         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63430         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
63431         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63432         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63433         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63434         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63435         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
63436         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
63437         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63438         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63439         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63440         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
63441         * sysdeps/ieee754/k_standard.c: Likewise.
63442         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
63443         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
63444         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63445         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
63446         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
63447         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
63448         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
63449         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
63450         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
63451         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
63452         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
63453         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
63454         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
63455         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
63456         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
63457         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
63458         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
63459         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
63460         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
63461         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
63462         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
63463         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
63464         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63465         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63466         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
63467         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
63468         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63469         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63470         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63471         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63472         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
63473         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63474         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63475         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63476         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
63477         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63478         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63479         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
63480         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
63481         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63482         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
63483         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
63484         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
63485         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63486         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
63487         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
63488         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63489         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63490         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63491         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63492         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63493         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
63494         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63495         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
63496         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63497         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63498         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
63499         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
63500         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63501         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63502         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63503         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
63504         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63505         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
63506         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63507         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63508         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
63509         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
63510         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
63511         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
63512         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
63513         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63514         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
63515         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
63516         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
63517         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
63518         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
63519         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
63520         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63521         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
63522         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
63523         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
63524         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63525         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63526         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
63527         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63528         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63529         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
63530         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63531         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63532         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
63533         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63534         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
63535         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
63536         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63537         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63538         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
63539         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
63540         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
63541         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
63542         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63543         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63544         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63545         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63546         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
63547         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63548         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63549         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
63550         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
63551         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63552         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63553         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63554         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
63555         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63556         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
63557         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63558         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
63559         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63560         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63561         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
63562         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
63563         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
63564         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
63565         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
63566         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63567         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
63568         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63569         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63570         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63571         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63572         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63573         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63574         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63575         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
63576         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63577         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63578         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
63579         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
63580         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63581         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
63582         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
63583         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63584         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
63585         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
63586         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63587         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63588         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63589         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63590         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63591         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
63592         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63593         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
63594         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63595         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
63596         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
63597         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
63598         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63599         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63600         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63601         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
63602         * sysdeps/ieee754/s_lib_version.c: Likewise.
63603         * sysdeps/ieee754/s_matherr.c: Likewise.
63604         * sysdeps/ieee754/s_signgam.c: Likewise.
63605         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63606         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63607         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
63608         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
63609         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
63610         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63611         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
63612         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
63613         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
63614         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
63615         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
63616         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
63617         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63618         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63619         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
63620         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
63621         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
63622         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
63623         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
63624         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63625         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63627 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
63629         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
63630         * sunrpc/rpc_main.c: Likewise.
63631         * sunrpc/rpc_svcout.c: Likewise.
63633 2012-03-09  David S. Miller  <davem@davemloft.net>
63635         * include/math_private.h: New file.
63637 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
63639         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
63640         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
63641         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
63642         from <bits/socket_type.h>.
63643         (enum __socket_type): Don't define here.
63644         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
63645         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63646         bits/socket_type.h.
63648         [BZ #13566]
63649         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
63650         checking __USE_GNU.
63652         * Makerules ($(inst_includedir)/%.h): New rule.
63653         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
63654         (install-others): Remove variable setting.
63655         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
63657 2012-03-08  Richard Henderson  <rth@twiddle.net>
63659         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
63660         from macro to inline function; merge with the
63661         !__LIBC_INTERNAL_MATH_INLINES version.
63662         (__ieee754_sqrtf): Likewise.
63664         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
63665         to inline function.
63666         (__rintf, __floor, __floorf): Likewise.
63668         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
63669         macro to inline function.
63670         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
63672         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
63673         not <math/math_private.h>.
63675 2012-03-08  David S. Miller  <davem@davemloft.net>
63677         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
63678         copyright year.
63679         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
63681 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
63683         * resolv/gai_misc.c (handle_requests): Fix struct timespec
63684         normalization.
63685         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
63686         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
63688 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
63690         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
63691         be defined individually, they must be defined as a block.  Define
63692         S for printing a string instead of hidint the different by using a
63693         macro for adding the 'l'.
63694         * stdio-common/tst-fphex-wide.c: Adjust.
63696 2012-03-07  Marek Polacek  <polacek@redhat.com>
63698         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
63700 2012-03-08  Marek Polacek  <polacek@redhat.com>
63702         [BZ #13806]
63703         * stdio-common/Makefile (tests): Add tst-fphex-wide.
63704         * stdio-common/tst-fphex.c: Define a few macros to make the
63705         test reusable.  Use them.
63706         * stdio-common/tst-fphex-wide.c: New file.
63708 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
63710         [BZ #6911]
63711         * manual/macros.texi (gnusystems): New macro.
63712         (nongnusystems): Likewise.
63713         (gnulinuxhurdsystems): Likewise.
63714         (gnuhurdsystems): Likewise..
63715         (gnulinuxsystems): Likewise.
63716         * manual/charset.texi: Use new macros or @theglibc{} to refer to
63717         variants of the GNU system, not "GNU system".
63718         * manual/conf.texi: Likewise.
63719         * manual/errno.texi: Likewise.  Update example of errno macro
63720         expansion.
63721         * manual/filesys.texi: Likewise.
63722         (getumask): Document as specific to GNU/Hurd.
63723         * manual/install.texi: Likewise.  Reword some references to
63724         GNU/Linux.
63725         * manual/intro.texi: Likewise.
63726         * manual/io.texi: Likewise.
63727         (File Name Portability): Detail which constraints are inapplicable
63728         to all GNU systems and which are only inapplicable to GNU/Hurd.
63729         * manual/job.texi: Likewise.
63730         * manual/llio.texi: Likewise.
63731         (O_NOCTTY): Document as present on GNU/Linux.
63732         * manual/maint.texi: Likewise.
63733         * manual/memory.texi: Likewise.
63734         * manual/pattern.texi: Likewise.
63735         * manual/pipe.texi: Likewise.
63736         * manual/process.texi: Likewise.
63737         * manual/resource.texi: Likewise.
63738         (RUSAGE_CHILDREN): Remove statement about specifying a particular
63739         child on GNU/Hurd.
63740         * manual/setjmp.texi: Likewise.
63741         * manual/signal.texi: Likewise.
63742         * manual/startup.texi: Likewise.
63743         * manual/stdio.texi: Likewise.
63744         * manual/terminal.texi: Likewise.
63745         (ONLCR): Document as POSIX.
63746         (OXTABS): Document availability on GNU/Linux as XTABS.
63747         (ONOEOT): Document availability separately from other bits.
63748         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
63749         * manual/time.texi: Likewise.
63750         * manual/users.texi: Likewise.
63751         * INSTALL: Regenerated.
63752         * sysdeps/gnu/errlist.c: Regenerated.
63754         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
63755         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
63756         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
63757         puts.
63758         * configure: Regenerated.
63760 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
63762         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
63763         default includes instead of AC_HEADER_CHECK.
63764         * sysdeps/i386/configure: Regenerated.
63766         [BZ #10716]
63767         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
63768         * math/s_cacoshf.c (__cacoshf): Likewise.
63769         * math/s_cacoshl.c (__cacoshl): Likewise.
63770         * math/s_casinh.c (__casinh): Set signs of result from argument.
63771         * math/s_casinhf.c (__casinhf): Likewise.
63772         * math/s_casinhl.c (__casinhl): Likewise.
63773         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
63774         (casinh_test): Add more tests.
63775         * sysdeps/i386/fpu/libm-test-ulps: Update.
63776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63778 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
63780         * po/zh_TW.po: Update from translation team.
63782         * login/Makefile (distribute): Remove variable.
63783         * catgets/Makefile: Likewise.
63784         * mach/Makefile: Likewise.
63785         * malloc/Makefile: Likewise.
63786         * misc/Makefile: Likewise.
63787         * iconv/Makefile: Likewise.
63788         * nscd/Makefile: Likewise.
63789         * hurd/Makefile: Likewise.
63790         * manual/Makefile: Likewise.
63791         * locale/Makefile: Likewise.
63792         * intl/Makefile: Likewise.
63793         * conform/Makefile: Likewise.
63794         * nss/Makefile: Likewise.
63795         * time/Makefile: Likewise.
63796         * soft-fp/Makefile: Likewise.
63797         * dirent/Makefile: Likewise.
63798         * gmon/Makefile: Likewise.
63799         * po/Makefile: Likewise.
63800         * rt/Makefile: Likewise.
63801         * socket/Makefile: Likewise.
63802         * math/Makefile: Likewise.
63803         * signal/Makefile: Likewise.
63804         * debug/Makefile: Likewise.
63805         * elf/Makefile: Likewise.
63806         * timezone/Makefile: Likewise.
63807         * stdlib/Makefile: Likewise.
63808         * iconvdata/Makefile: Likewise.
63809         * sunrpc/Makefile: Likewise.
63810         * io/Makefile: Likewise.
63811         * argp/Makefile: Likewise.
63812         * inet/Makefile: Likewise.
63813         * hesiod/Makefile: Likewise.
63814         * grp/Makefile: Likewise.
63815         * csu/Makefile: Likewise.
63816         * wctype/Makefile: Likewise.
63817         * crypt/Makefile: Likewise.
63818         * libio/Makefile: Likewise.
63819         * string/Makefile: Likewise.
63820         * nis/Makefile: Likewise.
63821         * resolv/Makefile: Likewise.
63822         * stdio-common/Makefile: Likewise.
63823         * wcsmbs/Makefile: Likewise.
63824         * dlfcn/Makefile: Likewise.
63825         * posix/Makefile: Likewise.
63827         [BZ #6959]
63828         * timezone/Makefile: Don't install timezone files, just the programs
63829         and scripts.
63831 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
63833         * nss/databases.def: Add missing gshadow entry.
63835         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
63837 2012-03-06  Marek Polacek  <polacek@redhat.com>
63839         [BZ #13726]
63840         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
63841         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63842         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
63843         * stdio-common/tst-long-dbl-fphex.c: New file.
63845 2012-03-06  David S. Miller  <davem@davemloft.net>
63847         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63848         (set_obp_int): New function.
63849         (get_obp_int): New function.
63850         (__get_clockfreq_via_dev_openprom): Likewise.
63851         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
63852         Avoid unused variable warnings on 'val' and use builtin_expect.
63853         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
63854         __builtin_expect.
63855         (INLINE_CLONE_SYSCALL): Likewise.
63857 2012-03-05  David S. Miller  <davem@davemloft.net>
63859         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63861 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
63863         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63865         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
63866         only for |x| >= 40.
63867         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63869 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
63871         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
63872         Replace gettimeofday with __vdso_gettimeofday.
63874         * sysdeps/unix/sysv/linux/x86_64/init-first.c
63875         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
63876         __vdso_clock_gettime and __vdso_getcpu.
63878         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
63879         time with __vdso_time.
63881 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
63883         * manual/lang.texi (size_t): Note types to which size_t may be
63884         equivalent with the GNU C Library, but do not describe when
63885         differences between them are significant.
63887 2012-03-05  Andreas Jaeger  <aj@suse.de>
63889         * sysdeps/i386/fpu/libm-test-ulps: Update.
63891 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
63893         [BZ #3976]
63894         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
63895         (__ieee754_pow): Save and restore rounding mode and use
63896         round-to-nearest for main computations.
63897         * math/libm-test.inc (pow_test_tonearest): New function.
63898         (pow_test_towardzero): Likewise.
63899         (pow_test_downward): Likewise.
63900         (pow_test_upward): Likewise.
63901         (main): Call the new functions.
63902         * sysdeps/i386/fpu/libm-test-ulps: Update.
63903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63905         [BZ #3976]
63906         * math/libm-test.inc (cosh_test_tonearest): New function.
63907         (cosh_test_towardzero): Likewise.
63908         (cosh_test_downward): Likewise.
63909         (cosh_test_upward): Likewise.
63910         (sinh_test_tonearest): Likewise.
63911         (sinh_test_towardzero): Likewise.
63912         (sinh_test_downward): Likewise.
63913         (sinh_test_upward): Likewise.
63914         (main): Call the new functions.
63915         * sysdeps/i386/fpu/libm-test-ulps: Update.
63916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63918 2012-03-05  Tom de Vries  <tom@codesourcery.com>
63920         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
63921         default stack guard is set in last bytes.
63922         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
63924 2012-03-05  Kees Cook  <keescook@chromium.org>
63926         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
63928         [BZ #13656]
63929         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
63930         possibly allocate from heap instead of stack.
63931         * stdio-common/bug-vfprintf-nargs.c: New file.
63932         * stdio-common/Makefile (tests): Add nargs overflow test.
63934 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
63936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63938 2012-03-03  Marek Polacek  <polacek@redhat.com>
63940         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
63941         * math/math_private.h: Likewise.
63942         * stdlib/tst-strtod.c: Likewise.
63943         * sysdeps/i386/i486/bits/atomic.h: Likewise.
63944         * sysdeps/x86_64/bits/atomic.h: Likewise.
63946 2012-03-02  David S. Miller  <davem@davemloft.net>
63948         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
63949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
63950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
63951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
63952         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
63953         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
63954         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
63955         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
63957 2012-03-02  Roland McGrath  <roland@hack.frob.com>
63959         [BZ #13792]
63960         * manual/examples/README: New file, says the example source files
63961         can be used under GPL>=2.
63962         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
63963         line containing just "*/".
63964         * manual/examples/add.c: Add copyright header (GPL>=2).
63965         * manual/examples/argp-ex1.c: Likewise.
63966         * manual/examples/argp-ex2.c: Likewise.
63967         * manual/examples/argp-ex3.c: Likewise.
63968         * manual/examples/argp-ex4.c: Likewise.
63969         * manual/examples/atexit.c: Likewise.
63970         * manual/examples/db.c: Likewise.
63971         * manual/examples/dir.c: Likewise.
63972         * manual/examples/dir2.c: Likewise.
63973         * manual/examples/execinfo.c: Likewise.
63974         * manual/examples/filecli.c: Likewise.
63975         * manual/examples/filesrv.c: Likewise.
63976         * manual/examples/fmtmsgexpl.c: Likewise.
63977         * manual/examples/genpass.c: Likewise.
63978         * manual/examples/inetcli.c: Likewise.
63979         * manual/examples/inetsrv.c: Likewise.
63980         * manual/examples/isockad.c: Likewise.
63981         * manual/examples/longopt.c: Likewise.
63982         * manual/examples/memopen.c: Likewise.
63983         * manual/examples/memstrm.c: Likewise.
63984         * manual/examples/mkfsock.c: Likewise.
63985         * manual/examples/mkisock.c: Likewise.
63986         * manual/examples/mygetpass.c: Likewise.
63987         * manual/examples/pipe.c: Likewise.
63988         * manual/examples/popen.c: Likewise.
63989         * manual/examples/rprintf.c: Likewise.
63990         * manual/examples/search.c: Likewise.
63991         * manual/examples/select.c: Likewise.
63992         * manual/examples/setjmp.c: Likewise.
63993         * manual/examples/sigh1.c: Likewise.
63994         * manual/examples/sigusr.c: Likewise.
63995         * manual/examples/stpcpy.c: Likewise.
63996         * manual/examples/strdupa.c: Likewise.
63997         * manual/examples/strftim.c: Likewise.
63998         * manual/examples/strncat.c: Likewise.
63999         * manual/examples/subopt.c: Likewise.
64000         * manual/examples/swapcontext.c: Likewise.
64001         * manual/examples/termios.c: Likewise.
64002         * manual/examples/testopt.c: Likewise.
64003         * manual/examples/testpass.c: Likewise.
64004         * manual/examples/timeval_subtract.c: Likewise.
64006         [BZ #13792]
64007         * manual/time.texi (Elapsed Time): Move timeval_subtract example
64008         function to ...
64009         * manual/timeval_subtract.c.texi: ... here, new file.
64011 2012-03-02  David S. Miller  <davem@davemloft.net>
64013         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
64015 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
64017         [BZ #3976]
64018         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
64019         (__sin): Save and restore rounding mode and use round-to-nearest
64020         for all computations.
64021         (__cos): Save and restore rounding mode and use round-to-nearest
64022         for all computations.
64023         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
64024         <fenv.h>.
64025         (tan): Save and restore rounding mode and use round-to-nearest for
64026         all computations.
64027         * math/libm-test.inc (cos_test_tonearest): New function.
64028         (cos_test_towardzero): Likewise.
64029         (cos_test_downward): Likewise.
64030         (cos_test_upward): Likewise.
64031         (sin_test_tonearest): Likewise.
64032         (sin_test_towardzero): Likewise.
64033         (sin_test_downward): Likewise.
64034         (sin_test_upward): Likewise.
64035         (tan_test_tonearest): Likewise.
64036         (tan_test_towardzero): Likewise.
64037         (tan_test_downward): Likewise.
64038         (tan_test_upward): Likewise.
64039         (main): Call the new functions.
64040         * sysdeps/i386/fpu/libm-test-ulps: Update.
64041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64043         [BZ #10135]
64044         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
64045         small n, then large n, before computing and testing k+n.
64046         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
64047         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
64048         Likewise.
64049         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
64050         Likewise.
64051         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
64052         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
64053         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
64054         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
64055         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
64056         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
64057         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
64058         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
64059         * math/libm-test.inc (scalbn_test): Add more tests.
64060         (scalbln_test): Likewise.
64062         * manual/filesys.texi (mode_t): Describe constraints on size and
64063         signedness, not exact equivalence to a particular type.
64064         (ino_t): Likewise.
64065         (ino64_t): Likewise.
64066         (dev_t): Likewise.
64067         (nlink_t): Likewise.
64068         (blkcnt_t): Likewise.
64069         (blkcnt64_t): Likewise.
64070         * manual/llio.texi (off_t): Likewise.
64072         [BZ #3976]
64073         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
64074         (__ieee754_exp): Save and restore rounding mode and use
64075         round-to-nearest for all computations.
64076         * math/libm-test.inc (exp_test_tonearest): New function.
64077         (exp_test_towardzero): Likewise.
64078         (exp_test_downward): Likewise.
64079         (exp_test_upward): Likewise.
64080         (main): Call the new functions.
64081         * sysdeps/i386/fpu/libm-test-ulps: Update.
64082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64084 2012-03-01  Chris Demetriou  <cgd@google.com>
64086         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
64087         have predictable order.
64089 2012-03-01  David S. Miller  <davem@davemloft.net>
64091         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
64093         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
64094         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
64095         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
64096         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
64098         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
64099         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
64100         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
64101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
64102         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
64103         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
64104         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
64105         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
64106         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
64108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64110         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
64111         * sysdeps/sparc/fpu/libm-test-ulps: to here.
64112         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
64114         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
64115         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
64116         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64117         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
64118         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
64119         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
64120         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
64121         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
64122         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64123         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
64124         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
64125         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64126         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
64127         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64128         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64129         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64130         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
64131         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
64132         * sysdeps/sparc/elf/configure: Regenerated.
64134 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
64136         * configure.in (AS, LD): Require binutils 2.20 or later.
64137         * configure: Regenerated.
64138         * manual/install.texi (Tools for Compilation): Give binutils 2.20
64139         as required minimum version.
64140         * INSTALL: Regenerated.
64142         [BZ #2541]
64143         [BZ #4108]
64144         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
64145         before squaring exponent.
64146         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
64147         bottom long double and 27 bits of top long double before squaring
64148         exponent.
64149         * math/libm-test.inc (erfc_test): Add more tests.
64150         * sysdeps/i386/fpu/libm-test-ulps: Update.
64151         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64154 2012-03-01  Kai Tietz  <ktietz@redhat.com>
64156         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
64157         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
64158         containing bit-fields.
64159         * soft-fp/extended.h (_FP_UNION_E): Likewise.
64160         * soft-fp/single.h (_FP_UNION_S): Likewise.
64161         * soft-fp/double.h (_FP_UNION_D): Likewise.
64163 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
64165         [BZ #13786]
64166         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
64167         not include ../strcmp.S.
64168         [USE_AS_STRNCASECMP_L]: Likewise.
64169         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
64170         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
64171         * sysdeps/i386/i686/multiarch/strncase_l-c.c
64172         (__strncasecmp_l_ia32): Define as alias to
64173         __strncasecmp_l_nonascii.
64175         [BZ #5794]
64176         * math/libm-test.inc (expm1_test): Add test for bug 5794.
64177         * sysdeps/i386/fpu/libm-test-ulps: Update.
64178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64180         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
64181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64183 2012-02-29  Jeff Law  <law@redhat.com>
64185         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
64186         out of bounds read.
64188 2012-02-29  Marek Polacek  <polacek@redhat.com>
64190         [BZ #13706]
64191         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
64192         * elf/Makefile: Add rules to run tst-unused-dep.out.
64194 2012-02-28  David S. Miller  <davem@davemloft.net>
64196         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
64197         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
64198         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
64199         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
64200         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
64201         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
64203 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
64205         * math/libm-test.inc (llround_test): Move one test from
64206         lround_test.  Use TEST_f_L in moved test.
64207         (lround_test): Move misplaced test to llround_test.  Add testcase
64208         from bug 2561.
64210 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
64212         * sysdeps/x86_64/fpu/e_expf.S: New file.
64213         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
64215 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
64217         [BZ #13637]
64218         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
64219         of remain_len that may cause incomplete multi-byte character and
64220         false match.
64221         * posix/bug-regex33.c: New file.
64222         * posix/Makefile (tests): Add bug-regex33.
64224 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
64226         * manual/macros.texi: New file.
64227         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
64228         * manual/libc.texinfo: Include macros.texi.
64229         * manual/creatute.texi: Likewise.
64230         * manual/install.texi: Likewise.
64231         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
64232         @glibcadj{} in references to the GNU C Library.
64233         * manual/charset.texi: Likewise.
64234         * manual/conf.texi: Likewise.
64235         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
64236         when not using those macros.
64237         * manual/creature.texi: Likewise.
64238         * manual/crypt.texi: Likewise.
64239         * manual/errno.texi: Likewise.
64240         * manual/filesys.texi: Likewise.
64241         * manual/header.texi: Likewise.
64242         * manual/install.texi: Likewise.
64243         * manual/intro.texi: Likewise.
64244         * manual/io.texi: Likewise.
64245         * manual/job.texi: Likewise.
64246         * manual/lang.texi: Likewise.
64247         * manual/libc.texiinfo: Likewise.
64248         * manual/llio.texi: Likewise.
64249         * manual/locale.texi: Likewise.
64250         * manual/maint.texi: Likewise.
64251         * manual/math.texi: Likewise.
64252         * manual/memory.texi: Likewise.
64253         * manual/message.texi: Likewise.
64254         * manual/nss.texi: Likewise.
64255         * manual/pattern.texi: Likewise.
64256         * manual/process.texi: Likewise.
64257         * manual/resource.texi: Likewise.
64258         * manual/search.texi: Likewise.
64259         * manual/setjmp.texi: Likewise.
64260         * manual/signal.texi: Likewise.
64261         * manual/socket.texi: Likewise.
64262         * manual/startup.texi: Likewise.
64263         * manual/stdio.texi: Likewise.
64264         * manual/string.texi: Likewise.
64265         * manual/sysinfo.texi: Likewise.
64266         * manual/syslog.texi: Likewise.
64267         * manual/terminal.texi: Likewise.
64268         * manual/time.texi: Likewise.
64269         * manual/users.texi: Likewise.
64270         * INSTALL: Regenerated.
64271         * NOTES: Regenerated.
64272         * sysdeps/gnu/errlist.c: Regenerated.
64274 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
64276         * include/dirent.h: Include <dirstream.h> before
64277         <dirent/dirent.h>.
64279 2012-02-28  David S. Miller  <davem@davemloft.net>
64281         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
64282         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
64283         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
64284         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
64286 2012-02-27  David S. Miller  <davem@davemloft.net>
64288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
64289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
64290         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
64291         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
64293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
64294         frame pointer instead of stack pointer relative arg slot.
64295         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64296         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64297         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64299 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
64301         [BZ #3992]
64302         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
64304 2012-02-27  David S. Miller  <davem@davemloft.net>
64306         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
64307         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
64310         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64311         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64312         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
64313         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
64315 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64317         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
64318         later.  Allow versions 5-9.
64319         * configure: Regenerated.
64320         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
64321         required minimum version and 4.6 as recommended version.  Do not
64322         mention bugs in GCC 2.7 and 2.8.
64323         * INSTALL: Regenerated.
64325 2012-02-27  David S. Miller  <davem@davemloft.net>
64327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
64328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
64329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
64330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
64331         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
64332         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
64333         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
64334         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
64336         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
64337         manipulate bits before adding and subtracting TWO112[sx].
64338         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
64340 2012-02-27  Roland McGrath  <roland@hack.frob.com>
64342         [BZ #13775]
64343         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
64344         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
64345         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
64346         being in POSIX, because they are in 1003.1-2008.
64348         * rt/tst-aio.c: Include <fcntl.h>.
64349         * rt/tst-aio7.c: Likewise.
64350         * rt/tst-aio64.c: Likewise.
64352         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
64354 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64356         * manual/install.texi (--with-headers): Describe headers as
64357         interface headers, not private headers.
64358         (Specific advice for GNU/Linux systems): Describe use of headers
64359         from "make headers_install", not private headers from older
64360         kernels.
64361         * INSTALL: Regenerated.
64362         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
64363         Change to 2.6.19.
64364         * sysdeps/unix/sysv/linux/configure: Regenerated.
64366         * manual/llio.texi (fclean): Remove documentation.
64368         * manual/Makefile (libc-texi-generated): New variable.  Include
64369         version.texi.
64370         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
64371         $(libc-texi-generated), not duplicated list of files.
64372         (version.texi, stamp-version): New rules.
64373         (realclean): Remove $(libc-texi-generated), not individual files
64374         from that list.  Do not remove dir-add.texinfo.
64375         * manual/libc.texinfo: Comment out uses of edition numbers and
64376         references to printed manual.  Remove last-updated dates.
64377         (EDITION): Comment out.
64378         (ISBN): Likewise.
64379         (VERSION, UPDATED): Remove.
64380         (version.texi): Include.
64382 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
64384         * sysdeps/posix/spawni.c: Include <signal.h>.
64385         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
64386         * sysdeps/pthread/aio_fsync.c: Likewise.
64388 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
64390         * conform/Makefile (tests): Run only when not cross-compiling and
64391         when fast-check is not defined.
64393         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
64394         * conform/data/limits.h-data: Fixes for POSIX2008.
64395         * conform/run-conformtest.sh: Run all tests.
64396         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
64397         headers.
64398         * include/bits/dlfcn.h: Likewise.
64399         * include/langinfo.h: Likewise.
64400         * include/monetary.h: Likewise.
64401         * include/sys/poll.h: Likewise.
64403         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
64404         for __USE_GNU.
64405         * posix/spawn.h: Define __need_sigset_t.
64406         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
64407         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
64408         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
64409         to get sigevent_t only.
64410         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
64411         only for __USE_GNU.
64412         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64413         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64414         process_vm_writev only for __USE_GNU.
64415         * termios/termios.h: Declare tcgetsid also for POSIX2008.
64417         * conform/Makefile: For now ignore errors from run-conformtest.
64418         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
64419         POSIX to avoid namespace pollution.  Don't prepend headers.
64420         * conform/data/aio.h-data: Fixes for POSIX testing.
64421         * conform/data/fcntl.h-data: Likewise.
64422         * conform/data/glob.h-data: Likewise.
64423         * conform/data/grp.h-data: Likewise.
64424         * conform/data/pthread.h-data: Likewise.
64425         * conform/data/pwd.h-data: Likewise.
64426         * conform/data/signal.h-data: Likewise.
64427         * conform/data/spawn.h-data: Likewise.
64428         * conform/data/stdio.h-data: Likewise.
64429         * conform/data/stdlib.h-data: Likewise.
64430         * conform/data/stropts.h-data: Likewise.
64431         * conform/data/sys/mman.h-data: Likewise.
64432         * conform/data/sys/stat.h-data: Likewise.
64433         * conform/data/sys/types.h-data: Likewise.
64434         * conform/data/sys/wait.h-data: Likewise.
64435         * conform/data/time.h-data: Likewise.
64436         * conform/data/unistd.h-data: Likewise.
64437         * conform/data/utime.h-data: Likewise.
64439         * io/sys/stat.h: fchmod was always in POSIX.
64440         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
64441         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
64442         * rt/aio.h: Define __need_timespec before including <time.h>.
64443         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
64444         struct.  Add forward declaration of pthread_attr_t and use it in
64445         sigevent.
64446         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
64447         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64448         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
64449         always remove CLK_TCK definition.
64451 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
64453         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
64455 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
64457         * conform/run-conformtest.sh: New file.
64458         * conform/Makefile: Run run-conformtest for tests.
64459         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
64460         support.
64462         * conform/data/uchar.h-data: New file.
64463         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
64464         * conform/data/arpa/inet.h-data: Likewise.
64465         * conform/data/assert.h-data: Likewise.
64466         * conform/data/complex.h-data: Likewise.
64467         * conform/data/cpio.h-data: Likewise.
64468         * conform/data/ctype.h-data: Likewise.
64469         * conform/data/dirent.h-data: Likewise.
64470         * conform/data/dlfcn.h-data: Likewise.
64471         * conform/data/errno.h-data: Likewise.
64472         * conform/data/fcntl.h-data: Likewise.
64473         * conform/data/float.h-data: Likewise.
64474         * conform/data/fmtmsg.h-data: Likewise.
64475         * conform/data/fnmatch.h-data: Likewise.
64476         * conform/data/ftw.h-data: Likewise.
64477         * conform/data/glob.h-data: Likewise.
64478         * conform/data/grp.h-data: Likewise.
64479         * conform/data/iconv.h-data: Likewise.
64480         * conform/data/inttypes.h-data: Likewise.
64481         * conform/data/langinfo.h-data: Likewise.
64482         * conform/data/libgen.h-data: Likewise.
64483         * conform/data/limits.h-data: Likewise.
64484         * conform/data/locale.h-data: Likewise.
64485         * conform/data/math.h-data: Likewise.
64486         * conform/data/monetary.h-data: Likewise.
64487         * conform/data/mqueue.h-data: Likewise.
64488         * conform/data/ndbm.h-data: Likewise.
64489         * conform/data/net/if.h-data: Likewise.
64490         * conform/data/netdb.h-data: Likewise.
64491         * conform/data/netinet/in.h-data: Likewise.
64492         * conform/data/nl_types.h-data: Likewise.
64493         * conform/data/poll.h-data: Likewise.
64494         * conform/data/pthread.h-data: Likewise.
64495         * conform/data/pwd.h-data: Likewise.
64496         * conform/data/regex.h-data: Likewise.
64497         * conform/data/sched.h-data: Likewise.
64498         * conform/data/search.h-data: Likewise.
64499         * conform/data/semaphore.h-data: Likewise.
64500         * conform/data/setjmp.h-data: Likewise.
64501         * conform/data/signal.h-data: Likewise.
64502         * conform/data/spawn.h-data: Likewise.
64503         * conform/data/stdarg.h-data: Likewise.
64504         * conform/data/stdio.h-data: Likewise.
64505         * conform/data/stdlib.h-data: Likewise.
64506         * conform/data/string.h-data: Likewise.
64507         * conform/data/strings.h-data: Likewise.
64508         * conform/data/stropts.h-data: Likewise.
64509         * conform/data/sys/ipc.h-data: Likewise.
64510         * conform/data/sys/mman.h-data: Likewise.
64511         * conform/data/sys/msg.h-data: Likewise.
64512         * conform/data/sys/resource.h-data: Likewise.
64513         * conform/data/sys/select.h-data: Likewise.
64514         * conform/data/sys/sem.h-data: Likewise.
64515         * conform/data/sys/shm.h-data: Likewise.
64516         * conform/data/sys/socket.h-data: Likewise.
64517         * conform/data/sys/stat.h-data: Likewise.
64518         * conform/data/sys/statvfs.h-data: Likewise.
64519         * conform/data/sys/time.h-data: Likewise.
64520         * conform/data/sys/timeb.h-data: Likewise.
64521         * conform/data/sys/times.h-data: Likewise.
64522         * conform/data/sys/types.h-data: Likewise.
64523         * conform/data/sys/uio.h-data: Likewise.
64524         * conform/data/sys/un.h-data: Likewise.
64525         * conform/data/sys/utsname.h-data: Likewise.
64526         * conform/data/sys/wait.h-data: Likewise.
64527         * conform/data/syslog.h-data: Likewise.
64528         * conform/data/tar.h-data: Likewise.
64529         * conform/data/termios.h-data: Likewise.
64530         * conform/data/utime.h-data: Likewise.
64531         * conform/data/utmpx.h-data: Likewise.
64532         * conform/data/varargs.h-data: Likewise.
64533         * conform/data/wchar.h-data: Likewise.
64534         * conform/data/wctype.h-data: Likewise.
64535         * conform/data/wordexp.h-data: Likewise.
64537         * include/stropts.h: New file.
64538         * include/uchar.h: New file.
64539         * include/aio.h: Changes to allow conformtest.pl to use the headers.
64540         * include/assert.h: Likewise.
64541         * include/ctype.h: Likewise.
64542         * include/dirent.h: Likewise.
64543         * include/dlfcn.h: Likewise.
64544         * include/fcntl.h: Likewise.
64545         * include/fnmatch.h: Likewise.
64546         * include/glob.h: Likewise.
64547         * include/grp.h: Likewise.
64548         * include/libio.h: Likewise.
64549         * include/locale.h: Likewise.
64550         * include/math.h: Likewise.
64551         * include/net/if.h: Likewise.
64552         * include/netdb.h: Likewise.
64553         * include/netinet/in.h: Likewise.
64554         * include/pthread.h: Likewise.
64555         * include/pwd.h: Likewise.
64556         * include/regex.h: Likewise.
64557         * include/sched.h: Likewise.
64558         * include/search.h: Likewise.
64559         * include/setjmp.h: Likewise.
64560         * include/signal.h: Likewise.
64561         * include/stdio.h: Likewise.
64562         * include/stdlib.h: Likewise.
64563         * include/string.h: Likewise.
64564         * include/sys/cdefs.h: Likewise.
64565         * include/sys/mman.h: Likewise.
64566         * include/sys/msg.h: Likewise.
64567         * include/sys/resource.h: Likewise.
64568         * include/sys/select.h: Likewise.
64569         * include/sys/socket.h: Likewise.
64570         * include/sys/stat.h: Likewise.
64571         * include/sys/statvfs.h: Likewise.
64572         * include/sys/time.h: Likewise.
64573         * include/sys/times.h: Likewise.
64574         * include/sys/uio.h: Likewise.
64575         * include/sys/utsname.h: Likewise.
64576         * include/sys/wait.h: Likewise.
64577         * include/termios.h: Likewise.
64578         * include/time.h: Likewise.
64579         * include/ulimit.h: Likewise.
64580         * include/unistd.h: Likewise.
64581         * include/utime.h: Likewise.
64582         * include/wchar.h: Likewise.
64583         * include/wctype.h: Likewise.
64584         * include/wordexp.h: Likewise.
64586         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
64588         * time/time.h: TIME_UTC must be a macro.
64589         Make timespec_get available for ISO C11 only as well.
64591 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
64593         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
64594         Reported by Peng Haitao <penght@cn.fujitsu.com>.
64596 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64598         * configure.in: Use -o not -a in test for unsupported multi-arch.
64600 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64602         * manual/texinfo.tex: Update to version 2012-01-19.16.
64604 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64606         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
64608 2012-02-24  Roland McGrath  <roland@hack.frob.com>
64610         [BZ #13738]
64611         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
64612         * manual/fdl-1.3.texi: New file.
64613         * manual/fdl-1.1.texi: File removed.
64615         [BZ #13738]
64616         * manual/libc.texinfo (FDL_VERSION): New @set.
64617         Use it for mention of FDL in cover text.
64618         (Documentation License): Use it in @include file name.
64620 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64621             Roland McGrath  <roland@hack.frob.com>
64623         [BZ #5461]
64624         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
64625         (not LONG_LONG_MAX and LONG_LONG_MIN.
64626         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
64627         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
64628         name.
64629         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
64631 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64633         [BZ #2547]
64634         [BZ #11365]
64635         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
64636         manipulate bits before adding and subtracting TWO23[sx].
64637         * math/libm-test.inc (nearbyint_test): Add more tests.
64639 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64641         [BZ #2548]
64642         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
64643         bits before adding and subtracting TWO23[sx].
64644         * math/libm-test.inc (rint_test): Add more tests.
64645         (rint_test_tonearest): Likewise.
64646         (rint_test_towardzero): Likewise.
64647         (rint_test_downward): Likewise.
64648         (rint_test_upward: Likewise.
64650 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64652         [BZ #10110]
64653         * include/stdc-predef.h: New file.  Extracted from features.h.
64654         * include/features.h: Include stdc-predef.h.
64655         * Makefile (headers): Add stdc-predef.h.
64656         * CONFORMANCE (Compiler limitations): Update.
64658 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64660         * manual/libc.texinfo (VERSION, UPDATED): Revert.
64662 2012-02-21  David S. Miller  <davem@davemloft.net>
64664         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
64665         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64667 2012-02-20  David S. Miller  <davem@davemloft.net>
64669         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
64670         using a normal save/restore sequence, rather than allocating a
64671         dummy stack frame just to store a frame pointer and restore.
64672         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64674 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64676         * manual/install.texi: Fix stray word in line-wrapped comment.
64678 2012-02-20  David S. Miller  <davem@davemloft.net>
64680         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
64681         both binutils and gcc support GOTDATA.
64683         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
64684         "rd %pc" in the PIC register setup sequences.
64686         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
64687         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
64688         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64689         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
64690         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64691         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
64692         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64693         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64694         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
64695         (SYSCALL_ERROR_HANDLER): Likewise.
64696         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64697         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64698         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
64699         (SYSCALL_ERROR_HANDLER): Likewise.
64701         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
64702         (HAVE_GCC_GOTDATA): New.
64703         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
64704         relocation support in both binutils and gcc.
64705         * sysdeps/sparc/elf/configure: Regenerate.
64707         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
64708         * sysdeps/sparc/sparc32/elf/configure: Delete.
64709         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
64710         * sysdeps/sparc/sparc64/elf/configure: Delete.
64711         * sysdeps/sparc/elf/configure.in: New file.
64712         * sysdeps/sparc/elf/configure: Generate.
64714         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
64715         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
64716         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
64717         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
64718         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
64720 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64722         * manual/install.texi: Do not mention specific glibc version
64723         numbers.
64724         * manual/libc.texinfo (VERSION, UPDATED): Update.
64725         (@copying): Use @copyright{} and range of years.
64727 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64729         [BZ #13695]
64730         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
64731         [crti.S not in sysdirs] (generated): Do not append.
64732         [crti.S not in sysdirs] (omit-deps): Likewise.
64733         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
64734         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
64735         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
64736         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
64737         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
64738         Likewise.
64739         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
64740         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
64741         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
64742         * csu/defs.awk: Remove file.
64743         * sysdeps/generic/initfini.c: Likewise.
64744         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
64745         variable.
64746         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
64747         Likewise.
64749 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64751         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
64752         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
64753         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
64754         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
64755         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64756         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
64757         <bits/epoll.h>.
64758         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
64759         (__EPOLL_PACKED): Define to empty if not defined by
64760         <bits/epoll.h>.
64761         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
64762         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64763         bits/epoll.h.
64765 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64767         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
64768         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
64769         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
64770         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
64771         <bits/timerfd.h>.
64772         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
64773         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64774         bits/timerfd.h.
64776 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64778         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
64779         in C locale.
64780         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64781         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64782         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
64783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64785 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
64787         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64788         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64790 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
64792         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
64793         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
64794         defined.
64795         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
64796         Likewise.
64797         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
64798         entry for 2.16.
64800 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
64802         * math/w_acos.c: Use non-signaling floating-point comparisons.
64803         * math/w_acosf.c: Likewise.
64804         * math/w_acosh.c: Likewise.
64805         * math/w_acoshf.c: Likewise.
64806         * math/w_acoshl.c: Likewise.
64807         * math/w_acosl.c: Likewise.
64808         * math/w_asin.c: Likewise.
64809         * math/w_asinf.c: Likewise.
64810         * math/w_asinl.c: Likewise.
64811         * math/w_atanh.c: Likewise.
64812         * math/w_atanhf.c: Likewise.
64813         * math/w_atanhl.c: Likewise.
64814         * math/w_exp2.c: Likewise.
64815         * math/w_exp2f.c: Likewise.
64816         * math/w_exp2l.c: Likewise.
64817         * math/w_j0.c: Likewise.
64818         * math/w_j0f.c: Likewise.
64819         * math/w_j0l.c: Likewise.
64820         * math/w_j1.c: Likewise.
64821         * math/w_j1f.c: Likewise.
64822         * math/w_j1l.c: Likewise.
64823         * math/w_jn.c: Likewise.
64824         * math/w_jnf.c: Likewise.
64825         * math/w_log.c: Likewise.
64826         * math/w_log10.c: Likewise.
64827         * math/w_log10f.c: Likewise.
64828         * math/w_log10l.c: Likewise.
64829         * math/w_log2.c: Likewise.
64830         * math/w_log2f.c: Likewise.
64831         * math/w_log2l.c: Likewise.
64832         * math/w_logf.c: Likewise.
64833         * math/w_logl.c: Likewise.
64834         * math/w_sqrt.c: Likewise.
64835         * math/w_sqrtf.c: Likewise.
64836         * math/w_sqrtl.c: Likewise.
64837         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64838         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
64839         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64840         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
64841         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
64843 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64845         [BZ #9739]
64846         * manual/string.texi (strnlen): Use correct parameter name in
64847         equivalent expression.
64849 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64851         [BZ #11174]
64852         * manual/users.texi (seteuid): Consistently use neweuid for
64853         argument name.
64855 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64857         [BZ #13704]
64858         * manual/nss.texi (Services in the NSS configuration): Correct
64859         list of services in example configuration file.
64861 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
64863         [BZ #11322]
64864         * manual/arith.texi: Remove statements about negative zero
64865         behaving identically to zero.
64867 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
64869         [BZ #5993]
64870         * manual/install.texi: Do not document upgrading from libc5.
64872 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
64874         [BZ #4596]
64875         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
64877 2012-02-18  David S. Miller  <davem@davemloft.net>
64879         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
64880         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
64881         %o7 across the call.
64882         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
64883         instead.
64884         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
64885         SETUP_PIC_REG_LEAF.
64886         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64887         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
64888         * sysdeps/sparc/crtn.S: Likewise.
64890 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
64892         * aout/Makefile: Remove.
64894 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
64896         [BZ #13058]
64897         * manual/examples/argp-ex1.c (main): Format definition in GNU
64898         style.
64899         * manual/examples/argp-ex2.c (main): Likewise.
64900         * manual/examples/argp-ex3.c (main): Likewise.
64901         * manual/examples/argp-ex4.c (main): Likewise.
64902         * manual/examples/longopt.c (main): Use new-style prototype
64903         definition.
64904         * manual/examples/strncat.c (main): Specify return type and use
64905         (void) for arguments.
64906         * manual/examples/subopt.c (main): Use char **argv argument.
64908 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64910         [BZ #5077]
64911         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
64912         rounding modes.
64914 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
64916         [BZ #6907]
64917         * manual/string.texi (strchr): Change when strchrnul is
64918         recommended.
64920 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
64922         [BZ #174]
64923         * manual/locale.texi (setlocale): Document LOCPATH.
64925 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64927         [BZ #10210]
64928         * manual/process.texi (execle): Move @dots{} before last argument.
64930 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
64932         [BZ #12047]
64933         * manual/charset.texi (Generic Charset Conversion): Fix typo
64934         (LC_TYPE -> LC_CTYPE).
64936 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
64938         [BZ #5805]
64939         * manual/arith.texi (scalbn): Use @var{} on parameter names.
64940         (scalbnf): Likewise.
64941         (scalbnl): Likewise.
64942         (scalbln): Likewise.
64943         (scalblnf): Likewise.
64944         (scalblnl): Likewise.
64945         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
64946         (vwarnx): Likewise.
64947         (verr): Likewise.
64948         (verrx): Likewise.
64949         * manual/filesys.texi (telldir): Use braces around return type.
64950         * manual/llio.texi (mmap): Add space after comma.
64951         (mmap64): Likewise.
64952         * manual/math.texi (jn): Use @var{} on parameter names.
64953         (jnf): Likewise.
64954         (jnl): Likewise.
64955         (yn): Likewise.
64956         (ynf): Likewise.
64957         (ynl): Likewise.
64958         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
64959         line.
64960         * manual/resource.texi (ulimit): Use @dots{} instead of literal
64961         "...".
64962         (sched_get_priority_min): Remove semicolon on @deftypefun line.
64963         (sched_get_priority_max): Likewise.
64964         * manual/signal.texi (sigvec): Add space after comma.
64965         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
64966         names.
64967         (if_indextoname): Likewise.
64968         (if_freenameindex): Likewise.
64969         (sendto): Use ',' instead of '.' in prototype.
64970         * manual/startup.texi (syscall): Use @dots{} instead of literal
64971         "...".
64972         * manual/stdio.texi (__fpending): Separate initial words of
64973         paragraph from @deftypefun line.
64974         * manual/syslog.texi (syslog): Use @dots{} instead of literal
64975         "...".
64976         (vsyslog): Use @var{} on parameter names.
64977         * manual/terminal.texi (stty): Use @var{} on parameter names.
64978         * manual/users.texi (getutmp): Use @var{} on parameter names.
64979         (getutmpx): Likewise.
64981 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64983         [BZ #6884]
64984         * manual/stdio.texi (fopen): Fix typos in description of
64985         ",ccs=STRING".
64987 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
64989         [BZ #4026]
64990         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
64991         get clock_id definition.
64993 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
64995         [BZ #4822]
64996         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
64997         (madvise): Cast every argument to void on its own.
64999 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65001         [BZ #9902]
65002         * manual/startup.texi (Exit Status): Fix typo.
65004 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65006         [BZ #10140]
65007         * manual/examples/argp-ex1.c: Include <stdlib.h>.
65008         * manual/examples/argp-ex2.c: Likewise.
65009         * manual/examples/argp-ex3.c: Likewise.
65011 2012-02-16  Richard Henderson  <rth@redhat.com>
65013         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
65014         * sysdeps/s390/s390-32/initfini.c: Remove.
65015         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
65016         * sysdeps/s390/s390-64/initfini.c: Remove.
65018 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65020         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
65021         compiler output for sysdeps/generic/initfini.c.
65022         * sysdeps/sh/elf/initfini.c: Remove file.
65024 2012-02-16  David S. Miller  <davem@davemloft.net>
65026         [BZ #11494]
65027         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
65029         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
65030         * sysdeps/sparc/crti.S: New file.
65031         * sysdeps/sparc/crtn.S: New file.
65032         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
65033         * sysdeps/sparc/sparc64/Makefile: Likewise.
65035 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
65037         [BZ #3335]
65038         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
65040 2012-02-15  Roland McGrath  <roland@hack.frob.com>
65042         [BZ #4822]
65043         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
65045         * mach/devstream.c (cookie_io_functions_t): Macro removed.
65046         (write, read, close): Likewise.
65047         Patch by Aurelien Jarno <aurelien@aurel32.net>.
65049 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
65051         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
65052         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
65053         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
65054         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
65055         <bits/signalfd.h>.
65056         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
65057         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65058         bits/signalfd.h.
65060 2012-02-14  Marek Polacek  <polacek@redhat.com>
65062         * sysdeps/x86_64/crti.S: New file.
65063         * sysdeps/x86_64/crtn.S: New file.
65064         * sysdeps/x86_64/elf/initfini.c: Remove file.
65066 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
65068         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
65069         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
65070         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
65071         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
65072         <bits/inotify.h>.
65073         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
65074         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65075         bits/inotify.h.
65077 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
65079         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
65080         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
65081         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
65082         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
65083         <bits/eventfd.h>.
65084         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
65085         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65086         bits/eventfd.h.
65088 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
65090         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
65091         __feraiseexcept instead of feraiseexcept.
65093         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
65094         nanosleep invocations.
65095         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
65096         strings, and add error checking for a nanosleep invocations.
65098 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
65100         Replace FSF snail mail address with URLs, as per GNU coding standards.
65101         Most of the snail mail addresses were wrong anyway, and omitting
65102         them makes the source code easier to maintain.  Almost all of the
65103         changes are to license notices and to locale LC_IDENTIFICATION
65104         addresses, except for this one:
65105         * manual/libc.texinfo: In "Published by", give the FSF's URL,
65106         not its snail mail address.
65108 2012-02-09  Richard Henderson  <rth@twiddle.net>
65110         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
65111         of kernel-features.h.
65113         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
65115 2012-02-08  Marek Polacek  <polacek@redhat.com>
65117         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
65118         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
65119         * sysdeps/gnu/_G_config.h: Likewise.
65120         * sysdeps/generic/_G_config.h: Likewise.
65122 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
65124         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
65125         tests.
65126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65128         * sysdeps/powerpc/powerpc32/crti.S: New file.
65129         * sysdeps/powerpc/powerpc32/crtn.S: New file.
65130         * sysdeps/powerpc/powerpc64/crti.S: New file.
65131         * sysdeps/powerpc/powerpc64/crtn.S: New file.
65133         * Makeconfig (have-initfini): Don't set.
65134         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
65135         * configure.in (nopic_initfini): Don't substitute.
65136         * config.h.in (HAVE_INITFINI): Don't #undef.
65137         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
65138         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
65140 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
65142         Support crti.S and crtn.S provided directly by architectures.
65143         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
65144         [crti.S in sysdirs] (omit-deps): Likewise.
65145         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
65146         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
65147         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
65148         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
65149         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
65150         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
65151         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
65152         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
65153         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
65154         compiler output for sysdeps/generic/initfini.c.
65155         * sysdeps/i386/elf/Makefile: Remove file.
65156         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
65158 2012-02-07  Marek Polacek  <polacek@redhat.com>
65160         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
65161         * sysdeps/gnu/_G_config.h: Likewise.
65162         * sysdeps/mach/hurd/_G_config.h: Likewise.
65164 2012-02-07  Marek Polacek  <polacek@redhat.com>
65166         * math/Makefile (tests): Add tst-CMPLX2.
65167         * math/tst-CMPLX2.c: New file.
65169 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
65171         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65173         * math/libm-test.inc (jn_test): Add missing L suffix.
65175 2012-02-06  Marek Polacek  <polacek@redhat.com>
65177         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
65178         * sysdeps/i386/fpu/e_powf.S: Likewise.
65179         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65180         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65181         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65182         * sysdeps/i386/fpu/e_pow.S: Likewise.
65183         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65184         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65185         * sysdeps/i386/fpu/s_expm1.S: Likewise.
65186         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65187         * sysdeps/i386/fpu/e_log2.S: Likewise.
65188         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65189         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65190         * sysdeps/i386/fpu/e_powl.S: Likewise.
65191         * sysdeps/i386/fpu/s_log1p.S: Likewise.
65192         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65193         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65194         * sysdeps/i386/fpu/e_logl.S: Likewise.
65195         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65196         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
65197         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65198         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65199         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65200         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65201         * sysdeps/i386/fpu/e_log.S: Likewise.
65202         * sysdeps/i386/fpu/s_cexp.S: Likewise.
65203         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65204         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
65205         * sysdeps/i386/fpu/e_logf.S: Likewise.
65206         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65207         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65208         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
65209         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65210         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65211         * sysdeps/i386/fpu/e_log10.S: Likewise.
65212         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65213         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65214         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65215         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65216         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65217         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65218         * sysdeps/i386/asm-syntax.h: Likewise.
65219         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65220         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65221         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65222         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
65223         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
65224         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65225         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65226         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65227         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65228         * sysdeps/powerpc/sysdep.h: Likewise.
65229         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
65230         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65232 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
65234         [BZ #411]
65235         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
65237 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
65239         * sysdeps/i386/sysdep.h: Include <features.h>.
65240         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
65241         version.
65243 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
65245         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
65246         Define.
65247         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
65248         LOAD_PIC_REG_STR.
65250 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65252         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
65253         (SETUP_PIC_REG): Use GET_PC_THUNK.
65254         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
65255         macro.
65257 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65259         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
65260         for non-PIC compilation.
65261         (SETUP_PIC_REG): Add .p2align directive.
65262         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
65263         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
65264         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65265         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65266         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
65267         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65268         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
65269         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
65270         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65271         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65272         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65273         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65274         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65275         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65276         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65277         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
65278         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
65279         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65280         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65281         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65282         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65283         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
65284         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65285         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65286         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
65287         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
65288         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65289         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
65290         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65291         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65292         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65293         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65294         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65295         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65296         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65297         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65298         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65299         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65300         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65301         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65302         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65304 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65306         * math/tst-CMPLX.c: Include <stdio.h>.
65308 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
65310         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
65311         float.
65312         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65313         * sysdeps/sparc/bits/mathdef.h: Likewise.
65315 2012-01-31  Marek Polacek  <polacek@redhat.com>
65317         * libio/libio.h: Don't define _PARAMS.
65318         * locale/programs/config.h: Don't define PARAMS.
65319         * stdlib/strtol_l.c: Likewise.
65320         (__strtol_l): Remove PARAMS from the prototype.
65322 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
65324         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
65325         names.  Just use the correct names.  Remove unnecessary wrapper
65326         functions.
65327         * malloc/arena.c: Likewise.
65328         * malloc/hooks.c: Likewise.
65330         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
65331         ARENA_TEST says not to.  Simplify test for creation of a new arena.
65332         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
65334 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
65336         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
65337         into tail calls.
65338         (update_get_addr): New function.
65339         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
65340         GET_ADDR_MODULE parameter.
65342 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65344         * crypt/cert.c: Remove __STDC__ conditionals.
65345         * crypt/crypt-entry.c: Likewise.
65346         * crypt/crypt_util.c: Likewise.
65347         * libio/filedoalloc.c: Likewise.
65348         * libio/fileops.c: Likewise.
65349         * libio/genops.c: Likewise.
65350         * libio/iofclose.c: Likewise.
65351         * libio/iofdopen.c: Likewise.
65352         * libio/iofopen.c: Likewise.
65353         * libio/iofopen64.c: Likewise.
65354         * libio/iogetdelim.c: Likewise.
65355         * libio/iopopen.c: Likewise.
65356         * libio/obprintf.c: Likewise.
65357         * libio/oldfileops.c: Likewise.
65358         * libio/oldiofclose.c: Likewise.
65359         * libio/oldiofdopen.c: Likewise.
65360         * libio/oldiofopen.c: Likewise.
65361         * libio/oldiopopen.c: Likewise.
65362         * libio/wfiledoalloc.c: Likewise.
65363         * libio/wgenops.c: Likewise.
65364         * locale/programs/xmalloc.c: Likewise.
65365         * misc/syslog.c: Likewise.
65366         * stdio-common/xbug.c: Likewise.
65367         * string/memchr.c: Likewise.
65368         * string/memcmp.c: Likewise.
65369         * string/memrchr.c: Likewise.
65370         * string/rawmemchr.c: Likewise.
65371         * sysdeps/posix/getcwd.c: Likewise.
65372         * time/strftime_l.c: Likewise.
65374 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65376         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
65377         * config.make.in (config-cflags-sse2avx): Define.
65378         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
65379         Fix typo.
65381 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
65383         * scripts/config.guess: Update from upstream config git repository.
65384         * scripts/config.sub: Likewise.
65386 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
65388         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
65389         (EM_NUM): Update.
65390         (R_TILEPRO_*, R_TILEGX_*): New macros.
65392         * scripts/firstversions.awk: Fix bug in version range handling.
65394         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
65396         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
65398         * include/sys/epoll.h: New file.
65399         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
65400         libc_hidden_def.
65402 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
65404         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
65405         Avoid unnecessary __WORDSIZE == 64 test.
65406         (fmaxf): Use VEX format if possible.
65407         (fmax): Likewise.
65408         (fminf): Likewise.
65409         (fmin): Likewise.
65411         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
65412         * math/math_private.h: Remove libc_fegetround* and
65413         libc_fesetround*.
65414         * sysdeps/i386/configure.in: Check for -msse2avx.
65415         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
65416         also if SSE2AVX is defined.
65417         Remove libc_fegetround* and libc_fesetround*.
65418         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
65419         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
65420         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
65421         of HAS_YMM_USABLE.
65422         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65423         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65424         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65425         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65426         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65428         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
65430 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65432         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
65433         size is not set.
65434         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65436 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
65438         [BZ #13618]
65439         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
65440         relocation.
65441         * Makeconfig (libm): Define.
65442         * elf/Makefile: Add rules to build and run tst-relsort1.
65443         * elf/tst-relsort1.c: New file.
65444         * elf/tst-relsort1mod1.c: New file.
65445         * elf/tst-relsort1mod2.c: New file.
65447 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
65449         * math/s_ldexp.c: Remove __STDC__ conditionals.
65450         * math/s_ldexpf.c: Likewise.
65451         * math/s_ldexpl.c: Likewise.
65452         * math/s_nextafter.c: Likewise.
65453         * math/s_nexttowardf.c: Likewise.
65454         * math/s_significand.c: Likewise.
65455         * math/s_significandf.c: Likewise.
65456         * math/s_significandl.c: Likewise.
65457         * math/w_jnl.c: Likewise.
65458         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65459         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65460         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65461         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65462         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65463         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65464         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
65465         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65466         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65467         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65468         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65469         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65470         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65471         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65472         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65473         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65474         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65475         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65476         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65477         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65478         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65479         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65480         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65481         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65482         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65483         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65484         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65485         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65486         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
65487         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65488         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65489         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
65490         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65491         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
65492         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
65493         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65494         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
65495         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
65496         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
65497         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
65498         * sysdeps/ieee754/k_standard.c: Likewise.
65499         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65500         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65501         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
65502         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
65503         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
65504         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
65505         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65506         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
65507         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
65508         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
65509         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
65510         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
65511         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
65512         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
65513         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
65514         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
65515         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
65516         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65517         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65518         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
65519         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65520         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65521         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
65522         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
65523         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65524         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
65525         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65526         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65527         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65528         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
65529         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
65530         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
65531         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
65532         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
65533         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
65534         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
65535         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
65536         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
65537         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
65538         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
65539         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
65540         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
65541         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
65542         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
65543         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
65544         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
65545         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65546         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65547         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
65548         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
65549         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
65550         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65551         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65552         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
65553         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
65554         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
65555         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
65556         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65557         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65558         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65559         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
65560         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
65561         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
65562         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65563         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
65564         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
65565         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
65566         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
65567         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
65568         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
65569         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
65570         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
65571         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
65572         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
65573         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
65574         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
65575         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
65576         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
65577         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
65578         * sysdeps/ieee754/s_matherr.c: Likewise.
65579         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
65580         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
65581         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65582         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65584 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
65586         * crypt/md5.h: Remove __STDC__ conditionals.
65587         * libio/libioP.h: Likewise.
65588         * locale/programs/config.h: Likewise.
65589         * sysdeps/generic/sysdep.h: Likewise.
65590         * sysdeps/i386/asm-syntax.h: Likewise.
65591         * sysdeps/s390/asm-syntax.h: Likewise.
65592         * sysdeps/unix/sysdep.h: Likewise.
65593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
65594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65596 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
65598         * libio/libio.h: Remove __STDC__ conditionals.
65599         * malloc/obstack.h: Likewise.
65600         * math/complex.h: Likewise.
65601         * math/math.h: Likewise.
65602         * sysdeps/generic/_G_config.h: Likewise.
65603         * sysdeps/gnu/_G_config.h: Likewise.
65604         * sysdeps/mach/hurd/_G_config.h: Likewise.
65605         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65606         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65607         * sysdeps/sparc/bits/mathdef.h: Likewise.
65609 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
65611         [BZ #13583]
65612         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
65613         Clean up HAS_* macros.
65614         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
65615         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
65616         possible.
65617         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
65618         HAS_AVX.
65619         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65620         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65621         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65622         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65623         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65625 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
65627         * elf/tst-unique3.cc (gets): Remove declaration.
65628         * elf/tst-unique3lib.cc (gets): Likewise.
65629         * elf/tst-unique3lib2.cc (gets): Likewise.
65630         * elf/tst-unique4.cc (gets): Likewise.
65632 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
65634         * include/stdio.h: Add C++ protection.  Add gets declarations and
65635         definitions.
65636         * debug/tst-chk1.c: Don't declare gets here.
65637         * stdio-common/tst-gets.c: Likewise.
65639 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
65641         * posix/glob: Remove directory.
65643 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
65645         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
65647 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
65649         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
65650         of the non-standard EPFNOSUPPORT.
65652 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65654         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
65655         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
65656         ANYWHERE set to 1 only on KERN_NO_SPACE error.
65658 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
65660         * wcsmbs/uchar.h: Test __STDC_VERSION__.
65662 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
65664         * nscd/aicache.c (addhstaiX): Do not cache negative results of
65665         transient errors.
65666         * nscd/grpcache.c (cache_addgr): Likewise.
65667         * nscd/hstcache.c (cache_addhst): Likewise.
65668         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65669         * nscd/pwdcache.c (cache_addpw): Likewise.
65670         * nscd/servicescache.c (cache_addserv): Likewise.
65672 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
65674         * malloc/malloc.c: Various cleanups.
65675         * malloc/hooks.c: Likewise.
65677         * stdlib/Makefile (tests): Add bug-fmtmsg1.
65678         * stdlib/bug-fmtmsg1.c: New file.
65680         * stdlib/fmtmsg.c (init): Add missing unlock.
65681         Patch by Peng Haitao <penght@cn.fujitsu.com>.
65683 2012-01-12  Marek Polacek  <polacek@redhat.com>
65685         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
65686         and _GNU_SOURCE.
65688 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
65690         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
65691         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
65692         macro to ensure uniqueness of label name.
65693         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65694         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65696 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
65698         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
65700         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
65701         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
65702         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
65703         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
65705 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
65707         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
65709         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
65710         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
65711         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
65713         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
65715         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
65716         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
65717         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
65718         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
65720         * math/bits/math-finite.h: Add ldexp support.
65722 2012-01-10  Marek Polacek  <polacek@redhat.com>
65724         * locale/programs/localedef.h (show_archive_content): Add noreturn
65725         attribute.
65727 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
65729         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
65731 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65733         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
65735         * io/Makefile (headers): Add bits/poll2.h.
65737 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
65739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
65740         typo #include statement.
65742 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65744         * include/sys/cdefs.h: Define __attribute_alloc_size.
65745         * catgets/gencat.c: Add alloc_size attribute and apply consistently
65746         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
65747         * elf/pldd.c: Likewise.
65748         * iconv/iconv_charmap.c: Likewise.
65749         * iconv/iconvconfig.c: Likewise.
65750         * iconv/strtab.c: Likewise.
65751         * locale/programs/locale.c: Likewise.
65752         * locale/programs/localedef.h: Likewise.
65753         * locale/programs/simple-hash.c: Likewise.
65754         * nscd/nscd.h: Likewise.
65755         * nss/makedb.c: Likewise.
65756         * sysdeps/generic/ldconfig.h: Likewise.
65757         * locale/programs/localedef.c: Remove xmalloc prototype.
65758         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
65760 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
65762         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
65763         appropriate.
65765 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65767         * math/Makefile (tests): Add tst-CMPLX.
65768         * math/tst-CMPLX.c: New file.
65770         * math/complex.h (CMPLXL): Fix typo.
65772         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
65773         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
65774         GLIBC_2.16.
65775         * debug/tst-chk1.c: Add poll and ppoll tests.
65776         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
65777         * include/sys/poll.h: Add hidden proto for ppoll.
65778         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
65779         * sysdeps/mach/hurd/ppoll.c: Likewise.
65780         * io/ppoll.c: Likewise.
65781         * debug/poll_chk.c: New file.
65782         * debug/ppoll_chk.c: New file.
65783         * include/bits/poll2.h: New file.
65784         * io/bits/poll2.h: New file.
65786         [BZ #1350]
65787         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
65789         * configure.in: static is always set to yes.  Remove.
65790         * config.make.in: Don't set build-static.
65791         * Makeconfig: Remove use of build-static.
65792         * dlfcn/Makefile: Likewise.
65793         * elf/Makefile: Likewise.
65794         * math/Makefile: Likewise.
65795         * misc/Makefile: Likewise.
65796         * nptl/Makefile: Likewise.
65797         * sysdeps/mach/hurd/Makefile: Likewise.
65799         * configure.in: PWD_P is not used anymore.
65800         * config.make.in: Remove PWD_P entry.
65802         * configure.in: Remove last remnants of RANLIB.
65803         No need to check for signed size_t anymore.
65804         Don't set libc_commonpagesize and libc_relro_required here for Alpha
65805         and IA-64.
65806         Remove __builtin_expect test because we require at least gcc 3.4.
65807         * aclocal.m4: Likewise.
65809         * wcsmbs/mbrtoc16.c: Implement using towc function.
65810         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
65811         * wcsmbs/wcsmbsload.c: Likewise.
65812         * iconv/gconv_simple.c: Likewise.
65813         * iconv/gconv_int.h: Likewise.
65814         * iconv/gconv_builtin.h: Likewise.
65815         * iconv/iconv_prog.c: Remove CHAR16 handling.
65817         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
65819         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
65821         * configure.in: Remove --with-elf and --enable-bounded options.
65822         Dont set base_machine for ia64.  More non-ELF conditions removed.
65823         Remove testing and setting of leading underscore information.
65824         * config.make.in (build-bounded): Set to no.
65825         * config.h.in: Remove NO_UNDERSCORES entry.
65826         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
65827         them.
65828         * csu/start.c: Remove !NO_UNDERSCORE code.
65829         * locale/localeinfo.h: Likewise.
65830         * sysdeps/generic/machine-gmon.h: Likewise.
65831         * sysdeps/generic/sysdep.h: Likewise.
65832         * sysdeps/i386/sysdep.h: Likewise.
65833         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65834         * sysdeps/mach/sysdep.h: Likewise.
65835         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65836         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65837         * sysdeps/sh/sysdep.h: Likewise.
65838         * sysdeps/sparc/sparc32/alloca.S: Likewise.
65839         * sysdeps/unix/i386/sysdep.S: Likewise.
65840         * sysdeps/unix/sparc/start.c: Likewise.
65841         * sysdeps/unix/sparc/sysdep.S: Likewise.
65842         * sysdeps/unix/sparc/sysdep.h: Likewise.
65843         * sysdeps/unix/start.c: Likewise.
65844         * sysdeps/unix/x86_64/sysdep.S: Likewise.
65845         * sysdeps/x86_64/sysdep.h: Likewise.
65847 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
65849         [BZ #13553]
65850         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
65851         for non-gcc.
65852         * argp/argp-fmtstream.h: Use const instead __const.
65853         * argp/argp.h: Likewise.
65854         * assert/assert.h: Likewise.
65855         * bits/fenv.h: Likewise.
65856         * bits/sched.h: Likewise.
65857         * bits/sigset.h: Likewise.
65858         * bits/sigthread.h: Likewise.
65859         * catgets/nl_types.h: Likewise.
65860         * conform/data/pthread.h-data: Likewise.
65861         * crypt/crypt-private.h: Likewise.
65862         * crypt/crypt.h: Likewise.
65863         * crypt/crypt_util.c: Likewise.
65864         * ctype/ctype.h: Likewise.
65865         * debug/execinfo.h: Likewise.
65866         * debug/mbsnrtowcs_chk.c: Likewise.
65867         * debug/mbsrtowcs_chk.c: Likewise.
65868         * debug/wcsnrtombs_chk.c: Likewise.
65869         * debug/wcsrtombs_chk.c: Likewise.
65870         * debug/wcstombs_chk.c: Likewise.
65871         * dirent/dirent.h: Likewise.
65872         * dlfcn/dlfcn.h: Likewise.
65873         * elf/neededtest4.c: Likewise.
65874         * grp/grp.h: Likewise.
65875         * gshadow/gshadow.h: Likewise.
65876         * iconv/gconv.h: Likewise.
65877         * iconv/gconv_int.h: Likewise.
65878         * iconv/gconv_simple.c: Likewise.
65879         * iconv/iconv.h: Likewise.
65880         * iconv/loop.c: Likewise.
65881         * iconv/skeleton.c: Likewise.
65882         * include/aio.h: Likewise.
65883         * include/aliases.h: Likewise.
65884         * include/argz.h: Likewise.
65885         * include/arpa/inet.h: Likewise.
65886         * include/assert.h: Likewise.
65887         * include/dirent.h: Likewise.
65888         * include/dlfcn.h: Likewise.
65889         * include/execinfo.h: Likewise.
65890         * include/fcntl.h: Likewise.
65891         * include/fenv.h: Likewise.
65892         * include/glob.h: Likewise.
65893         * include/grp.h: Likewise.
65894         * include/libintl.h: Likewise.
65895         * include/mntent.h: Likewise.
65896         * include/netdb.h: Likewise.
65897         * include/pwd.h: Likewise.
65898         * include/rpc/netdb.h: Likewise.
65899         * include/sched.h: Likewise.
65900         * include/search.h: Likewise.
65901         * include/shadow.h: Likewise.
65902         * include/signal.h: Likewise.
65903         * include/stdio.h: Likewise.
65904         * include/stdlib.h: Likewise.
65905         * include/string.h: Likewise.
65906         * include/sys/socket.h: Likewise.
65907         * include/sys/stat.h: Likewise.
65908         * include/sys/statfs.h: Likewise.
65909         * include/sys/statvfs.h: Likewise.
65910         * include/sys/syslog.h: Likewise.
65911         * include/sys/time.h: Likewise.
65912         * include/sys/uio.h: Likewise.
65913         * include/time.h: Likewise.
65914         * include/unistd.h: Likewise.
65915         * include/utmp.h: Likewise.
65916         * include/wchar.h: Likewise.
65917         * include/wctype.h: Likewise.
65918         * inet/aliases.h: Likewise.
65919         * inet/arpa/inet.h: Likewise.
65920         * inet/netinet/ether.h: Likewise.
65921         * inet/netinet/in.h: Likewise.
65922         * intl/libintl.h: Likewise.
65923         * io/bits/fcntl2.h: Likewise.
65924         * io/fcntl.h: Likewise.
65925         * io/ftw.h: Likewise.
65926         * io/sys/poll.h: Likewise.
65927         * io/sys/stat.h: Likewise.
65928         * io/sys/statfs.h: Likewise.
65929         * io/sys/statvfs.h: Likewise.
65930         * io/utime.h: Likewise.
65931         * libio/bits/stdio.h: Likewise.
65932         * libio/bits/stdio2.h: Likewise.
65933         * libio/libio.h: Likewise.
65934         * libio/libioP.h: Likewise.
65935         * libio/stdio.h: Likewise.
65936         * locale/lc-ctype.c: Likewise.
65937         * locale/locale.h: Likewise.
65938         * login/utmp.h: Likewise.
65939         * malloc/arena.c: Likewise.
65940         * malloc/malloc.c: Likewise.
65941         * malloc/malloc.h: Likewise.
65942         * malloc/mcheck.c: Likewise.
65943         * malloc/mtrace.c: Likewise.
65944         * math/bits/mathcalls.h: Likewise.
65945         * math/fenv.h: Likewise.
65946         * math/math_private.h: Likewise.
65947         * misc/bits/error.h: Likewise.
65948         * misc/bits/syslog.h: Likewise.
65949         * misc/err.h: Likewise.
65950         * misc/error.h: Likewise.
65951         * misc/fstab.h: Likewise.
65952         * misc/mntent.h: Likewise.
65953         * misc/regexp.h: Likewise.
65954         * misc/search.h: Likewise.
65955         * misc/sgtty.h: Likewise.
65956         * misc/sys/mman.h: Likewise.
65957         * misc/sys/syslog.h: Likewise.
65958         * misc/sys/uio.h: Likewise.
65959         * misc/sys/xattr.h: Likewise.
65960         * misc/ttyent.h: Likewise.
65961         * nis/rpcsvc/ypclnt.h: Likewise.
65962         * nss/nss.h: Likewise.
65963         * posix/bits/unistd.h: Likewise.
65964         * posix/fnmatch.h: Likewise.
65965         * posix/glob.h: Likewise.
65966         * posix/sched.h: Likewise.
65967         * posix/spawn.h: Likewise.
65968         * posix/sys/wait.h: Likewise.
65969         * posix/unistd.h: Likewise.
65970         * posix/wordexp.h: Likewise.
65971         * pwd/pwd.h: Likewise.
65972         * resolv/netdb.h: Likewise.
65973         * resource/sys/resource.h: Likewise.
65974         * rt/aio.h: Likewise.
65975         * rt/bits/mqueue2.h: Likewise.
65976         * rt/mqueue.h: Likewise.
65977         * shadow/shadow.h: Likewise.
65978         * signal/signal.h: Likewise.
65979         * socket/send.c: Likewise.
65980         * socket/sendto.c: Likewise.
65981         * socket/sys/socket.h: Likewise.
65982         * stdio-common/printf.h: Likewise.
65983         * stdlib/bits/stdlib.h: Likewise.
65984         * stdlib/fmtmsg.h: Likewise.
65985         * stdlib/monetary.h: Likewise.
65986         * stdlib/stdlib.h: Likewise.
65987         * stdlib/ucontext.h: Likewise.
65988         * streams/stropts.h: Likewise.
65989         * string/argz.h: Likewise.
65990         * string/bits/string2.h: Likewise.
65991         * string/string.h: Likewise.
65992         * string/strings.h: Likewise.
65993         * sunrpc/rpc/auth.h: Likewise.
65994         * sunrpc/rpc/auth_des.h: Likewise.
65995         * sunrpc/rpc/clnt.h: Likewise.
65996         * sunrpc/rpc/netdb.h: Likewise.
65997         * sunrpc/rpc/pmap_clnt.h: Likewise.
65998         * sunrpc/rpc/xdr.h: Likewise.
65999         * sysdeps/generic/inttypes.h: Likewise.
66000         * sysdeps/generic/net/if.h: Likewise.
66001         * sysdeps/generic/sys/swap.h: Likewise.
66002         * sysdeps/gnu/net/if.h: Likewise.
66003         * sysdeps/gnu/utmpx.h: Likewise.
66004         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
66005         * sysdeps/i386/i486/bits/string.h: Likewise.
66006         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
66007         * sysdeps/s390/bits/string.h: Likewise.
66008         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
66009         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
66010         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
66011         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
66012         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
66013         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
66014         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
66015         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
66016         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
66017         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
66018         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
66019         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
66020         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
66021         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
66022         * sysdeps/unix/sysv/linux/readv.c: Likewise.
66023         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
66024         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
66025         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66026         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
66027         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
66028         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66029         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
66030         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
66031         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
66032         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
66033         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
66034         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
66035         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66036         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
66037         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
66038         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
66039         * sysvipc/sys/ipc.h: Likewise.
66040         * sysvipc/sys/msg.h: Likewise.
66041         * sysvipc/sys/sem.h: Likewise.
66042         * sysvipc/sys/shm.h: Likewise.
66043         * termios/termios.h: Likewise.
66044         * time/sys/time.h: Likewise.
66045         * time/time.h: Likewise.
66046         * wcsmbs/bits/wchar2.h: Likewise.
66047         * wcsmbs/uchar.h: Likewise.
66048         * wcsmbs/wchar.h: Likewise.
66049         * wctype/wctype.h: Likewise.
66051         [BZ #13551]
66052         * Makeconfig: Remove all but ELF support including AIX support.
66053         * Makerules: Likewise.
66054         * config.h.in: Likewise.
66055         * config.make.in: Likewise.
66056         * configure: Likewise.
66057         * configure.in: Likewise.
66058         * csu/Makefile: Likewise.
66059         * csu/version.c: Likewise.
66060         * debug/Makefile: Likewise.
66061         * dlfcn/Makefile: Likewise.
66062         * elf/Makefile: Likewise.
66063         * extra-lib.mk: Likewise.
66064         * iconv/Makefile: Likewise.
66065         * include/libc-symbols.h: Likewise.
66066         * include/shlib-compat.h: Likewise.
66067         * resolv/Makefile: Likewise.
66068         * resolv/res_libc.c: Likewise.
66069         * rt/Makefile: Likewise.
66070         * sysdeps/i386/asm-syntax.h: Likewise.
66071         * sysdeps/i386/sysdep.h: Likewise.
66072         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66073         * sysdeps/mach/sysdep.h: Likewise.
66074         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
66075         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
66076         * sysdeps/s390/asm-syntax.h: Likewise.
66077         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66078         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66079         * sysdeps/sh/sysdep.h: Likewise.
66080         * sysdeps/unix/sparc/sysdep.h: Likewise.
66081         * sysdeps/wordsize-32/divdi3.c: Likewise.
66082         * sysdeps/x86_64/sysdep.h: Likewise.
66084         * argp/Versions: Remove _argp_unlock_xxx.
66086         [BZ #13559]
66087         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
66088         * abilist/libBrokenLocale.abilist: Likewise.
66089         * abilist/libanl.abilist: Likewise.
66090         * abilist/libc.abilist: Likewise.
66091         * abilist/libcrypt.abilist: Likewise.
66092         * abilist/libdl.abilist: Likewise.
66093         * abilist/libm.abilist: Likewise.
66094         * abilist/libnsl.abilist: Likewise.
66095         * abilist/libpthread.abilist: Likewise.
66096         * abilist/libresolv.abilist: Likewise.
66097         * abilist/librt.abilist: Likewise.
66098         * abilist/libthread_db.abilist: Likewise.
66099         * abilist/libutil.abilist: Likewise.
66100         * abilist/libnss_db.abilist: New file.
66102         * scripts/abilist.awk: Add support for indirect functions.
66104         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
66106         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
66108         * shlib-versions: Remove entries for ports architectures.
66110         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
66111         files in ports.
66112         * elf/stackguard-macros.h: Remove support for IA-64.
66113         * elf/tst-auditmod1.c: Likewise.
66114         * sysdeps/generic/ldsodefs.h: Likewise.
66116         * sysdeps/unix/sysv/linux/configure.in: Ports should define
66117         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
66118         configure files.
66120         [BZ #13552]
66121         * configure.in: Remove --enable-omitfp support.
66122         * FAQ.in: Adjust.
66123         * config.make.in: Likewise.
66124         * Makeconfig: Likewise.
66125         * manual/install.texi: Likewise.
66127         In case anyone cares, the IA-64 architecture could move to ports.
66128         * sysdeps/ia64/*: Removed.
66129         * sysdeps/unix/sysv/linux/ia64/*: Removed.
66130         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
66132         [BZ #13555]
66133         * configure.in: Remove entries for unsupported architectures.
66135         [BZ #13533]
66136         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
66137         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
66138         routines.
66139         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
66140         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
66141         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
66142         fall back to using wcrtomb.
66143         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
66144         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
66145         renaming.
66146         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
66147         * wcsmbs/tst-c16c32-1.c: New file.
66149         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
66150         local variable.
66152         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
66154         * elf/tst-unique3.cc: Add explicit declaration of gets.
66155         * elf/tst-unique3lib.cc: Likewise.
66156         * elf/tst-unique3lib2.cc: Likewise.
66157         * elf/tst-unique4.cc: Likewise.
66159         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
66161 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
66163         [BZ #13566]
66164         * assert/assert.h (static_assert): Don't define for C++.
66165         * libio/stdio.h (gets): Do declare for C++ <= C++11.
66166         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
66168 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
66170         * iconv/loop.c (single loop): Fix assertion in storing of
66171         remaining bytes.
66173         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
66175 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
66177         * posix/getconf.c: Update copyright year.
66178         * nss/getent.c: Likewise.
66179         * nss/makedb.c: Likewise.
66180         * iconv/iconvconfig.c: Likewise.
66181         * iconv/iconv_prog.c: Likewise.
66182         * elf/ldconfig.c: Likewise.
66183         * elf/pldd.c: Likewise.
66184         * elf/sotruss.ksh: Likewise.
66185         * catgets/gencat.c: Likewise.
66186         * csu/version.c: Likewise.
66187         * elf/ldd.bash.in: Likewise.
66188         * elf/sprof.c (print_version): Likewise.
66189         * locale/programs/locale.c: Likewise.
66190         * locale/programs/localedef.c: Likewise.
66191         * login/programs/pt_chown.c: Likewise.
66192         * nscd/nscd.c (print_version): Likewise.
66193         * debug/xtrace.sh: Likewise.
66194         * malloc/memusage.sh: Likewise.
66195         * malloc/mtrace.pl: Likewise.
66196         * debug/catchsegv.sh: Likewise.
66198 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
66200         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
66201         pure attribute.
66203 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
66205         [BZ #13533]
66206         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
66207         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
66208         transformations.
66209         * iconv/gconv_int.h: Likewise.
66210         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
66211         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
66212         from libc for GLIBC_2.16.
66213         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
66214         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
66215         * wcsmbs/uchar.h: Really define mbstate_t.
66216         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
66217         * wcsmbs/c16rtomb.c: New file.
66218         * wcsmbs/mbrtoc16.c: New file.
66219         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
66220         for C/POSIX locale.
66221         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
66222         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
66224         * wcsmbs/wchar.h: Add missing __restrict.
66226 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
66228         [BZ #13532]
66229         * time/Makefile (routines): Add timespec_get.
66230         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
66231         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
66232         timespec for ISO C11.
66233         * time/timespec_get.c: New file.
66234         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
66235         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
66237         [BZ #13531]
66238         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
66239         * stdlib/stdlib.h: Declare aligned_alloc.
66240         * Versions.def: Add GLIBC_2.16 for libc.
66241         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
66243         [BZ 13527]
66244         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
66245         ISO C11.
66247         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
66248         code.
66250         [BZ #13528]
66251         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
66253         [BZ #13529]
66254         * assert/assert.h (static_assert): Define.
66256         * version.h: Update for 2.16 development version.
66258         [BZ #13526]
66259         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
66260         _ISOC11_SOURCE.
66262         * version.h (RELEASE): Bump for 2.15 release.
66263         * include/features.h (__GLIBC_MINOR__): Bump to 15.
66265         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
66266         Patch by Marek Polacek <mpolacek@redhat.com>.
66268         * bits/byteswap.h: Protect long long constants with __extension__.
66269         * sysdeps/i386/bits/byteswap.h: Likewise.
66270         * sysdeps/ia64/bits/byteswap.h: Likewise.
66271         * sysdeps/s390/bits/byteswap.h: Likewise.
66272         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66274 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66276         [BZ #13540]
66277         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
66278         destination buffer.
66279         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
66281 2011-12-23  Marek Polacek  <polacek@redhat.com>
66283         * elf/dl-addr.c (determine_info): Add inline keyword.
66284         * elf/tst-auditmod4b.c (check_avx): Likewise.
66285         * elf/tst-auditmod6b.c (check_avx): Likewise.
66286         * elf/tst-auditmod6c.c (check_avx): Likewise.
66287         * elf/tst-auditmod7b.c (check_avx): Likewise.
66289 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
66291         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
66292         !__SSE_MATH__.
66294 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66296         [BZ #13540]
66297         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
66298         processing for last bytes.
66300 2011-08-06  Bruno Haible  <bruno@clisp.org>
66302         [BZ #13061]
66303         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
66304         U+0385, not to U+1FEE.
66306         [BZ #13062]
66307         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
66308         entry for U+00A5 U+0301.
66310 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66312         [BZ #13166]
66313         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
66314         buffer for the output is too small.
66316         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
66317         optimization.
66319         [BZ #13185]
66320         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
66321         SSE flags if possible.
66323 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66325         [BZ #13540]
66326         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
66327         processing for last bytes.
66329 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
66331         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
66332         (syscall-list-default-options, syscall-list-default-condition)
66333         (syscall-list-includes): Define.
66334         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
66335         list of ABIs and options and #if conditions for each ABI.  Do not
66336         handle common syscalls between ABIs specially.
66337         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
66338         Remove.
66339         (syscall-list-variants, syscall-list-32bit-options)
66340         (syscall-list-32bit-condition, syscall-list-64bit-options)
66341         (syscall-list-64bit-condition): Define.
66342         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
66343         (syscall-list-variants, syscall-list-32bit-options)
66344         (syscall-list-32bit-condition, syscall-list-64bit-options)
66345         (syscall-list-64bit-condition): Define.
66346         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
66347         Remove.
66348         (syscall-list-variants, syscall-list-32bit-options)
66349         (syscall-list-32bit-condition, syscall-list-64bit-options)
66350         (syscall-list-64bit-condition): Define.
66351         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
66352         Remove.
66353         (syscall-list-variants, syscall-list-32bit-options)
66354         (syscall-list-32bit-condition, syscall-list-64bit-options)
66355         (syscall-list-64bit-condition): Define.
66357 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66359         * locale/iso-639.def: Add brx entry.
66361         [BZ #13328]
66362         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
66363         Proposed by Mariusz_Cukr <marcukr@op.pl>.
66365         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
66366         __feraiseexcept_renamed.
66368 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
66370         [BZ #13538]
66371         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
66372         EPOLLET with unsigned values.
66373         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66374         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66376         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
66377         to large cancellation.
66378         * math/s_cacoshf.c: Likewise.
66379         * math/s_cacoshl.c: Likewise.
66381 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
66383         [BZ #13305]
66384         [BZ #12786]
66385         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
66386         * math/s_cacoshf.c: Likewise.
66387         * math/s_cacoshl.c: Likewise.
66389 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
66391         [BZ #13439]
66392         * iconv/gconv.h: Define __GCONV_SWAP.
66393         * iconvdata/unicode.c: The swap bit must be stored in __flags.
66394         * iconvdata/utf-16.c: Likewise.
66395         * iconvdata/utf-32.c: Likewise.
66397 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
66399         [BZ #13524]
66400         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
66401         numerator after shifting it by one limb.
66403 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
66405         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
66406         under [__USE_EXTERN_INLINES].
66408 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
66410         [BZ #13446]
66411         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
66413 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66415         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
66416         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
66417         optimized code.
66418         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
66419         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
66420         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
66421         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
66422         for strncasecmp/strncasecmp_l compilation.
66423         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
66424         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
66426 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
66428         [BZ #13484]
66429         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
66430         of __asm__.
66432 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
66434         [BZ #13506]
66435         * time/tzfile.c (__tzfile_read): Check values from file header.
66437 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
66439         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
66440         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
66441         * powerpc/powerpc32/dl-start.S: Likewise.
66442         * powerpc/powerpc32/elf/start.S: Likewise.
66443         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
66444         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
66445         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
66446         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
66447         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
66448         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
66449         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
66450         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
66451         * powerpc/powerpc32/fpu/s_round.S: Likewise.
66452         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
66453         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
66454         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
66455         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
66456         * powerpc/powerpc32/memset.S: Likewise.
66457         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
66458         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66459         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66460         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66461         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66462         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
66463         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
66464         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
66465         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
66466         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
66467         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
66468         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66469         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66471 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66473         * math/libm-test.inc: Added more nearbyint tests.
66474         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
66475         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
66476         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
66477         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
66479 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
66481         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
66482         FD_CLOEXEC.
66484 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66486         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
66487         Add wcscpy-ssse3 wcscpy-c.
66488         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
66489         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
66490         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
66491         * sysdeps/x86_64/wcschr.S: New file.
66492         * sysdeps/x86_64/wcsrchr.S: New file.
66493         * string/test-strcmp.c: Remove checking of wcscmp function for
66494         wrong alignments.
66495         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
66496         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
66497         wcsrchr-sse2 wcsrchr-c.
66498         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
66499         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
66500         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
66501         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
66502         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
66503         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
66504         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
66505         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
66506         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
66507         * wcsmbc/wcschr.c (WCSCHR): New macro.
66509 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66511         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
66512         * wcsmbs/test-wcsrchr.c: New file.
66513         * string/test-strrchr.c: Add wcsrchr support.
66514         (WIDE): New macro.
66515         * wcsmbs/test-wcscpy.c: New file.
66516         * string/test-strcpy.c: Add wcscpy support.
66517         (WIDE): New macro.
66519 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
66521         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
66522         the inner loop.
66524 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
66526         [BZ #13472]
66527         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
66529 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
66531         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
66532         Minor optimizations.
66534         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
66535         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
66536         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
66538 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
66540         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
66541         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
66542         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
66543         for gcc to avoid warnings.
66544         * inet/Makefile (tests): Add tst-checks.
66545         * inet/tst-checks.c: New file.
66547         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
66548         warning.
66550         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
66551         __wmemcmp_sse2.
66553         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
66554         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
66556         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
66558 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
66560         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
66561         problem.
66563         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
66565 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
66567         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
66568         conditional on GCC version.
66569         (__arch_compare_and_exchange_val_8_acq)
66570         (__arch_compare_and_exchange_val_16_acq)
66571         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
66572         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
66573         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
66575 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
66577         * sysdeps/sh/backtrace.c: New file.
66579 2011-12-02  Andreas Schwab  <schwab@redhat.com>
66581         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
66582         parenthesis.
66584 2011-12-01  Andreas Schwab  <schwab@redhat.com>
66586         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
66587         falling back to utime.
66589 2011-11-30  Andreas Schwab  <schwab@redhat.com>
66591         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
66592         expectations for float.
66594 2011-11-29  Andreas Schwab  <schwab@redhat.com>
66596         * locale/weight.h (findidx): Add parameter len.
66597         * locale/weightwc.h (findidx): Likewise.
66598         * posix/fnmatch_loop.c (FCT): Adjust caller.
66599         * posix/regcomp.c (build_equiv_class): Likewise.
66600         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
66601         * posix/regexec.c (check_node_accept_bytes): Likewise.
66602         * string/strcoll_l.c (STRCOLL): Likewise.
66603         * string/strxfrm_l.c (STRXFRM): Likewise.
66605 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
66607         * Makefile.in: Remove CVSOPT handling.
66608         * configure.in: Remove use of AC_REVISION.
66609         * iconvdata/Makefile (distribute): No need to filter out CVS.
66610         * scripts/list-sources.sh: Remove CVS, subversion and monotone
66611         handling.
66613 2011-11-16  Andreas Schwab  <schwab@redhat.com>
66615         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
66616         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
66617         [USE_AS_STRNCASECMP_L]: Likewise.
66618         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
66619         NO_TLS_DIRECT_SEG_REFS.
66620         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
66621         Fix argument offsets for non-PIC.
66622         [USE_AS_STRNCASECMP_L]: Likewise.
66623         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
66624         NO_TLS_DIRECT_SEG_REFS.
66626 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
66628         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
66629         O_CLOEXEC.
66630         * locale/loadlocale.c (_nl_load_locale): Likewise.
66632 2011-11-15  Andreas Schwab  <schwab@redhat.com>
66634         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
66635         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
66636         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
66637         (SYSCALL_GETTIME): Set errno on error.
66639         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
66640         count references to noai6ai_cached.
66642 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
66644         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
66646         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
66647         FD_CLOEXEC for /proc/self/maps.
66649         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
66650         FD_CLOEXEC for /proc/meminfo.
66652         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
66653         gai.conf.
66655         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
66656         FD_CLOEXEC for given file.
66658         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
66660         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
66661         FD_CLOEXEC for /etc/hosts.
66662         (_gethtent): Likewise.
66664         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
66666         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
66667         cancellation and set FD_CLOEXEC for /etc/netgroup.
66669         * nss/nss_files/files-key.c (search): Don't allow cancellation when
66670         reading /etc/publickey.
66672         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
66673         allow cancellation when reading /etc/group.
66675         * nss/nss_files/files-alias.c (internal_setent): Don't allow
66676         cancellation.
66677         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
66679         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
66680         when using data file.
66682         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
66684         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
66685         (write_nis_obj): Use "c" and "e" in fopen.
66687         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
66689         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
66691         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
66693         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
66695         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
66696         locale.alias.
66698         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
66700         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
66702         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
66704         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
66705         file parsing and set FD_CLOEXEC.
66707 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
66709         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
66711 2011-11-14  Andreas Schwab  <schwab@redhat.com>
66713         * malloc/arena.c (arena_get2): Don't call reused_arena when
66714         _int_new_arena failed.
66716 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
66718         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
66719         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
66720         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
66721         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
66722         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
66723         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
66724         to compile strcasecmp and strncasecmp.
66725         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
66726         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
66728         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
66730 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
66732         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
66733         locale-defines.sym to gen-as-const-headers.
66734         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
66735         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
66736         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
66737         to compile strcasecmp and strncasecmp.
66738         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
66739         strcasecmp_l and strncasecmp_l.
66740         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
66741         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
66742         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
66743         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
66744         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
66745         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
66746         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
66747         * sysdeps/i386/i686/multiarch/strncase.S: New file.
66748         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
66749         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
66750         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
66752 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
66754         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
66755         result of SYSDEP_GETTIME_CPU to retval.
66756         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
66757         parameter list to macro.  Remove trailing semicolon.  Adjust users.
66759         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
66760         variable.
66762         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
66763         mantissa words.
66764         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
66766         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
66767         from unused variable.
66769         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
66770         DWARF definitions.
66771         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
66772         for assembling.
66774         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
66775         over namespaces.
66777         * sunrpc/rpc_prot.c (rejected): Fix case value.
66779         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
66780         unsigned long long int to avoid warnings in shift.
66782         * posix/regex_internal.c (re_string_reconstruct): Actually use result
66783         of use of trans.
66784         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
66785         variable tmp.
66787         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
66788         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
66789         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
66791         * nis/nis_table.c (nis_list): Use variable of correct type for
66792         result of __follow_path call.
66794 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66796         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
66797         of math functions ceil, trunc, floor, round, and sqrt, when
66798         avaliable on the platform.
66799         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
66800         name clash.
66801         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66802         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
66803         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66805 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
66807         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
66808         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
66810 2011-11-11  Roland McGrath  <roland@hack.frob.com>
66812         * include/unistd.h: Fix __readlink return type.
66813         Reported by Chris Metcalf <cmetcalf@tilera.com>.
66815 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
66817         * stdlib/ucontext.h: Undo last change for makecontext.
66819 2011-11-11  Andreas Schwab  <schwab@redhat.com>
66821         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
66823         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
66824         * setjmp/setjmp.h: Mark functions as non-leaf.
66825         * setjmp/bits/setjmp2.h: Likewise.
66826         * stdlib/ucontext.h: Likewise.
66828 2011-11-10  Andreas Schwab  <schwab@redhat.com>
66830         * malloc/arena.c (_int_new_arena): Don't increment narenas.
66831         (reused_arena): Don't check arena limit.
66832         (arena_get2): Atomically check arena limit.
66834 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
66836         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
66837         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
66839         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
66840         instructions.
66842 2011-11-07  Andreas Schwab  <schwab@redhat.com>
66844         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
66845         handler when locking.
66847         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
66848         Fix size of allocated buffer.
66850 2011-11-04  Andreas Schwab  <schwab@redhat.com>
66852         [BZ #10103]
66853         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
66854         declarations for long double functions.
66855         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
66857         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
66859 2011-11-03  Andreas Schwab  <schwab@redhat.com>
66861         * nscd/nscd.c (main): Don't start AVC thread until credentials are
66862         installed.
66864         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
66865         is disabled.
66867 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66869         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
66871 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66873         * include/alloca.h (stackinfo_alloca_round): Define.
66874         (extend_alloca): Use it.
66875         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
66876         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
66877         here.
66879         * scripts/check-local-headers.sh: Ignore libaudit.h.
66881         * nscd/Makefile (extra-objs): Make recursively expanded.
66883 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
66885         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
66886         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
66888         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
66889         * posix/tst-rfc3484-2.c: Likewise.
66890         * posix/tst-rfc3484-3.c: Likewise.
66892         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
66893         process_vm_writev.
66894         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
66895         process_vm_writev.
66896         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
66897         process_vm_writev from libc using GLIBC_2.15 version.
66899         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
66901 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
66903         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
66904         stack usage.
66906 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
66908         [BZ #13367]
66909         * nss/getent.c (initgroups_keys): Show error message in case no group
66910         names are given.
66912         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
66913         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
66914         __bump_nl_timestamp.
66915         * nscd/connections (nscd_init): When host database is served open
66916         netlink socket and request notification about configuration changes.
66917         (main_loop_poll): Track netlink file descriptor and bump timestamp
66918         in case data becomes available.
66919         (main_loop_epoll): Likewise.
66920         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
66921         (database_pers_head): Add extra_data fileds.
66922         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
66923         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
66924         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
66925         Adjust caller.
66926         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
66927         in6ai data, call __free_in6ai.
66928         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
66929         Add -DHAVE_NETLINK.
66930         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
66931         interface information.  Reuse previous data if netlink timestamp
66932         is not changed.
66933         (__bump_nl_timestamp): New function.
66934         (__free_in6ai): New function.
66936 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
66938         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
66939         close_not_cancel_no_status here.
66940         (__check_pf): Reorganize code a bit to not call close twice if OOM.
66942 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
66944         [BZ #13276]
66945         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
66946         return value.
66948         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
66949         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
66950         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
66952 2011-07-03  Andreas Jaeger  <aj@suse.de>
66954         [BZ #10709]
66955         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
66956         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
66957         * math/libm-test.inc (sin_test): Add test case.
66959 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
66961         [BZ #13337]
66962         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
66963         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66965         * elf/chroot_canon.c (chroot_canon): Cleanups.
66967         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
66969         [BZ #13335]
66970         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
66971         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66973         * string/test-strchr.c: Make usable for strchrnul testing.
66974         * string/test-strchrnul.c: New file.
66975         * string/Makefile (strop-tests): Add strchrnul.
66977         * po/it.po: Update from translation team.
66978         * po/es.po: Likewise.
66980 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
66982         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
66983         the three constants needed as parameters.  Drop the others.
66984         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
66985         __m128i_strloadu_tolower.
66986         Create and initialize variable zero and use it in all the places
66987         where _mm_setzero_si128 was used.
66989         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
66990         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
66991         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
66992         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
66993         anymore.
66994         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
66995         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
66996         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
66997         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
66998         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
66999         __mpranred, __mptan.
67000         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
67001         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
67002         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
67003         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
67004         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
67005         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
67006         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
67007         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
67008         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
67010 2011-10-28  Andreas Schwab  <schwab@redhat.com>
67012         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
67013         redefine if SHARED.
67014         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
67016         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
67017         wide char related routines to wcsmbs subdir.
67019 2011-10-27  Andreas Schwab  <schwab@redhat.com>
67021         [BZ #13344]
67022         * misc/sys/cdefs.h (__THROWNL): Define.
67023         * posix/unistd.h: Use __THREADNL instead of __THREAD
67024         for memory synchronization functions.
67026 2011-10-26  Roland McGrath  <roland@hack.frob.com>
67028         [BZ #13349]
67029         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
67030         doesn't exist.
67031         * manual/stdio.texi (Obstack Streams): Node removed.
67033 2011-10-26  Andreas Schwab  <schwab@redhat.com>
67035         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
67036         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67037         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67039         * math/math_private.h (math_force_eval): Allow non-addressable
67040         arguments.
67041         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
67043 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67045         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
67046         file is not needed.
67048         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
67049         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
67050         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67051         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67052         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67053         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67054         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67055         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
67056         Add AVX variants.
67057         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
67058         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
67059         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
67060         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
67061         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
67062         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
67063         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
67064         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
67065         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
67066         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
67067         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
67068         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
67069         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
67070         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
67071         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
67072         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
67073         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
67074         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
67075         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
67077         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
67078         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
67080         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
67081         place.  Use VEX encoding when compiling for AVX.
67083 2011-10-25  Andreas Schwab  <schwab@redhat.com>
67085         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
67086         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
67088         * string/test-strchr.c (do_test): Don't generate NUL bytes.
67090 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67092         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
67093         useless if() expression.
67094         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67095         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67096         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67097         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67098         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67099         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67100         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67101         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67102         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67103         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67104         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67105         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67106         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67107         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67108         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67109         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67110         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67111         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67112         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67114         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
67116 2011-10-25  Andreas Schwab  <schwab@redhat.com>
67118         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
67119         condition.
67120         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67122 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67124         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
67125         .text section.  Avoid duplicate constants.
67126         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67127         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67128         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67129         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67130         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67131         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67132         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67133         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67134         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
67135         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
67136         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
67137         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67138         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
67139         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
67140         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67141         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
67142         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67143         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
67144         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67145         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67146         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67147         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67148         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67149         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
67150         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
67151         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
67152         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
67153         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
67154         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
67155         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
67156         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
67157         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
67158         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67159         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
67160         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
67161         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
67162         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
67163         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
67164         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
67165         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
67166         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
67167         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
67168         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
67169         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
67170         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
67172 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
67174         * sysdeps/x86_64/dla.h: Move to ...
67175         * sysdeps/x86_64/fpu/dla.h: ...here.
67176         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
67177         situations.  Use __builtin_fma only for gcc 4.6 and up.
67179         * config.make.in: Add have-mfma4 entry.
67180         * configure.in: Substitute libc_cv_cc_fma4.
67181         * math/Makefile (dbl-only-routines): Add sincostab.
67182         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
67183         Use __sincostab not sincos.
67184         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
67185         name is a macro.
67186         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67187         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67188         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67189         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
67190         using __copysign.
67191         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
67192         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
67193         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
67194         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
67195         and __inv.
67196         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
67197         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
67198         __copysign.
67199         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
67200         define aliases when function name is a macro.
67201         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
67202         sysdeps/ieee754/dbl-64/sincos.tbl.
67203         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
67204         fma4-enabled routines.
67205         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
67206         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
67207         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
67208         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
67209         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
67210         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
67211         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
67212         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
67213         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
67214         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
67215         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
67216         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
67217         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
67218         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
67219         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
67220         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
67221         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
67222         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
67223         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
67224         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
67225         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
67226         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
67227         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
67228         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
67229         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
67230         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
67231         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
67232         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
67233         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
67234         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
67236         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
67237         rename.
67238         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67239         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67240         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67241         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67242         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67243         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67244         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67245         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67247 2011-10-24  Andreas Schwab  <schwab@redhat.com>
67249         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
67251 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67253         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
67255         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
67256         prediction.
67257         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
67259         * string/strnlen.c: Don't define STRNLEN, reverse logic.
67260         Remove unused variable magic_bits.
67261         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
67263         * string/strnlen.c: Define and use STRNLEN macro.
67264         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
67265         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
67266         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
67267         * wcsmbs/wcslen.c: Define and use WCSLEN.
67268         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
67269         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
67270         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
67271         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
67272         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
67273         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
67274         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67276 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67278         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67279         strnlen-sse2-no-bsf.
67280         Rename strlen-no-bsf to strlen-sse2-no-bsf.
67281         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
67282         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
67283         Add strnlen support.
67284         (USE_AS_STRNLEN): New macro.
67285         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
67286         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
67287         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
67288         * sysdeps/x86_64/wcslen.S: New file.
67290 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
67292         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67293         XMM-moves are used for copying on small sizes.
67295 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67297         * wcsmbs/Makefile (strop-tests): Add wcschr.
67298         * wcsmbs/test-wcschr.c: New file.
67299         * string/test-strchr.c: Update.
67300         Add wcschr support.
67301         (WIDE): New macro.
67303 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67305         * wcsmbs/Makefile (strop-tests): Add wcslen.
67306         * wcsmbs/test-wcslen.c: New file.
67307         * string/test-strlen.c: Update.
67308         Add wcslen support.
67309         (WIDE): New macro.
67311 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67313         * po/it.po: Update from translation team.
67315 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67317         * sysdeps/x86_64/wcscmp.S: Update.
67318         Fix wrong comparison semantics.
67319         wcscmp shall use signed comparison not unsigned.
67320         Don't use substraction to avoid overflow bug.
67321         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
67322         * wcsmbc/wcscmp.c: Likewise.
67323         * string/test-strcmp.c: Likewise.
67324         Add new tests to check cases with negative values.
67326 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67328         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
67329         * sysdeps/x86_64/dla.h: ...here.  New file.
67330         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
67331         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67332         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67333         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67334         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67335         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67336         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67337         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67338         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67340 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
67342         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
67343         __ynl_finite aliases.
67345 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67347         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67349         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
67350         define DLA_FMA.
67351         [DLA_FMA] (EMULV): Use DLA_FMA.
67352         [DLA_FMA] (MUL12): Use EMULV.
67353         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
67354         that are not needed.
67355         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67356         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67357         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67358         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67359         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67360         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67361         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67363 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
67365         * math/s_nan.c: Undef __nan.
67366         * math/s_nanf.c: Undef __nanf.
67367         * math/s_nanl.c: Undef __nanl.
67368         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
67369         "math_private.h".
67371 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67373         * math/s_catan.c: Add branch predictions.
67374         * math/s_catanf.c: Likewise.
67375         * math/s_catanh.c: Likewise.
67376         * math/s_catanhf.c: Likewise.
67377         * math/s_catanhl.c: Likewise.
67378         * math/s_catanl.c: Likewise.
67379         * math/s_cexp.c: Likewise.
67380         * math/s_cexpf.c: Likewise.
67381         * math/s_cexpl.c: Likewise.
67382         * math/s_clog.c: Likewise.
67383         * math/s_clog10.c: Likewise.
67384         * math/s_clog10f.c: Likewise.
67385         * math/s_clog10l.c: Likewise.
67386         * math/s_clogf.c: Likewise.
67387         * math/s_clogl.c: Likewise.
67388         * math/s_csqrt.c: Likewise.
67389         * math/s_csqrtf.c: Likewise.
67390         * math/s_csqrtl.c: Likewise.
67391         * math/s_ctanf.c: Likewise.
67392         * math/s_ctanh.c: Likewise.
67393         * math/s_ctanhf.c: Likewise.
67394         * math/s_ctanhl.c: Likewise.
67395         * math/s_ctanl.c: Likewise.
67397         * math/math_private.h: Define __nan, __nanf, __nanl.
67398         * math/s_cacosh.c: Include <math_private.h>.
67399         * math/s_cacoshl.c: Likewise.
67400         * math/s_casinh.c: Likewise.
67401         * math/s_casinhf.c: Likewise.
67402         * math/s_casinhl.c: Likewise.
67403         * math/s_ccos.c: Rely entire on ccosh.
67404         * math/s_ccosf.c: Rely entire on ccoshf.
67405         * math/s_ccosl.c: Rely entirely on ccoshl.
67406         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
67407         Remove tests for FE_INVALID.
67408         * math/s_ccoshf.c: Likewise.
67409         * math/s_ccoshl.c: Likewise.
67410         * math/s_csin.c: Likewise.
67411         * math/s_csinf.c: Likewise.
67412         * math/s_csinh.c Likewise.
67413         * math/s_csinhf.c: Likewise.
67414         * math/s_csinhl.c: Likewise.
67415         * math/s_csinl.c: Likewise.
67416         * math/s_ctan.c: Likewise.
67417         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
67418         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
67419         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
67421 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
67423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
67424         compilation problems.
67426         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
67427         __builtin_expect.
67429 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
67431         * sysdeps/i386/configure.in: Test for -mfma4 option.
67432         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
67433         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
67434         COMMON_CPUID_INDEX_80000001.
67435         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
67436         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
67437         use it if FMA3 is not supported.
67438         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
67440         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
67441         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
67443 2011-10-20  Andreas Schwab  <schwab@redhat.com>
67445         [BZ #12892]
67446         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
67447         it would create a cycle with a link time dependency.
67449 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
67451         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
67452         instruction.
67453         * string/Makefile (strop-tests): Add rawmemchr.
67454         * string/test-rawmemchr.c: New file.
67456         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
67457         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
67458         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
67459         when compiling str{,n}casecmp and when AVX is available.  Hook up
67460         new optimized code in initializers.
67462 2011-10-19  Andreas Schwab  <schwab@redhat.com>
67464         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
67465         __feraiseexcept instead of feraiseexcept.
67467 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
67469         * math/math_private.h: Define defaults for libc_fetestexcept and
67470         libc_feupdateenv.
67471         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
67472         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
67473         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67474         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67475         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67476         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67477         libc_fetestexcept and libc_feupdateenv.
67479         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
67480         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
67481         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
67482         * sysdeps/x86_64/fpu/math_private.h: Define special version of
67483         libc_feholdexcept_setround.
67485         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
67486         Add s_nearbyint-c and s_nearbyintf-c.
67487         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
67488         nearbyintf inlines.
67489         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
67490         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
67491         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
67492         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
67494         * math/math_private.h: Define defaults for libc_fegetround,
67495         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
67496         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
67497         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
67498         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
67499         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
67500         standard functions.
67501         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67502         Remove comments and hacks for old compiler versions.
67503         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67504         libc_fegetround, libc_fesetround, libc_feholdexcept, and
67505         libc_feholdexceptl.
67507 2011-10-18  Andreas Schwab  <schwab@redhat.com>
67509         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
67510         (__feraiseexcept_renamed): Add __NTH.
67511         (feraiseexcept): Add __NTH.  Rename local variables to fix
67512         namespace violations.
67514 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
67516         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
67518         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
67520         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
67521         recently added interfaces.
67522         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
67524         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
67525         about macro parameter expansion.
67527         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
67528         __NO_MATH_INLINES is defined.  Cleanups.
67530         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
67531         and __floorf is target has SSE4.1.
67532         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
67533         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
67534         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
67535         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
67537         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
67538         name.
67539         (floorf): Likewise.
67541         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
67543 2011-10-17  Andreas Schwab  <schwab@redhat.com>
67545         * misc/sys/cdefs.h: Fix last change.
67547         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
67548         database lookup.
67550 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
67552         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
67554         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
67555         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67556         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67557         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67558         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67559         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67560         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67561         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67562         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67563         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
67564         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
67565         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
67566         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
67567         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
67568         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
67569         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
67570         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
67571         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
67572         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
67573         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
67574         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
67575         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
67577         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
67578         ceil, ceilf, floor, floorf.
67580         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
67581         Perform IRELATIVE relocations last.
67583         * elf/do-rel.h: Add another parameter nrelative, replacing the
67584         local variable with the same name.  Change name of the function
67585         to end in Rel or Rela (uppercase).
67586         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
67587         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
67588         elf_dynamic_do_##reloc function.
67590 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
67592         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
67593         is sufficient, at least on modern CPUs.
67595         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
67597         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
67598         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
67600         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
67601         __expl_finite.
67602         * math/bits/math-finite.h: Add entries for exp.
67603         * math/e_expl.c: Add __*_finite alias.
67604         * sysdeps/i386/fpu/e_exp.S: Likewise.
67605         * sysdeps/i386/fpu/e_expf.S: Likewise.
67606         * sysdeps/i386/fpu/e_expl.c: Likewise.
67607         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67608         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67609         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
67610         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
67611         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
67612         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
67613         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
67615         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
67616         is sufficient, at least on modern CPUs.
67618         * ctype/ctype-info.c (__ctype_init): Define.
67619         * include/ctype.h (__ctype_init): Declare.
67620         (__ctype_b_loc): The variable is always initialized.
67621         (__ctype_toupper_loc): Likewise.
67622         (__ctype_tolower_loc): Likewise.
67623         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
67624         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
67626 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
67628         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
67630         * configure.in: Also look in $cxxmachine/include for C++ system
67631         headers.
67633 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67635         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
67636         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
67637         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
67638         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
67639         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
67640         (USE_AS_WMEMCMP): New macro.
67641         Fixing indents.
67642         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
67643         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
67644         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
67645         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
67646         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67647         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
67648         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
67649         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
67650         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
67651         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
67652         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
67653         (USE_AS_WMEMCMP): New macro.
67654         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
67655         * sysdeps/string/test-memcmp.c: Update.
67656         Fix simple_wmemcmp.
67657         Add new tests.
67658         * wcsmbs/wmemcmp.c: Update.
67659         (WMEMCMP): New macro.
67660         Fix overflow bug.
67662 2011-10-12  Andreas Jaeger  <aj@suse.de>
67664         [BZ #13268]
67665         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
67667 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
67669         * libio/iofwide.c (do_length): Avoid warning.
67671         * ctype/ctype.h (__isctype_f): Add missing __THROW.
67673 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
67675         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
67677         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
67678         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
67679         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
67680         * sysdeps/i386/i686/fpu/e_log.S: New file.
67681         * sysdeps/i386/i686/fpu/e_logf.S: New file.
67682         * sysdeps/i386/i686/fpu/e_logl.S: New file.
67684         * ctype/ctype.h: Add support for inlined isXXX functions when
67685         compiling C++ code.
67687 2011-10-14  Andreas Schwab  <schwab@redhat.com>
67689         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67691         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
67693 2011-10-13  Roland McGrath  <roland@hack.frob.com>
67695         [BZ #13291]
67696         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
67698 2011-10-13  Andreas Schwab  <schwab@redhat.com>
67700         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
67701         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
67702         feraiseexcept.
67704         * sysdeps/x86_64/memrchr.S: Check for zero size.
67706         * string/stratcliff.c: Add memrchr tests.
67708 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67710         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67711         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
67712         rawmemchr-sse2 rawmemchr-sse2-bsf.
67713         * sysdeps/i386/i686/multiarch/memchr.S: New file.
67714         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
67715         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
67716         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
67717         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
67718         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
67719         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
67720         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
67721         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
67722         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
67723         * string/memrchr.c (MEMRCHR): New macro.
67725 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
67727         Add integration with gcc's -ffinite-math-only and optimize wrapper
67728         functions in libm.
67729         * Versions.def: Define GLIBC_2.15 version for libm.
67730         * math/Makefile (headers): Add bits/math-finite.h.
67731         * math/bits/math-finite.h: New file.
67732         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
67733         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
67734         * math/e_acoshl.c: Add __*_finite alias.
67735         * math/e_acosl.c: Likewise.
67736         * math/e_asinl.c: Likewise.
67737         * math/e_atan2l.c: Likewise.
67738         * math/e_atanhl.c: Likewise.
67739         * math/e_coshl.c: Likewise.
67740         * math/e_exp10.c: Likewise.
67741         * math/e_exp10f.c: Likewise.
67742         * math/e_exp10l.c: Likewise.
67743         * math/e_exp2l.c: Likewise.
67744         * math/e_fmodl.c: Likewise.
67745         * math/e_gammal_r.c: Likewise.
67746         * math/e_hypotl.c: Likewise.
67747         * math/e_j0l.c: Likewise.
67748         * math/e_j1l.c: Likewise.
67749         * math/e_jnl.c: Likewise.
67750         * math/e_lgammal_r.c: Likewise.
67751         * math/e_log10l.c: Likewise.
67752         * math/e_log2l.c: Likewise.
67753         * math/e_logl.c: Likewise.
67754         * math/e_powl.c: Likewise.
67755         * math/e_sinhl.c: Likewise.
67756         * math/e_sqrtl.c: Likewise.
67757         * math/e_scalb.c: Completely rewritten and optimized.
67758         * math/e_scalbf.c: Likewise.
67759         * math/e_scalbl.c: Likewise.
67760         * math/w_acos.c: Likewise.
67761         * math/w_acosf.c: Likewise.
67762         * math/w_acosl.c: Likewise.
67763         * math/w_acosh.c: Likewise.
67764         * math/w_acoshf.c: Likewise.
67765         * math/w_acoshl.c: Likewise.
67766         * math/w_asin.c: Likewise.
67767         * math/w_asinf.c: Likewise.
67768         * math/w_asinl.c: Likewise.
67769         * math/w_atan2.c: Likewise.
67770         * math/w_atan2f.c: Likewise.
67771         * math/w_atan2l.c: Likewise.
67772         * math/w_atanh.c: Likewise.
67773         * math/w_atanhf.c: Likewise.
67774         * math/w_atanhl.c: Likewise.
67775         * math/w_exp10.c: Likewise.
67776         * math/w_exp10f.c: Likewise.
67777         * math/w_exp10l.c: Likewise.
67778         * math/w_fmod.c: Likewise.
67779         * math/w_fmodf.c: Likewise.
67780         * math/w_fmodl.c: Likewise.
67781         * math/w_j0.c: Likewise.
67782         * math/w_j0f.c: Likewise.
67783         * math/w_j0l.c: Likewise.
67784         * math/w_j1.c: Likewise.
67785         * math/w_j1f.c: Likewise.
67786         * math/w_j1l.c: Likewise.
67787         * math/w_jn.c: Likewise.
67788         * math/w_jnf.c: Likewise.
67789         * math/w_log.c: Likewise.
67790         * math/w_logf.c: Likewise.
67791         * math/w_logl.c: Likewise.
67792         * math/w_log10.c: Likewise.
67793         * math/w_log10f.c: Likewise.
67794         * math/w_log10l.c: Likewise.
67795         * math/w_log2.c: Likewise.
67796         * math/w_log2f.c: Likewise.
67797         * math/w_log2l.c: Likewise.
67798         * math/w_pow.c: Likewise.
67799         * math/w_powf.c: Likewise.
67800         * math/w_powl.c: Likewise.
67801         * math/w_remainder.c: Likewise.
67802         * math/w_remainderf.c: Likewise.
67803         * math/w_remainderl.c: Likewise.
67804         * math/w_scalb.c: Likewise.
67805         * math/w_scalbf.c: Likewise.
67806         * math/w_scalbl.c: Likewise.
67807         * math/w_sqrt.c: Likewise.
67808         * math/w_sqrtf.c: Likewise.
67809         * math/w_sqrtl.c: Likewise.
67810         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
67811         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
67812         used.
67813         * math/math_private.h: Declare __kernel_standard_f.
67814         * math/w_cosh.c: Remove cruft and optimize a bit.
67815         * math/w_coshf.c: Likewise.
67816         * math/w_coshl.c: Likewise.
67817         * math/w_exp2.c: Likewise.
67818         * math/w_exp2f.c: Likewise.
67819         * math/w_exp2l.c: Likewise.
67820         * math/w_hypot.c: Likewise.
67821         * math/w_hypotf.c: Likewise.
67822         * math/w_hypotl.c: Likewise.
67823         * math/w_lgamma.c: Likewise.
67824         * math/w_lgamma_r.c: Likewise.
67825         * math/w_lgammaf.c: Likewise.
67826         * math/w_lgammaf_r.c: Likewise.
67827         * math/w_lgammal.c: Likewise.
67828         * math/w_lgammal_r.c: Likewise.
67829         * math/w_sinh.c: Likewise.
67830         * math/w_sinhf.c: Likewise.
67831         * math/w_sinhl.c: Likewise.
67832         * math/w_tgamma.c: Likewise.
67833         * math/w_tgammaf.c: Likewise.
67834         * math/w_tgammal.c: Likewise.
67835         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67836         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67837         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
67838         Minor optimizations.  Pretty printing.  Remove cruft.
67839         * sysdeps/i386/fpu/e_acosf.S: Likewise.
67840         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67841         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67842         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67843         * sysdeps/i386/fpu/e_acosl.c: Likewise.
67844         * sysdeps/i386/fpu/e_asin.S: Likewise.
67845         * sysdeps/i386/fpu/e_asinf.S: Likewise.
67846         * sysdeps/i386/fpu/e_atan2.S: Likewise.
67847         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
67848         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
67849         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67850         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67851         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67852         * sysdeps/i386/fpu/e_exp10.S: Likewise.
67853         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
67854         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
67855         * sysdeps/i386/fpu/e_exp2.S: Likewise.
67856         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
67857         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
67858         * sysdeps/i386/fpu/e_fmod.S: Likewise.
67859         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
67860         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
67861         * sysdeps/i386/fpu/e_hypot.S: Likewise.
67862         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
67863         * sysdeps/i386/fpu/e_log.S: Likewise.
67864         * sysdeps/i386/fpu/e_log10.S: Likewise.
67865         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67866         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67867         * sysdeps/i386/fpu/e_log2.S: Likewise.
67868         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67869         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67870         * sysdeps/i386/fpu/e_logf.S: Likewise.
67871         * sysdeps/i386/fpu/e_logl.S: Likewise.
67872         * sysdeps/i386/fpu/e_pow.S: Likewise.
67873         * sysdeps/i386/fpu/e_powf.S: Likewise.
67874         * sysdeps/i386/fpu/e_powl.S: Likewise.
67875         * sysdeps/i386/fpu/e_remainder.S: Likewise.
67876         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
67877         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
67878         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67879         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67880         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67881         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
67882         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
67883         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
67884         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67885         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67886         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67887         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67888         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67889         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67890         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
67891         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67892         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67893         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67894         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67895         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67896         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67897         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67898         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67899         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67900         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67901         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67902         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67903         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67904         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67905         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67906         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67907         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67908         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67909         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67910         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67911         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67912         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
67913         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67914         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67915         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67916         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67917         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67918         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67919         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67920         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67921         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67922         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67923         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67924         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67925         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67926         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67927         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67928         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67929         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67930         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67931         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67932         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67933         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
67934         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67935         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67936         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67937         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67938         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67939         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67940         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67941         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67942         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67943         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67944         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67945         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67946         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67947         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67948         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67949         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67950         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67951         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67952         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
67953         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67954         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67955         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67956         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67957         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67958         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67959         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67960         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
67961         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67962         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67963         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67964         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67965         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67966         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
67967         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67968         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67969         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67970         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67971         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67972         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67973         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67974         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67975         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67976         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67977         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67978         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67979         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67980         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67981         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
67982         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
67983         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
67984         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
67985         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
67986         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
67987         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
67988         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67989         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67990         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67991         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67992         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
67993         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67994         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
67995         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
67996         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
67997         (__isnanf): Likewise.
67998         (__isinf_ns): Likewise.
67999         (__isinf_nsf): Likewise.
68000         (__finite): Likewise.
68001         (__finitef): Likewise.
68002         (__ieee754_sqrt): Define as macro.
68003         (__ieee754_sqrtf): Define as macro.
68004         (__ieee754_sqrtl): Define as macro.
68005         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
68006         inlined copy.
68007         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
68008         __FINITE_MATH_ONLY__ consistent.
68009         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
68011 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
68013         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
68014         of rawmemchr.
68016         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
68018 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
68020         * po/ja.po: Update from translation team.
68022 2011-10-08  Roland McGrath  <roland@hack.frob.com>
68024         * locale/programs/locarchive.c (prepare_address_space): New function.
68025         (create_archive, enlarge_archive, open_archive): Use it.
68027         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
68028         inside [SHARED], where it is used.
68030         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
68032         * nss/getent.c (netgroup_keys): Remove unused variable.
68033         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68035 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
68037         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
68038         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
68039         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
68040         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
68041         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
68042         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
68043         * math/Makefile (libm-calls): Add s_isinf_ns.
68044         * math/divtc3.c: Use __isinf_nsl instead of isinf.
68045         * math/multc3.c: Likewise.
68046         * math/s_casin.c: Likewise.
68047         * math/s_casinf.c: Likewise.
68048         * math/s_casinl.c: Likewise.
68049         * math/s_ccos.c: Likewise.
68050         * math/s_ccosf.c: Likewise.
68051         * math/s_ccosl.c: Likewise.
68052         * math/s_ctan.c: Likewise.
68053         * math/s_ctanf.c: Likewise.
68054         * math/s_ctanh.c: Likewise.
68055         * math/s_ctanhf.c: Likewise.
68056         * math/s_ctanhl.c: Likewise.
68057         * math/s_ctanl.c: Likewise.
68058         * math/w_fmod.c: Likewise.
68059         * math/w_fmodf.c: Likewise.
68060         * math/w_fmodl.c: Likewise.
68061         * math/w_remainder.c: Likewise.
68062         * math/w_remainderf.c: Likewise.
68063         * math/w_remainderl.c: Likewise.
68064         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
68065         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
68066         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
68067         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
68068         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
68069         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
68070         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
68071         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
68073         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
68074         of the number.
68075         * stdio-common/printf_fphex.c: Likewise.
68076         * stdio-common/printf_size.c: Likewise.
68078         * math/e_exp10.c: Include math_private.h using <...> not "...".
68079         * math/e_exp10f.c: Likewise.
68080         * math/e_exp10l.c: Likewise.
68081         * math/e_exp2l.c: Likewise.
68082         * math/e_j0l.c: Likewise.
68083         * math/e_j1l.c: Likewise.
68084         * math/e_jnl.c: Likewise.
68085         * math/e_lgammal_r.c: Likewise.
68086         * math/e_rem_pio2l.c: Likewise.
68087         * math/e_scalb.c: Likewise.
68088         * math/e_scalbf.c: Likewise.
68089         * math/e_scalbl.c: Likewise.
68090         * math/k_cosl.c: Likewise.
68091         * math/k_sinl.c: Likewise.
68092         * math/k_tanl.c: Likewise.
68093         * math/s_cacoshf.c: Likewise.
68094         * math/s_catan.c: Likewise.
68095         * math/s_catanf.c: Likewise.
68096         * math/s_catanh.c: Likewise.
68097         * math/s_catanhf.c: Likewise.
68098         * math/s_catanhl.c: Likewise.
68099         * math/s_catanl.c: Likewise.
68100         * math/s_ccosh.c: Likewise.
68101         * math/s_ccoshf.c: Likewise.
68102         * math/s_ccoshl.c: Likewise.
68103         * math/s_cexp.c: Likewise.
68104         * math/s_cexpf.c: Likewise.
68105         * math/s_cexpl.c: Likewise.
68106         * math/s_clog.c: Likewise.
68107         * math/s_clog10.c: Likewise.
68108         * math/s_clog10f.c: Likewise.
68109         * math/s_clog10l.c: Likewise.
68110         * math/s_clogf.c: Likewise.
68111         * math/s_clogl.c: Likewise.
68112         * math/s_csin.c: Likewise.
68113         * math/s_csinf.c: Likewise.
68114         * math/s_csinh.c: Likewise.
68115         * math/s_csinhf.c: Likewise.
68116         * math/s_csinhl.c: Likewise.
68117         * math/s_csinl.c: Likewise.
68118         * math/s_csqrt.c: Likewise.
68119         * math/s_csqrtf.c: Likewise.
68120         * math/s_csqrtl.c: Likewise.
68121         * math/s_ctan.c: Likewise.
68122         * math/s_ctanf.c: Likewise.
68123         * math/s_ctanh.c: Likewise.
68124         * math/s_ctanhf.c: Likewise.
68125         * math/s_ctanhl.c: Likewise.
68126         * math/s_ctanl.c: Likewise.
68127         * math/s_ldexp.c: Likewise.
68128         * math/s_ldexpf.c: Likewise.
68129         * math/s_ldexpl.c: Likewise.
68130         * math/s_significand.c: Likewise.
68131         * math/s_significandf.c: Likewise.
68132         * math/s_significandl.c: Likewise.
68133         * math/w_acos.c: Likewise.
68134         * math/w_acosf.c: Likewise.
68135         * math/w_acosh.c: Likewise.
68136         * math/w_acoshf.c: Likewise.
68137         * math/w_acoshl.c: Likewise.
68138         * math/w_acosl.c: Likewise.
68139         * math/w_asin.c: Likewise.
68140         * math/w_asinf.c: Likewise.
68141         * math/w_asinl.c: Likewise.
68142         * math/w_atan2.c: Likewise.
68143         * math/w_atan2f.c: Likewise.
68144         * math/w_atan2l.c: Likewise.
68145         * math/w_atanh.c: Likewise.
68146         * math/w_atanhf.c: Likewise.
68147         * math/w_atanhl.c: Likewise.
68148         * math/w_cosh.c: Likewise.
68149         * math/w_coshf.c: Likewise.
68150         * math/w_coshl.c: Likewise.
68151         * math/w_dremf.c: Likewise.
68152         * math/w_exp10.c: Likewise.
68153         * math/w_exp10f.c: Likewise.
68154         * math/w_exp10l.c: Likewise.
68155         * math/w_exp2.c: Likewise.
68156         * math/w_exp2f.c: Likewise.
68157         * math/w_fmod.c: Likewise.
68158         * math/w_fmodf.c: Likewise.
68159         * math/w_fmodl.c: Likewise.
68160         * math/w_hypot.c: Likewise.
68161         * math/w_hypotf.c: Likewise.
68162         * math/w_hypotl.c: Likewise.
68163         * math/w_j0.c: Likewise.
68164         * math/w_j0f.c: Likewise.
68165         * math/w_j0l.c: Likewise.
68166         * math/w_j1.c: Likewise.
68167         * math/w_j1f.c: Likewise.
68168         * math/w_j1l.c: Likewise.
68169         * math/w_jn.c: Likewise.
68170         * math/w_jnf.c: Likewise.
68171         * math/w_jnl.c: Likewise.
68172         * math/w_lgamma.c: Likewise.
68173         * math/w_lgamma_r.c: Likewise.
68174         * math/w_lgammaf.c: Likewise.
68175         * math/w_lgammaf_r.c: Likewise.
68176         * math/w_lgammal.c: Likewise.
68177         * math/w_lgammal_r.c: Likewise.
68178         * math/w_log.c: Likewise.
68179         * math/w_log10.c: Likewise.
68180         * math/w_log10f.c: Likewise.
68181         * math/w_log10l.c: Likewise.
68182         * math/w_log2.c: Likewise.
68183         * math/w_log2f.c: Likewise.
68184         * math/w_log2l.c: Likewise.
68185         * math/w_logf.c: Likewise.
68186         * math/w_logl.c: Likewise.
68187         * math/w_pow.c: Likewise.
68188         * math/w_powf.c: Likewise.
68189         * math/w_powl.c: Likewise.
68190         * math/w_remainder.c: Likewise.
68191         * math/w_remainderf.c: Likewise.
68192         * math/w_remainderl.c: Likewise.
68193         * math/w_scalb.c: Likewise.
68194         * math/w_scalbf.c: Likewise.
68195         * math/w_scalbl.c: Likewise.
68196         * math/w_sinh.c: Likewise.
68197         * math/w_sinhf.c: Likewise.
68198         * math/w_sinhl.c: Likewise.
68199         * math/w_sqrt.c: Likewise.
68200         * math/w_sqrtf.c: Likewise.
68201         * math/w_sqrtl.c: Likewise.
68202         * math/w_tgamma.c: Likewise.
68203         * math/w_tgammaf.c: Likewise.
68204         * math/w_tgammal.c: Likewise.
68206         * po/ja.po: Update from translation team.
68208 2011-09-29  Andreas Jaeger  <aj@suse.de>
68210         [BZ #13179]
68211         * sunrpc/netname.c (netname2host): Fix logic.
68213         [BZ #6779]
68214         [BZ #6783]
68215         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
68216         correctly.
68217         * math/w_remainder.c (__remainder): Likewise.
68218         * math/w_remainderf.c (__remainderf): Likewise.
68219         * math/libm-test.inc (remainder_test): Add test cases.
68221 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68223         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
68224         sdiv_qrnnd.
68226 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
68228         * string/test-memcmp.c: Avoid unncessary #defines.
68229         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
68231 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68233         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
68234         Use new sse2 version for core i3 - i7 as it's faster
68235         than sse42 version.
68236         (bit_Prefer_PMINUB_for_stringop): New.
68237         * sysdeps/x86_64/rawmemchr.S: Update.
68238         Replace with faster SSE2 version.
68239         * sysdeps/x86_64/memrchr.S: New file.
68240         * sysdeps/x86_64/memchr.S: Update.
68241         Replace with faster SSE2 version.
68243 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
68245         * elf/dl-load.c (lose): Add cast to avoid warning.
68247 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
68249         * po/ca.po: Update from translation team.
68251         * inet/getnetgrent_r.c: Hook up nscd.
68252         * nscd/Makefile (routines): Add nscd_netgroup.
68253         (nscd-modules): Add netgroupcache.
68254         (CFLAGS-netgroupcache.c): Define.
68255         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
68256         (cache_search): Add const to second parameter.
68257         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
68258         INNETGR.
68259         (dbs): Add netgrdb entry.
68260         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
68261         (verify_persistent_db): Handle netgrdb.
68262         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
68263         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
68264         GETFDNETGR.
68265         (netgroup_response_header): Define.
68266         (innetgroup_response_header): Define.
68267         (datahead): Add netgroup_response_header and innetgroup_response_header
68268         elements.
68269         * nscd/nscd.conf: Add entries for netgroup cache.
68270         * nscd/nscd.h (dbtype): Add netgrdb.
68271         (_PATH_NSCD_NETGROUP_DB): Define.
68272         (netgroup_iov_disabled): Declare.
68273         (xmalloc, xcalloc, xrealloc): Move declarations here.
68274         (cache_search): Adjust prototype.
68275         Add netgroup-related prototypes.
68276         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
68277         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
68278         (__nscd_innetgr): Declare.
68279         * nscd/selinux.c (perms): Use access_vector_t as element type and
68280         add netgroup-related initializers.
68281         * nscd/netgroupcache.c: New file.
68282         * nscd/nscd_netgroup.c: New file.
68283         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
68284         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
68285         For four parameters use innetgr.
68286         * nss/nss_files/files-init.c: Add definition and callback for netgr.
68287         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
68288         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
68289         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
68291         * nscd/connections.c (register_traced_file): Don't register file
68292         for disabled databases.
68294 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
68296         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
68298         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
68299         from tree and freeing node.
68301 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
68303         * nss/nsswitch.c (__nss_database_lookup): Handle
68304         nss_parse_service_list out of memory case.
68306 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
68308         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
68309         out of memory case.
68311 2011-10-04  Andreas Schwab  <schwab@redhat.com>
68313         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
68314         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
68315         pass it down.
68316         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
68317         elf_machine_rela, elf_machine_lazy_rel.
68318         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
68319         (ELF_DYNAMIC_DO_REL): Likewise.
68320         (ELF_DYNAMIC_DO_RELA): Likewise.
68321         (ELF_DYNAMIC_RELOCATE): Likewise.
68322         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
68323         to ELF_DYNAMIC_DO_REL.
68324         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
68325         (dl_main): In trace mode always set __RTLD_NOIFUNC.
68326         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
68327         elf_machine_rela.
68328         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
68329         skip_ifunc, don't call ifunc function if non-zero.
68330         (elf_machine_rela): Likewise.
68331         (elf_machine_lazy_rel): Likewise.
68332         (elf_machine_lazy_rela): Likewise.
68333         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
68334         (elf_machine_lazy_rel): Likewise.
68335         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
68336         Likewise.
68337         (elf_machine_lazy_rel): Likewise.
68338         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68339         Likewise.
68340         (elf_machine_lazy_rel): Likewise.
68341         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
68342         (elf_machine_lazy_rel): Likewise.
68343         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
68344         (elf_machine_lazy_rel): Likewise.
68345         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
68346         (elf_machine_lazy_rel): Likewise.
68347         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
68348         (elf_machine_lazy_rel): Likewise.
68349         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
68350         (elf_machine_lazy_rel): Likewise.
68351         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
68352         (elf_machine_lazy_rel): Likewise.
68354 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
68356         * nss/nss_files/files-init.c (_nss_files_init): Use static
68357         initialization for all the *_traced_file variables.
68359 2011-09-28  Andreas Schwab  <schwab@redhat.com>
68361         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68363 2011-09-27  Roland McGrath  <roland@hack.frob.com>
68365         [BZ #13226]
68366         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
68368 2011-09-27  Andreas Schwab  <schwab@redhat.com>
68370         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68371         Reread the line before reparsing it.
68373 2011-09-26  Andreas Schwab  <schwab@redhat.com>
68375         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
68377 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
68378             Maxim Kuvyrkov  <maxim@codesourcery.com>
68379             Joseph Myers  <joseph@codesourcery.com>
68381         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
68382         if needed for __stack_chk_guard.
68384 2011-09-19  Roland McGrath  <roland@hack.frob.com>
68386         * sysdeps/posix/spawni.c (script_execute): Always define it.
68387         It will be optimized away if unused.
68388         (maybe_script_execute): New function.
68389         (__spawni): Call it.
68391         * Makerules: Don't include tls.make.
68392         (config-tls): Always set to thread.
68393         * tls.make.c: File removed.
68395 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
68397         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
68398         * config.make.in (CPPFLAGS-config): New substituted variable.
68400 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
68402         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
68404         [BZ #13192]
68405         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
68406         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
68408 2011-09-15  Roland McGrath  <roland@hack.frob.com>
68410         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
68411         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
68412         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68413         (CALL_FAIL): Likewise.
68414         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
68415         (CALL_FAIL): Macro removed.
68416         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
68418 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
68420         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
68421         for __FINITE_MATH_ONLY__ == 1.
68423 2011-09-15  Andreas Schwab  <schwab@redhat.com>
68425         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
68426         __ieee754_sqrt instead of sqrt.
68427         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
68428         __ieee754_sqrtf instead of sqrtf.
68429         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
68430         __floorf instead of floorf.
68431         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
68432         __floorf, __truncf instead of floorf, truncf.
68434 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
68436         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
68438         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
68439         __extern_always_inline.
68440         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
68441         32-bit.
68443 2011-09-14  Andreas Schwab  <schwab@redhat.com>
68445         * elf/rtld.c (dl_main): Also relocate in dependency order when
68446         doing symbol dependency testing.
68448 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
68450         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68451         Always define `refsym'.
68453 2011-09-13  Andreas Schwab  <schwab@redhat.com>
68455         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
68456         (__FD_ELT): Renamed from __FDELT.
68457         * misc/bits/select2.h (__FD_ELT): Likewise.
68458         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
68459         __FD_MASK instead of __FDELT, __FDMASK.
68460         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68461         Likewise.
68462         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68463         Likewise.
68465         * elf/Makefile (gen-ldd): Fix pattern.
68467         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
68468         (init_tls): Likewise.
68470 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
68472         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
68474 2011-09-12  Andreas Schwab  <schwab@redhat.com>
68476         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
68477         `struct cmsghdr *' instead of `void *'.
68478         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
68479         Likewise.
68481 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
68483         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
68484         if non-absolute.
68485         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
68486         ldd_rewrite_script.
68488 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
68490         * configure.in: Remove --with-tls option.
68491         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
68492         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
68493         out in case it is missing.
68494         * sysdeps/ia64/elf/configure.in: Likewise.
68495         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
68496         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
68497         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
68498         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
68499         * sysdeps/sh/elf/configure.in: Likewise.
68500         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
68501         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68502         * sysdeps/x86_64/elf/configure.in: Likewise.
68503         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
68504         * sysdeps/mach/hurd/tls.h: Likewise.
68506         [BZ #13067]
68507         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
68509         [BZ #13090]
68510         * configure.in: Fix use of AC_INIT.
68512         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
68514 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
68516         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
68517         __set_errno.
68518         * malloc/hooks.c: Likewise.
68520         [BZ #11929]
68521         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
68522         variables statically.
68523         (narenas): Initialize.
68524         (list_lock): Initialize.
68525         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
68526         initializtion of main_arena and list_lock.  Small cleanups.
68527         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
68528         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
68529         Add initializers to main_arena and mp_.
68530         (malloc_state): Remove pagesize member.  Change all users to use
68531         GLRO(dl_pagesize).
68533         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
68534         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
68535         is always initialized.
68537         * malloc/malloc.c: Removed unused configurations and dead code.
68538         * malloc/arena.c: Likewise.
68539         * malloc/hooks.c: Likewise.
68540         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
68542         * include/tls.h: Removed.  USE___THREAD must always be defined.
68543         * bits/libc-tsd.h: Don't handle !USE___THREAD.
68544         * elf/dl-libc.c: Likewise.
68545         * elf/dl-tsd.c: Likewise.
68546         * include/errno.h: Likewise.
68547         * include/netdb.h: Likewise.
68548         * include/resolv.h: Likewise.
68549         * inet/herrno-loc.c: Likewise.
68550         * inet/herrno.c: Likewise.
68551         * malloc/arena.c: Likewise.
68552         * malloc/hooks.c: Likewise.
68553         * malloc/malloc.c: Likewise.
68554         * resolv/res-state.c: Likewise.
68555         * resolv/res_libc.c: Likewise.
68556         * sysdeps/i386/dl-machine.h: Likewise.
68557         * sysdeps/ia64/dl-machine.h: Likewise.
68558         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
68559         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
68560         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
68561         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
68562         * sysdeps/sh/dl-machine.h: Likewise.
68563         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68564         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68565         * sysdeps/unix/i386/sysdep.S: Likewise.
68566         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
68567         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
68568         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
68569         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
68570         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
68571         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
68572         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
68573         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68574         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68575         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
68576         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68577         * sysdeps/x86_64/dl-machine.h: Likewise.
68578         * tls.make.c: Likewise.
68580         * configure.in: Remove --with-__thread option.  Make tests for
68581         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
68582         tls_model attribute fail if no support is available.  Remove
68583         USE_IN_LIBIO.
68584         * Makeconfig: Adjust for dropped configure option.  All features are
68585         now mandatory.
68586         * Makerules: Likewise.
68587         * Versions.def: Likewise.
68588         * argp/argp-fmtstream.c: Likewise.
68589         * argp/argp-fmtstream.h: Likewise.
68590         * argp/argp-help.c: Likewise.
68591         * assert/assert.c: Likewise.
68592         * config.h.in: Likewise.
68593         * config.make.in: Likewise.
68594         * configure: Likewise.
68595         * configure.in: Likewise.
68596         * csu/Versions: Likewise.
68597         * csu/init.c: Likewise.
68598         * elf/tst-audit2.c: Likewise.
68599         * elf/tst-tls10.c: Likewise.
68600         * elf/tst-tls10.h: Likewise.
68601         * elf/tst-tls11.c: Likewise.
68602         * elf/tst-tls12.c: Likewise.
68603         * elf/tst-tls14.c: Likewise.
68604         * elf/tst-tlsmod11.c: Likewise.
68605         * elf/tst-tlsmod12.c: Likewise.
68606         * elf/tst-tlsmod13.c: Likewise.
68607         * elf/tst-tlsmod13a.c: Likewise.
68608         * elf/tst-tlsmod14a.c: Likewise.
68609         * elf/tst-tlsmod15b.c: Likewise.
68610         * elf/tst-tlsmod16a.c: Likewise.
68611         * elf/tst-tlsmod16b.c: Likewise.
68612         * elf/tst-tlsmod7.c: Likewise.
68613         * elf/tst-tlsmod8.c: Likewise.
68614         * elf/tst-tlsmod9.c: Likewise.
68615         * gmon/gmon.c: Likewise.
68616         * grp/fgetgrent_r.c: Likewise.
68617         * grp/putgrent.c: Likewise.
68618         * hurd/fopenport.c: Likewise.
68619         * include/libc-symbols.h: Likewise.
68620         * include/tls.h: Likewise.
68621         * intl/gettextP.h: Likewise.
68622         * intl/loadinfo.h: Likewise.
68623         * locale/global-locale.c: Likewise.
68624         * locale/localeinfo.h: Likewise.
68625         * mach/devstream.c: Likewise.
68626         * malloc/arena.c: Likewise.
68627         * malloc/set-freeres.c: Likewise.
68628         * misc/err.c: Likewise.
68629         * misc/getttyent.c: Likewise.
68630         * misc/mntent_r.c: Likewise.
68631         * posix/getopt.c: Likewise.
68632         * posix/wordexp.c: Likewise.
68633         * pwd/fgetpwent_r.c: Likewise.
68634         * resolv/Versions: Likewise.
68635         * resolv/res_hconf.c: Likewise.
68636         * shadow/fgetspent_r.c: Likewise.
68637         * shadow/putspent.c: Likewise.
68638         * stdio-common/printf_fphex.c: Likewise.
68639         * stdio-common/tmpfile.c: Likewise.
68640         * stdlib/abort.c: Likewise.
68641         * stdlib/fmtmsg.c: Likewise.
68642         * sunrpc/auth_unix.c: Likewise.
68643         * sunrpc/clnt_perr.c: Likewise.
68644         * sunrpc/clnt_tcp.c: Likewise.
68645         * sunrpc/clnt_udp.c: Likewise.
68646         * sunrpc/clnt_unix.c: Likewise.
68647         * sunrpc/openchild.c: Likewise.
68648         * sunrpc/svc_simple.c: Likewise.
68649         * sunrpc/svc_tcp.c: Likewise.
68650         * sunrpc/svc_udp.c: Likewise.
68651         * sunrpc/svc_unix.c: Likewise.
68652         * sunrpc/xdr.c: Likewise.
68653         * sunrpc/xdr_array.c: Likewise.
68654         * sunrpc/xdr_rec.c: Likewise.
68655         * sunrpc/xdr_ref.c: Likewise.
68656         * sunrpc/xdr_stdio.c: Likewise.
68658 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68660         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68662 2011-07-03  Andreas Jaeger  <aj@suse.de>
68664         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
68665         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
68666         regenerate with gen-libm-tests.pl.
68668 2010-05-12  Petr Baudis  <pasky@suse.cz>
68670         [BZ #11589]
68671         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
68672         around j0() zero points by switching to j1().
68673         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68674         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68675         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68676         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68678 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68680         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
68681         instead of 0.
68682         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
68683         instead of 0.
68684         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68685         Patch in part by Pavel Roskin <proski@gnu.org>.
68687         [BZ #13138]
68688         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
68689         realloc.
68690         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
68691         Free memory block if necessary.
68693         [BZ #12847]
68694         * libio/genops.c (INTDEF): For string streams the _lock pointer can
68695         be NULL.  Don't lock in this case.
68697 2011-09-09  Roland McGrath  <roland@hack.frob.com>
68699         * elf/elf.h (ELFOSABI_GNU): New macro.
68700         (ELFOSABI_LINUX): Define to that.
68702 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
68704         * string/strncat.c (strncat): Undef the symbol in case it has been
68705         defined in bits/string.h.
68707 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68709         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
68711         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
68712         link map.
68714 2011-08-17  Andreas Jaeger  <aj@suse.de>
68716         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
68718 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
68719             Ian Lance Taylor  <iant@google.com>
68721         * math/libm-test.inc (lround_test): New testcase.
68722         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
68724 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
68726         * Makefile: Remove support for automatic cvs check-ins.
68727         * Makerules: Likewise.
68728         * config.make.in: Likewise.
68729         * configure.in: Likewise.
68730         * intl/Makefile: Likewise.
68731         * locale/Makefile: Likewise.
68732         * po/Makefile: Likewise.
68733         * posix/Makefile: Likewise.
68734         * sysdeps/gnu/Makefile: Likewise.
68735         * sysdeps/mach/hurd/Makefile: Likewise.
68736         * sysdeps/sparc/sparc32/Makefile: Likewise.
68738         [BZ #13118]
68739         * posix/Makefile (bug-regex32-ENV): Define.
68740         Patch by John Stanley <jpsinthemix@verizon.net>.
68742         * misc/Makefile (headers): Add bits/select2.h.
68743         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
68744         * misc/bits/select2.h: New file.
68745         * include/bits/select2.h: New file.
68746         * debug/Makefile (routines): Add fdelt_chk.
68747         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
68748         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
68749         FD_ISSET.
68750         * debug/fdelt_chk.c: New file.
68752         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
68753         * wcsmbs/test-wmemcmp.c: Likewise.
68754         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
68755         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
68757 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68759         * string/Makefile (strop-tests): Add memcmp.
68760         * string/test-wmemcmp.c: New file.
68761         * string/test-memcmp.c: Add wmemcmp support.
68763 2011-09-08  Roland McGrath  <roland@hack.frob.com>
68765         [BZ #13153]
68766         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
68767         2011-07-19 change.
68769         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
68770         garbage value in a __mach_port_mod_refs call in the cases of the
68771         task-self and thread-self ports.
68773 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68775         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
68777 2011-09-08  Andreas Schwab  <schwab@redhat.com>
68779         * elf/dl-load.c (lose): Check for non-null L.
68781 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
68783         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
68785         * elf/dl-libc.c (dlerror_run): Pass back error code from
68786         dl_catch_error.
68788         [BZ #13123]
68789         * elf/dl-load.c (lose): Free l_origin if it is valid.
68791         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
68792         names.
68793         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
68794         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
68795         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
68796         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
68797         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
68798         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
68800 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68802         * sysdeps/powerpc/fpu/e_hypot.c: New file.
68803         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
68804         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
68805         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
68806         * sysdeps/powerpc/fpu/k_cosf.c: New file.
68807         * sysdeps/powerpc/fpu/k_sinf.c: New file.
68808         * sysdeps/powerpc/fpu/s_cosf.c: New file.
68809         * sysdeps/powerpc/fpu/s_sinf.c: New file.
68810         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
68811         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
68813 2011-08-15  Alan Modra  <amodra@gmail.com>
68815         [BZ #13092]
68816         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
68817         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
68818         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
68819         ppc_mcount to static-only-routines.
68820         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
68821         __mcount_internal.
68822         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
68823         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
68825 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
68827         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
68828         for finite and infinity parameters.
68830 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
68832         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
68833         and add nop instructions for throughput optimization.
68834         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68836 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
68838         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
68839         aligned copy for power7 with vector-scalar instructions.
68840         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
68842 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
68844         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
68845         AVX check.
68847 2011-09-07  Andreas Schwab  <schwab@redhat.com>
68849         [BZ #13144]
68850         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
68851         last change.
68853 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
68855         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68856         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
68857         syscall wrapper around clock_gettime in __vdso_clock_gettime.
68858         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
68859         clock_gettime.
68861 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
68863         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
68864         Forgot to demangle the pointer.
68866         * sysdeps/i386/sysdep.h: Define atom_text_section.
68867         * sysdeps/x86_64/sysdep.h: Likewise.
68868         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
68869         section with atom_text_section.
68870         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
68871         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
68872         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
68873         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68874         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
68876         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
68877         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
68878         already be defined.  Change to take two parameters and don't assign
68879         result to variable.  Adjust all users.
68880         Define INTERNAL_GETTIME if not already defined.
68881         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
68882         call.
68883         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
68884         HAVE_CLOCK_GETTIME_VSYSCALL.
68885         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
68887         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
68888         gettimeofday vsyscall, just use time.
68890 2011-09-06  Andreas Schwab  <schwab@redhat.com>
68892         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
68893         <errno.h>.
68895 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
68897         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
68898         syscall on x86-64.
68899         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
68900         syscall.
68901         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
68902         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
68903         syscall if possible.
68905 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68907         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
68908         e_ident.  Don't pass to find_mapsXX.
68909         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
68911 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68913         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68914         strchr-sse2-no-bsf strrchr-sse2-no-bsf
68915         * sysdeps/x86_64/multiarch/strchr.S: Update.
68916         Check bit_slow_BSF bit.
68917         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
68918         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
68919         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
68921 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68923         [BZ #13134]
68924         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
68925         before glibc 2.15.
68926         (tryshell): Define.
68927         (__spawni): Change last parameter to be flag.  Test
68928         SPAWN_XFLAGS_USE_PATH flag to use path or not.
68929         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
68930         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
68931         * posix/spawni.c: Likewise.
68932         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
68933         * posix/spawnp.c: Likewise.  Change normal version to use
68934         SPAWN_XFLAGS_USE_PATH.
68935         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
68936         SPAWN_XFLAGS_TRY_SHELL.
68938         [BZ #13150]
68939         * posix/glob.h: Remove gcc 1.x support.
68941         [BZ #13068]
68942         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
68944 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68946         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68947         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
68948         strrchr-sse2-bsf
68949         * sysdeps/i386/i686/multiarch/strchr.S: New file.
68950         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
68951         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
68952         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
68953         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
68954         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
68956 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68958         * sysdeps/x86_64/wcscmp.S: New file.
68960         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
68961         wcscmp-c wcscmp-sse2
68962         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
68963         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
68964         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
68965         * wcsmbs/wcscmp.c: Allow renaming.
68967 2011-09-05  David S. Miller  <davem@davemloft.net>
68969         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
68970         stack slot, rather than the struct return pointer slot.
68971         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
68972         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
68973         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
68974         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
68976 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68978         * po/ja.po: Update from translation team.
68980         [BZ #13144]
68981         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
68982         kernel in 64-bit binaries.
68984 2011-09-01  David S. Miller  <davem@davemloft.net>
68986         * elf/elf.h (HWCAP_SPARC_*): Move to..
68987         * sysdeps/sparc/sysdep.h: this new file and add new values.
68988         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
68989         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
68990         _DL_HWCAP_COUNT to 24.
68991         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68992         entries.
68993         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
68994         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
68995         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
68996         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
68997         instead of magic constants.
68998         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69000 2011-08-31  David S. Miller  <davem@davemloft.net>
69002         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
69003         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
69004         Reimplement to do errno handling inline.
69005         (SYSCALL_ERROR_HANDLER): New macro.
69006         (__SYSCALL_STRING): Do not do errno handling in asm.
69007         (__CLONE_SYSCALL_STRING): Delete.
69008         (__INTERNAL_SYSCALL_STRING): Delete.
69009         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
69010         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
69011         (PSEUDO): Reimplement to do errno handling inline.
69012         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
69013         (SYSCALL_ERROR_HANDLER): New macro.
69014         (__SYSCALL_STRING): Do not do errno handling in asm.
69015         (__CLONE_SYSCALL_STRING): Delete.
69016         (__INTERNAL_SYSCALL_STRING): Delete.
69017         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
69018         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
69019         i386.
69020         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
69021         (inline_syscall*): Add 'err' argument.
69022         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
69023         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
69024         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
69025         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
69027         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
69028         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
69030 2011-08-30  Andreas Schwab  <schwab@redhat.com>
69032         * elf/rtld.c (dl_main): Relocate objects in dependency order.
69034 2011-08-29  Jiri Olsa <jolsa@redhat.com>
69036         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
69037         directive.
69039 2011-08-24  David S. Miller  <davem@davemloft.net>
69041         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
69043 2011-08-24  Andreas Schwab  <schwab@redhat.com>
69045         * elf/Makefile: Add rules to build and run unload8 test.
69046         * elf/unload8.c: New file.
69047         * elf/unload8mod1.c: New file.
69048         * elf/unload8mod1x.c: New file.
69049         * elf/unload8mod2.c: New file.
69050         * elf/unload8mod3.c: New file.
69052         * elf/dl-close.c (_dl_close_worker): Reset private search list if
69053         it wasn't used.
69055 2011-08-23  David S. Miller  <davem@davemloft.net>
69057         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
69058         subtract stack bias.
69059         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
69060         %sp not %fp in calculations.
69061         (_JMPBUF_UNWINDS_ADJ): Likewise.
69063         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
69064         (aio_suspend): Call it to force an exception region around the
69065         AIO_MISC_WAIT() invocation.
69067 2011-08-23  Andreas Schwab  <schwab@redhat.com>
69069         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
69070         backslash.
69072 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
69074         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
69075         protection macro.
69076         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
69077         and <dl-machine.h>.
69078         (Elf64_FuncDesc): Remove.
69080 2011-08-22  David S. Miller  <davem@davemloft.net>
69082         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
69083         sigaltstack check, add missing cfi directives.
69084         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
69085         missing cfi directives, and sigaltstack handling.
69087 2011-08-16  Andreas Schwab  <schwab@redhat.com>
69089         [BZ #11724]
69090         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
69091         object is seen twice.
69092         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69094         * elf/Makefile (distribute): Add tst-initorder2.c.
69095         (tests): Add tst-initorder2.
69096         (modules-names): Add tst-initorder2a tst-initorder2b
69097         tst-initorder2c tst-initorder2d.  Add rules to build them.
69098         ($(objpfx)tst-initorder2.out): New rule.
69099         * elf/tst-initorder2.c: New file.
69100         * elf/tst-initorder2.exp: New file.
69102 2011-08-22  Andreas Schwab  <schwab@redhat.com>
69104         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
69106         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
69107         dependencies back to end of function.
69109         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
69110         $(elfobjdir)/ld.so.
69112 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
69114         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
69115         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
69116         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
69117         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
69118         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
69119         of __vdso_gettimeofday.
69120         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
69121         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
69122         attribute_hidden.
69123         (_libc_vdso_platform_setup): Remove initialization of
69124         __vdso_gettimeofday and __vdso_time.
69126 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
69128         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
69129         and fgetc_unlocked.
69130         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
69131         getc_unlocked.
69133         * elf/dl-open.c (add_to_global): Report additions to the global scope
69134         for LD_DEBUG=scopes.
69135         (dl_open_worker): Also print scope of newly loaded dependencies.
69136         (_dl_show_scope): Indicate if there is no scope.
69138         [BZ #13114]
69139         * stdio-common/Makefile (tests): Add bug24.
69140         * stdio-common/bug24.c: New file.
69142 2011-08-19  Andreas Jaeger  <aj@suse.de>
69144         [BZ #13114]
69145         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
69146         non-existant file when using close-on-exec mode.
69148 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
69150         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
69151         the very first instruction.
69153         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
69154         the CFI state in the end.
69155         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
69156         inclusion of dl-trampoline.h.
69157         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
69159 2011-08-19  Andreas Schwab  <schwab@redhat.com>
69161         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
69162         expectations for long double.
69164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
69165         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
69167 2011-08-14  David S. Miller  <davem@davemloft.net>
69169         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
69170         artificual limit depends upon the system page size.
69172 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
69174         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
69175         * resolv/Makefile: Define CFLAGS-libresolv.
69177 2011-08-17  Andreas Schwab  <schwab@redhat.com>
69179         * nss/makedb.c (compute_tables): Make variables used in nested
69180         function static.
69182 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
69184         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
69185         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
69186         if buffer was too small.
69188         * elf/pldd.c (main): Attach to all threads in the process.
69189         Rewrite /proc handling to use *at functions.
69191 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
69193         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
69194         specifies first scope to show.
69195         (dl_open_worker): Update callers.  Move printing scope of new
69196         object to before the relocation.
69197         * elf/rtld.c (dl_main): Update _dl_show_scope call.
69198         * sysdeps/generic/ldsodefs.h: Update declaration.
69200         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
69201         string for the scope number.
69203 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
69205         * nscd/servicescache.c (cache_addserv): Make sure written is always
69206         initialized.
69208 2011-08-14  Roland McGrath  <roland@hack.frob.com>
69210         * sysdeps/i386/i486/bits/atomic.h
69211         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
69212         statement expression, so as to suppress "set but not used" warning.
69213         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
69215         * string/strncat.c (STRNCAT): Use prototype definition.
69217         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
69218         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
69219         -Iprograms here.
69220         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
69221         (localedef-modules): Add localedef.
69222         (locale-modules): Add locale.
69224         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
69225         * elf/rtld.c (dl_main): Invert order of assignment in last change,
69226         to avoid a warning.
69228 2011-08-14  David S. Miller  <davem@davemloft.net>
69230         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
69231         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
69233 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
69235         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
69236         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
69237         * elf/rtld.c (dl_main): Set l_name of vDSO.
69238         Call _dl_show_scope when DL_DEBUG_SCOPES.
69239         (process_dl_debug): Recognize scopes flag and also set it for all.
69240         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
69241         Declare _dl_show_scope.
69243         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
69244         (do_dlopen): Pass caller_dlopen to dl_open.
69245         (__libc_dlopen_mode): Initialize caller_dlopen.
69247         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
69248         of libc.  Make tolower call locale-independent.  Optimize a bit by
69249         using isdigit instead of isalnum.
69250         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
69252 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
69254         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
69255         was a dependency or dynamically loaded.
69257 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
69259         * intl/l10nflist.c: Allow architecture-specific pop function.
69260         * sysdeps/x86_64/l10nflist.c: New file.
69262         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
69263         classification.
69265 2011-08-10  Andreas Schwab  <schwab@redhat.com>
69267         * include/dirent.h: Add libc_hidden_proto for scandirat and
69268         scandirat64.  Don't declare __scandirat64.
69269         * dirent/scandirat.c: Add libc_hidden_def.
69270         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
69271         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
69273 2011-08-10  David S. Miller  <davem@davemloft.net>
69275         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
69276         enum.
69277         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69278         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69279         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69281 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
69283         * Versions.def [libc]: Add GLIBC_2.15.
69284         * dirent/Makefile (routines): Add scandirat and scandirat64.
69285         * dirent/Versions [libc]: Export scandirat and scandirat64 for
69286         GLIBC_2.15.
69287         * dirent/dirent.h: Declare scandirat and scandirat64.
69288         * dirent/scandirat.c: New file.
69289         * dirent/scandirat64.c: New file.
69290         * sysdeps/wordsize-64/scandirat.c: New file.
69291         * sysdeps/wordsize-64/scandirat64.c: New file.
69292         * dirent/opendir.c: Define opendirat.
69293         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
69294         using scandirat.
69295         * dirent/scandir64.c: Adjust for scandir.c change.
69296         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
69297         __scandirat64, and __scandir_cancel_handler.
69298         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
69299         additional parameter and use openat instead of open (outside of ld.so).
69300         Add new __opendir as wrapper around __opendirat.
69301         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
69302         here without requiring old scandirat implementation.
69304 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
69306         * dirent/scandir.c (cancel_handler): Renamed to
69307         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
69308         defined.  Adjust users.
69309         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
69310         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
69312 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
69314         * string/test-string.h (IMPL): Use __STRING to expand name and then
69315         stringify it.
69317         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
69318         of cleanups.
69320 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69322         * string/Makefile: Update.
69323         (strop-tests): Append strncat.
69324         * string/test-wcscmp.c: New file.
69325         New comprehensive test for wcscmp.
69326         * string/test-strcmp.c: Update.
69327         (WIDE): New define.
69329 2011-07-22  Andreas Schwab  <schwab@redhat.com>
69331         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
69332         line.
69334 2011-07-26  Andreas Schwab  <schwab@redhat.com>
69336         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69337         encoding to ACE if AI_IDN.
69339 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
69341         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
69342         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
69344 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69346         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
69347         Fix overflow bug in strncat.
69348         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
69350         * string/test-strncat.c: Update.
69351         Add new tests for checking overflow bugs.
69353 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69355         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69356         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
69357         * sysdeps/i386/i686/multiarch/strcat.S: New file.
69358         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
69359         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
69360         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
69361         * sysdeps/i386/i686/multiarch/strncat.S: New file.
69362         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
69363         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
69365         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
69366         (USE_AS_STRCAT): Define.
69367         Add strcat and strncat support.
69368         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69370 2011-07-25  Andreas Schwab  <schwab@redhat.com>
69372         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
69373         __n bigger than INT_MAX+1.
69374         (__strncmp_g): Likewise.
69376 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
69378         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
69379         * libio/stido.h: Likewise.
69381         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
69382         (AF_NFC): Define.
69383         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
69384         (AF_NFC): Define.
69386         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
69387         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69388         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69389         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
69390         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69392         [BZ #13021]
69393         * scripts/test-installation.pl: Don't expect libnss_test1 to be
69394         installed.
69396         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
69397         typo.
69398         (_dl_x86_64_save_sse): Likewise.
69400 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
69402         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
69403         OSXSAVE.
69404         (_dl_x86_64_save_sse): Likewise.
69406         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
69408         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
69410 2011-07-21  Andreas Schwab  <schwab@redhat.com>
69412         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
69413         change.
69414         (_dl_x86_64_save_sse): Use correct AVX check.
69416 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69418         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
69419         bug in strncpy/strncat.
69420         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
69422 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
69424         * string/tester.c (test_strcat): Add tests for different alignments
69425         of source and destination.
69426         (test_strncat): Likewise.
69428 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
69430         [BZ #12852]
69431         * posix/glob.c (glob): Check passed in values before using them in
69432         expressions to avoid some overflows.
69433         (glob_in_dir): Likewise.
69435         [BZ #13007]
69436         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
69437         check for AVX enablement so that we don't crash with old kernels and
69438         new hardware.
69439         * elf/tst-audit4.c: Add same checks here.
69440         * elf/tst-audit6.c: Likewise.
69442         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
69444 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
69446         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
69448 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
69450         * po/cs.po: Update from translation team.
69451         * po/bg.po: Likewise.
69453 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
69455         * misc/sys/cdefs.h: Add support for const attribute.
69456         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
69457         to gnu_dev_{major,minor,makedev} functions.
69459 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
69461         * intl/dcigettext.c (get_output_charset): Add missing bracket.
69463 2011-07-20  Andreas Schwab  <schwab@redhat.com>
69465         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
69466         strlen results.
69468 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69470         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
69471         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
69472         register in order to avoid conflicts with the soft frame pointer
69473         being held in r11 when necessary.
69474         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
69475         (INTERNAL_VSYSCALL_NCS): Likewise.
69477 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
69479         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
69480         * elf/dl-fini.c (_dl_fini): Adjust caller.
69481         * elf/dl-close.c (_dl_close_worker): Likewise.
69482         * sysdeps/generic/ldsodefs.h: Adjust declaration.
69484 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
69486         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
69487         "aux_cache->nlibs < 0".
69489         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
69490         in the reload-count case.
69492 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69494         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69495         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
69496         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
69497         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
69498         * sysdeps/x86_64/multiarch/strcat.S: New file.
69499         * sysdeps/x86_64/multiarch/strncat.S: New file.
69500         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
69501         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
69502         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
69503         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
69504         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
69505         (USE_AS_STRCAT): Define.
69506         Add strcat and strncat support.
69507         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69508         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
69509         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
69510         * string/strncat.c: Update.
69511         (USE_AS_STRNCAT): Define.
69512         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69513         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
69514         and i7.
69515         * sysdeps/x86_64/multiarch/init-arch.h
69516         (bit_Prefer_PMINUB_for_stringop): New.
69517         (index_Prefer_PMINUB_for_stringop): Likewise.
69518         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
69519         bit_Prefer_PMINUB_for_stringop.
69521 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
69523         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
69524         buffer64.
69525         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
69526         of casting of buffer.
69527         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
69528         buffer32 and buffer64.
69529         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
69530         writes instead of casting of buffer.
69531         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
69532         buffer32.
69533         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
69534         casting of buffer.
69536 2011-07-19  Andreas Schwab  <schwab@redhat.com>
69538         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
69540 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
69542         * nscd/nscd.c (termination_handler): Don't do anything for a database
69543         if it has not yet been initialized.
69545 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
69547         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69549 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
69551         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69553 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
69555         * po/nl.po: Update from translation team.
69556         * po/sv.po: Likewise.
69558 2011-07-16  Roland McGrath  <roland@hack.frob.com>
69560         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
69561         now disallowed by GCC.
69563         * configure.in (use-default-link): Default to yes if a test -shared
69564         link meets our qualifications.
69565         * configure: Regenerated.
69567         * config.make.in (output-format): New variable.
69568         * configure.in: Check for ld --print-output-format support.
69569         * configure: Regenerated.
69570         * Makerules ($(common-objpfx)format.lds)
69571         [$(output-format) != unknown]: Just use $(output-format),
69572         instead of the linker-script munging.
69574 2011-07-14  Roland McGrath  <roland@hack.frob.com>
69576         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
69577         of $(common-objpfx)shlib.lds.
69578         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
69580         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
69581         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
69583         * configure.in (-z relro check): Adjust test code to add a large
69584         writable data section after it.
69585         * configure: Regenerated.
69587 2011-07-11  Roland McGrath  <roland@hack.frob.com>
69589         * configure.in (-z relro check): Fix test code to make the variable
69590         truly const.
69591         * configure: Regenerated.
69593 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
69595         * nscd/nscd.h (struct traced_file): Define.
69596         (struct database_dyn): Remove inotify_descr, reset_res, and filename
69597         elements.  Add traced_files.
69598         (inotify_fd): Declare.
69599         (register_traced_file): Declare.
69600         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
69601         (inotify_fd): Export.
69602         (resolv_conf_descr): Remove.
69603         (nscd_init): Move inotify descriptor creation to main.
69604         Don't register files for notification here.
69605         (register_traced_file): New function.
69606         (invalidate_cache): Don't use reset_res to determine whether to call
69607         res_init, go through the list of registered files.
69608         (main_loop_poll): The inotify descriptors are now stored in the
69609         structures for the traced files.
69610         (main_loop_epoll): Likewise.
69611         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
69612         to __nss_disable_nscd.
69613         * nscd/cache.c (prune_cache): There is no single inotify descriptor
69614         for a database anymore.  Check the records for all the registered
69615         files instead.
69616         * nss/Makefile (libnss_files-routines): Add files-init.
69617         (libnss_db-routines): Add db-init.
69618         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
69619         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
69620         * nss/nss_db/db-init.c: New file.
69621         * nss/nss_files/files-init.c: New file.
69622         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
69623         __nss_lookup_function.
69624         (__nss_lookup_function): Call nss_load_library.
69625         (nss_load_all_libraries): New function.
69626         (__nss_disable_nscd): Take parameter with callback function for files
69627         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
69628         used for the cached services.
69629         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
69630         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
69631         options for features to all the files in nscd.
69633         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
69635 2011-07-10  Roland McGrath  <roland@hack.frob.com>
69637         * csu/elf-init.c (__libc_csu_init): Comment typo.
69639 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
69641         * po/pl.po: Update from translation team.
69642         * po/ja.po: Likewise.
69643         * po/ru.po: Likewise.
69644         * po/ko.po: Likewise.
69645         * po/fr.po: Likewise.
69647 2011-07-09  Roland McGrath  <roland@hack.frob.com>
69649         * configure.in (.ctors/.dtors header and trailer check):
69650         Use an empirical test on a built program.
69651         * configure: Regenerated.
69653         * configure.in (-z relro check): Use an empirical test on a built DSO.
69654         Detect, but do not require, on ia64.
69655         * configure: Regenerated.
69657         * configure.in (READELF): Find it with AC_CHECK_TOOL.
69658         Update tests that use readelf to use $READELF instead.
69659         * configure: Regenerated.
69661 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
69663         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
69664         if the result is not used.
69666 2011-07-05  Andreas Jaeger  <aj@suse.de>
69668         [BZ#9696]
69669         * stdlib/tst-strtod.c: Add testcase.
69671 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
69673         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
69674         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
69675         The latter has a higher limit.  Take additional parameter to pass to
69676         the new function.
69677         (__pathconf): Pass file to __statfs_link_max.
69678         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
69679         __statfs_link_max.
69680         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
69681         __statfs_link_max.
69683         [BZ #12868]
69684         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
69685         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69686         Handle Lustre.
69687         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
69688         (__statfs_filesize_max): Likewise.
69689         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
69691 2011-07-05  Andreas Jaeger  <aj@suse.de>
69693         * resolv/res_comp.c (dn_skipname): Remove unused variable.
69695 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
69697         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
69698         `status' variable.
69699         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
69700         Likewise.
69702 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
69704         * Makefile (strop-tests): Add strncat.
69705         * string/test-strncat.c: New file.
69707 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
69709         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
69711 2011-06-21  Andreas Jaeger  <aj@suse.de>
69713         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
69714         Copy rule from iconvdata/Makefile.
69716 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
69718         [BZ #12922]
69719         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
69720         but no long options are defined, just return 'W'.
69722 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
69724         [BZ #9696]
69725         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
69727 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
69729         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
69730         netgroups to read.
69731         (innetgr): Likewise.
69733 2011-07-05  Roland McGrath  <roland@hack.frob.com>
69735         * config.make.in (install_root): Default to $(DESTDIR).
69737 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
69739         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
69741 2011-07-02  Roland McGrath  <roland@hack.frob.com>
69743         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
69745         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
69746         containing directory rather than embedding absolute directory names.
69748         * scripts/check-local-headers.sh: Rewritten using awk.
69749         Match by word, not by line.  Print error messages for matches.
69750         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
69752         * Makerules [shlib-lds-flags empty]:
69753         ($(common-objpfx)libc_pic.opts): New target.
69754         ($(common-objpfx)libc_pic.os.clean): New target.
69755         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
69757         * config.make.in (OBJCOPY): New variable.
69758         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
69759         * configure: Regenerated.
69761         * config.make.in (use-default-link): New variable.
69762         * configure.in (use_default_link): Grok --with-default-link to set it.
69763         * configure: Regenerated.
69764         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
69765         (shlib-lds, shlib-lds-flags): Define to empty.
69767         * Makerules (shlib-lds): New variable.
69768         (shlib-lds-flags): New variable.
69769         (build-shlib, build-moduile, build-module-asneeded): Use it.
69770         ($(common-objpfx)libc.so): Use $(shlib-lds).
69771         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
69772         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
69774         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
69775         DT_FLAGS/DT_FLAGS_1 with zero flags.
69777         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
69778         linker script munging.
69780 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
69782         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
69783         as 128-bit value.
69784         * crypt/sha512.c (sha512_process_block): Perform total addition using
69785         128-bit if possible.
69786         (__sha512_finish_ctx): Likewise.
69787         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
69788         as 64-bit value.
69789         * crypt/sha256.c (SWAP64): Define.
69790         (sha256_process_block): Perform total addition using 64-bit if
69791         possible.
69792         (__sha256_finish_ctx): Likewise.
69794 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
69796         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
69797         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69798         * nscd/hstcache.c (cache_addhst): Likewise.
69799         * nscd/grpcache.c (cache_addgr): Likewise.
69800         * nscd/aicache.c (addhstaiX): Likewise.
69801         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
69803 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
69805         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
69806         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69807         * nscd/hstcache.c (cache_addhst): Likewise.
69808         * nscd/grpcache.c (cache_addgr): Likewise.
69809         * nscd/aicache.c (addhstaiX): Likewise.
69811 2011-07-01  Andreas Schwab  <schwab@redhat.com>
69813         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
69814         domain only when needed.
69816 2011-06-30  Andreas Schwab  <schwab@redhat.com>
69818         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
69819         is always restored.
69821 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
69823         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
69824         are re-adding the entry.
69825         * nscd/servicescache.c (cache_addserv): Likewise.
69827 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
69829         * sysdeps/generic/dl-irel.h: fix protection against multiple
69830         inclusions.
69831         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
69833 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
69835         [BZ #12935]
69836         * malloc/memusage.sh: Fix quoting in message.
69837         * debug/xtrace.sh: Likewise.
69839         * configure.in: Remove support for --experimental-malloc option, make
69840         it the default.
69841         * config.make.in: Likewise.
69842         * malloc/Makefile: Likewise.
69844 2011-06-27  Andreas Schwab  <schwab@redhat.com>
69846         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
69847         two-byte characters.
69849 2011-06-27  Roland McGrath  <roland@hack.frob.com>
69851         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
69852         AC_CACHE_CHECK invocation.
69853         * configure: Regenerated.
69855         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
69857 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
69859         [BZ #12350]
69860         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
69861         bit from old_res_options.
69863         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
69865         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
69866         value type for setfct.
69868 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
69870         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69871         __gettimeofday instead of gettimeofday.
69873 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
69875         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
69877 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
69879         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
69881         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
69882         info.
69884 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
69886         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69887         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69888         strcpy-sse2-unaligned strncpy-sse2-unaligned
69889         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
69890         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
69891         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
69892         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
69893         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
69894         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
69895         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
69896         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
69897         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
69898         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
69899         (STRCPY): Support SSE2 and SSSE3 versions.
69901 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
69903         [BZ #12874]
69904         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
69905         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
69906         kernels which artificially limit size of requests.
69908 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
69910         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69911         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69912         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
69913         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
69914         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
69915         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
69916         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
69917         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
69918         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
69919         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
69920         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
69921         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
69922         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
69923         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
69924         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
69925         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69926         Enable unaligned load optimization for Intel Core i3, i5 and i7
69927         processors.
69928         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
69929         Define.
69930         (index_Fast_Unaligned_Load): Define.
69931         (HAS_FAST_UNALIGNED_LOAD): Define.
69933 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
69935         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
69937 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
69939         [BZ #12907]
69940         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
69941         until it is clear that the information is realy needed.
69942         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
69944 2011-06-22  Andreas Schwab  <schwab@redhat.com>
69946         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
69948 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
69950         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69951         /sys/devices/system/cpu/online if it is usable.
69953         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
69954         reading the information from the /proc filesystem to once a second.
69956 2011-06-21  Andreas Jaeger  <aj@suse.de>
69958         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
69959         NULL after inclusion of kernel headers.
69961 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
69963         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
69964         calls to internal_setent.
69966         [BZ #12885]
69967         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
69968         addresses using gethostbyname4_r ignore IPv4 addresses.
69970         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
69971         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
69973         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
69975 2011-06-20  David S. Miller  <davem@davemloft.net>
69977         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
69978         inclusions.
69979         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
69981         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
69982         (elf_irel): Use it.
69983         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
69984         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
69985         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
69986         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
69987         * sysdeps/x86_64/dl-irel.h: Likewise.
69989         * elf/dl-runtime.c: Use elf_ifunc_invoke.
69990         * elf/dl-sym.c: Likewise.
69992 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
69994         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
69995         need to dereference resplen2.
69997 2011-06-14  Andreas Schwab  <schwab@redhat.com>
69999         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
70001 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
70003         * Makeconfig: Define vardbdir and inst_vardbdir.
70004         * nss/Makefile: Add rules to install db-Makefile.
70006         * nss/nss_db/db-XXX.c: Cleanup.
70008         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
70009         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
70010         GLIBC_PRIVATE.
70011         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
70012         * nss/makedb.c: Implement -g option to specify that value strings
70013         are generated and should not be added to table iterated over for
70014         get*ent calls.
70015         * nss/nss_db/db-initgroups.c: New file.
70017         * nss/getent.c: Add support for initgroups lookups through getgrouplist
70018         interface.
70020         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
70021         (internal_getgrouplist): Adjust to name change.
70022         Update use_initgroups_entry if this is not the first call.
70023         * nss/databases.def: Add initgroups entry.
70025         * nss/makedb.c (compute_tables): Check result of multiple hash table
70026         sizes to minimize maximum chain length.
70028 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
70030         * Versions.def: Add entry for libnss_db.
70031         * shlib-versions: Likewise.
70032         * nss/Makefile: Add rules to build libnss_db.
70033         * nss/Versions: Add libnss_db information.  Organize libnss_files
70034         entries better.
70035         * nss/db-Makefile: Add gshadow support.  Change rules for the new
70036         makedb progra.  Some minor improvements to generate smaller files.
70037         * nss/nss_db/nss_db.h: Move NSS database header data structures to
70038         here from...
70039         * nss/makedb.c: ...here.
70040         Improve database format to be smaller and require less memory at
70041         runtime.
70042         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
70043         db anymore.
70044         * nss/nss_db/db-netgrp.c: Likewise.
70045         * nss/nss_db/db-open.c: Likewise.
70046         * nss/nss_files/flies-XXX.x: Adjust comments.
70047         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
70048         * nss/nss_files/files-grp.c: Likewise.
70049         * nss/nss_files/files-hosts.c: Likewise.
70050         * nss/nss_files/files-network.c: Likewise.
70051         * nss/nss_files/files-proto.c: Likewise.
70052         * nss/nss_files/files-pwd.c: Likewise.
70053         * nss/nss_files/files-rpc.c: Likewise.
70054         * nss/nss_files/files-service.c: Likewise.
70055         * nss/nss_files/files-sgrp.c: Likewise.
70056         * nss/nss_files/files-spwd.c: Likewise.
70057         * nss/nss_db/db-alias.c: Removed.
70058         * nss/nss_db/dummy-db.h: Removed.
70060 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
70062         * nss/makedb.c: Rewritten to not use database library.
70063         * nss/Makefile: Update to build new makedb program.
70065 2011-06-14  Andreas Jaeger  <aj@suse.de>
70067         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
70068         memset declaration.
70070 2011-06-10  Andreas Schwab  <schwab@redhat.com>
70072         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
70073         tmpbuf.
70075 2011-06-10  Roland McGrath  <roland@hack.frob.com>
70077         * Makerules (shlib.lds): Fail if the linker script comes out empty.
70078         * elf/Makefile ($(objpfx)ld.so): Likewise.
70080         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
70081         Don't list ld.so twice in dependencies.
70083         * posix/bug-regex31.c: Include <stdlib.h>.
70085         * nscd/hstcache.c (cache_addhst): Remove unused variable.
70087         * nis/nss_compat/compat-spwd.c
70088         (getspent_next_nss_netgr): Remove unused variable.
70089         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
70091         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
70092         nonmembers" output to use the right array.
70094         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
70096         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
70098         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
70099         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
70100         * catgets/gencat.c (read_input_file): Likewise.
70101         * locale/programs/locarchive.c (enlarge_archive): Likewise.
70103         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
70104         variable definition inside #if's controlling its use.
70106         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
70108         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
70110         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
70112         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
70113         unreachable code.
70115         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
70117         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
70118         * configure: Regenerated.
70120         * Makerules: Revert last change.
70121         * elf/Makefile: Likewise.
70123 2011-06-09  Roland McGrath  <roland@hack.frob.com>
70125         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
70126         * elf/Makefile ($(objpfx)librtld.os): Likewise.
70127         (reloc-link): Likewise.
70129 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
70131         * elf/Makefile: Add rules to build pldd.
70132         * elf/pldd.c: New file.
70133         * elf/pldd-xx.c: New file.
70135 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
70137         * version.h: Update for 2.15 development version.
70139 2011-06-07  David S. Miller  <davem@davemloft.net>
70141         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
70142         ifuncs.
70143         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
70144         elf_machine_lazy_rel): Likewise.
70145         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
70146         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
70147         elf_machine_lazy_rel): Likewise.
70148         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
70149         dl_hwcap via passed in argument.
70150         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
70151         Likewise.
70153 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70155         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
70157 2011-06-06  Roland McGrath  <roland@hack.frob.com>
70159         [BZ #12849]
70160         * manual/fdl-1.1.texi: New file, verbatim from:
70161         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
70162         * manual/lgpl-2.1.texi: New file, verbatim from:
70163         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
70164         * manual/Makefile (licenses): New variable, list those new file names.
70165         (texis): Use it.
70166         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
70168         * manual/fdl.texi: File removed.
70169         * manual/lesser.texi: File removed.
70170         * manual/libc.texinfo (Copying, Documentation License):
70171         Use new @include file names, put @appendix directive before @include.
70173 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
70175         [BZ #12841]
70176         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
70177         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
70178         (mq_open): Add __NTH.
70180 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
70182         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70183         Assume Intel Core i3/i5/i7 processor if AVX is available.
70185 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
70187         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70188         typo.
70190 2011-05-31  Andreas Schwab  <schwab@redhat.com>
70192         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
70193         memory.  Use alloca_account.  Fix memory leak when retrying.
70195 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
70197         * version.h (RELEASE): Bump for 2.14 release.
70198         * include/features.h (__GLIBC_MINOR__): Bump to 14.
70200         * config.make.in (RANLIB): Remove entry.
70202 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
70204         * po/Makefile (po-sed-cmd): Add ksh to extensions.
70205         (libc.pot): Work around missing support for .ksh extension in xgettext.
70207         [BZ #12684]
70208         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
70209         if both request failed.
70210         (send_dg): In case of server errors clear resplen or *resplen2.
70212         [BZ #12454]
70213         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
70214         when there are multiple maps.
70215         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
70216         (_dl_fini): Remove test here.
70218         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
70220 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
70222         [BZ #12350]
70223         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
70224         bit from old_res_options.
70225         (gaih_inet): Likewise.
70227         [BZ #11099]
70228         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
70229         as signed.
70231         * resolv/res_init.c (res_setoptions): Make the code more compact.
70233         [BZ #11558]
70234         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
70235         set RES_USEVC.
70237         [BZ #11634]
70238         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
70240         * malloc/malloc.h: Mark malloc hook variables as deprecated.
70242         [BZ #11781]
70243         * malloc/malloc.h: Declare malloc hook variables as volatile.
70245         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
70246         in last patch.
70248         [BZ #11799]
70249         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
70250         raise in the comment.
70251         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70252         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70253         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
70255 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
70257         [BZ #12811]
70258         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
70259         grow the buffers more if it already has to be sufficient.
70260         (build_wcs_upper_buffer): Likewise.
70261         * posix/regexec.c (check_matching): Likewise.
70262         (clean_state_log_if_needed): Likewise.
70263         (extend_buffers): Don't enlarge buffers beyond size of the input
70264         buffer.
70265         Patches mostly by Emil Wojak <emil@wojak.eu>.
70266         * posix/bug-regex32.c: New file.
70267         * posix/Makefile (tests): Add bug-regex32.
70269         * locale/findlocale.c (_nl_find_locale): Return right away if
70270         _nl_explode_name failed.
70271         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
70273         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
70275         * debug/xtrace.sh: Unify messages.
70276         * malloc/memusage.sh: Likewise.
70278         [BZ #12813]
70279         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
70280         time symbol from vDSO.  Substitute with vsyscall if not available.
70281         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
70282         __vdso_time.
70284         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
70285         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
70286         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
70287         Add sendmmsg and internal_sendmmsg.
70288         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
70289         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
70290         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
70292         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
70293         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
70294         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
70296 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
70298         [BZ #12813]
70299         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
70300         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
70301         available.
70302         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
70303         __vdso_getcpu.
70305         [BZ #12814]
70306         * iconvdata/Makefile (tests): Add bug-iconv9.
70307         * iconvdata/bug-iconv9.c: New file.
70309 2011-05-27  Andreas Schwab  <schwab@redhat.com>
70311         [BZ #12814]
70312         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
70314 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
70316         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70317         (struct user_regs_struct): Change intcs field back to cs.
70319 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
70321         * po/ja.po: Update from translation team.
70323 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
70325         [BZ #12795]
70326         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
70327         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
70329 2011-05-20  Andreas Schwab  <schwab@redhat.com>
70331         * stdlib/longlong.h: Update from GCC.
70333 2011-05-23  Andreas Schwab  <schwab@redhat.com>
70335         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
70336         parameter name.
70337         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
70338         Add parameter name.
70339         (__sysconf): Pass it down.
70341 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
70343         [BZ #12671]
70344         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
70345         some situations.
70346         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
70347         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
70348         add in in __libc_use_alloca calls.  Adjust callers.
70349         (glob): Use malloc in some situations.
70351         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
70352         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
70353         pltexit.
70355 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
70357         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
70358         and CLOCK_BOOTTIME_ALARM.
70360         [BZ #12782]
70361         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
70362         is returned.
70364         * string/_strerror.c (__strerror_r): Print negative errors as signed
70365         numbers.
70367         [BZ #12777]
70368         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
70369         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
70370         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
70372         * configure.in: Fix typo in redirection and correct removal of test
70373         files in two cases.
70375         [BZ #12788]
70376         * locale/setlocale.c (new_composite_name): Fix test to check for
70377         identical name of all categories.
70379         [BZ #12792]
70380         * libio/filedoalloc.c (local_isatty): New function.
70381         (_IO_file_doallocate): Use local_isatty.
70382         * stdio-common/perror.c (perror): In case a new stream is used
70383         forward the stream error.
70384         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
70385         error flag.
70387 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
70389         [BZ #11884]
70390         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
70391         alloca.
70392         * include/alloca.h (extend_alloca_account): Define.
70394         [BZ #11857]
70395         * posix/regex.h: Fix comments with documentation of user-accessible
70396         fields after compilation and describe correct free'ing of pattern
70397         after re_compile_pattern.
70398         Patch by Reuben Thomas <rrt@sc3d.org>.
70400 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
70402         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
70403         and -mno-altivec to prevent the compiler from using Altivec and/or
70404         VSX instructions when the corresponding registers are not available.
70406 2011-05-19  Andreas Schwab  <schwab@redhat.com>
70408         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
70410 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
70412         * libio/freopen.c (freopen): Use __dup2, not dup2.
70413         * libio/freopen64.c (freopen64): Likewise.
70415 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70417         [BZ #12775]
70418         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
70419         * math/Makefile (tests): Add test-powl.
70420         (CFLAGS-test-powl.c): Define.
70421         * math/test-powl.c: New file.
70423 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70425         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
70427 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
70429         [BZ #11837]
70430         * iconvdata/gb18030.c: Update to GB18020-2005.
70432 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
70434         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
70435         RE_SYNTAX_POSIX_AWK): Update to match recent development.
70436         Patch by Aharon Robbins <arnold@skeeve.com>.
70438         [BZ #11892]
70439         * stdlib/putenv.c (putenv): Don't always create copy of the variable
70440         on the stack.
70442         [BZ #11895]
70443         * misc/pselect.c (__pselect): Handle timeout value errors hidden
70444         through underflows.
70446         [BZ #12766]
70447         * misc/error.c (error_at_line): Ensure file_name and old_file_name
70448         point to strings before performing equality test for error_one_per_line
70449         mode.
70451         [BZ #11697]
70452         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
70454         [BZ #11820]
70455         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70456         (struct user_fpregs_struct): Avoid __uint*_t types.
70458         [BZ #6420]
70459         * malloc/mtrace.c (tr_where): Add additional parameter to point to
70460         symbol info.  Use it instead of calling _dl_addr locally.
70461         (lock_and_info): New function.
70462         (tr_freehook): Call lock_and_info and pass symbol info as additional
70463         parameter to tr_where.
70464         (tr_mallochook): Likewise.
70465         (tr_reallochook): Likewise.
70466         (tr_memalignhook): Likewise.
70468         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
70469         used and couldn't be at all thread-safe.
70471 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
70473         * libio/freopen.c (freopen): Don't close old file descriptor
70474         before the new one is opened.  Instead dup the new file descriptor
70475         to the old one after the new stream is created.
70476         * libio/freopen64.c (freopen64): Likewise.
70477         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
70478         * libio/fileops.c (_IO_new_file_close_it): Handle new
70479         _IO_FLAGS2_NOCLOSE flag.
70480         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
70481         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
70482         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
70483         _IO_FLAGS2_NOCLOSE flag.
70484         * include/unistd.h: Add hidden_proto for dup3.
70485         Define __have_dup3.
70486         * io/dup3.c: Define hidden symbol.
70487         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
70489         [BZ #7101]
70490         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
70491         when an incomplete long option is used.
70492         * posix/tst-getopt_long1.c: New file.
70493         * posix/Makefile (tests): Add tst-getopt_long1.
70495         [BZ #10138]
70496         * scripts/config.guess: Update from autoconf-2.68.
70497         * scripts/config.sub: Likewise.
70499         [BZ #10157]
70500         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
70501         tests into ...
70502         (has_cpuclock): ...this.  New function.
70503         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
70504         macro here based on has_cpuclock code.
70506         [BZ #10149]
70507         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70508         First byte (not low byte) is now always NUL.
70509         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
70511         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70512         Use non-cancelable interfaces.
70514         [BZ #9809]
70515         * locale/iso-639.def: Add entry for Sorani.
70517         [BZ #11901]
70518         * include/stdlib.h: Move include protection to the right place.
70519         Define abort_msg_s.  Declare __abort_msg with it.
70520         * stdlib/abort.c (__abort_msg): Adjust type.
70521         * assert/assert.c (__assert_fail_base): New function.  Majority
70522         of code from __assert_fail.  Allocate memory for __abort_msg with
70523         mmap.
70524         (__assert_fail): Now call __assert_fail_base.
70525         * assert/assert-perr.c: Remove bulk of implementation.  Use
70526         __assert_fail_base.
70527         * include/assert.hL Declare __assert_fail_base.
70528         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
70529         mmap.
70530         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
70532 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
70534         [BZ #11952]
70535         [BZ #12453]
70536         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
70537         until all modules are registered in the DTV.
70538         * elf/Makefile: Add rules to build and run tst-tls19.
70539         * elf/tst-tls19.c: New file.
70540         * elf/tst-tls19mod1.c: New file.
70541         * elf/tst-tls19mod2.c: New file.
70542         * elf/tst-tls19mod3.c: New file.
70543         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
70545         [BZ #12083]
70546         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
70547         correctly.
70549         [BZ #12601]
70550         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
70551         two-byte sequence errors.
70552         * iconvdata/Makefile (tests): Add bug-iconv8.
70553         * iconvdata/bug-iconv8.c: New file.
70555         [BZ #12626]
70556         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
70557         buf2 definition.
70559         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
70561         [BZ #12432]
70562         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
70563         (dummy_getcfa): New function.
70564         (init): Get _Unwind_GetCFA address, use dummy if not found.
70565         (backtrace_helper): In recursion check, also check whether CFA changes.
70566         (__backtrace): Completely initialize arg.
70568         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
70569         storing incomplete byte sequence in state object.  Avoid testing for
70570         guaranteed too small input if we know there is enough data available.
70572 2011-05-11  Andreas Schwab  <schwab@redhat.com>
70574         * Makeconfig (+link-pie): Indent.
70575         * Rules (binaries-pie): Define if $(have-fpie) and
70576         $(build-shared).
70577         (binaries-shared): Also filter out $(binaries-pie).
70578         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
70579         * nscd/Makefile (others-pie): Add nscd.
70580         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
70581         ($(objpfx)nscd): Remove command override.
70582         * login/Makefile (others-pie): Add pt_chown.
70583         ($(objpfx)pt_chown): Remove command override.
70584         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
70585         remove command overrides.
70587 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
70589         * libio/tst_putwc.c: Fix error messages.
70591         [BZ #12724]
70592         * libio/fileops.c (_IO_new_file_close_it): Always flush when
70593         currently writing and seek to current position when not.
70594         * libio/Makefile (tests): Add bug-fclose1.
70595         * libio/bug-fclose1.c: New file.
70597 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
70599         [BZ #12511]
70600         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
70601         don't set DF_1_NODELETE here.
70602         (do_lookup_x): When entering new entry test for copy relocation
70603         and if necessary set DF_1_NODELETE flag.
70604         * elf/tst-unique4.cc: New file.
70605         * elf/tst-unique4.h: New file.
70606         * elf/tst-unique4lib.cc: New file.
70607         * elf/Makefile: Add rules to build and run tst-unique4.
70608         Patch by Piotr Bury <pbury@goahead.com>.
70610 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
70612         [BZ #12052]
70613         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
70615         [BZ #12625]
70616         * misc/mntent_r.c (addmntent): Flush the stream after the output
70618         [BZ #12393]
70619         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
70620         (is_trusted_path_normalize): Skip initial colon.  Append slash
70621         to empty buffer.  Duplicate is_trusted_path code but allow
70622         constructed patch to be prefix.
70623         (is_dst): Allow $ORIGIN followed by /.
70624         (_dl_dst_substitute): Correct clearing of check_for_trusted.
70625         Correct testing of result of is_trusted_path_normalize
70626         (decompose_rpath): Fix warning.
70628 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
70630         [BZ #11257]
70631         * grp/initgroups.c (internal_getgrouplist): When we found the service
70632         list through the initgroups entry in nsswitch.conf do not always
70633         continue on a successful lookup.  Don't always use the
70634         __nss_group_database value if it is set.
70635         * nss/nsswitch.conf (initgroups): Change action for successful db
70636         lookup to continue for compatibility.
70638 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
70640         [BZ #11532]
70641         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
70642         and CP774 modules.
70643         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
70644         and CP774 modules.
70645         * iconvdata/tst-tables.sh: Likewise.
70646         * iconvdata/cp770.c: New file.
70647         * iconvdata/cp771.c: New file.
70648         * iconvdata/cp772.c: New file.
70649         * iconvdata/cp773.c: New file.
70650         * iconvdata/cp774.c: New file.
70651         * iconvdata/testdata/CP770: New file.
70652         * iconvdata/testdata/CP770..UTF8: New file.
70653         * iconvdata/testdata/CP771: New file.
70654         * iconvdata/testdata/CP771..UTF8: New file.
70655         * iconvdata/testdata/CP772: New file.
70656         * iconvdata/testdata/CP772..UTF8: New file.
70657         * iconvdata/testdata/CP773: New file.
70658         * iconvdata/testdata/CP773..UTF8: New file.
70659         * iconvdata/testdata/CP774: New file.
70660         * iconvdata/testdata/CP774..UTF8: New file.
70662         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
70663         END CHARMAP line.
70664         * iconvdata/gen-8bit-gap.sh: Likewise.
70665         * iconvdata/gen-8bit.sh: Likewise.
70667         * locale/iso-639.def: Add ary entry.
70669         [BZ #11258]
70670         * locale/C-translit.h.in: Add U20A1 transliteration.
70672         [BZ #12178]
70673         * locale/iso-639.def: Add wae entry.
70674         Patch by Kevin Bortis <bortis@translate-wae.ch>.
70676         [BZ #12545]
70677         * locale/programs/localedef.c (construct_output_path): Use ssize_t
70678         for n.
70680         [BZ #12711]
70681         * locale/C-translit.h.in: Add entry for U20B9.
70682         Patch by pravin.d.s@gmail.com.
70684 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
70686         [BZ #12713]
70687         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
70688         ENAMETOOLONG use generic getcwd.
70689         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
70690         in rtld.  Use *stat64.
70691         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
70692         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
70693         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
70694         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
70695         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
70696         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
70697         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
70698         __fstatat64 macros.
70699         * include/dirent.h: Add libc_hidden_proto for rewinddir.
70700         * dirent/rewinddir.c: Add libc_hidden_def.
70701         * sysdeps/mach/hurd/rewinddir.c: Likewise.
70702         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
70704         * include/dirent.h (__alloc_dir): Add flags parameter.
70705         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
70706         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
70707         __alloc_dir.
70708         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
70709         from fdopendir if O_CLOEXEC is already set.
70711 2011-03-15  Alan Modra  <amodra@gmail.com>
70713         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
70714         l_tls_firstbyte_offset non-zero.  Save padding offset in
70715         l_tls_firstbyte_offset for later use.
70716         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
70717         freeing static tls block.
70719 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
70721         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
70722         where #ifdef was intended.  The intent is to prevent ARG_MAX from
70723         being defined by the kernel headers.
70725 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
70727         [BZ #12734]
70728         * resolv/resolv.h: Define RES_NOTLDQUERY.
70729         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
70730         no-tld-query and set RES_NOTLDQUERY.
70731         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
70732         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
70733         modern BIND to search name as TLD unless forbidden.
70735 2011-05-07  Petr Baudis  <pasky@suse.cz>
70736             Ulrich Drepper  <drepper@gmail.com>
70738         [BZ #12393]
70739         * elf/dl-load.c (fillin_rpath): Move trusted path check...
70740         (is_trusted_path): ...to here.
70741         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
70742         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
70743         using is_trusted_path_normalize() in setuid scripts.
70745 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
70747         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
70748         __BEGIN/__END_DECLS.
70750 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
70752         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
70753         NSS_STATUS_NOTFOUND if no record was found.
70755 2011-05-05  Andreas Schwab  <schwab@redhat.com>
70757         * sunrpc/Makefile (headers): Add rpc/netdb.h.
70758         (headers-not-in-tirpc): Remove rpc/netdb.h
70759         * resolv/netdb.h: Revert last change.
70761 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70763         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
70764         circular dependency between libgcc.a and libc.a.
70766 2011-05-05  Andreas Schwab  <schwab@redhat.com>
70768         * resolv/netdb.h: Don't include <rpc/netdb.h>.
70769         * nis/Makefile: Don't install rpcsvc/*.
70770         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
70771         instead of <rpc/types.h>.
70772         (MAXHOSTNAMELEN): Define.
70774 2011-05-03  Andreas Schwab  <schwab@redhat.com>
70776         * elf/ldconfig.c (add_dir): Don't crash on empty path.
70778 2011-04-28  Maciej Babinski  <mbabinski@google.com>
70780         [BZ #12714]
70781         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
70782         gethostbyname4_r when IPv6 results are possible.
70784 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
70786         [BZ #12723]
70787         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
70788         _PC_PIPE_BUF handling.
70790 2011-04-30  Bruno Haible  <bruno@clisp.org>
70792         [BZ #12717]
70793         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
70794         * resolv/netdb.h (getnameinfo): Change type of flags parameter
70795         to 'int'.
70796         * inet/getnameinfo.c (getnameinfo): Likewise.
70798 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
70800         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
70801         to groups setting in database lookup.
70802         * nss/nsswitch.conf: Add initgroups entry.
70804 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
70806         [BZ #12685]
70807         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
70808         mode string.
70809         Patch by Eric Blake <eblake@redhat.com>.
70811 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
70813         * sunrpc/Makefile (need-export-routines): Add svc_run.
70814         (routines): Remove svc_run.
70815         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
70816         * sunrpc/clnt_perr.c (clnt_perrno): Export.
70817         * sunrpc/svc_run.c (svc_run): Likewise.
70818         * sunrpc/svc_udp.c (svcudp_create): Likewise.
70820 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
70822         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
70823         problem in reallocation in last patch.
70825 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
70827         * sunrpc/Makefile: Move inclusion of Rules.
70829 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
70831         * nss/nss_files/files-initgroups.c: New file.
70832         * nss/Makefile (libnss_files-routines): Add files-initgroups.
70833         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
70834         _nss_files_initgroups_dyn.
70836 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
70838         * elf/elf.h (R_ARM_IRELATIVE): Define.
70840 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
70842         * po/ru.po: Update from translation team.
70844 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
70846         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
70847         dependencies.
70849 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
70851         [BZ #12653]
70852         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
70853         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
70854         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70855         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
70856         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
70858 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
70860         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
70861         differing bytes.
70862         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
70863         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
70864         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70866 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
70868         [BZ #12420]
70869         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
70870         storing it.
70871         * stdlib/bug-getcontext.c: New file.
70872         * stdlib/Makefile: Add rules to build and run bug-getcontext.
70874 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70876         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
70877         instructions into .machine "z9-109".
70878         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
70879         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
70881 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70883         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
70884         between environment variables and auxiliary vector.
70886 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
70888         * Makefile: Add rules to build linkobj/libc.so.
70889         * include/libc-symbols.h: Define libc_hidden_nolink.
70890         * include/rpc/auth.h: Mark functions which are to be hidden.
70891         * include/rpc/auth_des.h: Likewise.
70892         * include/rpc/auth_unix.h: Likewise.
70893         * include/rpc/clnt.h: Likewise.
70894         * include/rpc/des_crypt.h: Likewise.
70895         * include/rpc/key_prot.h: Likewise.
70896         * include/rpc/pmap_clnt.h: Likewise.
70897         * include/rpc/pmap_prot.h: Likewise.
70898         * include/rpc/pmap_rmt.h: Likewise.
70899         * include/rpc/rpc_msg.h: Likewise.
70900         * include/rpc/svc.h: Likewise.
70901         * include/rpc/svc_auth.h: Likewise.
70902         * include/rpc/xdr.h: Likewise.
70903         * nis/Makefile: Link all DSOs against linkobj/libc.so.
70904         * nss/Makefile: Likewise.
70905         * sunrpc/Makefile: Don't install headers.  Build library with normal
70906         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
70907         * sunrpc/auth_des.c: Hide exported symbols by default, export some
70908         for the compat linking library.  Remove use of INTDEF/INTUSE.
70909         * sunrpc/auth_none.c: Likewise.
70910         * sunrpc/auth_unix.c: Likewise.
70911         * sunrpc/authdes_prot.c: Likewise.
70912         * sunrpc/authuxprot.c: Likewise.
70913         * sunrpc/clnt_gen.c: Likewise.
70914         * sunrpc/clnt_perr.c: Likewise.
70915         * sunrpc/clnt_raw.c: Likewise.
70916         * sunrpc/clnt_simp.c: Likewise.
70917         * sunrpc/clnt_tcp.c: Likewise.
70918         * sunrpc/clnt_udp.c: Likewise.
70919         * sunrpc/clnt_unix.c: Likewise.
70920         * sunrpc/des_crypt.c: Likewise.
70921         * sunrpc/des_soft.c: Likewise.
70922         * sunrpc/get_myaddr.c: Likewise.
70923         * sunrpc/key_call.c: Likewise.
70924         * sunrpc/key_prot.c: Likewise.
70925         * sunrpc/netname.c: Likewise.
70926         * sunrpc/pm_getmaps.c: Likewise.
70927         * sunrpc/pm_getport.c: Likewise.
70928         * sunrpc/pmap_clnt.c: Likewise.
70929         * sunrpc/pmap_prot.c: Likewise.
70930         * sunrpc/pmap_prot2.c: Likewise.
70931         * sunrpc/pmap_rmt.c: Likewise.
70932         * sunrpc/publickey.c: Likewise.
70933         * sunrpc/rpc_cmsg.c: Likewise.
70934         * sunrpc/rpc_common.c: Likewise.
70935         * sunrpc/rpc_dtable.c: Likewise.
70936         * sunrpc/rpc_prot.c: Likewise.
70937         * sunrpc/rpc_thread.c: Likewise.
70938         * sunrpc/rtime.c: Likewise.
70939         * sunrpc/svc.c: Likewise.
70940         * sunrpc/svc_auth.c: Likewise.
70941         * sunrpc/svc_authux.c: Likewise.
70942         * sunrpc/svc_raw.c: Likewise.
70943         * sunrpc/svc_run.c: Likewise.
70944         * sunrpc/svc_simple.c: Likewise.
70945         * sunrpc/svc_tcp.c: Likewise.
70946         * sunrpc/svc_udp.c: Likewise.
70947         * sunrpc/svc_unix.c: Likewise.
70948         * sunrpc/svcauth_des.c: Likewise.
70949         * sunrpc/xcrypt.c: Likewise.
70950         * sunrpc/xdr.c: Likewise.
70951         * sunrpc/xdr_array.c: Likewise.
70952         * sunrpc/xdr_float.c: Likewise.
70953         * sunrpc/xdr_intXX_t.c: Likewise.
70954         * sunrpc/xdr_mem.c: Likewise.
70955         * sunrpc/xdr_rec.c: Likewise.
70956         * sunrpc/xdr_ref.c: Likewise.
70957         * sunrpc/xdr_sizeof.c: Likewise.
70958         * sunrpc/xdr_stdio.c: Likewise.
70960 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
70962         [BZ #12650]
70963         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
70964         * sysdeps/ia64/dl-tls.h: Likewise.
70965         * sysdeps/powerpc/dl-tls.h: Likewise.
70966         * sysdeps/s390/dl-tls.h: Likewise.
70967         * sysdeps/sh/dl-tls.h: Likewise.
70968         * sysdeps/sparc/dl-tls.h: Likewise.
70969         * sysdeps/x86_64/dl-tls.h: Likewise.
70970         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
70972 2011-03-14  Andreas Schwab  <schwab@redhat.com>
70974         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
70975         rpath element also skip the following colon.
70976         (expand_dynamic_string_token): Add is_path parameter and pass
70977         down to DL_DST_REQUIRED and _dl_dst_substitute.
70978         (decompose_rpath): Call expand_dynamic_string_token with
70979         non-zero is_path.  Ignore empty rpaths.
70980         (_dl_map_object_from_fd): Call expand_dynamic_string_token
70981         with zero is_path.
70983 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
70985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
70986         Make cancelable.
70988 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
70990         [BZ #12655]
70991         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
70992         Patch by Filipe David Manana <fdmanana@apache.org>.
70994 2011-04-07  Andreas Schwab  <schwab@redhat.com>
70996         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
70997         Maintain aligned stack.
70998         (CHECK_RSP): Remove unused macro.
71000 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
71002         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
71003         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
71005 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
71007         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
71009         * include/features.h: Mention __USE_XOPEN2K8 in comment.
71011 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
71013         [BZ #12518]
71014         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
71015         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
71016         * sysdeps/x86_64/memmove.c: New file.
71017         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
71018         (memcpy): Renamed to ...
71019         (__new_memcpy): This.
71020         (memcpy): Provide GLIBC_2_14 memcpy.
71021         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
71022         (memcpy): Provide GLIBC_2_2_5 memcpy.
71024 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71026         [BZ #12631]
71027         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
71029 2011-03-30  Andreas Schwab  <schwab@redhat.com>
71031         * misc/syncfs.c: New file.
71032         * misc/Makefile (routines): Add syncfs.
71033         * posix/unistd.h: Declare syncfs.
71034         * sysdeps/unix/syscalls.list: Add syncfs.
71036 2011-04-01  Andreas Schwab  <schwab@redhat.com>
71038         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
71039         open_by_handle_at.
71040         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71041         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71042         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71043         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71044         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71045         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
71046         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71048 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71050         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
71051         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71052         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
71053         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71054         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71055         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71056         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71058         * io/Makefile: Compile fallocate.c, fallocate64.c, and
71059         sync_file_range.c with -fexceptions.
71060         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
71061         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
71062         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
71063         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
71064         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
71065         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
71066         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
71067         sync_file_range as cancellation point
71068         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
71069         now a wrapper around __call_sync_file_range with cancellation handling.
71070         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
71071         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
71072         function name to __call_sync_file_range.
71073         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
71074         Add call_sync_file_range.
71076 2011-04-01  Andreas Schwab  <schwab@redhat.com>
71078         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71079         bits/timex.h.
71081 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71083         * iconv/iconv.h: Fix typo in comment.
71084         * io/fcntl.h: Likewise.
71085         * libio/stdio.h: Likewise.
71086         * posix/spawn.h: Likewise.
71087         * posix/unistd.h: Likewise.
71088         * stdlib/stdlib.h: Likewise.
71089         * time/time.h: Likewise.
71090         * wcsmbs/wchar.h: Likewise.
71092         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
71093         open_by_handle): Add.
71094         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
71095         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
71096         Augment a few comments.
71097         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71098         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71099         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71100         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71101         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71102         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
71103         open_by_handle.
71105         * io/fcntl.h (AT_EMPTY_PATH): Define.
71107 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
71109         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
71110         * sysdeps/unix/sysv/linux/bits/time.h: New file.
71111         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
71112         to...
71113         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
71114         * Versions.def: Add GLIBC_2.14.
71115         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
71116         Export.
71118 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
71120         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
71121         round counter.
71122         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71124 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71126         [BZ #12597]
71127         * string/test-strncmp.c (do_page_test): New function.
71128         (check2): Likewise.
71129         (test_main): Call check2.
71130         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
71132 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
71134         [BZ #12587]
71135         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
71136         Handle cache information in CPU leaf 4.
71137         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71139 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
71141         [BZ #12583]
71142         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
71143         character representation.
71144         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
71146 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
71148         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
71149         END(__isnan) to END(__isnanf) to match function entry point/label
71150         EALIGN(__isnanf,...).
71152 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
71154         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
71156 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
71158         [BZ #12510]
71159         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
71160         copy from the symbol referenced in the relocation to initialize the
71161         used variable.
71162         Patch by Piotr Bury <pbury@goahead.com>.
71163         * elf/Makefile: Add rules to build and tst-unique3.
71164         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
71165         * elf/tst-unique3.cc: New file.
71166         * elf/tst-unique3.h: New file.
71167         * elf/tst-unique3lib.cc: New file.
71168         * elf/tst-unique3lib2.cc: New file.
71170         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
71172 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
71174         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
71175         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
71176         to _start.
71178 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
71180         * elf/dl-load.c (_dl_map_object): If we are looking for the first
71181         to-be-loaded object along a path to loader is ld.so.
71183 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
71184             Ulrich Drepper  <drepper@gmail.com>
71186         * sysdeps/x86_64/memset.S: After aligning destination, code
71187         branches to different locations depending on the value of
71188         misalignment, when multiarch is enabled. Fix this.
71190 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
71192         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
71193         Set _x86_64_preferred_memory_instruction for AMD processsors.
71194         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71195         Set bit_Prefer_SSE_for_memop for AMD processors.
71197 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
71199         * libio/fmemopen.c (fmemopen): Optimize a bit.
71201 2011-03-03  Andreas Schwab  <schwab@redhat.com>
71203         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
71205 2011-03-03  Roland McGrath  <roland@redhat.com>
71207         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
71209 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
71211         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
71212         __bzero_ultra1 instead of __memset_ultra1.
71214 2011-02-23  Andreas Schwab  <schwab@redhat.com>
71215             Ulrich Drepper  <drepper@gmail.com>
71217         [BZ #12509]
71218         * include/link.h (struct link_map): Add l_orig_initfini.
71219         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
71220         returning unsuccessfully.
71221         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
71222         close of a file loaded at startup, restore the original l_initfini
71223         list.
71224         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
71225         list, store the pointer.
71226         * elf/Makefile ($(objpfx)noload-mem): New rule.
71227         (noload-ENV): Define.
71228         (tests): Add $(objpfx)noload-mem.
71229         * elf/noload.c: Include <memcheck.h>.
71230         (main): Call mtrace.  Close all opened handles.
71232 2011-02-17  Andreas Schwab  <schwab@redhat.com>
71234         [BZ #12454]
71235         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
71236         dependencies are missing.
71238 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71240         Fix __if_freereq crash: Unlike the generic version which uses free,
71241         Hurd needs munmap.
71242         * sysdeps/mach/hurd/ifreq.h: New file.
71244 2011-01-27  Petr Baudis  <pasky@suse.cz>
71245             Ulrich Drepper  <drepper@gmail.com>
71247         [BZ 12445]#
71248         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
71249         to extend_alloca().
71250         * stdio-common/bug23.c: New file.
71251         * stdio-common/Makefile (tests): Add bug23.
71253 2010-09-28  Andreas Schwab  <schwab@redhat.com>
71254             Ulrich Drepper  <drepper@gmail.com>
71256         [BZ #12489]
71257         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
71258         before performing relro protection.  At old place add assertion
71259         to make sure nothing changed.
71261 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
71262             Glauber de Oliveira Costa  <glommer@gmail.com>
71264         * elf/elf.h: Add new ARM TLS relocs.
71266 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
71268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71269         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
71270         cast from r3.
71271         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
71272         'tests' variable.
71273         * sysdeps/wordsize-64/tst-writev.c: New file.
71275 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
71277         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
71278         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
71279         insns in _dl_start to prevent a TOC reference before relocs are
71280         resolved.
71282 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
71284         [BZ #12469]
71285         * Makeconfig: Remove RANLIB definition.
71286         * Makerules: Don't use RANLIB.
71287         * aclocal.m4: Remove ranlib test.
71288         * configure.in: No need to check for ranlib.
71289         * elf/rtld-Rules: Don't use RANLIB.
71291 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71293         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
71294         protection macro.
71295         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
71296         inclusion protection macro.
71298         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
71299         SIGRTMIN and SIGRTMAX and print information in that case only when
71300         SIGRTMIN is defined.
71302 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
71304         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
71305         arginfo fn returning -1.
71307         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
71308         and thousands string is zero terminated.
71310 2011-02-03  Andreas Schwab  <schwab@redhat.com>
71312         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
71313         sysdeps/unix/sysv/linux/bits/socket.h.
71315 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71317         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
71318         (__CPU_COUNT): Remove old macros.
71319         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
71320         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
71321         (__CPU_ALLOC, __CPU_FREE): Add macros.
71322         (__sched_cpualloc, __sched_cpufree): Add declarations.
71324 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
71326         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
71327         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
71328         * nscd/aicache.c (addhstaiX): Return timeout of added value.
71329         (readdhstai): Return value of addhstaiX call.
71330         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
71331         (addgrbyX): Return value returned by cache_addgr.
71332         (readdgrbyname): Return value returned by addgrbyX.
71333         (readdgrbygid): Likewise.
71334         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
71335         (addpwbyX): Return value returned by cache_addpw.
71336         (readdpwbyname): Return value returned by addhstbyX.
71337         (readdpwbyuid): Likewise.
71338         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
71339         (addservbyX): Return value returned by cache_addserv.
71340         (readdservbyname): Return value returned by addservbyX:
71341         (readdservbyport): Likewise.
71342         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
71343         (addhstbyX): Return value returned by cache_addhst.
71344         (readdhstbyname): Return value returned by addhstbyX.
71345         (readdhstbyaddr): Likewise.
71346         (readdhstbynamev6): Likewise.
71347         (readdhstbyaddrv6): Likewise.
71348         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
71349         (readdinitgroups): Return value returned by addinitgroupsX.
71350         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
71351         (prune_cache): Keep track of timeout value of re-added entries.
71352         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
71353         * nscd/nscd.h: Adjust prototypes of readd* functions.
71355 2011-02-04  Roland McGrath  <roland@redhat.com>
71357         * nis/nis_server.c (nis_servstate): Use the right name for 0.
71358         (nis_stats): Likewise.
71359         * nis/nis_modify.c (nis_modify): Likewise.
71360         * nis/nis_remove.c (nis_remove): Likewise.
71361         * nis/nis_add.c (nis_add): Likewise.
71363         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
71365         * posix/fnmatch_loop.c: Add some consts.
71367         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
71369 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
71371         [BZ #12460]
71372         * config.make.in (config-cflags-novzeroupper): Define.
71373         * configure.in: Substitute libc_cv_cc_novzeroupper.
71374         * elf/Makefile (AVX-CFLAGS): Define.
71375         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
71376         (CFLAGS-tst-auditmod4a.c): Likewise.
71377         (CFLAGS-tst-auditmod4b.c): Likewise.
71378         (CFLAGS-tst-auditmod6b.c): Likewise.
71379         (CFLAGS-tst-auditmod6c.c): Likewise.
71380         (CFLAGS-tst-auditmod7b.c): Likewise.
71381         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
71383 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
71385         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
71386         function to the callback.
71387         Patch partly by Jiri Olsa <jolsa@redhat.com>.
71389 2011-02-02  Andreas Schwab  <schwab@redhat.com>
71391         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
71392         of errno.
71394 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
71396         [BZ #11724]
71397         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
71398         of constructors.
71399         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
71400         of destructors.
71401         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
71403         [BZ #11724]
71404         * elf/Makefile: Add rules to build and run new test.
71405         * elf/tst-initorder.c: New file.
71406         * elf/tst-initorder.exp: New file.
71407         * elf/tst-initordera1.c: New file.
71408         * elf/tst-initordera2.c: New file.
71409         * elf/tst-initordera3.c: New file.
71410         * elf/tst-initordera4.c: New file.
71411         * elf/tst-initorderb1.c: New file.
71412         * elf/tst-initorderb2.c: New file.
71413         * elf/tst-order-a1.c: New file.
71414         * elf/tst-order-a2.c: New file.
71415         * elf/tst-order-a3.c: New file.
71416         * elf/tst-order-a4.c: New file.
71417         * elf/tst-order-b1.c: New file.
71418         * elf/tst-order-b2.c: New file.
71419         * elf/tst-order-main.c: New file.
71420         New test case by George Gensure <werkt0@gmail.com>.
71422 2010-10-01  Andreas Schwab  <schwab@redhat.com>
71424         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71425         decoding ACE if AI_CANONIDN.
71427 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
71429         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
71431 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
71433         * version.h (RELEASE): Bump for 2.13 release.
71434         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
71436         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
71438         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
71439         MADV_NOHUGEPAGE.
71440         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
71441         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
71442         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
71443         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
71444         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
71445         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71447         * posix/getconf.c: Update copyright year.
71448         * catgets/gencat.c: Likewise.
71449         * csu/version.c: Likewise.
71450         * debug/catchsegv.sh: Likewise.
71451         * debug/xtrace.sh: Likewise.
71452         * elf/ldconfig.c: Likewise.
71453         * elf/ldd.bash.in: Likewise.
71454         * elf/sprof.c (print_version): Likewise.
71455         * iconv/iconv_prog.c: Likewise.
71456         * iconv/iconvconfig.c: Likewise.
71457         * locale/programs/locale.c: Likewise.
71458         * locale/programs/localedef.c: Likewise.
71459         * malloc/memusage.sh: Likewise.
71460         * malloc/mtrace.pl: Likewise.
71461         * nscd/nscd.c (print_version): Likewise.
71462         * nss/getent.c: Likewise.
71464         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
71465         PF_CAIF, and PF_ALG.
71466         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71468 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
71470         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
71471         (modules-names): Use them.
71472         (ifunc-test-modules, ifunc-pie-tests): Define.
71473         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
71474         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
71475         (test-extras): Likewise.
71476         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
71477         $(compile-command.c).
71478         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
71479         (all-built-dso): Define.
71480         (check-textrel.out, check-execstack.out): Depend on it.
71482         * configure.in: Don't override --enable-multi-arch.
71484 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
71486         [BZ #6812]
71487         * nscd/hstcache.c (tryagain): Define.
71488         (cache_addhst): Return tryagain not notfound for temporary errors.
71489         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
71490         failed.
71492 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
71494         [BZ #10563]
71495         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
71496         to make the syscall.
71497         * sysdeps/unix/sysv/linux/setgroups.c: New file.
71499         [BZ #12378]
71500         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
71501         and fall back to matching as normal character if the string ends before
71502         the matching ']' is found.  This is what POSIX requires.
71503         * posix/testfnm.c: Adjust test result.
71504         * posix/globtest.sh: Adjust test result.  Add new test.
71505         * posix/tst-fnmatch.input: Likewise.
71506         * posix/tst-fnmatch2.c: Add new test.
71508 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
71510         * elf/Makefile (check-execstack): Revert last change.  Depend on
71511         check-execstack.h.
71512         (check-execstack.h): New target.
71513         (generated): Add check-execstack.h.
71514         * elf/check-execstack.c: Include "check-execstack.h".
71515         (main): Revert last change.
71516         (handle_file): Return zero if GNU_STACK is absent and
71517         DEFAULT_STACK_PERMS doesn't include PF_X.
71519 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
71521         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
71522         in child fails because the descriptor is already closed.
71523         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
71524         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
71525         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
71527         [BZ #12397]
71528         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
71529         syscall.
71531         [BZ #10484]
71532         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
71533         temporary buffer used to handle multi lookups locally.
71534         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
71536 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
71538         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
71539         loader is ld.so.
71541 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
71543         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
71544         alignment for SSE2.
71546 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
71548         [BZ #12394]
71549         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
71550         characters.  When rounding increased number of integer digits recompute
71551         number of groups.
71552         * stdio-common/tst-grouping.c: New file.
71553         * stdio-common/Makefile: Add rules to build and run tst-grouping.
71555 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
71557         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
71558         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
71560         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
71561         void.
71562         * bits/select.h: Likewise.
71564 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
71566         * po/ja.po: Update from translation team.
71568 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
71570         [BZ #11155]
71571         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
71572         implementation just like for lxstat, fxstatat, et al.
71574 2010-12-27  Jim Meyering  <meyering@redhat.com>
71576         [BZ #12348]
71577         * posix/regexec.c (build_trtable): Return failure indication upon
71578         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
71580 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
71582         [BZ #12201]
71583         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
71584         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
71585         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
71586         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
71588         [BZ #12207]
71589         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
71591         [BZ #12204]
71592         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
71593         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
71595 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
71597         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
71598         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
71599         script has SORT_BY_INIT_PRIORITY.
71600         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
71601         NO_CTORS_DTORS_SECTIONS is defined.
71602         * elf/soinit.c: Likewise.
71603         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
71604         NO_CTORS_DTORS_SECTIONS is defined.
71605         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
71606         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
71607         * sysdeps/sh/init-first.c: Likewise.
71608         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
71610 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
71612         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
71613         always use the slow path.
71615 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
71617         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
71618         similar rule which adds the sysdep directories to the header search in
71619         order to pick up the correct platform stackinfo.h.
71620         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
71621         perform test if it is, otherwise return successfully without testing.
71622         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
71623         DEFAULT_STACK_PERMS define in stackinfo.h.
71624         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
71625         defined in stackinfo.h.
71626         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
71627         DEFAULT_STACK_PERMS defined in stackinfo.h.
71628         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
71629         * sysdeps/ia64/stackinfo.h: Likewise.
71630         * sysdeps/s390/stackinfo.h: Likewise.
71631         * sysdeps/sh/stackinfo.h: Likewise.
71632         * sysdeps/sparc/stackinfo.h: Likewise.
71633         * sysdeps/x86_64/stackinfo.h: Likewise.
71634         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
71635         PF_X for powerpc64.  Retain PF_X for powerpc32.
71637 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
71639         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
71640         accurately.
71641         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
71642         GETDENTS_64BIT_ALIGNED.
71644 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
71646         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
71648 2010-12-10  Andreas Schwab  <schwab@redhat.com>
71650         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
71651         _GNU_SOURCE.
71653         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
71654         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
71655         Remove __restrict.
71656         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
71657         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
71659 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
71661         [BZ #11655]
71662         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
71663         are initialized.
71665 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
71667         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
71669 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
71671         * po/it.po: Update from translation team.
71673 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
71675         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
71676         unused codes.
71678 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
71680         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
71682 2010-11-24  Andreas Schwab  <schwab@redhat.com>
71684         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
71685         specially.
71686         (gaih_getanswer_slice): Likewise.
71688 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
71690         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
71692 2010-05-31  Petr Baudis  <pasky@suse.cz>
71694         [BZ #11149]
71695         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
71696         silently even in the chroot mode.
71698 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
71700         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
71701         last patch a bit.  Pretty printing
71703 2010-05-31  Petr Baudis <pasky@suse.cz>
71705         [BZ #10085]
71706         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
71707         initialization of skip_initgroups_dyn.
71709 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
71711         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
71712         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71714 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
71716         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
71718 2010-11-11  Andreas Schwab  <schwab@redhat.com>
71720         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
71721         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
71722         (tst-fnmatch-ENV): Set MALLOC_TRACE.
71723         ($(objpfx)tst-fnmatch-mem): New rule.
71724         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
71725         * posix/tst-fnmatch.c (main): Call mtrace.
71727 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
71729         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71730         Support Intel processor model 6 and model 0x2c.
71732 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
71734         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
71735           signed comparison.
71737 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
71739         [BZ #12205]
71740         * string/test-strncasecmp.c (check_result): New function.
71741         (do_one_test): Use it.
71742         (check1): New function.
71743         (test_main): Use it.
71744         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
71745         Support strcasecmp and strncasecmp.
71747 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
71749         [BZ #12194]
71750         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
71751         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71753 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
71755         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
71756         IFUNC support.
71757         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71758         memset-x86-64.
71759         * sysdeps/x86_64/multiarch/bzero.S: New file.
71760         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
71761         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
71762         * sysdeps/x86_64/multiarch/memset.S: New file.
71763         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
71764         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71765         Set bit_Prefer_SSE_for_memop for Intel processors.
71766         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
71767         Define.
71768         (index_Prefer_SSE_for_memop): Define.
71769         (HAS_PREFER_SSE_FOR_MEMOP): Define.
71771 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
71773         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
71774         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
71776 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
71778         [BZ #12191]
71779         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
71780         (__x86_64_raw_data_cache_size_half): Likewise.
71781         (__x86_64_raw_shared_cache_size): Likewise.
71782         (__x86_64_raw_shared_cache_size_half): Likewise.
71784         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
71785         (__x86_64_raw_data_cache_size_half): Likewise.
71786         (__x86_64_raw_shared_cache_size): Likewise.
71787         (__x86_64_raw_shared_cache_size_half): Likewise.
71788         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
71789         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
71790         and __x86_64_raw_shared_cache_size_half.  Round
71791         __x86_64_data_cache_size_half, __x86_64_data_cache_size
71792         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
71793         to multiple of 256 bytes.
71795 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
71797         [BZ #12167]
71798         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
71799         of inacessible symlinks.  Verify result of symlink before returning it.
71800         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
71801         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
71803 2010-10-28  Erich Ritz  <erichritz@gmail.com>
71805         * math/math.h (isinf): Fix typo in comment.
71807 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
71809         * po/da.po: Update from translation team.
71811 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
71813         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
71814         is added to the list.
71816 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71817             Ulrich Drepper  <drepper@gmail.com>
71819         * elf/dl-object.c (_dl_new_object): Don't append the new object to
71820         the global list here.  Move code to...
71821         (_dl_add_to_namespace_list): ...here.  New function.
71822         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
71823         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
71824         * elf/dl-load.c (lose): Don't remove the element from the list.
71825         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
71826         (_dl_map_object): Likewise.
71828 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
71830         [BZ #12159]
71831         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
71832         into all bytes of SSE register.
71833         Patch by Richard Li <richardpku@gmail.com>.
71835 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
71837         [BZ #12140]
71838         * malloc/malloc.c (_int_free): Fill correct number of bytes when
71839         perturbing.
71841 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
71843         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
71844         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
71845         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
71846         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
71848         submachine.
71849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
71851 2010-10-22  Andreas Schwab  <schwab@redhat.com>
71853         * include/dlfcn.h (__RTLD_SECURE): Define.
71854         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
71855         mode & __RTLD_SECURE instead.
71856         (open_path): Rename preloaded parameter to secure.
71857         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
71858         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
71859         * elf/dl-deps.c (openaux): Likewise.
71860         * elf/rtld.c (struct map_args): Remove is_preloaded.
71861         (map_doit): Don't use it.
71862         (dl_main): Likewise.
71863         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
71864         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
71866 2010-09-09  Andreas Schwab  <schwab@redhat.com>
71868         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
71869         (sysd-rules-targets): Remove duplicates.
71870         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
71871         rtld-%.$o dependency.
71873 2010-10-18  Andreas Schwab  <schwab@redhat.com>
71875         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
71876         _dl_map_object do it.
71878 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
71880         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
71881         fast fma builtins, define the macros in the C99 standard.
71882         (FP_FAST_FMAF): Likewise.
71883         (FP_FAST_FMAL): Likewise.
71884         * sysdeps/x86_64/bits/mathdef.h: Likewise.
71886         * bits/mathdef.h: Update copyright year.
71887         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71889 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
71891         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
71892         builtins, define the macros in the C99 standard.
71893         (FP_FAST_FMAF): Likewise.
71894         (FP_FAST_FMAL): Likewise.
71895         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
71896         multiply/add.
71897         (FP_FAST_FMAF): Likewise.
71899 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
71901         [BZ #3268]
71902         * math/libm-test.inc (fma_test): Some new testcases.
71903         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
71904         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
71905         y and infinite z.  Do multiplication by C already in long double.
71906         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
71907         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
71908         y and infinite z.  Do bitwise or of inexact bit into u.d.
71909         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
71910         * sysdeps/i386/fpu/s_fmaf.S: Removed.
71911         * sysdeps/i386/fpu/s_fma.S: Removed.
71912         * sysdeps/i386/fpu/s_fmal.S: Removed.
71914 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
71916         [BZ #3268]
71917         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
71918         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
71919         computation is not scheduled after fetestexcept.  Fix value
71920         of minimum denormal long double.
71922 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
71924         [BZ #3268]
71925         * math/libm-test.inc (fma_test): Add some more tests.
71926         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
71927         correctly.
71929 2010-10-15  Andreas Schwab  <schwab@redhat.com>
71931         * scripts/data/localplt-s390-linux-gnu.data: New file.
71932         * scripts/data/localplt-s390x-linux-gnu.data: New file.
71934 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
71936         [BZ #3268]
71937         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
71938         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
71939         instead of dbl-64.
71940         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
71941         inlines.
71942         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
71943         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
71944         if one of x and y is very large and the other is subnormal.
71945         * sysdeps/s390/fpu/s_fmaf.c: New file.
71946         * sysdeps/s390/fpu/s_fma.c: New file.
71947         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
71948         * sysdeps/powerpc/fpu/s_fma.S: New file.
71949         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
71950         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
71951         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
71953 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
71955         [BZ #3268]
71956         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
71957         fma tests.
71958         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
71959         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
71960         * sysdeps/i386/i686/multiarch/s_fma.c: Include
71961         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
71962         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
71963         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
71964         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
71966 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
71968         [BZ #12078]
71969         * posix/regcomp.c (parse_branch): One more memory leak plugged.
71970         * posix/bug-regex31.input: Add test case.
71972 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
71974         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
71975         * posix/bug-regex31.input: New file.
71977         [BZ #12078]
71978         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
71979         (parse_sub_exp): Fix last change, use postorder.
71981         * posix/bug-regex31.c: New file.
71982         * posix/Makefile: Add rules to build and run bug-regex31.
71984         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
71986         [BZ #12078]
71987         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
71989         [BZ #12108]
71990         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
71991         to have entries in sys_siglist.
71993         [BZ #12093]
71994         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
71995         be NULL.
71997 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
71999         [BZ #3268]
72000         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
72001         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
72002         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
72003         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
72004         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72005         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
72006         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
72007         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
72008         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
72009         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
72010         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
72011         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
72012         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
72013         * math/ftestexcept.c (fetestexcept): Likewise.
72014         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
72015         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
72016         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
72017         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
72018         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
72019         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
72020         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72022 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
72024         [BZ #12107]
72025         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
72026         newline.
72028 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
72030         * string/bug-strstr1.c: New file.
72031         * string/Makefile: Add rules to build and run bug-strstr1.
72033 2010-10-05  Eric Blake  <eblake@redhat.com>
72035         [BZ #12092]
72036         * string/str-two-way.h (two_way_long_needle): Always clear memory
72037         when skipping input due to the shift table.
72039 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
72041         [BZ #12005]
72042         * malloc/mcheck.c: Handle large requests.
72044         [BZ #12077]
72045         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
72046         for strncmp and strncasecmp.
72047         * string/stratcliff.c: Add tests for strcmp and strncmp.
72048         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
72050 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72052         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
72053         __set_fpscr.
72055 2010-09-30  Andreas Jaeger  <aj@suse.de>
72057         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
72058         (CGROUP_SUPER_MAGIC): Define.
72059         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72060         Handle btrfs and cgroup file systems.
72061         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
72062         Likewise.
72064 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
72066         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
72067         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
72069 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72071         [BZ #12067]
72072         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
72073         trying to locate the ELF header.
72075 2010-09-27  Andreas Schwab  <schwab@redhat.com>
72077         [BZ #11611]
72078         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
72079         Mask out sign-bit copies when constructing f_fsid.
72081 2010-09-24  Petr Baudis <pasky@suse.cz>
72083         * debug/stack_chk_fail_local.c: Add missing licence exception.
72084         * debug/warning-nop.c: Likewise.
72086 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
72088         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
72089         implementing getdents64 using getdents syscall, set d_type if
72090         __ASSUME_GETDENTS32_D_TYPE.
72092 2010-09-16  Andreas Schwab  <schwab@redhat.com>
72094         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
72095         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
72097 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
72099         [BZ #12037]
72100         * posix/unistd.h: Undo change of feature selection for ftruncate from
72101         2010-01-11.
72103 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
72105         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
72106         detection.
72108 2010-09-20  Andreas Schwab  <schwab@redhat.com>
72110         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
72111         fanotify_mark.
72112         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72114 2010-09-14  Andreas Schwab  <schwab@redhat.com>
72116         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
72117         variables after CHECK_SP call.
72118         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
72120 2010-09-13  Andreas Schwab  <schwab@redhat.com>
72121             Ulrich Drepper  <drepper@redhat.com>
72123         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
72124         re-relocationg ld.so.
72125         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
72126         _dl_init_paths call.
72127         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
72128         here anymore.
72130 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
72132         * resolv/res_init.c (__res_vinit): Count the default server we added.
72134 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
72135             Ulrich Drepper  <drepper@redhat.com>
72137         [BZ #11968]
72138         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72139         (____longjmp_chk): Use %ebx for saving value across system call.
72140         Add unwind info.
72142 2010-09-06  Andreas Schwab  <schwab@redhat.com>
72144         * manual/Makefile: Don't mix pattern rules with normal rules.
72146 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
72148         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
72149         operation.
72150         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
72151         * libio/iofopncook.c (_IO_cookie_init): Likewise.
72152         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
72153         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
72154         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72155         Likewise.
72157 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
72159         [BZ #11979]
72160         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
72161         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
72163 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
72165         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
72166         * sysdeps/x86_64/addmul_1.S: Likewise.
72167         * sysdeps/x86_64/lshift.S: Likewise.
72168         * sysdeps/x86_64/mul_1.S: Likewise.
72169         * sysdeps/x86_64/rshift.S: Likewise.
72170         * sysdeps/x86_64/sub_n.S: Likewise.
72171         * sysdeps/x86_64/submul_1.S: Likewise.
72173 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72175         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
72176         Define __sched_param instead of SCHED_* and sched_param when
72177         <bits/sched.h> is included with __need_schedparam defined.
72178         * bits/sched.h [__need_schedparam]
72179         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
72180         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
72181         (__defined_schedparam): Define to 1.
72182         (__sched_param): New structure, identical to sched_param.
72183         (__need_schedparam): Undefine.
72185 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
72187         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
72188         (epoll_create1): Declare.
72190         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
72192 2010-08-31  Andreas Schwab  <schwab@redhat.com>
72194         [BZ #7066]
72195         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
72196         shifting retval into place.
72198 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
72200         * nis/rpcsvc/nis.h: Update copyright notice.
72201         * nis/rpcsvc/nis.x: Likewise.
72202         * nis/rpcsvc/nis_callback.h: Likewise.
72203         * nis/rpcsvc/nis_callback.x: Likewise.
72204         * nis/rpcsvc/nis_object.x: Likewise.
72205         * nis/rpcsvc/nis_tags.h: Likewise.
72206         * nis/rpcsvc/yp.h: Likewise.
72207         * nis/rpcsvc/yp.x: Likewise.
72208         * nis/rpcsvc/ypupd.h: Likewise.
72209         * nis/yp_xdr.c: Likewise.
72210         * nis/ypupdate_xdr.c: Likewise.
72212         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
72213         mainly the body of pmap_getport.  Add parameters to specify timeouts.
72214         (pmap_getport): Use __libc_rpc_getport.
72215         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
72216         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
72217         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
72219 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
72221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
72222         fanotify_mark.
72224 2010-08-27  Roland McGrath  <roland@redhat.com>
72226         * sysdeps/i386/i686/multiarch/Makefile
72227         (CFLAGS-varshift.c): New variable.
72229 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
72231         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
72232         * sysdeps/i386/i686/multiarch/varshift.c: New file.
72234         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
72236         * sysdeps/x86_64/strlen.S: Minimal code improvement.
72238 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
72240         * sysdeps/x86_64/strlen.S: Unroll the loop.
72241         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72242         strlen-sse2 strlen-sse2-bsf.
72243         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
72244         __strlen_no_bsf if bit_Slow_BSF is set.
72245         (__strlen_sse42): Removed.
72246         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
72247         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
72249 2010-08-25  Roland McGrath  <roland@redhat.com>
72251         * sysdeps/x86_64/multiarch/varshift.S: File removed.
72252         * sysdeps/x86_64/multiarch/varshift.c: New file.
72253         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
72254         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
72255         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
72256         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
72258 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
72260         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72261         strlen-sse2 strlen-sse2-bsf.
72262         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
72263         __strlen_sse2_bsf if bit_Slow_BSF is unset.
72264         (__strlen_sse2): Removed.
72265         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
72266         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
72267         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
72268         bit_Slow_BSF for Atom.
72269         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
72270         (index_Slow_BSF): Define.
72271         (HAS_SLOW_BSF): Define.
72273 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
72275         [BZ #10851]
72276         * resolv/res_init.c (__res_vinit): When no server address at all
72277         is given default to loopback.
72279 2010-08-24  Roland McGrath  <roland@redhat.com>
72281         * configure.in: Remove config-name.h generation.
72282         * configure: Regenerated.
72283         * config-name.in: File removed.
72284         * scripts/config-uname.sh: New file.
72285         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
72286         ($(objdir)config-name.h): New target.
72288         * sunrpc/rpc_parse.h: Avoid nested comment.
72290 2010-08-24  Richard Henderson  <rth@redhat.com>
72291             Ulrich Drepper  <drepper@redhat.com>
72292             H.J. Lu  <hongjiu.lu@intel.com>
72294         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
72295         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
72296         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
72297         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
72298         _mm_alignr_epi8 with _mm_loadu_si128.
72299         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
72300         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
72301         (__m128i_shift_right): Removed.
72302         * sysdeps/i386/i686/multiarch/varshift.h: New file.
72303         * sysdeps/i386/i686/multiarch/varshift.S: New file.
72304         * sysdeps/x86_64/multiarch/varshift.h: New file.
72305         * sysdeps/x86_64/multiarch/varshift.S: New file.
72307 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
72309         * configure.in: Move assembler checks to before sysdep dir checking.
72311 2010-08-20  Petr Baudis  <pasky@suse.cz>
72313         * LICENSES: Sync the sunrpc license.
72315 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
72317         * sunrpc/auth_des.c: Update copyright notice once again.
72318         * sunrpc/auth_none.c: Likewise.
72319         * sunrpc/auth_unix.c: Likewise.
72320         * sunrpc/authdes_prot.c: Likewise.
72321         * sunrpc/authuxprot.c: Likewise.
72322         * sunrpc/bindrsvprt.c: Likewise.
72323         * sunrpc/clnt_gen.c: Likewise.
72324         * sunrpc/clnt_perr.c: Likewise.
72325         * sunrpc/clnt_raw.c: Likewise.
72326         * sunrpc/clnt_simp.c: Likewise.
72327         * sunrpc/clnt_tcp.c: Likewise.
72328         * sunrpc/clnt_udp.c: Likewise.
72329         * sunrpc/clnt_unix.c: Likewise.
72330         * sunrpc/des_crypt.c: Likewise.
72331         * sunrpc/des_soft.c: Likewise.
72332         * sunrpc/get_myaddr.c: Likewise.
72333         * sunrpc/getrpcport.c: Likewise.
72334         * sunrpc/key_call.c: Likewise.
72335         * sunrpc/key_prot.c: Likewise.
72336         * sunrpc/openchild.c: Likewise.
72337         * sunrpc/pm_getmaps.c: Likewise.
72338         * sunrpc/pm_getport.c: Likewise.
72339         * sunrpc/pmap_clnt.c: Likewise.
72340         * sunrpc/pmap_prot.c: Likewise.
72341         * sunrpc/pmap_prot2.c: Likewise.
72342         * sunrpc/pmap_rmt.c: Likewise.
72343         * sunrpc/rpc/auth.h: Likewise.
72344         * sunrpc/rpc/auth_unix.h: Likewise.
72345         * sunrpc/rpc/clnt.h: Likewise.
72346         * sunrpc/rpc/des_crypt.h: Likewise.
72347         * sunrpc/rpc/key_prot.h: Likewise.
72348         * sunrpc/rpc/netdb.h: Likewise.
72349         * sunrpc/rpc/pmap_clnt.h: Likewise.
72350         * sunrpc/rpc/pmap_prot.h: Likewise.
72351         * sunrpc/rpc/pmap_rmt.h: Likewise.
72352         * sunrpc/rpc/rpc.h: Likewise.
72353         * sunrpc/rpc/rpc_des.h: Likewise.
72354         * sunrpc/rpc/rpc_msg.h: Likewise.
72355         * sunrpc/rpc/svc.h: Likewise.
72356         * sunrpc/rpc/svc_auth.h: Likewise.
72357         * sunrpc/rpc/types.h: Likewise.
72358         * sunrpc/rpc/xdr.h: Likewise.
72359         * sunrpc/rpc_clntout.c: Likewise.
72360         * sunrpc/rpc_cmsg.c: Likewise.
72361         * sunrpc/rpc_common.c: Likewise.
72362         * sunrpc/rpc_cout.c: Likewise.
72363         * sunrpc/rpc_dtable.c: Likewise.
72364         * sunrpc/rpc_hout.c: Likewise.
72365         * sunrpc/rpc_main.c: Likewise.
72366         * sunrpc/rpc_parse.c: Likewise.
72367         * sunrpc/rpc_parse.h: Likewise.
72368         * sunrpc/rpc_prot.c: Likewise.
72369         * sunrpc/rpc_sample.c: Likewise.
72370         * sunrpc/rpc_scan.c: Likewise.
72371         * sunrpc/rpc_scan.h: Likewise.
72372         * sunrpc/rpc_svcout.c: Likewise.
72373         * sunrpc/rpc_tblout.c: Likewise.
72374         * sunrpc/rpc_util.c: Likewise.
72375         * sunrpc/rpc_util.h: Likewise.
72376         * sunrpc/rpcinfo.c: Likewise.
72377         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
72378         * sunrpc/rpcsvc/key_prot.x: Likewise.
72379         * sunrpc/rpcsvc/klm_prot.x: Likewise.
72380         * sunrpc/rpcsvc/mount.x: Likewise.
72381         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
72382         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
72383         * sunrpc/rpcsvc/rex.x: Likewise.
72384         * sunrpc/rpcsvc/rstat.x: Likewise.
72385         * sunrpc/rpcsvc/rusers.x: Likewise.
72386         * sunrpc/rpcsvc/sm_inter.x: Likewise.
72387         * sunrpc/rpcsvc/spray.x: Likewise.
72388         * sunrpc/rpcsvc/yppasswd.x: Likewise.
72389         * sunrpc/rtime.c: Likewise.
72390         * sunrpc/svc.c: Likewise.
72391         * sunrpc/svc_auth.c: Likewise.
72392         * sunrpc/svc_authux.c: Likewise.
72393         * sunrpc/svc_raw.c: Likewise.
72394         * sunrpc/svc_run.c: Likewise.
72395         * sunrpc/svc_simple.c: Likewise.
72396         * sunrpc/svc_tcp.c: Likewise.
72397         * sunrpc/svc_udp.c: Likewise.
72398         * sunrpc/svc_unix.c: Likewise.
72399         * sunrpc/svcauth_des.c: Likewise.
72400         * sunrpc/xcrypt.c: Likewise.
72401         * sunrpc/xdr.c: Likewise.
72402         * sunrpc/xdr_array.c: Likewise.
72403         * sunrpc/xdr_float.c: Likewise.
72404         * sunrpc/xdr_mem.c: Likewise.
72405         * sunrpc/xdr_rec.c: Likewise.
72406         * sunrpc/xdr_ref.c: Likewise.
72407         * sunrpc/xdr_sizeof.c: Likewise.
72408         * sunrpc/xdr_stdio.c: Likewise.
72410         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
72411         handling.
72413 2010-08-19  Andreas Schwab  <schwab@redhat.com>
72415         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
72417 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
72419         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
72420         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
72421         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
72422         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
72423         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
72424         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
72425         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
72426         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
72427         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
72428         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
72429         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
72430         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
72431         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
72432         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
72434 2010-07-26  Anton Blanchard  <anton@samba.org>
72436         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
72437         * malloc/arena.c (heap_trim): Likewise.
72439 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
72441         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
72442         here.  Not...
72443         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
72444         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
72446 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
72448         * sysdeps/i386/elf/Makefile: New file.
72450 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
72452         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
72453         from fanotify_init.
72454         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
72455         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72457 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
72459         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
72460         of strncasecmp_l.
72461         * sysdeps/multiarch/strcmp.S: Likewise.
72463 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
72465         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72466         strncase_l-nonascii.
72467         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72468         Add strncase_l-ssse3.
72469         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
72470         * sysdeps/x86_64/strcmp.S: Likewise.
72471         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
72472         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
72473         * sysdeps/x86_64/strncase.S: New file.
72474         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
72475         * sysdeps/x86_64/strncase_l.S: New file.
72476         * string/Makefile (strop-tests): Add strncasecmp.
72477         * string/test-strncasecmp.c: New file.
72479         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
72480         warning.
72482         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
72483         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
72485 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
72487         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
72489 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
72491         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
72492         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
72493         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
72495 2010-05-01  Alan Modra  <amodra@gmail.com>
72497         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
72498         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
72499         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
72500         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
72501         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
72502         tidying.  Don't tail-call __sigjmp_save for static lib.
72503         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
72504         save location.
72505         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
72506         (CALL_MCOUNT): Add eh info, and nop after bl.
72507         (TAIL_CALL_SYSCALL_ERROR): New macro.
72508         (PSEUDO_RET): Use it.
72509         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
72510         Correct save location of integer regs and cr.
72511         (_dl_profile_resolve): Correct cr save location.  Delete nops
72512         after bl when SHARED.  Reduce cfi size a little by better
72513         placement of cfi directives.
72514         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
72515         make a stack frame.  Instead use parm save area as a temp.
72516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
72517         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
72518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
72519         Don't make a stack frame for parent, use parm save area.
72520         Increase child stack frame to 112 bytes.  Don't save unused reg,
72521         and adjust reg usage.  Set up cfi on error recovery and
72522         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
72523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
72524         (__makecontext): Add dummy nop after jump to exit.
72525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
72526         Use correct parm save area and cr save, reduce stack frame.
72527         Correct cfi for possible PSEUDO_RET frame setup.
72528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
72529         Branch to local label emitted by PSEUDO_RET rather than
72530         __syscall_error.
72532 2010-08-12  Andreas Schwab  <schwab@redhat.com>
72534         [BZ #11904]
72535         * locale/programs/locale.c (print_assignment): New function.
72536         (show_locale_vars): Use it.
72538 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
72540         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
72541         field.
72542         (struct statfs64): Likewise.
72543         (_STATFS_F_FLAGS): Define.
72544         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
72545         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72546         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
72547         (ST_VALID): Define locally.
72548         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
72549         __statvfs_getflags, use the provided value.
72550         * sysdeps/unix/sysv/linux/kernel-features.h: Define
72551         __ASSUME_STATFS_F_FLAGS.
72553         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
72555         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
72556         Add sys/fanotify.h.
72557         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
72558         fanotify_mask for GLIBC_2.13.
72559         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
72560         fanotify_init and fanotify_mark.
72561         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72562         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
72564         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
72565         Add prlimit.
72566         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
72567         prlimit64 for GLIBC_2.13.
72568         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
72569         prlimit64.
72570         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
72571         syscall.
72572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
72573         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72574         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
72575         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
72576         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
72577         add prlimit alias.
72578         * sysdeps/unix/sysv/linux/prlimit.c: New file.
72580         [BZ #11903]
72581         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
72582         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
72584         * nss/Makefile: Add rules to build and run tst-nss-test1.
72585         * shlib-versions: Add entry for libnss_test1.
72586         * nss/nss_test1.c: New file.
72587         * nss/tst-nss-test1.c: New file.
72589         * nss/nsswitch.c (__nss_database_custom): Define new variable.
72590         (__nss_configure_lookup): Set appropriate entry in
72591         __nss_configure_lookup to true.
72592         * nss/nsswitch.h: Define enum with indeces of databases in
72593         databases and __nss_database_custom arrays.  Declare
72594         __nss_database_custom.
72595         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
72596         to avoid using nscd when custom rules are installed.
72597         * nss/getXXbyYY_r.c: Likewise.
72598         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
72600         * nss/nss_files/files-parse.c: Whitespace fixes.
72602 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
72604         [BZ #11883]
72605         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
72606         * posix/fnmatch_loop.c: Likewise.
72608 2010-07-17  Andi Kleen  <ak@linux.intel.com>
72610         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
72611         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
72612         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
72613         * Versions.def [GLIBC_2.13]: Add.
72615 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
72617         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72618         Also fail if tpwd after pwuid call is NULL.
72620 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72622         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
72623         when converting to ms.
72625 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72627         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
72628         EOPNOTSUPP errors with ENOTTY.
72629         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
72630         EOPNOTSUPP errors with ENOTTY.
72632 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
72634         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72635         Add strcasecmp_l-ssse3.
72636         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
72637         strcasecmp.
72638         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
72639         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
72640         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
72642 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
72644         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
72646         * string/Makefile (strop-tests): Add strcasecmp.
72647         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72648         strcasecmp_l-nonascii.
72649         (gen-as-const-headers): Add locale-defines.sym.
72650         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
72651         * sysdeps/x86_64/strcasecmp.S: New file.
72652         * sysdeps/x86_64/strcasecmp_l.S: New file.
72653         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
72654         * sysdeps/x86_64/locale-defines.sym: New file.
72655         * string/test-strcasecmp.c: New file.
72657         * string/test-strcasestr.c: Test both ends of the range of characters.
72658         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
72660 2010-07-29  Roland McGrath  <roland@redhat.com>
72662         [BZ #11856]
72663         * manual/locale.texi (Yes-or-No Questions): Fix example code.
72665 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
72667         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
72668         for ld.so.
72670 2010-07-27  Andreas Schwab  <schwab@redhat.com>
72672         * manual/memory.texi (Malloc Tunable Parameters): Document
72673         M_PERTURB.
72675 2010-07-26  Roland McGrath  <roland@redhat.com>
72677         [BZ #11840]
72678         * configure.in (-fgnu89-inline check): Set and substitute
72679         gnu89_inline, not libc_cv_gnu89_inline.
72680         * configure: Regenerated.
72681         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
72683 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
72685         * string/test-strnlen.c: New file.
72686         * string/Makefile (strop-tests): Add strnlen.
72687         * string/tester.c (test_strnlen): Add a few more test cases.
72688         * string/tst-strlen.c: Better error reporting.
72690         * sysdeps/x86_64/strnlen.S: New file.
72692 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
72694         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
72695         lower-latency instructions.
72697 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
72699         * string/test-strcasestr.c: New file.
72700         * string/test-strstr.c: New file.
72701         * string/Makefile (strop-tests): Add strstr and strcasestr.
72702         * string/str-two-way.h: Don't undefine MAX.
72703         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
72705 2010-07-21  Andreas Schwab  <schwab@redhat.com>
72707         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72708         strcasestr-nonascii.
72709         (CFLAGS-strcasestr-nonascii.c): Define.
72710         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
72711         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
72712         Remove unused attribute.
72714 2010-07-20  Roland McGrath  <roland@redhat.com>
72716         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
72717         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
72718         ld.so.cache was broken.  With it, there is no way to disable dsocaps
72719         like LD_HWCAP_MASK can disable hwcaps.
72721 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
72723         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
72725 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
72727         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
72728         call in strcasestr.
72729         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
72730         __strcasestr_sse42_nonascii.
72731         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
72732         strcasestr-nonascii.c.
72733         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
72735 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
72737         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
72738         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
72739         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
72740         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
72742 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
72744         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
72745         fcntl.
72747 2010-07-06  Andreas Schwab  <schwab@redhat.com>
72749         [BZ #11577]
72750         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
72751         dl_signal_cerror.
72753 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
72755         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
72756         _PC_PIPE_BUF using F_GETPIPE_SZ.
72758 2010-07-05  Roland McGrath  <roland@redhat.com>
72760         * manual/arith.texi (Rounding Functions): Fix rint description
72761         implicit in round description.
72763 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
72765         * elf/Makefile: Fix linking for a few tests to make recent linker
72766         happy.
72768 2010-06-30  Andreas Schwab  <schwab@redhat.com>
72770         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
72771         $(common-objpfx)libc_nonshared.a.
72773 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
72775         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
72776         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
72777         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
72778         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
72779         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
72780         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
72781         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
72782         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
72783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
72784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
72785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
72786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
72787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
72788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
72789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
72790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
72791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
72792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
72793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
72794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
72795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
72796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
72797         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
72798         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
72799         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
72800         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
72801         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
72802         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
72803         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
72804         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
72805         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
72806         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
72807         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
72808         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
72809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
72810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
72811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
72812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
72813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
72814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
72815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
72816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
72817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
72818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
72819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
72820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
72821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
72822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
72824 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
72826         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
72827         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
72828         * string/memmove.c (memmove): Renamed to ...
72829         (MEMMOVE): ...this.  Default to memmove.
72830         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
72831         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
72832         (END_CHK): Define.
72833         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72834         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
72835         mempcpy-ssse3-back memmove-ssse3-back.
72836         * sysdeps/x86_64/multiarch/bcopy.S: New file .
72837         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
72838         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
72839         * sysdeps/x86_64/multiarch/memcpy.S: New file.
72840         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
72841         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
72842         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
72843         * sysdeps/x86_64/multiarch/memmove.c: New file.
72844         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
72845         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
72846         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
72847         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
72848         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
72849         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
72850         Define.
72851         (index_Fast_Copy_Backward): Define.
72852         (HAS_ARCH_FEATURE): Define.
72853         (HAS_FAST_REP_STRING): Define.
72854         (HAS_FAST_COPY_BACKWARD): Define.
72856 2010-06-21  Andreas Schwab  <schwab@redhat.com>
72858         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72859         Restore proper fallback handling.
72861 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
72863         [BZ #11701]
72864         * posix/group_member.c (__group_member): Correct checking loop.
72866         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
72867         OOM in getpwuid_r correctly.  Return error number when the caller
72868         should return, otherwise -1.
72869         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
72870         call returning > 0 value.
72871         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
72873 2010-06-07  Andreas Schwab  <schwab@redhat.com>
72875         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
72876         libc_nonshared.a from targets in modules-names.
72878 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
72880         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
72881         requires it.
72883 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
72885         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
72886         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
72887         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
72888         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
72890 2010-06-02  Andreas Schwab  <schwab@redhat.com>
72892         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
72894 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
72896         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
72897         and F_GETPIPE_SZ.
72898         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
72899         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72900         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72901         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72902         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72903         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72905 2010-06-14  Roland McGrath  <roland@redhat.com>
72907         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
72909 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
72911         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
72912         __REDIRECT followed by __THROW.
72913         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
72914         * posix/getopt.h (getopt): Likewise.
72916 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
72918         * hurd/lookup-at.c (__file_name_lookup_at): Accept
72919         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
72920         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
72921         in AT_FLAGS.
72922         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
72923         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
72925 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
72927         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
72929 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
72931         [BZ #11640]
72932         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72933         Properly check family and model.
72935 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
72937         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
72939 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
72941         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
72943 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
72945         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
72946         symbol reference.
72948 2010-05-19  Andreas Schwab  <schwab@redhat.com>
72950         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
72951         symbol reference.
72953 2010-05-21  Andreas Schwab  <schwab@redhat.com>
72955         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
72956         and internal_recvmmsg.
72957         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
72958         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
72959         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
72960         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
72962         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
72963         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72964         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72966 2010-05-20  Andreas Schwab  <schwab@redhat.com>
72968         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
72970 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
72972         POWER7 optimizations.
72973         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
72974         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
72976 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
72978         * version.h: Update for 2.13 development version.
72980 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
72982         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
72983         exceptions.  Return 0.
72985 2010-05-07  Roland McGrath  <roland@redhat.com>
72987         * elf/ldconfig.c (main): Add a const.
72989 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
72991         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
72992         (args_options): Add no-idn option.
72993         (ahosts_keys_int): Add idn_flags to ai_flags.
72994         (parse_option): Handle 'i' option to clear idn_flags.
72996         * malloc/malloc.c (_int_free): Possible race in the most recently
72997         added check.  Only act on the data if no current modification
72998         happened.
73000 See ChangeLog.17 for earlier changes.