Add more totalorder tests.
[glibc.git] / ChangeLog
blob5b8443bf84570d8c121211e1c657f3efa49dbea2
1 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
3         * math/libm-test.inc (totalorder_test_data): Add more tests.
5 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
7         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
8         Undefine weak_alias and add a comment why mips64 require
9         versioning.
11 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
13         [BZ #20647]
14         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15         maximum CPUID level is less than 2.
17 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
19         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
20         (totalorder): New declaration.
21         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
22         New macro.
23         * math/Versions (totalorder): New libm symbol at version
24         GLIBC_2.25.
25         (totalorderf): Likewise.
26         (totalorderl): Likewise.
27         * math/Makefile (libm-calls): Add s_totalorderF.
28         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
29         string.
30         * math/libm-test.inc (PAYLOAD_DIG): New macro.
31         (qnan_value_pl): Likewise.
32         (snan_value_pl): Likewise.
33         (qnan_value): Define using qnan_value_pl.
34         (snan_value): Define using snan_value_pl.
35         (struct test_ff_i_data): Add comment about which tests use this
36         structure.
37         (RUN_TEST_ff_b): New macro.
38         (RUN_TEST_LOOP_ff_b): Likewise.
39         (totalorder_test_data): New array.
40         (totalorder_test): New function.
41         (main): Call totalorder_test.
42         * math/test-tgmath.c (NCALLS): Increase to 122.
43         (F(compile_test)): Call totalorder.
44         (F(totalorder)): New function.
45         * manual/arith.texi (FP Comparison Functions): Document
46         totalorder, totalorderf and totalorderl.
47         * manual/libm-err-tab.pl: Update comment on interfaces without
48         ulps tabulated.
49         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
50         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
51         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
52         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
53         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
54         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
55         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
56         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
57         totalorder.
58         (CFLAGS-nldbl-totalorder.c): New variable.
59         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
60         file.
61         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
62         Add test-totalorderl-ldbl-128ibm.
63         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
64         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
65         test-totalorderl-ldbl-96.
66         * sysdeps/nacl/libm.abilist: Update.
67         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
68         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
69         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
70         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
71         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
72         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
73         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
74         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
75         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
76         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
77         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
78         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
79         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
80         Likewise.
81         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
82         Likewise.
83         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
84         Likewise.
85         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
86         Likewise.
87         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
88         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
89         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
90         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
91         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
92         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
93         Likewise.
94         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
95         Likewise.
96         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
97         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
98         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
100 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
102         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
103         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
104         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
105         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
106         remove ENOSYS implementation.
107         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
108         Consolidate all Linux implementations.
110 2016-10-11  Florian Weimer  <fweimer@redhat.com>
112         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
113         * resolv/herror.c (herror): Cast away const-ness.
114         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
115         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
117 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
119         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
120         instead of M_NAN + M_NAN.
121         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
123 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
125         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
126         unused variable 'p'.
128 2016-10-09  Alan Modra  <amodra@gmail.com>
129             Andreas Schwab  <schwab@linux-m68k.org>
131         [BZ #20554]
132         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
133         [PIC && !SHARED]: Set up PIC register for PLT call.
135 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
137         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
138         conditional on value of [__FLT_EVAL_METHOD__].
139         * math/test-iseqsig-excess-precision.c: New file.
140         * math/Makefile (tests): Add test-iseqsig-excess-precision.
142 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
144         * math/s_iseqsig_template.c: Include math-private.h.
146         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
147         * posix/tst-posix_fadvise.c: New file.
148         * posix/tst-posix_fadvise64.c: Likewise.
149         * posix/tst-posix_fadvise-common.c: Likewise.
150         * sysdeps/unix/sysv/linux/arm/kernel-features.h
151         (__ASSUME_FADVISE64_64_6ARG): Define.
152         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
153         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
154         * sysdeps/unix/sysv/linux/tile/kernel-features.h
155         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
156         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
157         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
158         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
159         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
160         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
161         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
162         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
163         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
166         Likewise.
167         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
168         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
169         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
170         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
171         Alias to __posix_fadvise64_l32.
172         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
173         Add compat definition to posix_fadvise64.
174         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
175         Add versioned definition to posix_fadvise64.
176         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
177         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
178         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
179         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
180         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
182         * io/Makefile (tests): Add tst-posix_fallocate and
183         tst-posix_fallocate64.
184         * io/tst-posix_fallocate-common.c: New file.
185         * io/tst-posix_fallocate.c: Likewise.
186         * io/tst-posix_fallocate64.c: Likewise.
187         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
188         file.
189         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
190         Likewise.
191         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
192         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
193         Likewise.
194         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
195         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
196         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
197         SYSCALL_LL to pass both offset and len arguments.
198         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
199         Likewise.
200         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
201         __libc_pwrite64 alias used by posix_fallocate64.
203         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
204         tst-fallocate64.
205         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
206         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
207         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
208         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
209         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
210         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
211         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
212         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
213         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
214         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
215         macro on offset argument.
216         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
217         SYSCALL_LL64 on offset argument.
219         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
220         tst-fallocate64.
221         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
222         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
223         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
224         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
225         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
226         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
227         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
228         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
229         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
230         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
231         macro on offset argument.
232         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
233         SYSCALL_LL64 on offset argument.
234         * test-skeleton.c (FAIL_RET): Add macro.
235         (FAIL_EXIT): Likewise.
236         (FAIL_EXIT1): Likewise.
237         (_FAIL): Likewise.
239 2016-10-07  Florian Weimer  <fweimer@redhat.com>
241         [BZ #20629]
242         resolv: Remove RES_USEBSTRING and its implementation.
243         * resolv/resolv.h (RES_USEBSTRING): Remove.
244         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
245         (digitvalue, encode_bitstring, decode_bitstring): Remove.
246         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
247         (labellen): Remove extended label types support.
248         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
249         * resolv/res_init.c (res_setoptions): Likewise.
250         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
252 2016-10-07  Florian Weimer  <fweimer@redhat.com>
254         resolv: Remove RES_NOIP6DOTINT and its implementation.
255         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
256         (RES_NOIP6DOTINT): Remove.
257         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
258         handling.
259         * resolv/res_debug.c (p_option): Likewise.
260         * resolv/res_init.c (res_setoptions): Likewise.
261         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
263 2016-10-07  Florian Weimer  <fweimer@redhat.com>
265         resolv: Deprecate unimplemented flags.
266         * misc/sys/cdefs.h (__glibc_macro_warning1)
267         (__glibc_macro_warning): Define.
268         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
269         (RES_KEEPTSIG): Mark as deprecated.
270         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
271         RES_NOCHECKNAME, RES_KEEPTSIG.
272         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
274 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
276         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
277         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
278         Use strong_alias to create symbols for glibc verison 2.19.
280 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
282         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
284 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
286         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
288 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
290         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
292 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
294         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
295         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
296         in header for using it as type for ifunc function because __GI_* symbols
297         for ppc32 do not target the ifunc symbols.
298         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
300 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
302         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
303         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
304         libc_ifunc_hidden_def.
305         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
306         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
307         Redirect ifunced function in header for using it as type of ifunc'ed
308         function. Redefine libc_hidden_def to use fallback non ifunc'ed
309         function for __GI_* symbol.
310         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
311         * include/libc-symbols.h
312         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
314 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
316         [BZ #20478]
317         * sysdeps/s390/multiarch/ifunc-resolve.h
318         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
319         to create ifunc symbols.
320         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
321         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
322         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
323         for using it as type for ifunc function.
324         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
325         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
326         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
327         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
328         * sysdeps/s390/multiarch/strcat.c: Likewise.
329         * sysdeps/s390/multiarch/strchr.c: Likewise.
330         * sysdeps/s390/multiarch/strcmp.c: Likewise.
331         * sysdeps/s390/multiarch/strcpy.c: Likewise.
332         * sysdeps/s390/multiarch/strcspn.c: Likewise.
333         * sysdeps/s390/multiarch/strlen.c: Likewise.
334         * sysdeps/s390/multiarch/strncmp.c: Likewise.
335         * sysdeps/s390/multiarch/strncpy.c: Likewise.
336         * sysdeps/s390/multiarch/strnlen.c: Likewise.
337         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
338         * sysdeps/s390/multiarch/strrchr.c: Likewise.
339         * sysdeps/s390/multiarch/strspn.c: Likewise.
340         * sysdeps/s390/multiarch/wcschr.c: Likewise.
341         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
342         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
343         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
344         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
345         * sysdeps/s390/multiarch/wmemset.c: Likewise.
346         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
347         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
348         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
349         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
350         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
351         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
353 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
355         * include/libc-symbols.h (__ifunc_resolver):
356         New macro is used by __ifunc* macros.
357         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
358         depending on HAVE_GCC_IFUNC.
359         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
360         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
362         Redirect ifunced function in header for using as type for ifunc function.
363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
367         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
368         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
369         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
370         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
371         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
372         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
373         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
374         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
375         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
376         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
382         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
383         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
384         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
385         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
386         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
387         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
388         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
389         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
390         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
391         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
392         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
393         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
394         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
395         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
397         Add libc_hidden_def() and use libc_ifunc_hidden() macro
398         instead of libc_ifunc() macro.
399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
400         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
402 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
404         * config.h.in (HAVE_GCC_IFUNC): New undef.
405         * configure.ac: Add check if gcc supports attribute ifunc feature.
406         * configure: Regenerated.
407         * manual/install.texi: Add recommendation for gcc with
408         indirect-function support.
409         * INSTALL: Regenerated.
411 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
413         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
414         macro.
415         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
416         (__iseqsig): New declaration.
417         * math/s_iseqsig_template.c: New file.
418         * math/Versions (__iseqsigf): New libm symbol at version
419         GLIBC_2.25.
420         (__iseqsig): Likewise.
421         (__iseqsigl): Likewise.
422         * math/libm-test.inc (iseqsig_test_data): New array.
423         (iseqsig_test): New function.
424         (main): Call iseqsig_test.
425         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
426         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
427         * manual/libm-err-tab.pl: Update comment on interfaces without
428         ulps tabulated.
429         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
430         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
431         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
432         * sysdeps/nacl/libm.abilist: Update.
433         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
434         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
435         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
436         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
437         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
438         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
439         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
440         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
441         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
442         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
443         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
444         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
446         Likewise.
447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
448         Likewise.
449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
450         Likewise.
451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
452         Likewise.
453         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
454         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
455         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
456         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
457         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
459         Likewise.
460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
461         Likewise.
462         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
463         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
464         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
466 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
468         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
469         do_sincos_2, sloww, sloww1): Update comments.
471         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
472         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
474         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
475         K boolean and rename it.
476         (__sin): Adjust.
477         (__cos): Adjust.
479 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
480             Siddhesh Poyarekar  <siddhesh@sourceware.org>
482         * manual/nss.texi: Fix typos in the manual.
484 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
486         * manual/contrib.texi: Fix typos in the manual.
488         * manual/maint.texi: Fix typos in the manual.
490         * manual/install.texi: Fix typos in the manual.
491         * INSTALL: Regenerated.
493         * manual/lang.texi: Fix typos in the manual.
495         * manual/probes.texi: Fix typos in the manual.
497         * manual/threads.texi: Fix typos in the manual.
499         * manual/debug.texi: Fix typos in the manual.
501         * manual/crypt.texi: Fix typos in the manual.
503         * manual/conf.texi: Fix typos in the manual.
505         * manual/sysinfo.texi: Fix typos in the manual.
507         * manual/users.texi: Fix typos in the manual.
509         * manual/job.texi: Fix typos in the manual.
511         * manual/process.texi: Fix typos in the manual.
513         * manual/argp.texi: Fix typos in the manual.
514         * manual/getopt.texi: Likewise.
515         * manual/startup.texi: Likewise.
517         * manual/signal.texi: Fix typos in the manual.
519         * manual/setjmp.texi: Fix typos in the manual.
521         * manual/resource.texi: Fix typos in the manual.
523         * manual/time.texi: Fix typos in the manual.
525         * manual/arith.texi: Fix typos in the manual.
527         * manual/math.texi: Fix typos in the manual.
529         * manual/syslog.texi: Fix typos in the manual.
531         * manual/terminal.texi: Fix typos in the manual.
533         * manual/socket.texi: Fix typos in the manual.
535         * manual/filesys.texi: Fix typos in the manual.
537         * manual/llio.texi: Fix typos in the manual.
539         * manual/stdio.text: Fix typos in the manual.
541 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
543         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
544         instead of K1.
546         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
547         SHIFT_QUADRANT and make it bool.
548         (do_sincos_2): Likewise.
549         (sloww): Likewise.
550         (sloww1): Likewise.
551         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
552         (__cos): Likewise.
554 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
556         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
558 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
560         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
561         Define to __WORDSIZE, not conditional on [LONG_MAX ==
562         0x7fffffffL].
563         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
565 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
567         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
568         inline by __inline__.
569         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
570         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
571         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
572         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
573         sigset_t from signal.h.
574         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
575         which is already required.
577 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
579         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
581 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
583         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
584         (struct tcp_repair_window): New type.
586 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
588         * libio/tst-memstream3.c: Include string.h.
590 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
592         [BZ #18241]
593         [BZ #20181]
594         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
595         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
596         write position is at the end the buffer.
597         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
598         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
599         (_IO_str_seekoff): Set correct offset from negative displacement and
600         set EINVAL for invalid ones.
601         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
602         buffer length.
603         (_IO_wstr_switch_to_get_mode): New function.
604         (_IO_wstr_seekoff): Set correct offset from negative displacement and
605         set EINVAL for invalid ones.
606         * libio/tst-memstream3.c: New file.
607         * libio/tst-wmemstream3.c: Likewise.
608         * manual/examples/memstrm.c: Remove warning when priting size_t.
610 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
612         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
613         macro to use __builtin_fma.
614         * sysdeps/x86_64/fpu/dla.h: Remove file.
616         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
617         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
618         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
620 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
622         [BZ #20292]
623         * elf/Makefile (routines): Add dl-addr-obj.
624         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
625         tst-_dl_addr_inside_object.
626         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
627         [ifeq (yesyes,$(have-fpie)$(build-shared))]
628         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
629         [ifeq (yesyes,$(have-fpie)$(build-shared))]
630         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
631         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
632         * elf/dl-open.c: Likewise.
633         * elf/dl-addr-obj.c: New file.
634         * elf/tst-_dl_addr_inside_object.c: New file.
636 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
638         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
639         <bits/iscanonical.h>.
640         * bits/iscanonical.h: New file.
641         * math/s_iscanonicall.c: Likewise.
642         * math/Versions (__iscanonicall): New libm symbol at version
643         GLIBC_2.25.
644         * math/libm-test.inc (iscanonical_test_data): New array.
645         (iscanonical_test): New function.
646         (main): Call iscanonical_test.
647         * math/Makefile (headers): Add bits/iscanonical.h.
648         (type-ldouble-routines): Add s_iscanonicall.
649         * manual/arith.texi (Floating Point Classes): Document
650         iscanonical.
651         * manual/libm-err-tab.pl: Update comment on interfaces without
652         ulps tabulated.
653         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
654         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
655         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
656         Likewise.
657         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
658         test-iscanonical-ldbl-128ibm.
659         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
660         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
661         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
662         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
663         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
664         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
665         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
667         Likewise.
668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
669         Likewise.
670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
671         Likewise.
672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
673         Likewise.
674         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
675         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
677 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
679         * string/bits/string3.h: Remove C++ style comments.
681 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
683         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
684         instead of ternary condition.
685         (do_sincos_2): Likewise.
686         (__sin): Likewise.
687         (__cos): Likewise.
688         (slow): Likewise.
689         (sloww): Likewise.
690         (sloww1): Likewise.
691         (bsloww): Likewise.
692         (bsloww1): Likewise.
694         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
695         instead of ternary condition.
696         (do_sin_slow): Likewise.
697         (do_sincos_1): Likewise.
698         (do_sincos_2): Likewise.
699         (__cos): Likewise.
700         (sloww): Likewise.
701         (sloww1): Likewise.
702         (sloww2): Likewise.
703         (bsloww): Likewise.
704         (bsloww1): Likewise.
705         (bsloww2): Likewise.
707         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
708         check from here...
709         (slow2): ... and here...
710         (__sin): ... to here.
712 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
714         * math/math.h
715         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
716         Cast argument to its own type.
717         * math/test-iszero-excess-precision.c: New file.
718         * math/Makefile (tests): Add test-iszero-excess-precision.
719         (CFLAGS-test-iszero-excess-precision.c): New variable.
721 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
723         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
724         field, add err field.
725         (__spawni_child): Report error through err member instead of pipe.
726         (__spawnix): Likewise.
728 2016-09-28  Zack Weinberg  <zackw@panix.com>
730         * scripts/check-installed-headers.sh: Generalize treatment of
731         sys/elf.h to all target architectures.
733         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
734         deleted typedef ucontext_t.
736 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
738         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
739         (__INTERNAL_SYSCALL1): Likewise.
740         (__INTERNAL_SYSCALL2): Likewise.
741         (__INTERNAL_SYSCALL3): Likewise.
742         (__INTERNAL_SYSCALL4): Likewise.
743         (__INTERNAL_SYSCALL5): Likewise.
744         (__INTERNAL_SYSCALL6): Likewise.
745         (__INTERNAL_SYSCALL7): Likewise.
746         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
747         (__INTERNAL_SYSCALL_NARGS): Likewise.
748         (__INTERNAL_SYSCALL_DISP): Likewise.
749         (INTERNAL_SYSCALL_CALL): Likewise.
750         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
751         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
752         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
753         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
754         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
755         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
756         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
757         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
758         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
759         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
760         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
761         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
762         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
764 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
766         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
767         macro.
768         * math/libm-test.inc (iszero_test_data): New array.
769         (iszero_test): New function.
770         (main): Call iszero_test.
771         * manual/arith.texi (Floating Point Classes): Document iszero.
772         * manual/libm-err-tab.pl: Update comment on interfaces without
773         ulps tabulated.
775 2016-09-23  Zack Weinberg  <zackw@panix.com>
777         * scripts/check-installed-headers.sh: New script.
778         * Rules: In each directory that defines header files to be installed,
779         run check-installed-headers.sh on them as a special test.
780         * Makefile: Likewise for the headers installed at top level.
782         * include/aliases.h, include/alloca.h, include/argz.h
783         * include/arpa/nameser.h, include/arpa/nameser_compat.h
784         * include/elf.h, include/envz.h, include/err.h
785         * include/execinfo.h, include/fpu_control.h, include/getopt.h
786         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
787         * include/link.h, include/malloc.h, include/mcheck.h
788         * include/mntent.h, include/netinet/ether.h
789         * include/nss.h, include/obstack.h, include/printf.h
790         * include/pty.h, include/resolv.h, include/rpc/auth.h
791         * include/rpc/auth_des.h, include/rpc/auth_unix.h
792         * include/rpc/clnt.h, include/rpc/des_crypt.h
793         * include/rpc/key_prot.h, include/rpc/netdb.h
794         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
795         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
796         * include/rpc/rpc_msg.h, include/rpc/svc.h
797         * include/rpc/svc_auth.h, include/rpc/xdr.h
798         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
799         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
800         * include/rpcsvc/ypupd.h, include/shadow.h
801         * include/stdio_ext.h, include/sys/epoll.h
802         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
803         * include/sys/prctl.h, include/sys/profil.h
804         * include/sys/statfs.h, include/sys/sysctl.h
805         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
806         * sysdeps/arm/nacl/include/bits/setjmp.h
807         * sysdeps/mips/include/sys/asm.h
808         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
809         * sysdeps/unix/sysv/linux/include/sys/timex.h
810         * sysdeps/x86/fpu/include/bits/fenv.h:
811         Add #ifndef _ISOMAC guard around internal declarations.
812         Add multiple-inclusion guard if not already present.
814 2016-09-23  Zack Weinberg  <zackw@panix.com>
816         * sysdeps/generic/sys/ucontext.h
817         * sysdeps/arm/sys/ucontext.h
818         * sysdeps/i386/sys/ucontext.h
819         * sysdeps/m68k/sys/ucontext.h
820         * sysdeps/mips/sys/ucontext.h
821         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
822         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
823         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
824         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
825         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
826         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
827         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
828         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
829         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
830         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
831         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
832         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
833         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
834         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
835         Include both bits/sigcontext.h and bits/sigstack.h.
836         Fix grammar error in comment, if present.
838         * bits/sigstack.h
839         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
840         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
841         * sysdeps/unix/sysv/linux/bits/sigstack.h
842         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
843         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
844         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
845         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
846         * bits/sigcontext.h
847         * sysdeps/mach/hurd/i386/bits/sigcontext.h
848         * sysdeps/unix/sysv/linux/bits/sigcontext.h
849         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
850         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
851         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
852         as well as signal.h, if this was not already allowed.  Request
853         definition of size_t if necessary.  Minimize semantically-null
854         differences across files.
856 2016-09-23  Zack Weinberg  <zackw@panix.com>
858         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
859         Remove all logic conditional on __need macros.  Move all the
860         conditionally defined types to their own headers...
861         * time/bits/types/clock_t.h: Define clock_t here.
862         * time/bits/types/clockid_t.h: Define clockid_t here.
863         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
864         * time/bits/types/struct_timespec.h: Define struct timespec here.
865         * time/bits/types/struct_timeval.h: Define struct timeval here.
866         * time/bits/types/struct_tm.h: Define struct tm here.
867         * time/bits/types/time_t.h: Define time_t here.
868         * time/bits/types/timer_t.h: Define timer_t here.
869         * time/Makefile: Install the new headers.
871         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
872         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
873         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
874         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
875         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
876         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
877         * sysdeps/unix/sysv/linux/bits/resource.h
878         * sysdeps/unix/sysv/linux/bits/timex.h
879         * sysdeps/unix/sysv/linux/mips/bits/resource.h
880         * sysdeps/unix/sysv/linux/net/ppp_defs.h
881         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
882         * sysdeps/unix/sysv/linux/sys/acct.h
883         * sysdeps/unix/sysv/linux/sys/timerfd.h
884         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
885         * time/sys/time.h, time/sys/timeb.h
886         Use the new bits/types headers.
888         * include/time.h: Remove __need logic.
889         * include/bits/time.h
890         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
891         * include/bits/types/time_t.h, include/bits/types/timer_t.h
892         * include/bits/types/struct_itimerspec.h
893         * include/bits/types/struct_timespec.h
894         * include/bits/types/struct_timeval.h
895         * include/bits/types/struct_tm.h:
896         New wrapper headers.
898 2016-09-23  Zack Weinberg  <zackw@panix.com>
900         * sysdeps/mach/hurd/net/if_ppp.h
901         * sysdeps/unix/sysv/linux/net/if_ppp.h:
902         Only define struct ifpppstatsreq and struct ifpppcstatsreq
903         if __USE_MISC is defined, to ensure struct ifreq is declared.
905         * inet/netinet/ether.h: Condition all function prototypes
906         on __USE_MISC, to ensure struct ether_addr is declared.
908         * socket/bits/types/struct_osockaddr.h: New header.
909         * include/bits/types/struct_osockaddr.h: New wrapper.
910         * socket/Makefile: Install the new header.
911         * socket/sys/socket.h, inet/protocols/talkd.h:
912         Refer to bits/types/struct_osockaddr.h for the definition of
913         struct osockaddr.
915 2016-09-23  Zack Weinberg  <zackw@panix.com>
917         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
918         * inet/protocols/routed.h, inet/protocols/talkd.h
919         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
920         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
921         * sysdeps/generic/netinet/if_ether.h
922         * sysdeps/generic/netinet/in_systm.h
923         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
924         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
925         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
926         * sysdeps/mach/hurd/net/if_arp.h
927         * sysdeps/mach/hurd/net/if_ppp.h
928         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
929         * sysdeps/unix/sysv/linux/bits/in.h
930         * sysdeps/unix/sysv/linux/net/ethernet.h
931         * sysdeps/unix/sysv/linux/net/if_arp.h
932         * sysdeps/unix/sysv/linux/net/if_ppp.h
933         * sysdeps/unix/sysv/linux/net/if_shaper.h
934         * sysdeps/unix/sysv/linux/net/route.h
935         * sysdeps/unix/sysv/linux/netinet/if_ether.h
936         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
937         * sysdeps/unix/sysv/linux/netinet/if_tr.h
938         * sysdeps/unix/sysv/linux/netipx/ipx.h
939         * sysdeps/unix/sysv/linux/sys/acct.h
940         * include/arpa/nameser.h, include/resolv.h:
941         Change all uses of u_char to unsigned char,
942         u_short and ushort to unsigned short, u_int and uint to unsigned int,
943         u_long and ulong to unsigned long, u_int8_t to uint8_t,
944         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
945         and u_int64_t and u_quad_t to uint64_t.
947         * mach/sys/reboot.h: Remove two casts of integer literals
948         to the types they already have.
950         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
951         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
952         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
953         from referring to 'unsigned char' to 'uint8_t' for consistency with
954         the macro definition below.
956         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
957         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
958         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
959         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
960         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
961         * sysdeps/unix/sysv/linux/sys/acct.h
962         * include/arpa/nameser.h, include/resolv.h:
963         Fix indentation disrupted by mechanical edits.
965         * inet/protocols/talkd.h, resolv/arpa/nameser.h
966         * sysdeps/generic/netinet/in_systm.h
967         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
968         * sysdeps/gnu/netinet/udp.h
969         * sysdeps/unix/sysv/linux/net/ethernet.h
970         * sysdeps/unix/sysv/linux/net/if_arp.h
971         * sysdeps/unix/sysv/linux/net/if_ppp.h
972         * sysdeps/unix/sysv/linux/net/if_shaper.h
973         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
974         * sysdeps/unix/sysv/linux/netinet/if_tr.h
975         * sysdeps/unix/sysv/linux/netipx/ipx.h
976         * sysdeps/unix/sysv/linux/sys/acct.h
977         Include stdint.h for uintNN_t definitions.
978         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
980 2016-09-23  Zack Weinberg  <zackw@panix.com>
982         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
983         * sysdeps/unix/sysv/linux/netrose/rose.h:
984         Include sys/socket.h and netax25/ax25.h.
986         * inet/netinet/icmp6.h, inet/netinet/ip6.h
987         * resolv/arpa/nameser_compat.h:
988         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
990         * sysdeps/unix/sysv/linux/sys/quota.h:
991         Use __caddr_t instead of caddr_t.
992         * sysdeps/unix/sysv/linux/sys/timerfd.h:
993         Use __clockid_t instead of clockid_t.
995         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
997         * argp/argp.h: Check whether _LIBC is defined before expanding it.
998         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
999         expanding it.
1001         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
1002         Define __glibc_c99_flexarr_available to 1 when the compiler
1003         supports C99-compatible flexible array members, 0 otherwise.
1004         * sysdeps/unix/sysv/linux/bits/socket.h
1005         * sysdeps/mach/hurd/bits/socket.h
1006         * bits/socket.h: Use __glibc_c99_flexarr_available in
1007         definitions of struct cmsghdr and CMSG_DATA.
1009 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1011         * manual/nss.texi (NSS Modules Interface): Adjust function return
1012         type to enum nss_status.  Document errnop argument.  Clarify
1013         h_errnop semantics.  Fix cross-reference formatting.
1014         (NSS Module Function Internals): Mention that *errnop needs to be
1015         set on failure, but not to zero.
1017 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1019         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
1020         (get_random_name): New functions.
1021         (check_wrapper_flags_mode): Use linkat to give the new file a name
1022         determined by get_random_name.
1023         (do_test): Add calls to test open64 and openat64.
1025 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1027         * test-skeleton.c: Remove #include <stdarg.h>.
1029 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
1031         [BZ #19826]
1032         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
1033         initialization of static TLS entries.
1034         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
1035         * nptl/allocatestack.c (init_one_static_tls): Likewise.
1037 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1039         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
1040         _hurd_malloc_fork_prepare.
1041         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
1042         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
1043         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
1044         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
1045         (_hurd_fork_child_hook): Drop malloc_fork_child.
1046         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
1047         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
1048         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
1049         after locking locks (notably hurd_dtable_lock). Call
1050         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
1051         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
1052         __malloc_fork_unlock_child.
1053         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
1055 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
1057         * soft-fp/extendhftf2.c: New.
1058         * soft-fp/fixhfti.c: Likewise.
1059         * soft-fp/fixunshfti.c: Likewise.
1060         * soft-fp/floattihf.c: Likewise.
1061         * soft-fp/floatuntihf.c: Likewise.
1062         * soft-fp/half.h: Likewise.
1063         * soft-fp/trunctfhf2.c: Likewise.
1065 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
1067         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
1068         macro.
1069         * math/libm-test.inc (issubnormal_test_data): New array.
1070         (issubnormal_test): New function.
1071         * manual/arith.texi (Floating Point Classes): Document
1072         issubnormal.
1073         * manual/libm-err-tab.pl: Update comment on interfaces without
1074         ulps tabulated.
1076         * sysdeps/generic/stdint.h: Define
1077         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1078         <bits/libc-header-start.h> instead of including <features.h>.
1079         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
1080         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
1081         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
1082         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
1083         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
1084         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
1085         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
1086         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
1087         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
1088         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
1089         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
1090         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
1091         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
1092         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
1093         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
1094         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
1095         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
1096         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
1097         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
1098         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
1099         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
1100         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
1101         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
1102         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
1103         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
1104         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
1105         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
1106         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
1107         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
1108         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
1109         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
1110         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
1111         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
1112         * manual/arith.texi (Integers): Document these macros for types
1113         specified by width properties.
1114         * manual/lang.texi (Width of Type): Document these macros for
1115         other standard typedefs.
1116         * stdlib/tst-width-stdint.c: New file.
1117         * stdlib/Makefile (tests): Add tst-width-stdint.
1119 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1121         [BZ #20016]
1122         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
1123         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
1124         Move ...
1125         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
1126         ... here, as compatibility symbols in a new file.
1127         * resolv/Makefile (libresolv-routines): Add compat-hooks.
1128         * resolv/res_init.c (__res_vinit): Adjust member names.
1129         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
1130         * resolv/resolv.h (res_sendhookact, res_send_qhook)
1131         (res_send_rhook): Remove.
1132         (struct __res_state): Rename qhook, rhook members.
1134 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1136         malloc: Use __libc_lock wrappers.
1137         * malloc/arena.c (list_lock, free_list_lock): Define using
1138         __libc_lock_define_initialized.
1139         (arena_lock): Adjust formatting.
1140         * malloc/malloc.c (struct malloc_state): Define mutex using
1141         __libc_lock_define.
1142         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
1143         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
1144         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
1145         (mutex_unlock, mutex_trylock): Remove.
1146         (__pthread_initialize): Remove unused macro.
1147         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
1148         (mutex_unlock, mutex_trylock): Remove.
1150 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1152         [BZ #20592]
1153         Remove RR type classification macros.
1154         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
1155         (ns_t_udp_p, ns_t_xfr_p): Remove.
1157 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1159         Remove misleading version information.
1160         * resolv/arpa/nameser.h (__NAMESER): Remove.
1161         * resolv/arpa/nameser_compat.h (__BIND): Remove.
1163 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1165         Remove the always-defined BIND_4_COMPAT macro.
1166         * resolv/arpa/nameser.h: Unconditionally include
1167         <arpa/nameser_compat.h>.
1168         (BIND_4_COMPAT): Remove.
1169         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
1171 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1173         [BZ #20591]
1174         Remove obsolete DNSSEC support.
1175         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
1176         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
1177         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
1178         (ns_verify_tcp, ns_verify_tcp_init): Remove.
1179         (ns_cert_types): Add comment.
1180         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
1181         separately.
1182         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
1183         (dst_s_dns_key_id): Remove.
1184         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
1185         variables.
1187 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1189         [BZ #20524]
1190         * manual/string.texi (String/Array Comparison): Clarify the
1191         strverscmp behavior.
1193 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1195         * test-skeleton.c (xasprintf): Add function.
1196         * io/tst-open-tmpfile.c: New test.
1197         * io/Makefile (tests): Add it.
1199 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1201         Avoid running $(CXX) during build to obtain header file paths.
1202         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
1203         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
1204         * Makerules (cstdlib, cmath): Remove variables.  Use
1205         $(c++-cstdlib-header), $(c++-cmath-header) instead.
1206         * configure: Regenerate.
1208 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1210         * Makeconfig (all-object-suffixes): Include .op only if
1211         $(build-profile).
1213 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1215         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
1216         conditionals.  Do not define PATH_MAX.
1218 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1220         * posix/Makefile (tests): Add tst-spawn3.
1221         * posix/tst-spawn3.c: New file.
1222         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
1223         if it is already opened for open action.
1225         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
1226         all signals when executing the clone vfork child.
1227         (SIGALL_SET): Remove macro.
1229         * nptl/Makefile (tests): Add tst-exec5.
1230         * nptl/tst-exec5.c: New file.
1231         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
1232         asynchronous cancellation.
1234 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1236         * hurd/exc2signal.c: #include <hurd/signal.h>
1237         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
1238         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
1239         accordingly.
1240         * mach/mach_error.c (mach_error): Fix old-style function definition.
1241         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
1243 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1245         * math/Makefile (libm-calls): Remove s_nanF.
1246         (gen-libm-calls): Add s_nanF.
1248         * math/s_nan.c: Refactor into ...
1249         * math/s_nan_template.c: New file.
1251         * math/s_nanf.c: Removed.
1252         * math/s_nanl.c: Removed.
1253         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
1254         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
1256         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1257         (LDOUBLE_nanl_libm_version): New macro.
1259         * sysdeps/generic/math-type-macros-double.h:
1260         (M_STRTO_NAN): New macro.
1261         * sysdeps/generic/math-type-macros-float.h: Likewise.
1262         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1264         * sysdeps/generic/math-type-macros.h: Document
1265         M_STRTO_NAN.
1267 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1269         * math/s_nanf.c: Remove __nanf undef.
1270         * math/s_nan.c: Remove __nan undef.
1271         * math/s_nanl.c: Remove __nanl undef.
1273         * sysdeps/generic/math_private.h (__nan): Remove macro
1274         override.
1275         (__nanf): Likewise.
1276         (__nanl): Likewise.
1278 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1280         * math/Makefile (gen-all-calls): New variable.
1281         (generated): Replace gen-libm-calls with gen-all-calls.
1282         (gen-libm-templates.stmp): Likewise.  Also, ensure
1283         the output directory exists or is created and add
1284         dependency on the Makefile.
1285         (calls): Move s_ldexpF into gen-calls.
1286         (gen-calls): New variable.
1288         * math/s_ldexpf.c: Removed.
1289         * math/s_ldexpl.c: Removed.
1290         * math/s_ldexp.c: Refactored into ...
1291         * math/s_ldexp_template.c: New file.
1293         * sysdeps/generic/math-type-macros-double.h: Remove
1294         redundant fall-through definition of declare_mgen_alias.
1295         (declare_mgen_alias_2): New macro.
1297         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
1298         New macro for function aliased to two exported symbols.
1300         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
1301         new template file.
1302         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1304 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1306         * Makeconfig (all-object-suffixes): Remove .og.
1307         * Makerules (elide-routines.og): Remove.
1308         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
1309         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
1310         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
1312 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1314         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
1315         .os objects.
1317 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1319         [BZ #20615]
1320         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
1321         fpu directory by non-fpu.
1322         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
1323         on non-fpu directory from a fpu directory.
1325 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
1327         * include/limits.h: Define
1328         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1329         <bits/libc-header-start.h> instead of including <features.h>.
1330         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
1331         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
1332         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
1333         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
1334         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
1335         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
1336         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
1337         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
1338         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1339         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
1340         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
1341         * manual/lang.texi (Width of Type): Document these macros.
1342         * stdlib/tst-width.c: New file.
1343         * stdlib/Makefile (tests): Add tst-width.
1345 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1347         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
1348         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
1350 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1352         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
1353         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1354         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1356 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1358         [BZ #18243]
1359         * rt/Makefile (test): Add tst-shm-cancel.
1360         * rt/tst-shm-cancel.c: New file.
1361         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
1363         [BZ #18243]
1364         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
1365         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
1366         definition.
1367         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
1368         uncontended case.
1369         * nptl/sem_wait.c (__new_sem_wait): Likewise.
1370         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
1371         (tf): Fix check for uncontended case.
1372         (do_test): Likewise.
1373         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
1374         (tf): Fix check for uncontended case.
1375         (do_test): Likewise.
1376         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
1377         (tf): Fix check for uncontended case.
1378         (do_test): Likewise.
1379         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
1380         (tf): Fix check for uncontended case.
1381         (do_test): Likewise.
1383         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
1384         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
1386         [BZ #15765]
1387         * nptl/Makefile (tests): Add tst-sem16.
1388         * nptl/tst-sem16.c: New file.
1389         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
1391         * nptl/sem_open.c (sem_open): Init pad value to 0.
1392         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1393         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1395 2016-09-15  Florian Weimer  <fweimer@redhat.com>
1397         [BZ #20611]
1398         * inet/Makefile (routines): Add inet6_scopeid_pton.
1399         (tests): Add tst-inet6_scopeid_pton.
1400         * inet/inet6_scopeid_pton.c: New file.
1401         * inet/net-internal.h: Likewise.
1402         * inet/tst-inet6_scopeid_pton.c: New test.
1403         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
1404         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
1405         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1407 2016-09-14  Florian Weimer  <fweimer@redhat.com>
1409         Remove support for compiling wrappers with PTW.
1410         * sysdeps/nptl/Makeconfig: Drop ptw- support.
1411         * nptl/Makefile (pthread-compat-wrappers): Define.
1412         (libpthread-routines): Use pthread-compat-wrappers.
1413         * sysdeps/unix/sysv/linux/alpha/Makefile
1414         (libpthread-routines, libpthread-shared-only-routines): Remove
1415         ptw- prefix.
1416         * sysdeps/s390/nptl/Makefile
1417         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1418         * sysdeps/ia64/nptl/Makefile
1419         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1420         * sysdeps/nacl/Makefile (libpthread-routines): Use
1421         pthread-compat-wrappers to filter the routines list instead of the
1422         ptw- prefix.
1424 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1426         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
1427         with L() and remove explicit suffix, convert real literals
1428         which can be equivalentally substituted with integers, and
1429         transform -L(x) to L(-x).
1431         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1432         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1433         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1434         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1435         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1436         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1437         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1438         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1439         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1440         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1441         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1442         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1443         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1444         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1445         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1446         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1447         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1448         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1449         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1450         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1451         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1452         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1453         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1454         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1455         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1456         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1457         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1458         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1459         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1460         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1461         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1462         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1463         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1464         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1465         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1466         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1467         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1468         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1469         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1470         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1471         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1472         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1473         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1474         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1475         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1476         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1477         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1478         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1479         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1480         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1482 2016-09-13  Florian Weimer  <fweimer@redhat.com>
1484         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
1486 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1488         * malloc/Makefile (tests): Remove individual static test names
1489         and just add all of tests-static.
1491         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
1493 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
1495         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
1496         file.
1498         * sysdeps/sparc/fpu/fegetmode.c: New file.
1499         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
1501         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
1502         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
1504         * sysdeps/s390/fpu/fegetmode.c: New file.
1505         * sysdeps/s390/fpu/fesetmode.c: Likewise.
1507         * sysdeps/powerpc/fpu/fegetmode.c: New file.
1508         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
1509         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
1510         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
1511         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
1512         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
1514         * sysdeps/mips/fpu/fegetmode.c: New file.
1515         * sysdeps/mips/fpu/fesetmode.c: Likewise.
1517         * sysdeps/m68k/fpu/fegetmode.c: New file.
1518         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
1520         * sysdeps/ia64/fpu/fegetmode.c: New file.
1521         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
1523         * sysdeps/hppa/fpu/fegetmode.c: New file.
1524         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
1526         * sysdeps/arm/fegetmode.c: New file.
1527         * sysdeps/arm/fesetmode.c: Likewise.
1529         * sysdeps/alpha/fpu/fegetmode.c: New file.
1530         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
1532         * sysdeps/aarch64/fpu/fegetmode.c: New file.
1533         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
1535         * math/fegetmode.c: New file.
1536         * math/fesetmode.c: Likewise.
1537         * sysdeps/i386/fpu/fegetmode.c: Likewise.
1538         * sysdeps/i386/fpu/fesetmode.c: Likewise.
1539         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
1540         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
1541         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
1542         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
1543         declaration.
1544         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
1545         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
1546         typedef.
1547         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1548         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1549         (femode_t): New typedef.
1550         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1551         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1552         (femode_t): New typedef.
1553         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1554         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1555         (femode_t): New typedef.
1556         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1557         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1558         (femode_t): New typedef.
1559         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1560         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1561         (femode_t): New typedef.
1562         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1563         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1564         (femode_t): New typedef.
1565         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1566         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1567         (femode_t): New typedef.
1568         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1569         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1570         (femode_t): New typedef.
1571         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1572         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1573         (femode_t): New typedef.
1574         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1575         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1576         (femode_t): New typedef.
1577         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
1578         declaration.
1579         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1580         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1581         (femode_t): New typedef.
1582         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1583         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1584         (femode_t): New typedef.
1585         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1586         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1587         (femode_t): New typedef.
1588         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1589         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1590         (femode_t): New typedef.
1591         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1592         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1593         (femode_t): New typedef.
1594         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1595         * manual/arith.texi (FE_DFL_MODE): Document macro.
1596         (fegetmode): Document function.
1597         (fesetmode): Likewise.
1598         * math/Versions (fegetmode): New libm symbol at version
1599         GLIBC_2.25.
1600         (fesetmode): Likewise.
1601         * math/Makefile (libm-support): Add fegetmode and fesetmode.
1602         (tests): Add test-femode and test-femode-traps.
1603         * math/test-femode-traps.c: New file.
1604         * math/test-femode.c: Likewise.
1605         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
1606         alias for __fe_dfl_env.
1607         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
1608         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
1609         (__fe_dfl_mode): Likewise.
1610         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
1611         version GLIBC_2.25.
1612         * sysdeps/nacl/libm.abilist: Update.
1613         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1614         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1615         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1616         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1617         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1618         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1619         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1620         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1621         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1622         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1623         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1624         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1626         Likewise.
1627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1628         Likewise.
1629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1630         Likewise.
1631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1632         Likewise.
1633         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1634         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1635         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1636         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1637         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1639         Likewise.
1640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1641         Likewise.
1642         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1643         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1644         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1646 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1648         [BZ #20495]
1649         [BZ #20508]
1650         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
1651         processors, set Use_dl_runtime_resolve_slow and set
1652         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
1653         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
1654         New.
1655         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
1656         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
1657         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
1658         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
1659         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
1660         if Use_dl_runtime_resolve_opt is set.  Use
1661         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
1662         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
1663         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
1664         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
1665         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
1666         New.
1667         (_dl_runtime_resolve_opt): Likewise.
1668         (_dl_runtime_profile): Define only if _dl_runtime_profile is
1669         defined.
1671 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1673         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
1674         __libc_memalign with "+ RELA R_390_GLOB_DAT".
1676 2016-09-06  Florian Weimer  <fweimer@redhat.com>
1678         Convert malloc to __libc_lock.  Automated part, using this Perl
1679         s/// command:
1680           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
1681             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
1682         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
1683         conversion.
1685 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
1687         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
1688         (linknamespace-symlists-tests): Likewise.
1689         (linknamespace-header-tests): Likewise.
1691 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
1693         [BZ #19810]
1694         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
1695         * elf/tst-noload.c: New test case.
1696         * elf/Makefile (tests): Add tst-noload.
1698 2016-09-02  Roland McGrath  <roland@hack.frob.com>
1700         * sysdeps/nacl/dup.c: Add libc_hidden_def.
1702         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
1703         not any more.
1705         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
1707 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1709         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
1710         (do_cos_slow): Likewise.
1711         (do_sin): Likewise.
1712         (do_sin_slow): Likewise.
1713         (slow): Likewise.
1714         (slow1): Likewise.
1715         (slow2): Likewise.
1716         (sloww): Likewise.
1717         (sloww1): Likewise.
1718         (sloww2): Likewise.
1719         (bsloww): Likewise.
1720         (bsloww1): Likewise.
1721         (bsloww2): Likewise.
1722         (cslow2): Likewise.
1724         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
1726         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
1727         arguments.  Consolidate input partitioning from callers here.
1728         (do_cos_slow): Likewise.
1729         (do_sin): Likewise.
1730         (do_sin_slow): Likewise.
1731         (do_sincos_1): Remove the no longer necessary input partitioning.
1732         (do_sincos_2): Likewise.
1733         (__sin): Likewise.
1734         (__cos): Likewise.
1735         (slow1): Likewise.
1736         (slow2): Likewise.
1737         (sloww1): Likewise.
1738         (sloww2): Likewise.
1739         (bsloww1): Likewise.
1740         (bsloww2): Likewise.
1741         (cslow2): Likewise.
1743 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1745         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
1746         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
1747         outside of allocated array.
1749 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1751         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
1752         instead of MB_CUR_MAX to avoid variable-length array.
1754 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1756         * math/Makefile (libm-calls): Remove k_rem_pio2F.
1757         (type-double-routines): Add k_rem_pio2.
1758         (type-float-routines): Add k_rem_pio2f.
1760         * sysdeps/generic/math_private.h:
1761         (__kernel_rem_pio2l): Removed.
1763         * math/k_rem_pio2l.c: Removed.
1764         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
1765         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
1766         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
1767         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
1769 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1771         * math/Makefile (gen-libm-calls): Add s_fmin
1772         (libm-calls): Remove above.
1774         * math/s_fmin.c: Refactor into ...
1775         * math/s_fmin_template.c: New file.
1777         * math/s_fminf.c: Removed.
1778         * math/s_fminl.c: Removed.
1779         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1780         (LDOUBLE_fmin_libm_version): New macro.
1782         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
1783         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
1785 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1787         * math/Makefile: (gen-libm-calls): Add s_fmax.
1788         (libm-calls): Remove above.
1790         * math/s_fmax.c: Refactor into ...
1791         * math/s_fmax_template.c: New file.
1792         * math/s_fmaxf.c: Removed.
1793         * math/s_fmaxl.c: Removed.
1795         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1796         (LDOUBLE_fmaxl_libm_version): New macro.
1798         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
1799         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
1801         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
1802         s_fmin.c to pick the aarch64 version of the file.
1803         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
1804         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
1806 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1808         * math/Makefile: (gen-libm-calls): Add s_nextdown.
1809         (libm-calls): Remove above.
1811         * math/s_nextdown.c: Refactor into ...
1812         * math/s_nextdown_template.c: New file.
1813         * math/s_nextdownf.c: Removed.
1814         * math/s_nextdownl.c: Removed.
1816         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
1818 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1820         * math/Makefile (gen-libm-calls): Add s_fdim.
1821         (libm-calls): Move to above.
1823         * math/s_fdim.c: Renamed and refactored into to ...
1824         * math/s_fdim_template.c: New file.
1825         * math/s_fdiml.c: Removed.
1826         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
1827         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
1829         * sysdeps/generic/math-type-macros-double.h:
1830         (declare_mgen_alias): Don't declare if already declared.
1831         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
1832         Likewise.
1834         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1835         (declare_mgen_alias): Don't declare if already declared.
1836         (M_LIBM_NEED_COMPAT): Likewise.
1837         (declare_mgen_libm_compat): Likewise.
1838         (LDOUBLE_fdiml_libm_version): New macro.
1840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1841         Include math/s_fdim.c now that ldbl-opt version is not needed.
1842         (declare_mgen_alias): New macro to disable aliasing.
1844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
1845         (declare_mgen_alias): Likewise.
1846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
1847         (declare_mgen_alias): Likewise.
1848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
1849         (declare_mgen_alias): Likewise.
1850         (M_LIBM_NEED_COMPAT): Likewise.
1852 2016-09-01  Florian Weimer  <fweimer@redhat.com>
1854         [BZ #20525]
1855         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
1856         Include <linux/quota.h>.
1857         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
1858         and btodb.
1859         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
1860         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
1861         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
1862         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
1863         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
1864         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
1865         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
1866         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
1867         types.
1868         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
1869         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
1871 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1873         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
1874         (gammal_positive): Fix spacing.
1875         (__ieee754_gammal_r): Likewise.
1877 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1879         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
1880         (_Float128): Define as long double, always.
1881         (L): Apply long double type suffix, always.
1883         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
1884         _Float128, excepting comments.
1886         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1887         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1888         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1889         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1890         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1891         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1892         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1893         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1894         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1895         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
1896         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1897         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1898         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1899         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1900         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1901         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1902         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1903         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1904         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1905         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1906         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1907         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1908         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1909         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1910         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1911         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1912         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1913         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1914         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1915         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1916         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1917         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1918         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1919         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1920         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1921         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1922         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1923         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1924         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1925         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1926         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1927         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1928         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1929         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1930         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1931         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1932         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1933         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1934         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1935         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1936         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1937         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1938         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1939         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1940         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1941         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1942         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1943         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1944         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1945         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1946         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1947         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1948         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1949         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1950         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1951         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1952         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1953         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1955         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
1956         _Float128, and include math_private.h.
1957         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1959         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
1960         long double semantics.
1961         (_Float128): Likewise.
1962         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
1963         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
1964         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
1965         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
1967 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1969         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
1970         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
1971         * sysdeps/s390/configure: Regenerated.
1972         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
1973         instruction for raising over-/underflow if z196 zarch is supported
1974         by default.
1975         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
1977 2016-08-30  Svante Signell  <svante.signell@gmail.com>
1979         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
1980         it point to a dumb buffer for RPC to fill it.
1982 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1984         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
1985         instead of if/else.
1986         (do_sin_slow): Likewise.
1987         (do_sincos_1): Use fabs instead of if/else.
1988         (do_sincos_2): Likewise.
1989         (__sin): Likewise.
1990         (__cos): Likewise.
1991         (slow2): Likewise.
1992         (sloww): Likewise.
1993         (sloww1): Likewise.  Drop argument M.
1994         (sloww2): Use fabs instead of if/else.
1995         (bsloww): Likewise.
1996         (bsloww1): Likewise.
1997         (bsloww2): Likewise.
1999         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
2000         fall through comment.
2001         (do_sincos_1): Likewise.
2003         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
2004         Consolidate switch cases 0 and 2.
2006 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2008         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
2009         (libm-calls): Remove the above.
2011         * math/s_cexp_template.c: Update using type-generic macros.
2012         * math/s_clog10_template.c: Likewise.
2013         * math/s_cpow_template.c: Likewise.
2014         * math/s_clog_template.c: Likewise.
2015         * math/s_cproj_template.c: Likewise.
2016         * math/s_csqrt_template.c: Likewise.
2018         * math/s_cexp.c: Removed.
2019         * math/s_cexpf.c: Removed.
2020         * math/s_cexpl.c: Removed.
2021         * math/s_clog10.c: Removed.
2022         * math/s_clog10f.c: Removed.
2023         * math/s_clog10l.c: Removed.
2024         * math/s_cpow.c: Removed.
2025         * math/s_cpowf.c: Removed.
2026         * math/s_cpowl.c: Removed.
2027         * math/s_clog.c: Removed.
2028         * math/s_clogf.c: Removed.
2029         * math/s_clogl.c: Removed.
2030         * math/s_cproj.c: Removed.
2031         * math/s_cprojf.c: Removed.
2032         * math/s_cprojl.c: Removed.
2033         * math/s_csqrt.c: Removed.
2034         * math/s_csqrtf.c: Removed.
2035         * math/s_csqrtl.c: Removed.
2037         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
2038         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
2039         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
2040         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
2041         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
2042         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
2044         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
2045         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
2046         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
2047         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
2048         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
2049         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
2050         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
2051         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
2052         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
2053         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
2054         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
2056         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
2057         version.
2059         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
2060         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
2061         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
2062         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
2064 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2066         * s_cexp_template.c: Copy of s_cexp.c.
2067         * s_clog_template.c: Copy of s_clog.c.
2068         * s_clog10_template.c: Copy of s_clog10.c.
2069         * s_cpow_template.c: Copy of s_cpow.c.
2070         * s_cproj_template.c: Copy of s_cproj.c.
2071         * s_csqrt_template.c: Copy of s_csqrt.c.
2073 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2075         [BZ #20517]
2076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2077         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
2078         exported.
2080 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
2082         * math/fetestexceptflag.c: New file.
2083         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
2084         Stefan Liebler.
2085         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2086         (fetestexceptflag): New function declaration.
2087         * manual/arith.texi (fetestexceptflag): Document function.
2088         * math/Versions (fetestexceptflag): New libm symbol at version
2089         GLIBC_2.25.
2090         * math/Makefile (libm-support): Add fetestexceptflag.
2091         (tests): Add test-fetestexceptflag.
2092         * math/test-fetestexceptflag.c: New file.
2093         * sysdeps/nacl/libm.abilist: Update.
2094         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2095         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2096         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2097         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2098         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2099         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2100         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2101         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2102         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2103         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2104         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2105         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2107         Likewise.
2108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2109         Likewise.
2110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2111         Likewise.
2112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2113         Likewise.
2114         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2115         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2116         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2117         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2118         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2120         Likewise.
2121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2122         Likewise.
2123         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2124         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2125         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2127 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2129         [BZ #20432]
2130         Avoid strong references to malloc-internal symbols when linking
2131         statically, to support statically interposed mallocs.
2132         * include/libc-symbols.h (call_function_static_weak): New macro.
2133         * malloc/Makefile (tests): Add tst-interpose-nothread,
2134         tst-interpose-thread, tst-interpose-static-nothread,
2135         tst-interpose-static-thread.
2136         (tests-static): Add tst-interpose-static-nothread,
2137         tst-interpose-static-thread.
2138         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
2139         tst-interpose-aux-thread.o.
2140         (test-extras): Add tst-interpose-aux-nothread,
2141         tst-interpose-aux-thread.
2142         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
2143         tst-interpose-aux-nothread.o.
2144         (tst-interpose-thread, tst-interpose-static-thread): Link with
2145         tst-interpose-aux-thread.o and libthread.
2146         * malloc/tst-interpose-aux-nothread.c: New file.
2147         * malloc/tst-interpose-aux-thread.c: Likewise.
2148         * malloc/tst-interpose-aux.c: Likewise.
2149         * malloc/tst-interpose-aux.h: Likewise.
2150         * malloc/tst-interpose-nothread.c: Likewise.
2151         * malloc/tst-interpose-skeleton.c: Likewise.
2152         * malloc/tst-interpose-static-nothread.c: Likewise.
2153         * malloc/tst-interpose-static-thread.c: Likewise.
2154         * malloc/tst-interpose-thread.c: Likewise.
2155         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
2156         * sysdeps/mach/hurd/fork.c (__fork): Only call
2157         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2158         __malloc_fork_unlock_child if defined.
2159         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2161 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2163         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
2164         timespec C99 designated initialization.
2166 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2168         [BZ #19946]
2169         Avoid expected SIGALRM signals.
2170         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
2171         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
2172         (xpthread_create, xpthread_detach, xpthread_join)
2173         (delayed_exit_thread, delayed_exit): New functions.
2174         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
2175         (tf): Use xpthread_cond_wait.
2176         (do_test): Likewise.  Replace alarm with delayed_exit.
2177         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2178         (do_test): Call delayed_exit.  Report failure.
2179         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2180         (do_test): Call delayed_exit.
2181         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2182         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
2183         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2184         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
2185         error.
2186         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2187         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
2188         error.
2189         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
2190         (do_test): Call delayed_exit.
2191         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
2192         (do_test): Call delayed_exit.
2193         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
2194         (do_test): Call delayed_exit instead of alarm.  Use
2195         xpthread_mutex_lock.
2196         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
2197         (do_test): Call delayed_exit instead of alarm.  Use
2198         xpthread_mutex_lock.
2199         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
2200         (do_test): Call delayed_exit instead of alarm.
2201         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
2202         (do_test): Call delayed_exit instead of alarm.  Use
2203         xpthread_spin_lock.
2204         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
2205         (do_test): Call delayed_exit instead of alarm.  Use
2206         xpthread_join.
2208 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
2210         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
2211         adjust CFA when allocating register save area on re-aligned
2212         stack.
2214 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2216         * string/tst-cmp.c: New test.
2217         * string/Makefile (tests): Add it.
2219 2016-08-25  Mark Wielaard  <mark@klomp.org>
2221         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
2222         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
2223         (check_tree_recurse): Use newly defined accessors.
2224         (check_tree): Likewise.
2225         (maybe_split_for_insert): Likewise.
2226         (__tfind): Likewise.
2227         (__tdelete): Likewise.
2228         (trecurse): Likewise.
2229         (tdestroy_recurse): Likewise.
2230         (__tsearch): Likewise. And add asserts for malloc alignment.
2231         (__twalk): Cast root to node in case CHECK_TREE is defined.
2233 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2235         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
2237 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2239         * math/Makefile (libm-gen-calls): Add
2240         catan, catanh, ctan, ctanh.
2241         (libm-calls): Remove the above.
2243         * math/s_catan_template.c: Update using type-generic macros.
2244         * math/s_catanh_template.c: Likewise.
2245         * math/s_ctan_template.c: Likewise.
2246         * math/s_ctanh_template.c: Likewise.
2248         * math/s_catanf.c: Removed.
2249         * math/s_catan.c: Removed.
2250         * math/s_catanl.c: Removed.
2251         * math/s_catanhf.c: Removed.
2252         * math/s_catanh.c: Removed.
2253         * math/s_catanhl.c: Removed.
2254         * math/s_ctanf.c: Removed.
2255         * math/s_ctan.c: Removed.
2256         * math/s_ctanl.c: Removed.
2257         * math/s_ctanhf.c: Removed.
2258         * math/s_ctanh.c: Removed.
2259         * math/s_ctanhl.c: Removed.
2261         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
2262         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
2263         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
2264         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
2265         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
2266         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
2268         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
2269         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
2270         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
2271         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
2273 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2275         * s_catan_template.c: Copy of s_catan.c.
2276         * s_catanh_template.c: Copy of s_catanh.c.
2277         * s_ctan_template.c: Copy of s_ctan.c.
2278         * s_ctanh_template.c: Copy of s_ctanh.c.
2280 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2282         * math/Makefile (gen-libm-calls): Move
2283         casin, casinh, csin, csinh here.
2284         (libm-calls): Remove the above.
2286         * math/s_casin_template.c: Update using type-generic macros.
2287         * math/s_casinh_template.c: Likewise.
2288         * math/s_csin_template.c: Likewise.
2289         * math/s_csinh_template.c: Likewise.
2290         * math/k_casinh_template.c: Likewise.
2292         * math/s_casinf.c: Removed.
2293         * math/s_casin.c: Removed.
2294         * math/s_casinl.c: Removed.
2295         * math/s_casinh.c: Removed.
2296         * math/s_casinhf.c: Removed.
2297         * math/s_casinhl.c: Removed.
2298         * math/s_csin.c: Removed.
2299         * math/s_csinf.c: Removed.
2300         * math/s_csinl.c: Removed.
2301         * math/s_csinh.c: Removed.
2302         * math/s_csinhf.c: Removed.
2303         * math/s_csinhl.c: Removed.
2304         * math/k_casinh.c: Removed.
2305         * math/k_casinhf.c: Removed.
2306         * math/k_casinhl.c: Removed.
2308         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
2309         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
2310         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
2311         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
2313         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
2314         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
2315         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
2316         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
2317         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
2318         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
2319         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
2320         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
2322         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
2323         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
2324         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
2325         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
2327         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
2328         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
2329         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
2330         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
2332 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2334         * s_casin_template.c: Copy of s_casin.c.
2335         * s_casinh_template.c: Copy of s_casinh.c.
2336         * s_csin_template.c: Copy of s_csin.c.
2337         * s_csinh_template.c: Copy of s_csinh.c.
2338         * k_casinh_template.c: Copy of k_casinh.c.
2340 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2342         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
2344 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2346         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
2347         (mul_split) Remove, rename as mul_splitl, remove
2348         redundant float.h include, and include via mul_splitl.h
2350         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2351         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2352         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2353         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
2354         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2356         * math/mul_splitl.h: New file.
2358         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
2359         Move into mul_split.h, and remove redundant float.h include.
2361         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
2362         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
2363         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2364         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
2366         * math/mul_split.h: New file.
2368 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2370         * math/Makefile (libm-gen-calls): Move
2371         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
2372         (libm-calls): Remove above.
2374         * math/s_cacos_template.c: Update using type-generic macros.
2375         * math/s_cacosh_template.c: Likewise.
2376         * math/s_ccos_template.c: Likewise.
2377         * math/s_ccosh_template.c: Likwise.
2379         * math/s_cacosf.c: Removed.
2380         * math/s_cacos.c: Removed.
2381         * math/s_cacosl.c: Removed.
2382         * math/s_cacoshf.c: Removed.
2383         * math/s_cacosh.c: Removed.
2384         * math/s_cacoshl.c: Removed.
2385         * math/s_ccosf.c: Removed.
2386         * math/s_ccos.c: Removed.
2387         * math/s_ccosl.c: Removed.
2388         * math/s_ccoshf.c: Removed.
2389         * math/s_ccosh.c: Removed.
2390         * math/s_ccoshl.c: Removed.
2392         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
2393         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
2394         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
2395         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
2396         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
2397         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
2399         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
2400         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
2401         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
2402         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
2404         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
2405         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
2406         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
2407         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
2409 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2411         * s_cacos_template.c: Copy of s_cacos.c.
2412         * s_cacosh_template.c: Copy of s_cacosh.c.
2413         * s_ccos_template.c: Copy of s_ccos.c.
2414         * s_ccosh_template.c: Copy of s_ccosh.c.
2416 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2418         * stdlib/tst-strtod-round-skeleton.c:
2419         Refactored from tst-strtod-round.c.
2421         (L_): New macro to apply literal modifier.
2422         (FNPFX): New macro to select str or wcs prefix.
2423         (CHAR): New macro to choose wchar_t or char.
2424         (STRM): New macro to choose printf for tested character type.
2426         (STRTO): New macro to choose appropriate string -> real function.
2427         (FNPFXS): Stringitized version of FNPFX.
2428         (STR): Support for above macro.
2429         (STRX): Likewise.
2431         (TEST): Update with above macros.
2432         (test): Likewise.
2433         (GEN_ONE_TEST): Likewise.
2434         (test_in_one_mode): Likewise.
2436         * stdlib/tst-strtod-round.c: New file.
2437         * wcsmbs/tst-wcstod-round.c: New file.
2439         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
2440         (tst-wcstod-round): Add libm depencency for fesetround.
2442 2016-08-19  Zack Weinberg  <zackw@panix.com>
2444         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
2446 2016-08-18  Torvald Riegel  <triegel@redhat.com>
2448         [BZ #20477]
2449         * resolv/res_hconf.c (do_init): Use atomic access.
2450         * resolv/res_hconf.h: Add comments.
2451         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
2452         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
2453         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2455 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
2457         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
2458         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
2459         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2460         Likewise.
2462 2016-08-18  Florian Weimer  <fweimer@redhat.com>
2464         [BZ #16907]
2465         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
2466         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
2467         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
2468         (__attribute__): Remove definition.
2470 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2472         * sysdeps/ieee754/ldbl-128/e_asinl.c:
2473         Remove unused sqrtl declaration.
2475 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2477         * math/Makefile: (gen-libm-templates.stmp): New rule.
2478         (libm-calls): Move carg conj cimag and cabs into ...
2479         (gen-libm-calls): New variable.
2480         (generated): Inform Make objects from gen-libm-calls
2481         may be generated.
2483         * sysdeps/generic/math-type-macros.h: New file.
2484         * sysdeps/generic/math-type-macros-float.h: Likewise.
2485         * sysdeps/generic/math-type-macros-double.h: Likewise.
2486         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2487         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
2488         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
2490         * math/cabs.c: Refactor into
2491         * math/cabs_template.c: new file.
2492         * math/cabsf.c: Removed.
2493         * math/cabsl.c: Removed.
2494         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
2495         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
2497         * math/carg.c: Refactor into
2498         * math/carg_template.c: new file.
2499         * math/cargf.c: Removed.
2500         * math/cargl.c: Removed.
2501         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
2502         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
2504         * math/conj.c: Refactor into
2505         * math/conj_template.c: new file.
2506         * math/conjf.c: Removed.
2507         * math/conjl.c: Removed.
2508         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
2509         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
2511         * math/cimag.c: Refactor into
2512         * math/cimag_template.c: new file.
2513         * math/cimagf.c: Removed.
2514         * math/cimagl.c: Removed.
2515         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2516         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2518         * math/cimag.c: Refactor into
2519         * math/cimag_template.c: new file.
2520         * math/cimagf.c: Removed.
2521         * math/cimagl.c: Removed.
2522         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2523         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2525 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2527         Reduce time to expected nptl/tst-once5 failure.
2528         * nptl/tst-once5.cc (TIMEOUT): Define.
2530 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2532         [BZ #20452]
2533         Avoid additional copies of objects in libc.a in static libraries.
2534         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
2535         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
2536         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
2537         rt-sysdep.
2538         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
2539         Add nptl-sysdep.
2540         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
2541         Add ptw-sysdep.
2542         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
2543         rt-sysdep.
2544         * sysdeps/unix/sysv/linux/alpha/Makefile
2545         (libpthread-shared-only-routines): Add ptw-sysdep,
2546         ptw-sigprocmask, ptw-rt_sigaction.
2547         * sysdeps/unix/sysv/linux/ia64/Makefile
2548         (librt-shared-only-routines): Add rt-sysdep.
2549         * sysdeps/unix/sysv/linux/i386/Makefile
2550         (libpthread-shared-only-routines): Add libc-do-syscall.
2551         * sysdeps/unix/sysv/linux/microblaze/Makefile
2552         (libpthread-shared-only-routines): Add sysdep.
2553         * sysdeps/unix/sysv/linux/powerpc/Makefile
2554         (librt-shared-only-routines): Add rt-sysdep.
2555         (libpthread-shared-only-routines): Add sysdep.
2556         * sysdeps/unix/sysv/linux/s390/Makefile
2557         (librt-shared-only-routines): Add rt-sysdep.
2558         * sysdeps/unix/sysv/linux/sparc/Makefile
2559         (librt-shared-only-routines): Add rt-sysdep.
2560         (libpthread-shared-only-routines): Add sysdep.
2561         * sysdeps/unix/sysv/linux/tile/Makefile
2562         (libpthread-shared-only-routines): Likewise.
2564 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
2566         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
2567         Mask implicit bit out of unpacked value.
2568         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
2569         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
2570         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
2572         * sysdeps/sparc/fpu/fesetexcept.c: New file.
2574         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
2576         * sysdeps/s390/fpu/fesetexcept.c: New file.
2578         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
2579         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
2580         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
2582         * sysdeps/mips/fpu/fesetexcept.c: New file.
2584         * sysdeps/m68k/fpu/fesetexcept.c: New file.
2586         * sysdeps/ia64/fpu/fesetexcept.c: New file.
2588         * sysdeps/hppa/fpu/fesetexcept.c: New file.
2590         * sysdeps/arm/fesetexcept.c: New file.
2592         * sysdeps/alpha/fpu/fesetexcept.c: New file.
2594         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
2596         * math/fesetexcept.c: New file.
2597         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
2598         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
2599         * math/fenv.h: Define
2600         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2601         <bits/libc-header-start.h> instead of including <features.h>.
2602         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
2603         declaration.
2604         * manual/arith.texi (fesetexcept): Document function.
2605         * math/Versions (fesetexcept): New libm symbol at version
2606         GLIBC_2.25.
2607         * math/Makefile (libm-support): Add fesetexcept.
2608         (tests): Add test-fesetexcept and test-fesetexcept-traps.
2609         * math/test-fesetexcept.c: New file.
2610         * math/test-fesetexcept-traps.c: Likewise.
2611         * sysdeps/nacl/libm.abilist: Update.
2612         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2613         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2614         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2615         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2616         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2617         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2618         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2619         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2620         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2621         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2622         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2623         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2625         Likewise.
2626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2627         Likewise.
2628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2629         Likewise.
2630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2631         Likewise.
2632         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2633         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2634         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2635         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2636         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2638         Likewise.
2639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2640         Likewise.
2641         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2642         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2643         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2645 2016-08-16  Florian Weimer  <fweimer@redhat.com>
2647         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
2648         New.
2649         (do_test): Apply default_stack_size_in_mb if not set.
2650         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
2652 2016-08-15  Andreas Schwab  <schwab@suse.de>
2654         [BZ #20435]
2655         CVE-2016-6323
2656         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
2657         as .cantunwind.
2659 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
2661         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
2662         comment from fraiseexcpt.c.
2664         * math/test-fexcept.c (feraiseexcept_exact): New function.
2665         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
2666         (test_except): Likewise.
2668 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
2670         [BZ #20455]
2671         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
2672         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
2673         to be restored.
2675         * math/test-fexcept-traps.c: New file.
2676         * math/test-fexcept.c: Likewise.
2677         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
2678         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
2679         macro.
2680         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
2681         (EXCEPTION_SET_FORCES_TRAP): Likewise.
2683 2016-08-09  Torvald Riegel  <triegel@redhat.com>
2685         * include/atomic.h (atomic_fetch_and_relaxed,
2686         atomic_fetch_and_release, atomic_fetch_or_release,
2687         atomic_fetch_xor_release): New.
2689 2016-08-06  Christian Seiler  <christian@iwakd.de>
2691         [BZ #20444]
2692         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
2693         MACH_PORT_NULL.
2695 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2697         * math/s_fdim.c: Avoid alias renamed.
2698         * math/s_fdimf.c: Likewise.
2699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2700         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2701         Add s_fdimf-vis3, s_fdim-vis3.
2702         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2703         (CFLAGS-s_fdim-vis3.c): Likewise.
2704         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
2705         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2707 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2710         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2711         Remove s_fdimf-vis3, s_fdim-vis3.
2712         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
2713         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
2714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
2715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
2716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
2717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
2718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
2719         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
2720         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
2721         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
2723 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2725         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
2726         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
2727         -Wa,-Av9a -mvis.
2729 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2731         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
2732         LIT() to individual constants in simple expressions
2733         after splitting on spaces.
2734         (_apply_lit): Rename replaced version, and use it to
2735         apply to what appears to be a token.
2737         * math/libm-test.inc: Fix many, many issues with
2738         spacing.
2740 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
2742         * math/math.h: Move comment about <bits/mathdef.h> definitions
2743         above inclusion of <bits/mathdef.h>.  Do not mention
2744         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
2746 2016-08-05  Torvald Riegel  <triegel@redhat.com>
2748         * include/atomic.h (atomic_exchange_relaxed): New.
2750 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
2752         * math/e_scalb.c: Do not include <fenv.h>.
2753         (invalid_fn): Do calculation resulting in NaN instead of raising
2754         FE_INVALID and returning a NaN explicitly.
2755         * math/e_scalbf.c: Do not include <fenv.h>.
2756         (invalid_fn): Do calculation resulting in NaN instead of raising
2757         FE_INVALID and returning a NaN explicitly.
2758         * math/e_scalbl.c: Do not include <fenv.h>.
2759         (invalid_fn): Do calculation resulting in NaN instead of raising
2760         FE_INVALID and returning a NaN explicitly.
2762 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
2764         * po/de.po: Updated from Translation Project.
2765         * po/fi.po: Likewise.
2766         * po/sv.po: Likewise.
2768 2016-08-04  Florian Weimer  <fweimer@redhat.com>
2770         [BZ #20452]
2771         Use sysdep.o from libc.a in static libraries.
2772         * sysdeps/unix/sysv/linux/i386/Makefile
2773         (libpthread-shared-only-routines): Add sysdep.
2774         (librt-shared-only-routines): Likewise.
2776 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2778         * math/tgmath.h (nextdown): Define if
2779         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
2780         (nextup): Likewise.
2782         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
2783         macro.
2784         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2785         Document.
2786         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2787         Document macro.
2788         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
2789         (exp10f): Likewise.
2790         (exp10l): Likewise.
2791         * math/bits/mathcalls.h (exp10): Declare if
2792         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
2794         * manual/arith.texi (nextup): Fix typo in last change.
2796 2016-08-03  Zack Weinberg  <zackw@panix.com>
2798         [BZ #19239]
2799         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
2800         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
2801         define major, minor, and makedev to issue deprecation warnings on use.
2802         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
2803         previously-activated deprecation warnings for these macros and prevent
2804         subsequent inclusions of this header from having any effect.
2805         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
2806         including <sys/sysmacros.h>, and undefine it again afterward.
2808 2016-08-03  Zack Weinberg  <zackw@panix.com>
2810         * sysdeps/generic/sys/sysmacros.h: Delete file.
2811         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
2812         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
2813         * bits/sysmacros.h: ... here; this encoding is now the generic
2814         encoding.  Now defines only the following macros:
2815         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
2816         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
2817         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
2819         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
2820         bits/sysmacros.h and the above new macros to generate the
2821         public implementations of major, minor, and makedev.
2822         * misc/tst-makedev.c: New test.
2823         * include/sys/sysmacros.h: New wrapper.
2825         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
2826         (routines): Add makedev.
2827         (tests): Add tst-makedev.
2828         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
2829         gnu_dev_makedev.
2830         * posix/Makefile (headers): Remove sys/sysmacros.h.
2831         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
2833         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
2834         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
2835         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2836         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2837         * sysdeps/unix/sysv/linux/arm/libc.abilist
2838         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2839         * sysdeps/unix/sysv/linux/i386/libc.abilist
2840         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2841         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2842         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2843         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2844         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2845         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2846         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2847         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2848         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2853         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2854         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2855         * sysdeps/unix/sysv/linux/sh/libc.abilist
2856         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2857         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2860         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2861         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2862         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2863         Add GLIBC_2.25.
2865         * include/features.h (__glibc_clang_prereq): New macro.
2866         * misc/sys/cdefs.h (__glibc_clang_has_extension)
2867         (__attribute_deprecated_msg__): New macros.
2869 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2871         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
2872         macro.
2873         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
2874         * manual/arith.texi (issignaling): Document as ISO from TS
2875         18661-1:2014.
2876         (nextup): Likewise.
2877         (nextupf): Likewise.
2878         (nextupl): Likewise.
2879         (nextdown): Likewise.
2880         (nextdownf): Likewise.
2881         (nextdownl): Likewise.
2882         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
2883         macro.
2884         * math/math.h: Define
2885         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2886         <bits/libc-header-start.h> instead of including <features.h>.
2887         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
2888         [__USE_GNU].
2889         * math/bits/mathcalls.h (nextdown): Declare if
2890         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
2891         (nextup): Likewise.
2892         (__issignaling): Likewise.
2894 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2896         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
2897         check, and remove __glibc_likely hint
2898         from FP_INFINITE check.
2899         * s_csinhf.c (__csinhf): Likewise.
2901         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
2902         hint from FP_INFINITE check.
2903         * s_csinhl.c (__csinhl): Likewise.
2905 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2907         * math/Makefile (libm-calls): Insert F placeholder into
2908         object names.  Move w_lgamma_compat* routines into
2909         (libm-compat-calls): New variable.
2910         (libm-compat-calls-ldouble-yes): New variable.
2911         (calls): Insert F placeholder.
2912         (generated): Redefine using new type-foreach macro call.
2913         (routines): Likewise.
2915         (types): New variable to hold a list of symbolic names
2916         for each type supported by the target machine.
2917         (libm-routines): Redefine using new types variable.
2918         (type-foreach): macro to replace fooF with the
2919         appropriately suffixed foo for each types.
2921         (type-ldouble-suffix): New variable.
2922         (type-ldouble-routines): Likewise.
2923         (type-ldouble-yes): Likewise.
2924         (type-double-suffix): Likewise.
2925         (type-double-routines): Likewise.
2926         (type-float-suffix): Likewise.
2927         (type-float-routines): Likewise.
2929         (dbl-only-routines): Remove.
2930         (long-c-yes): Likewise.
2931         (long-m-routines): Likewise.
2932         (long-m-support): Likewise.
2933         (long-m-yes): Likewise.
2934         (test-longdouble-yes): Likewise.
2936         (test-float.o): Simplify by increasing the scope of the
2937         recipe which adds libm-test.stmp to the vector types.
2938         (test-ifloat.o): Likewise.
2939         (test-float-finite.o): Likewise.
2940         (test-double.o): Likewise
2941         (test-idouble.o): Likewise.
2942         (test-double-finite.o): Likewise.
2943         (test-ldouble.o): Likewise
2944         (test-ildoubl.o): Likewise.
2945         (test-ldouble-finite.o): Likewise.
2947         (libm-tests): Redefine type tests using foreach and the
2948         list of types in types.
2950         (CPPFLAGS-test-ildoubl.c): Rename to
2951         (CPPFLAGS-test-ildouble.c): New variable
2953         * math/test-ildoubl.c: Rename to
2954         * math/test-ildouble.c: New file.
2956 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2958         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
2959         Use fabsl instead of fabs.
2960         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
2961         Likewise.
2962         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
2963         Add long double suffix to constant to ensure proper
2964         promotion to long double.
2966 2016-08-03  Tom Tromey  <tom@tromey.com>
2968         [BZ #20311]
2969         * nptl_db/Makefile (headers): Add proc_service.h.
2970         * nptl_db/proc_service.h: Add include guard.  Use
2971         __BEGIN/__END_DECLS.
2972         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
2973         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
2974         arguments.
2977 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2979         [BZ #17730]
2980         Avoid using memalign for TCB allocations.
2981         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
2982         (_dl_allocate_tls_storage): Use malloc and manual alignment.
2983         Avoid alignment gap in the TLS_DTV_AT_TP case.
2984         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
2985         determine the pointer to free.
2986         * nptl/tst-tls3-malloc.c: New test.
2987         * nptl/Makefile (tests): Add it.
2988         (tst-tls3-malloc): Link with libdl, libpthread.
2989         (LDFLAGS-tst-tls3-malloc): Set.
2990         (tst-tls3-malloc.out): Depend on DSO used in test.
2992 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2994         [BZ #17730]
2995         Avoid using memalign for TLS allocations.
2996         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
2997         is_static member with to_free member.
2998         (union dtv): Use struct dtv_pointer.
2999         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
3000         dtv_pointer instead of is_static.
3001         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
3002         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
3003         instead of val.
3004         (allocate_dtv_entry): New function.
3005         (allocate_and_init): Return struct dtv_pointer.  Call
3006         allocate_dtv_entry instead of __libc_memalign.
3007         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
3008         instead of val.
3009         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
3010         instead of is_static.  Adjust call to allocate_and_init.
3011         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
3012         struct dtv_pointer instead of val.
3014 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3016         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
3017         (MALLOC_ALIGN_MASK): Move ...
3018         * malloc/malloc-internal.h: ... to here.
3019         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
3021 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3023         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
3024         (UDP_ENCAP_GTP1U): Likewise.
3026         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
3027         (PF_MAX): Update value.
3028         (AF_QIPCRTR): New macro.
3030 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3032         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
3033         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3034         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3035         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3036         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3037         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3038         s_truncf-vis3, s_trunc-vis3.
3039         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3040         (CFLAGS-s_ceil-vis3.c): Likewise.
3041         (CFLAGS-s_floorf-vis3.c): Likewise.
3042         (CFLAGS-s_floor-vis3.c): Likewise.
3043         (CFLAGS-s_truncf-vis3.c): Likewise.
3044         (CFLAGS-s_trunc-vis3.c): Likewise.
3045         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
3046         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
3047         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
3048         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
3049         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
3050         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
3051         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
3052         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
3053         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
3054         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
3055         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
3056         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
3058 2016-08-02  David S. Miller  <davem@davemloft.net>
3060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3061         (__nearbyint_vis3): Don't check for sNaN before float register is
3062         loaded with the incoming argument.
3063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3064         (__nearbyintf_vis3): Likewise.
3065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
3066         Likewise.
3067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
3068         Likewise.
3070         * string/test-strncmp.c (do_test_limit): Make sure the test data
3071         stream is aligned as required for the type "CHAR".
3072         (do_test): Likewise.
3074 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3076         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
3077         by beq instructions jumping to the end of the function.
3078         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
3079         clobber list. Use "i" constraint instead of "X".
3080         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
3081         of "X".
3083 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
3085         * bits/libc-header-start.h: New file.
3086         * Makefile (headers): Add bits/libc-header-start.h.
3087         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
3088         (__GLIBC_USE): New macro.
3089         * libio/stdio.h: Define
3090         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3091         <bits/libc-header-start.h> instead of including <features.h>.
3092         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
3093         (open_memstream): Likewise.
3094         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
3095         (__asprintf): Likewise.
3096         (asprintf): Likewise.
3097         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
3098         (getdelim): Likewise.
3099         (getline): Likewise.
3100         * string/string.h: Define
3101         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3102         <bits/libc-header-start.h> instead of including <features.h>.
3103         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
3104         (strndup): Likewise.
3105         * wcsmbs/wchar.h: Define
3106         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3107         <bits/libc-header-start.h> instead of including <features.h>.
3108         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
3109         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
3111 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3113         Support linking against compatibility symbols, for use in tests.
3114         * include/libc-symbols.h (symbol_version_reference): New macro.
3115         (symbol_version): Use it.
3116         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
3117         (compat_symbol): Use compat_symbol_reference.
3118         (compat_symbol_1, compat_symbol_2): Remove.
3119         (compat_symbol_reference, compat_symbol_reference_1)
3120         (compat_symbol_reference_2): New macro.  Use
3121         symbol_version_reference.
3123 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3125         [BZ #19469]
3126         * malloc/Makefile (CPPFLAGS): Compile tests with
3127         -DTEST_NO_MALLOPT.
3128         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
3130 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
3132         [BZ #20033]
3133         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
3134         finite version.
3135         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
3136         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
3137         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
3138         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
3139         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
3140         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
3141         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
3142         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
3143         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
3144         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
3145         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
3146         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
3147         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
3148         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
3149         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
3150         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
3151         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
3152         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
3153         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
3154         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
3155         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
3156         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
3157         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
3158         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
3159         in zero power.
3161 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3163         [BZ #20370]
3164         * malloc/arena.c (get_free_list): Update comment.  Assert that
3165         arenas on the free list have no attached threads.
3166         (remove_from_free_list): New function.
3167         (reused_arena): Call it.
3169 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
3171         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
3172         when it is a NaN.
3173         [_IEEE_FP_INEXACT] Remove.
3174         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
3175         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
3176         when it is a NaN.
3177         [_IEEE_FP_INEXACT] Remove.
3178         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
3179         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
3180         when it is a NaN.
3181         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
3182         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
3183         when its absolute value is greater than 0x1.0p52.
3184         [_IEEE_FP_INEXACT] Remove.
3185         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
3186         when its absolute value is greater than 0x1.0p23.
3187         [_IEEE_FP_INEXACT] Remove.
3189 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
3191         * version.h (RELEASE): Set to "development"
3192         (VERSION): Set to 2.24.90.
3193         * NEWS: Add 2.25 section.
3195         * version.h (RELEASE): Set to "stable"
3196         (VERSION): Set to 2.24.
3197         * include/features.h (__GLIBC_MINOR__): Set to 24.
3199         * NEWS: Add 2.24 fixed bugs.
3200         * po/libc.pot: Regenerate.
3202 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
3204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3205         [$(subdir) = math] (libm-sysdep_routines): Remove.
3206         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3207         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3208         s_truncf-vis3, s_trunc-vis3.
3209         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
3211         file.
3212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
3213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
3214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
3218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
3219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
3221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
3222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
3223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
3224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
3225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
3226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
3227         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3228         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
3231         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
3232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
3233         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
3234         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3235         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3236         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3237         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3238         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3239         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
3240         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3241         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3242         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
3243         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3244         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3245         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
3246         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
3247         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
3248         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
3249         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3250         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3251         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
3252         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
3253         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
3254         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
3256 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3258         [BZ #20384]
3259         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
3260         test-double-libmvec-sincos-avx-main.o,
3261         test-double-libmvec-sincos-avx2-main.o,
3262         test-double-libmvec-sincos-main.o,
3263         test-float-libmvec-sincosf-avx-main.o,
3264         test-float-libmvec-sincosf-avx2-main.o and
3265         test-float-libmvec-sincosf-main.o.
3266         test-float-libmvec-sincosf-avx512-main.o.
3267         ($(objpfx)test-double-libmvec-sincos): Also link with
3268         $(objpfx)test-double-libmvec-sincos-main.o.
3269         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
3270         $(objpfx)test-double-libmvec-sincos-avx-main.o.
3271         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
3272         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
3273         ($(objpfx)test-float-libmvec-sincosf): Also link with
3274         $(objpfx)test-float-libmvec-sincosf-main.o.
3275         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
3276         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
3277         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
3278         test-double-libmvec-sincos-avx512-main.o and
3279         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
3280         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
3281         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
3282         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
3283         (CFLAGS-test-double-libmvec-sincos.c): Removed.
3284         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
3285         (CFLAGS-test-double-libmvec-sincos-main.c): New.
3286         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
3287         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
3288         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
3289         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
3290         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
3291         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
3292         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
3293         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
3294         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
3295         -DREQUIRE_AVX2.
3296         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
3297         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
3298         -DREQUIRE_AVX512F.
3299         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
3300         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
3301         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3302         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
3303         file.
3304         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
3305         Likewise.
3306         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
3307         Likewise.
3308         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
3309         Likewise.
3310         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
3311         Likewise.
3312         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
3313         Likewise.
3314         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
3315         Likewise.
3316         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
3317         Likewise.
3319 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
3321         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
3323 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
3325         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
3326         and typo in a comment about AT_HWCAP entry.
3328 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3330         * sysdeps/aarch64/libm-test-ulps: Updated.
3332 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3334         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
3335         of r13 as it is not restored in mvcle case.
3337 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
3339         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
3340         Rename "ret" to "__ret".
3341         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
3342         inline_syscall5, inline_syscall6): Likewise.
3344 2016-07-19   Will Newton  <will.newton@gmail.com>
3346         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
3347         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
3348         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
3349         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
3350         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
3352 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
3354         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
3355         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
3356         -mfpmath=387 with $(rtld-CFLAGS).
3357         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
3358         $(rtld-CFLAGS).
3360 2016-07-18   Ross Burton  <ross.burton@intel.com>
3361              Khem Raj  <raj.khem@gmail.com>
3363         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
3364         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
3365         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
3366         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
3367         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
3368         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
3369         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
3370         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
3371         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
3372         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
3373         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
3374         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
3375         R_METAG_TLS_DTPOFF): New.
3377 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3378             Matt Clay  <mclay@lycos.com>
3380         [BZ #20357]
3381         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
3382         to call __mpsin/__mpcos and to negate values.
3383         * math/auto-libm-test-in: Add test.
3384         * math/auto-libm-test-out: Regenerate.
3386 2016-07-18  Zack Weinberg  <zackw@panix.com>
3388         * grp/Makefile: Don't install the internal header grp-merge.h.
3390 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3392         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3394 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3396         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
3398 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3400         [BZ #15368]
3401         * sysdeps/unix/sysv/linux/nptl-signals.h
3402         (__nptl_clear_internal_signals): New function.
3403         (__libc_signal_block_all): Likewise.
3404         (__libc_signal_block_app): Likewise.
3405         (__libc_signal_restore_set): Likewise.
3406         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
3407         implementation.
3408         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
3409         the cached pid/tid value in pthread structure.
3411 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
3413         [BZ #20347]
3414         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3416 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3418         [BZ #20348]
3419         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
3420         preadv64, pwrite64 and pwritev64.
3422 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3424         [BZ #20350]
3425         * posix/tst-preadwrite.c: Renamed to ...
3426         * posix/tst-preadwrite-common.c: This.
3427         (PREAD): Removed.
3428         (PWRITE): Likewise.
3429         (STRINGIFY): Likewise.
3430         (STRINGIFY2): Likewise.
3431         (do_prepare): Make it static and remove function arguments.
3432         (do_test): Likewise.
3433         (PREPARE): Updated.
3434         (TEST_FUNCTION): New.
3435         (name): Make it static.
3436         (fd): Likewise.
3437         (do_prepare): Use create_temp_file.
3438         (do_test): Renamed to ...
3439         (do_test_with_offset): This.  Make it static and accept offset.
3440         Properly check return value of PWRITE and PREAD.  Return bytes
3441         read.  Don't close fd nor unlink name.
3442         * posix/tst-preadwrite.c: Rewrite.
3443         * posix/tst-preadwrite64.c: Likewise.
3445 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3447         [BZ #20309]
3448         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
3449         -mtls-dialect=gnu2 works.
3450         * configure: Regenerated.
3451         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
3452         (tests): Add tst-gnu2-tls1.
3453         (modules-names): Add tst-gnu2-tls1mod.
3454         ($(objpfx)tst-gnu2-tls1): New.
3455         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
3456         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
3457         * elf/tst-gnu2-tls1.c: New file.
3458         * elf/tst-gnu2-tls1mod.c: Likewise.
3459         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
3460         bytes for push in the PLT entry to align the stack.
3462 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
3464         [BZ #20349]
3465         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
3467 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3469         [BZ #18707]
3470         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
3471         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
3473 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3475         * sysdeps/unix/sysv/linux/sysdep.h
3476         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
3477         guards.
3478         * misc/tst-preadvwritev-common.c: New file.
3479         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
3480         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
3481         a check for files larger than 2GB.
3483         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3484         (__ASSUME_OFF_DIFF_OFF64): Remove define.
3485         * sysdeps/unix/sysv/linux/pread.c
3486         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
3487         __OFF_T_MATCHES_OFF64_T.
3488         * sysdeps/unix/sysv/linux/pread64.c
3489         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
3490         * sysdeps/unix/sysv/linux/preadv.c
3491         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
3492         * sysdeps/unix/sysv/linux/preadv64.c
3493         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
3494         * sysdeps/unix/sysv/linux/pwrite.c
3495         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
3496         * sysdeps/unix/sysv/linux/pwrite64.c
3497         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
3498         * sysdeps/unix/sysv/linux/pwritev.c
3499         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
3500         * sysdeps/unix/sysv/linux/pwritev64.c
3501         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
3503 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
3505         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3506         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
3508 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3510         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
3512 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3514         [BZ #20240]
3515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3516         (CFLAGS-s_modf-ppc32.c): New variable.
3517         (CFLAGS-s_modff-ppc32.c): Likewise.
3518         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3519         (CFLAGS-s_modf-ppc64.c): Likewise.
3520         (CFLAGS-s_modff-ppc64.c): Likewise.
3522 2016-07-07  Andreas Schwab  <schwab@suse.de>
3524         [BZ #20263]
3525         * nptl/tst-robust10.c: New test.
3526         * nptl/Makefile (tests): Add tst-robust10.
3528 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
3530         [BZ #20263]
3531         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
3533 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3535         * sysdeps/s390/linkmap.h (struct link_map_machine):
3536         Remove member gotplt and add member jmprel.
3537         * sysdeps/s390/s390-32/dl-machine.h
3538         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
3539         instead of gotplt with &got[3].
3540         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
3541         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3543 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
3545         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
3547 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3549         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
3550         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
3551         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3552         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
3553         * libio/vtables.c (_IO_vtable_check)
3554         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3555         * libio/libioP.h (IO_set_accept_foreign_vtables)
3556         [!PTR_MANGLE]: Do not call PTR_MANGLE.
3558 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
3560         [BZ #20314]
3561         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
3562         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
3563         $(common-objpfx)cmath.
3564         ($(common-objpfx)cstdlib): New target.
3565         ($(common-objpfx)cmath): Likewise.
3567 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
3569         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
3571 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3573         [BZ #20327]
3574         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
3575         are not part of the string.
3577 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3579         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
3580         * nptl/tst-cancel4-common.h (fifoname): New variable.
3581         (fifofd): Likewise.
3582         (cl_fifo): New function.
3583         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
3584         SIGINT.
3585         (tf_open): Add early cancel test.
3587 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
3589         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
3591 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
3593         * sysdeps/generic/ldsodefs.h
3594         (dl_symbol_visibility_binds_local_p): New inline function.
3595         * elf/dl-addr.c (determine_info): Treat hidden and internal
3596         symbols as local.
3597         * elf/dl-lookup.c (do_lookup_x): Likewise.
3598         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
3600 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
3602         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
3603         invalid exception for a sNaN input.
3604         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3605         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3606         (__nearbyint_vis3): Likewise
3607         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3608         (__nearbyintf_vis3): Likewise
3609         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
3610         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3611         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
3612         Likewise.
3613         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
3614         Likewise.
3616 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
3618         [BZ #20139]
3619         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
3620         (HAVE_AVX512DQ_ASM_SUPPORT): This.
3621         * sysdeps/x86_64/configure.ac: Require assembler from binutils
3622         2.24 or above.
3623         (HAVE_AVX512_ASM_SUPPORT): Removed.
3624         (HAVE_AVX512DQ_ASM_SUPPORT): New.
3625         * sysdeps/x86_64/configure: Regenerated.
3626         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
3627         check unconditional.
3628         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3629         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3630         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3631         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3632         Likewise.
3633         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3634         Likewise.
3635         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3636         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3637         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3638         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3639         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3640         Likewise.
3641         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3642         Likewise.
3643         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3644         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3645         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
3646         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
3647         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
3648         Likewise.
3649         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
3650         Likewise.
3651         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
3652         Likewise.
3653         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
3654         Likewise.
3655         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
3656         Likewise.
3657         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
3658         Likewise.
3659         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
3660         Likewise.
3661         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
3662         Likewise.
3663         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
3664         Likewise.
3665         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
3666         Likewise.
3667         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
3668         Likewise.
3670 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
3672         [BZ #20024]
3673         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
3674         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
3675         of this implementation of vector function.
3676         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3677         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3678         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
3679         Likewise.
3680         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3681         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3682         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
3683         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
3684         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
3685         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
3686         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3687         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
3688         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
3689         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
3690         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
3691         for testing vector sincos with fixed ABI.
3692         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3693         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3694         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3695         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3696         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3697         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3698         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3699         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
3700         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
3701         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
3702         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
3703         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
3704         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
3705         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
3706         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3707         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3709 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3711         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
3713 2016-06-30  Anton Blanchard  <anton@samba.org>
3715         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3716         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
3717         s_sinf-ppc64.
3718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
3719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
3721         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
3723 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3725         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3726         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3727         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
3728         e_expf-ppc64.
3729         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
3730         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3731         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3732         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3734 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
3736         [BZ #20277]
3737         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
3738         when SHARED is defined.
3740 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3742         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
3743         (index_arch_Prefer_ERMS): Likewise.
3744         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
3745         __memcpy_erms for Prefer_ERMS.
3746         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3747         (__memmove_erms): Enabled for libc.a.
3748         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
3749         __memmove_erms or Prefer_ERMS.
3750         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
3751         __mempcpy_erms for Prefer_ERMS.
3752         * sysdeps/x86_64/multiarch/memset.S (memset): Return
3753         __memset_erms for Prefer_ERMS.
3755 2016-06-30  Andreas Schwab  <schwab@suse.de>
3757         [BZ #20262]
3758         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
3759         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
3760         of memory.
3762 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
3764         [BZ #18645]
3765         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
3766         (test-extras): Add tst-cleanupx4aux.
3767         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
3768         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
3769         tst-cleanupx4aux.o.
3770         * nptl/tst-cleanupx4aux.c: New file.
3772 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3774         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3776 2016-06-29  Andreas Schwab  <schwab@suse.de>
3778         [BZ #20260]
3779         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
3780         address before the beginning of the string as an integer to avoid
3781         array-bounds warning.
3783 2016-06-28  Richard Henderson  <rth@redhat.com>
3785         * elf/elf.h (EM_BPF): New.
3786         (EM_NUM): Update.
3787         (R_BPF_NONE, R_BPF_MAP_FD): New.
3789         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
3790         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
3791         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
3792         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
3793         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
3794         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
3795         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
3796         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
3797         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
3798         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
3799         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
3800         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
3801         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
3802         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
3803         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
3804         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
3805         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
3806         (EM_NUM): Update.
3808 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
3810         [BZ #18960]
3811         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
3812         Set _nl_current_LC_CATEGORY_used to two instead of one.
3814 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
3816         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
3817         (do_test): ... this.
3818         (TEST_FUNCTION): New macro.
3819          Include test-skeleton.c.
3820         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
3821         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
3823 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
3825         [BZ #15479]
3826         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
3827         floating-point environment rather than just control word.
3828         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3829         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
3830         floating-point environment, with "invalid" exceptions merged in,
3831         rather than just control word.
3832         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
3833         * math/libm-test.inc (trunc_test_data): Do not allow spurious
3834         "inexact" exceptions.
3836         [BZ #15479]
3837         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
3838         floating-point environment rather than just control word.
3839         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3840         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
3841         floating-point environment, with "invalid" exceptions merged in,
3842         rather than just control word.
3843         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
3844         * math/libm-test.inc (floor_test_data): Do not allow spurious
3845         "inexact" exceptions.
3847         [BZ #15479]
3848         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
3849         floating-point environment rather than just control word.
3850         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3851         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
3852         floating-point environment, with "invalid" exceptions merged in,
3853         rather than just control word.
3854         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
3855         * math/libm-test.inc (ceil_test_data): Do not allow spurious
3856         "inexact" exceptions.
3858 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
3860         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
3861         __libc_vfork.
3862         (__vfork) [IS_IN (libc)]: Remove alias.
3863         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
3864         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3865         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3867 2016-06-24  Torvald Riegel  <triegel@redhat.com>
3869         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
3870         of atomic_compare_and_exchange_bool_rel.
3871         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3872         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
3873         catomic_compare_and_exchange_bool_rel): Remove.
3874         * sysdeps/aarch64/atomic-machine.h
3875         (atomic_compare_and_exchange_bool_rel): Likewise.
3876         * sysdeps/alpha/atomic-machine.h
3877         (atomic_compare_and_exchange_bool_rel): Likewise.
3878         * sysdeps/arm/atomic-machine.h
3879         (atomic_compare_and_exchange_bool_rel): Likewise.
3880         * sysdeps/mips/atomic-machine.h
3881         (atomic_compare_and_exchange_bool_rel): Likewise.
3882         * sysdeps/microblaze/atomic-machine.h
3883         ( __arch_compare_and_exchange_bool_8_rel,
3884         __arch_compare_and_exchange_bool_16_rel): Likewise.
3885         * sysdeps/powerpc/atomic-machine.h
3886         ( __arch_compare_and_exchange_bool_8_rel,
3887         __arch_compare_and_exchange_bool_16_rel): Likewise.
3888         * sysdeps/powerpc/powerpc32/atomic-machine.h
3889         ( __arch_compare_and_exchange_bool_32_rel,
3890         __arch_compare_and_exchange_bool_64_rel): Likewise.
3891         * sysdeps/powerpc/powerpc64/atomic-machine.h
3892         ( __arch_compare_and_exchange_bool_32_rel,
3893         __arch_compare_and_exchange_bool_64_rel): Likewise.
3894         * sysdeps/tile/atomic-machine.h
3895         (atomic_compare_and_exchange_bool_rel): Likewise.
3897 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
3899         [BZ #20296]
3900         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
3901         when either argument is a NaN.
3902         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3903         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
3905         * math/libm-test.inc (snan_value_ld): New macro.
3906         (isgreater_test_data): Add sNaN tests.
3907         (isgreaterequal_test_data): Likewise.
3908         (isless_test_data): Likewise.
3909         (islessequal_test_data): Likewise.
3910         (islessgreater_test_data): Likewise.
3911         (isunordered_test_data): Likewise.
3912         (nextafter_test_data): Likewise.
3913         (nexttoward_test_data): Likewise.
3914         (remainder_test_data): Likewise.
3915         (remquo_test_data): Likewise.
3916         (significand_test_data): Likewise.
3917         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
3919 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3921         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
3922         environment macros are defined.
3923         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
3925 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3927         [BZ #20191]
3928         Implement vtable verification in libio.
3929         * Makerules (shlib.lds): Place __libc_IO_vtables section.
3930         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
3931         * debug/vdprintf_chk.c (__vdprintf_chk): Call
3932         _IO_new_file_init_internal instead of _IO_file_init.
3933         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
3934         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
3935         * libio/Makefile (routines): Add vtables.
3936         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
3937         (_IO_init): Remove, not for internal use.
3938         (_IO_init_internal): Declare, internal replacement for _IO_init.
3939         (_IO_file_init): Remove, not for internal use.
3940         (_IO_new_file_init): Remove, not for internal use.
3941         (_IO_new_file_init_internal): Declare, internal replacement for
3942         _IO_new_file_init.
3943         (_IO_old_file_init): Remove, not for internal use.
3944         (_IO_old_file_init_internal): Declare, internal replacement for
3945         _IO_old_file_init.
3946         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
3947         internal use.
3948         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
3949         Declare.
3950         (libio_vtable): New macro.
3951         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
3952         functions.
3953         * libio/fileops.c (_IO_new_file_init_internal): Rename from
3954         _IO_new_file_init.
3955         (_IO_new_file_init): New externally visible wrapper which disables
3956         vtable verification.
3957         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
3958         Define as vtables.
3959         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
3960         (_IO_init): New externally visible wrapper which disables
3961         vtable verification.
3962         * libio/iofdopen.c (_IO_new_fdopen): Call
3963         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
3964         comment.
3965         * libio/iofopen.c (__fopen_internal): Call
3966         _IO_new_file_init_internal instead of _IO_file_init.
3967         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
3968         Define as vtables.
3969         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
3970         _IO_new_file_init_internal instead of _IO_file_init.
3971         * libio/iopopen.c (_IO_new_popen): Likewise.
3972         (_IO_proc_jumps): Define as vtable.
3973         * libio/iovdprintf.c (_IO_vdprintf): Call
3974         _IO_new_file_init_internal instead of _IO_file_init.
3975         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
3976         (__open_memstream): Call _IO_init_internal instead of _IO_init.
3977         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
3978         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
3979         _IO_old_file_init.
3980         (_IO_old_file_init): New externally visible wrapper which disables
3981         vtable verification.
3982         (_IO_old_file_jumps): Define as vtable.
3983         * libio/oldiofdopen.c (_IO_old_fdopen): Call
3984         _IO_old_file_init_internal instead of _IO_old_file_init.
3985         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3986         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3987         (_IO_old_proc_jumps): Define as vtable.
3988         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
3989         Define as vtables.
3990         * libio/vtables.c: New file.
3991         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
3992         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
3993         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
3994         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
3995         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
3996         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
3997         instead of _IO_init.
3999 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4001         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
4003 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4005         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
4006         potentially unused.
4008 2016-06-22  Florian Weimer  <fweimer@redhat.com>
4010         * test-skeleton.c (write_message): New function.
4011         * malloc/tst-mallocfork2.c (write_message): Remove.
4012         * debug/tst-longjmp_chk2.c (write_indented): New function.
4013         (write_message): Remove.
4014         (stackoverflow_handler): Call write_indented.
4016 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
4018         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
4019         "inexact" exceptions after fnstenv.
4020         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4021         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4022         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4024 2015-06-22  Zack Weinberg  <zackw@panix.com>
4026         * sysdeps/generic/bits/hwcap.h: Moved to ...
4027         * bits/hwcap.h: Here.
4029 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
4031         * sysdeps/aarch64/memcpy.S (memcpy):
4032         Further tuning for performance.
4034 2016-06-21  Florian Weimer  <fweimer@redhat.com>
4036         [BZ #20284]
4037         * malloc/arena.c (reused_arena): Do not return NULL if we start
4038         out with a non-corrupted arena.
4040 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4042         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
4043         * misc/tst-preadvwritev.c: New file.
4044         * misc/tst-preadvwritev64.c: Likewise.
4045         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
4046         usage.
4047         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4048         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4049         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4050         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
4052 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
4054         [BZ #19654]
4055         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4056         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
4057         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
4058         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
4059         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
4060         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
4061         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
4062         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
4063         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
4064         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
4065         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
4066         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
4067         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
4068         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
4069         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
4070         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
4071         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
4072         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
4073         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
4074         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
4075         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
4076         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
4077         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
4078         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
4079         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
4080         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
4082 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4084         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
4085         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
4087 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4089         * sysdeps/aarch64/memcpy.S (memcpy):
4090         Rewrite of optimized memcpy and memmove.
4091         * sysdeps/aarch64/memmove.S (memmove): Remove
4092         memmove code (merged into memcpy.S).
4094 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4096         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
4097         * sysdeps/generic/dl-dtv.h: New file.
4098         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4099         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
4100         (dtv_t): Remove.
4101         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4102         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
4103         (dtv_t): Remove.
4104         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4105         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
4106         (dtv_t): Remove.
4107         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4108         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
4109         (dtv_t): Remove.
4110         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4111         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
4112         (dtv_t): Remove.
4113         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4114         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
4115         (dtv_t): Remove.
4116         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4117         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
4118         (dtv_t): Remove.
4119         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
4120         (dtv_t): Remove.
4121         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4122         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
4123         (dtv_t): Remove.
4124         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4125         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
4126         (dtv_t): Remove.
4127         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4128         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
4129         (dtv_t): Remove.
4130         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4131         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
4132         (dtv_t): Remove.
4133         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4134         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
4135         (dtv_t): Remove.
4136         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4137         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
4138         (dtv_t): Remove.
4139         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4140         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
4141         (dtv_t): Remove.
4142         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4143         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
4144         (dtv_t): Remove.
4146 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4148         Revert symbol poisoning of  __malloc_initialize_hook.
4149         * include/stdc-predef.h (__malloc_initialize_hook): Remove
4150         poisoning.
4151         * malloc/Makefile: Remove un-poisoning.
4152         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
4153         instead of old__malloc_initialize_hook.
4154         * malloc/malloc-hooks.h: Likewise.
4155         * malloc/malloc.c: Likewise.
4156         * malloc/mcheck-init.c: Likewise.
4158 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
4160         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
4162 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
4164         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
4165         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
4166         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4167         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4169 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4171         * NEWS: Mention addition of nextup and nextdown.
4172         * manual/arith.texi: Document nextup and nextdown.
4173         * manual/libm-err-tab.pl: Add nextup and nextdown.
4174         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
4175         * math/Versions (libm): Add GLIBC_2.24.
4176         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
4177         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4178         Add new test.
4179         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
4180         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
4181         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
4182         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
4183         (nextup_test_data): Likewise.
4184         (nextdown_test_data): Likewise.
4185         * math/s_nextdown.c: New file.
4186         * math/s_nextdownf.c: Likewise.
4187         * math/s_nextdownl.c: Likewise.
4188         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
4189         F(nextup): New function.
4190         F(nextdown): Likewise.
4191         * math/tgmath.h: Add nextup and nextdown.
4192         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
4193         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
4194         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4195         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
4196         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
4197         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
4198         Add nextup and nextdown.
4199         (CFLAGS-nldbl-nextup.c): New variable.
4200         (CFLAGS-nldbl-nextdown.c): Likewise.
4201         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
4202         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
4203         * sysdeps/nacl/libm.abilist: Update.
4204         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4205         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4206         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4207         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4208         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4209         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4210         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4211         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4212         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4213         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4214         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4215         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
4217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4218         Likewise.
4219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
4220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
4221         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4222         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4223         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4224         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4225         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
4227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
4228         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4229         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4230         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
4231         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4233 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4235         * manual/pattern.texi: Fix typos & grammar errors.
4237 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4239         * manual/search.texi: Fix typos & grammar errors.
4241 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4243         * manual/message.texi: Fix typos & grammar errors.
4245 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
4247         * manual/contrib.texi: Fix spelling typos.
4248         * manual/crypt.texi: Likewise.
4249         * manual/filesys.texi: Likewise.
4250         * manual/locale.texi: Likewise.
4251         * manual/message.texi: Likewise.
4252         * manual/nss.texi: Likewise.
4253         * manual/string.texi: Likewise.
4255 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4257         * manual/locale.texi: Fix typos & grammar errors.
4259 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4261         * manual/charset.texi: Fix typos & grammar errors.
4263 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4265         * manual/string.texi: Fix typos.
4267 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4269         * manual/ctype.texi: Fix typos.
4271 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4273         * manual/memory.texi: Fix various typos & grammar errors.
4275 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
4277         [BZ #20255]
4278         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
4279         * math/libm-test.inc (fdim_test_data): Add another test.
4281         [BZ #6796]
4282         [BZ #20255]
4283         [BZ #20256]
4284         * math/s_fdim.c: Include <math_private.h>.
4285         (__fdim): Use math_narrow_eval on result.
4286         * math/s_fdimf.c: Include <math_private.h>.
4287         (__fdimf): Use math_narrow_eval on result.
4288         * sysdeps/i386/fpu/s_fdim.S: Remove file.
4289         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
4290         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
4291         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
4292         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
4293         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
4294         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
4295         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
4296         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
4297         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
4298         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
4299         * math/libm-test.inc (fdim_test_data): Expect errno setting on
4300         overflow.  Add sNaN tests.
4302         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
4303         fpclassify.
4304         * math/s_fdimf.c (__fdimf): Likewise.
4305         * math/s_fdiml.c (__fdiml): Likewise.
4307 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4309         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4310         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
4311         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4312         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4313         ifunc'ed strcasecmp/strncasecmp.
4314         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
4315         [EALIGN]: Removed.
4316         [END]: Likewise.
4317         [__strcasecmp]: Define instead of the above to control symbol name.
4318         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
4319         for __strcasecmp_power8.
4320         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
4321         for __strncasecmp_power8.
4322         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
4323         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
4324         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
4325         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
4326         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
4327         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
4329 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
4331         [BZ #20252]
4332         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
4333         arguments when second argument is a NaN.
4334         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
4335         qNaN tests.
4337         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
4338         (conj_test_data): Likewise.
4339         (copysign_test_data): Likewise.
4340         (creal_test_data): Likewise.
4341         (fma_test_data): Likewise.
4342         (fmod_test_data): Likewise.
4344         [BZ #20250]
4345         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
4346         itself.
4347         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
4348         zero input to itself.
4349         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
4350         Likewise.
4351         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
4352         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4353         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4354         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4355         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
4357 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4359         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
4360         * nptl/tst-cancel4-common.c: New file.
4361         * nptl/tst-cancel4-common.h: Likewise.
4362         * nptl/tst-cancel4.c: Move common definitions to
4363         tst-cancel4-common.{c,h} file.
4364         * nptl/tst-cancel4_1.c: New test.
4365         * nptl/tst-cancel4_2.c: New test.
4367 2016-06-13  Florian Weimer  <fweimer@redhat.com>
4369         [BZ #20248]
4370         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
4371         (write_message): New function.
4372         (stackoverflow_handler): Call it instead of printf, to avoid
4373         excessive stack usage by printf.
4374         (do_test): Restore SIGSEGV, SIGBUS default handlers.
4376 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4378         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
4379         (prio_inherit_missing): Remove define.
4380         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4381         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4382         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
4383         Likewise.
4384         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4385         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4386         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4387         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4388         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4389         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4391 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4393         [BZ #19670]
4394         [BZ #19672]
4396         * io/test-lfs.c (do_prepare): Use xmalloc.
4397         * io/tst-fcntl.c (do_prepare): Likewise.
4398         * libio/tst-fopenloc.c (do_bz17916): Likewise.
4399         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
4400         * login/tst-utmp.c (do_prepare): Likewise.
4401         * posix/tst-exec.c (do_prepare): Likewise.
4402         * posix/tst-pathconf.c (prepare): Likewise.
4403         * posix/tst-spawn.c (do_prepare): Likewise.
4404         * posix/tst-truncate.c (do_prepare): Likewise.
4405         * rt/tst-aio.c (do_prepare): Likewise.
4406         * rt/tst-aio64.c (do_prepare): Likewise.
4408 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4410         [BZ #20237]
4411         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
4412         (get*ent): Set entidx to NULL during initialization.  If entidx is
4413         NULL, start iteration from the beginning.
4415 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4417         * malloc/malloc.c (musable): Return correct size for dumped fake
4418         mmapped chunk.
4420 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4422         [BZ #20222]
4423         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
4424         (_IO_cookie_write): Likewise.
4425         (_IO_cookie_seek): Likewise.
4426         (_IO_cookie_close): Likewise.
4427         (_IO_old_cookie_seek): Likewise.
4428         (set_callbacks): New function.
4429         (_IO_cookie_init): Call set_callbacks to copy callbacks.
4431 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
4433         * locale/programs/localedef.c (oldstyle_tables): Remove.
4434         * locale/programs/localedef.h (oldstyle_tables): Likewise.
4436 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
4438         [BZ #20240]
4439         * math/Makefile (CFLAGS-s_modf.c): New variable.
4440         (CFLAGS-s_modff.c): Likewise.
4441         (CFLAGS-s_modfl.c): Likewise.
4442         * math/libm-test.inc (modf_test_data): Add sNaN tests.
4444 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
4446         [BZ #20215]
4447         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
4448         [!__GNUC_PREREQ (3,2)]: Likewise.
4450 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
4452         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
4453         (msghdr.msg_controllen): Likewise.
4454         (cmsghdr.cmsg_len): Likewise.
4455         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
4456         ptw-oldsendmsg.
4457         (CFLAGS-oldrecvmsg.c): Remove rule.
4458         (CFLAGS-oldsendmsg.c): Likewise.
4459         (CFLAGS-recvmsg.c): Add rule.
4460         (CFLAGS-sendmsg.c): Likewise.
4461         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4462         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
4463         (CFLAGS-recvmsg.c): Remove rule.
4464         (CFLAGS-sendmsg.c): Likewise.
4465         (CFLAGS-oldrecvmsg.c): Likewise.
4466         (CFLAGS-oldsendmsg.c): Likewise.
4467         (CFLAGS-recvmmsg.c): Likewise.
4468         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
4469         to kernel defined interfaces.
4470         (msghdr.msg_controllen): Likewise.
4471         (cmsghdr.cmsg_len): Likewise.
4472         (msghdr.__glibc_reserved1): Remove member.
4473         (msghdr.__glibc_reserved2): Likewise.
4474         (cmsghdr.__glibc_reserved1): Likewise.
4475         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
4476         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
4477         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4478         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4479         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
4480         version.
4481         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4482         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
4483         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4484         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
4485         Remove recvmsg and sendmsg.
4486         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
4487         Likewise.
4488         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4489         Likewise.
4490         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4491         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4492         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4493         Likewise.
4494         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4495         Likewise.
4496         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
4497         [libc] (GLIBC_2.24): Likewise.
4498         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4499         Likewise.
4500         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4501         Likewise.
4502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4503         [libc] (GLIBC_2.24): Likewise.
4504         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4505         Likewise.
4506         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4507         Likewise.
4508         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4509         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4510         Likewise.
4511         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4512         Likewise.
4513         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4514         Likewise.
4515         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
4516         Likewise.
4517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
4518         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
4519         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
4520         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
4521         version for {recv,send,recm,sendm}msg.
4522         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4523         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4524         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4525         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4526         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4527         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4528         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4529         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4530         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4531         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4532         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4533         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4535         Likewise.
4536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4537         Likewise.
4538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4540         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4541         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4542         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4543         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4544         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4545         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4548         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4549         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4550         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4552 2016-06-10  Florian Weimer  <fweimer@redhat.com>
4554         [BZ #19564]
4555         Remove __malloc_initialize_hook from the API.
4556         * malloc/malloc.h (__malloc_initialize_hook): Remove.
4557         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
4558         #pragma GCC poison.
4559         * malloc/malloc-hooks.h: New file.
4560         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
4561         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
4562         (old__malloc_initialize_hook): Rename from
4563         __malloc_initialize_hook to evade poisoning.  Turn into compat
4564         symbol.
4565         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
4566         __malloc_initialize_hook.
4567         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
4568         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
4569         * manual/memory.texi (Hooks for Malloc): Remove
4570         __malloc_initialize_hook.  Adjust hook example.
4572 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
4574         [BZ #20235]
4575         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
4576         itself.
4577         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4578         * math/libm-test.inc (log2_test_data): Add sNaN tests.
4580         [BZ #20234]
4581         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
4582         infinity or NaN input to itself.
4584         [BZ #20233]
4585         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
4586         to itself.
4588         [BZ #20232]
4589         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
4590         itself.
4592 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4594         * sysdeps/x86_64/start.S (_start): Always indirect branch to
4595         __libc_start_main via GOT.
4597 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4599         * sysdeps/x86_64/memcopy.h: New file.
4600         * sysdeps/x86_64/wordcopy.c: Likewise.
4602 2016-06-09  Florian Weimer  <fweimer@redhat.com>
4604         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
4605         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
4606         <cstdlib>.
4607         (optimization_barrier): New.
4608         (do_test): Use it.  Call quick_exit in the global namespace.
4609         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
4610         instead of <cstdlib>, <thread>.
4611         (optimization_barrier): New.
4612         (non_main_thread): Adjust declaration.  Call optimization_barrier.
4613         Call quick_exit in the global namespace.
4614         (do_test): Call optimization_barrier.  Use pthread_create,
4615         pthread_join instead of std::thread.
4617 2016-06-09  Andreas Schwab  <schwab@suse.de>
4619         [BZ #19755]
4620         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
4621         new entries in auto-propagate mode.
4622         * nscd/grpcache.c (cache_addgr): Likewise.
4624 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4626         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
4627         New functions.
4628         (add_temp_file): Use them.
4630 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
4632         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
4634 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
4636         [BZ #20229]
4637         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
4638         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
4639         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
4641         [BZ #20228]
4642         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
4643         itself.
4644         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4645         * math/libm-test.inc (log10_test_data): Add sNaN tests.
4647         [BZ #20227]
4648         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
4649         itself.
4650         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4651         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4652         * math/libm-test.inc (log_test_data): Add sNaN tests.
4654         [BZ #20226]
4655         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
4656         itself.
4657         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4658         * math/libm-test.inc (exp_test_data): Add sNaN tests.
4659         (exp10_test_data): Likewise.
4660         (expm1_test_data): Likewise.
4662         [BZ #20225]
4663         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
4664         itself.
4665         * math/s_ldexpf.c (__ldexpf): Likewise.
4666         * math/s_ldexpl.c (__ldexpl): Likewise.
4667         * math/w_scalbln.c (__w_scalbln): Likewise.
4668         * math/w_scalblnf.c (__w_scalblnf): Likewise.
4669         * math/w_scalblnl.c (__w_scalblnl): Likewise.
4670         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
4671         (scalbln_test_data): Likewise.
4673         [BZ #20224]
4674         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
4675         argument to itself.
4676         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
4678 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4680         [BZ #19776]
4681         * sysdeps/x86_64/memcpy.S: Make it dummy.
4682         * sysdeps/x86_64/mempcpy.S: Likewise.
4683         * sysdeps/x86_64/memmove.S: New file.
4684         * sysdeps/x86_64/memmove_chk.S: Likewise.
4685         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4686         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4687         * sysdeps/x86_64/memmove.c: Removed.
4688         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4689         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4690         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
4691         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4692         Likewise.
4693         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4694         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4695         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4696         memcpy-sse2-unaligned, memmove-avx-unaligned,
4697         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
4698         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4699         (__libc_ifunc_impl_list): Replace
4700         __memmove_chk_avx512_unaligned_2 with
4701         __memmove_chk_avx512_unaligned.  Remove
4702         __memmove_chk_avx_unaligned_2.  Replace
4703         __memmove_chk_sse2_unaligned_2 with
4704         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
4705         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
4706         with __memmove_avx512_unaligned.  Replace
4707         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
4708         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
4709         with __memcpy_chk_avx512_unaligned.  Remove
4710         __memcpy_chk_avx_unaligned_2.  Replace
4711         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
4712         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
4713         Replace __memcpy_avx512_unaligned_2 with
4714         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
4715         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
4716         with __mempcpy_chk_avx512_unaligned.  Remove
4717         __mempcpy_chk_avx_unaligned_2.  Replace
4718         __mempcpy_chk_sse2_unaligned_2 with
4719         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
4720         Replace __mempcpy_avx512_unaligned_2 with
4721         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
4722         Replace __mempcpy_sse2_unaligned_2 with
4723         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
4724         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
4725         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
4726         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
4727         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
4728         (ENTRY): Removed.
4729         (END): Likewise.
4730         (ENTRY_CHK): Likewise.
4731         (libc_hidden_builtin_def): Likewise.
4732         Don't include ../memcpy.S.
4733         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
4734         __memcpy_chk_avx512_unaligned_erms and
4735         __memcpy_chk_avx512_unaligned.  Use
4736         __memcpy_chk_avx_unaligned_erms and
4737         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4738         Default to __memcpy_chk_sse2_unaligned.
4739         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4740         Change function suffix from unaligned_2 to unaligned.
4741         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
4742         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
4743         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
4744         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
4745         (ENTRY): Removed.
4746         (END): Likewise.
4747         (ENTRY_CHK): Likewise.
4748         (libc_hidden_builtin_def): Likewise.
4749         Don't include ../mempcpy.S.
4750         (mempcpy): New.  Add a weak alias.
4751         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
4752         __mempcpy_chk_avx512_unaligned_erms and
4753         __mempcpy_chk_avx512_unaligned.  Use
4754         __mempcpy_chk_avx_unaligned_erms and
4755         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4756         Default to __mempcpy_chk_sse2_unaligned.
4758 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4760         [BZ #19881]
4761         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
4762         into ...
4763         * sysdeps/x86_64/memset.S: This.
4764         (__bzero): Removed.
4765         (__memset_tail): Likewise.
4766         (__memset_chk): Likewise.
4767         (memset): Likewise.
4768         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
4769         defined.
4770         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
4771         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
4772         (__memset_zero_constant_len_parameter): Check SHARED instead of
4773         PIC.
4774         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4775         memset-avx2 and memset-sse2-unaligned-erms.
4776         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4777         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
4778         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
4779         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4780         (__bzero): Enabled.
4781         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
4782         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
4783         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
4784         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
4785         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4786         (memset): Removed.
4787         (__memset_chk): Likewise.
4788         (MEMSET_SYMBOL): New.
4789         (libc_hidden_builtin_def): Replace __memset_sse2 with
4790         __memset_sse2_unaligned.
4791         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
4792         __memset_chk_sse2 and __memset_chk_avx2 with
4793         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
4794         Use __memset_chk_sse2_unaligned_erms or
4795         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
4796         __memset_chk_avx512_unaligned_erms and
4797         __memset_chk_avx512_unaligned.
4799 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4801         * math/gen-auto-libm-test.c (fp_format_desc): remove
4802         suffix member.
4803         (output_generic_value): Remove usage of suffix member,
4804         and the resulting unuse of the fp_format argument.
4805         (output_for_one_input_case): Remove unused fp_format
4806         parameter.
4808         * math/auto-libm-test-out: Regenerate.
4810         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
4811         usage with TEST_COND_ibm128.
4812         (TEST_COND_flt_32): Remove.
4813         (TEST_COND_dbl_64): Remove.
4814         (TEST_COND_ldbl_96_intel): Remove.
4815         (TEST_COND_ldbl_96_m68k): Remove.
4816         (TEST_COND_ldbl_128): Remove.
4818 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4820         * auto-libm-test-in:
4821         Replace flt-32 usage with binary32.
4822         Replace dbl-64 usage with binary64.
4823         Replace ldbl-intel-96 usage with intel96.
4824         Replace ldbl-m68k-96 usage with m68k96.
4825         Replace ldbl-128ibm usage with ibm128.
4826         Replace ldbl-128 usage with binary128.
4828         * auto-libm-test-out: Regenerate.
4830 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4832         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
4833         (parse_ulps): Dynamically generate type name matching
4834         string from all_floats.
4835         (get_ulps): Generate the ulps as an array instead.
4836         (output_ulps): Dynamically compose the type based
4837         on the number of supported formats, and print
4838         the indices as type specific helper macros.
4840         * math/libm-test.inc: Remove comment about CHOOSE.
4841         (ulp_data): Generate the type in libm-test-ulps.h.
4842         (ULP_IDX): New macro.
4843         (find_ulps): Update usage of max_ulp.
4845         * math/test-double-vlen2.h (CHOOSE): Remove.
4846         * math/test-double-vlen4.h (CHOOSE): Likewise.
4847         * math/test-double-vlen8.h (CHOOSE): Likewise.
4848         * math/test-float.c (CHOOSE): Likewise.
4849         * math/test-float-finite.c (CHOOSE): Likewise.
4850         * math/test-double.c (CHOOSE): Likewise.
4851         * math/test-double-finite.c (CHOOSE): Likewise.
4852         * math/test-idouble.c (CHOOSE): Likewise.
4853         * math/test-ifloat.c (CHOOSE): Likewise.
4854         * math/test-ildoubl.c (CHOOSE): Likewise.
4855         * math/test-ldouble-finite.c (CHOOSE): Likewise.
4856         * math/test-ldouble.c (CHOOSE): Likewise.
4858         * math/test-float.h (TEST_FLOAT): Remove.
4859         * math/test-double.h (TEST_DOUBLE): Likewise.
4860         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
4862 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4864         * math/gen-libm-test.pl: (apply_lit): New subroutine.
4865         (parse_args): Strip C suffix from floating point literals
4866         typed with 'f' and wrap them with LIT().
4868         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
4869         (test_ff_f_data_nexttoward): Rename to
4870         (test_fj_f_data): New struct.
4871         (nexttoward_test_data): Relabel tests as
4872         TEST_fj_f instead of TEST_ff_f.
4874 2016-06-08  Florian Weimer  <fweimer@redhat.com>
4876         Emacs bug 23726.
4877         * malloc/malloc.c (dumped_main_arena_start): Update comment.
4878         (__libc_realloc): Correct size computation for dumped fake mmapped
4879         chunks.
4881 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
4883         [BZ #20219]
4884         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
4885         to itself.
4886         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
4888         [BZ #20218]
4889         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
4890         to itself.
4891         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
4893 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
4895         [BZ #20195]
4896         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
4897         check to ...
4898         (init_cpu_features): Here.
4900 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
4902         [BZ #20214]
4903         * sysdeps/unix/sysv/linux/bits/in.h
4904         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4905          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
4906         Define to 1.
4907         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4908          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
4909         Define to 0.
4910         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
4911         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
4913 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
4915         [BZ #20198]
4916         * stdlib/Makefile (tests): Add tst-quick_exit, and
4917         tst-thread-quick_exit.
4918         [ifeq ($(have-cxx-thread_local),yes)]
4919         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
4920         (CFLAGS-tst-thread-quick_exit.o): Likewise.
4921         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
4922         (LDLIBS-tst-thread-quick_exit): Likewise.
4923         [ifneq ($(have-cxx-thread_local),yes)]
4924         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
4925         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
4926         If run_dtors is true call __call_tls_dtors.
4927         (exit): Call __run_exit_handlers with run_dtors set to true.
4928         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
4929         definition.
4930         * stdlib/quick_exit.c (quick_exit): Remove function.
4931         (__new_quick_exit): New function.
4932         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
4933         function.
4934         * stdlib/tst-quick_exit.cc: New file.
4935         * stdlib/tst-thread-quick_exit.cc: New file.
4936         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
4937         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
4938         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
4939         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
4940         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
4941         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
4942         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
4943         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
4944         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
4945         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
4946         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
4947         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
4948         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
4949         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
4950         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
4951         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
4953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
4954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
4955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
4956         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
4957         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
4958         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
4959         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
4960         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
4961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
4962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
4963         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
4964         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
4965         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
4967 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4969         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
4970         a typo in comments.
4972 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4974         [BZ #20213]
4975         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
4976         argument to itself.
4977         * math/libm-test.inc (asin_test_data): Add sNaN tests.
4979 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4981         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
4982         required flags.
4983         (CFLAGS-pwritev64.c): Likewise.
4984         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
4985         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4986         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
4987         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4988         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
4989         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
4990         syscall from auto-generation.
4991         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
4992         [WORDSIZE == 64] (pwritev64): Remove macro.
4993         [!PWRITEV] (PWRITEV): Likewise.
4994         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4995         [!PWRITEV] (PWRITE): Likewise.
4996         [!PWRITEV] (OFF_T): Likewise.
4997         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4998         (LO_HI_LONG): Remove macro.
4999         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
5000         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
5001         (PWRITEV): Remove macro.
5002         (PWRITEV_REPLACEMENTE): Likewise.
5003         (PWRITE): Likewise.
5004         (OFF_T): Likewise.
5005         (pwritev64): New function.
5006         * nptl/tst-cancel4.c (tf_writev): Add test.
5008         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
5009         required flags.
5010         (CFLAGS-preadv64.c): Likewise.
5011         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
5012         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5013         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
5014         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
5015         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
5016         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
5017         syscall from auto-generation.
5018         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
5019         [WORDSIZE == 64] (preadv64): Remove macro.
5020         [!PREADV] (PREADV): Likewise.
5021         [!PREADV] (PREADV_REPLACEMENT): Likewise.
5022         [!PREADV] (PREAD): Likewise.
5023         [!PREADV] (OFF_T): Likewise.
5024         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
5025         (LO_HI_LONG): Remove macro.
5026         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
5027         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
5028         (PREADV): Remove macro.
5029         (PREADV_REPLACEMENTE): Likewise.
5030         (PREAD): Likewise.
5031         (OFF_T): Likewise.
5032         (preadv64): New function.
5033         * nptl/tst-cancel4.c (tf_preadv): Add test.
5035 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5037         [BZ #20212]
5038         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
5039         argument to itself.
5040         * math/libm-test.inc (acos_test_data): Add sNaN tests.
5042 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5044         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
5045         New symbol defined as libc_hidden_def.
5046         (strcasestr): Became a weak alias to __strcasestr.
5047         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
5048         according to multi-arch support.  Move __stpncpy hidden
5049         definition from here to...
5050         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
5051         symbol stpncpy.
5052         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
5053         libc_hidden_builtin_def.
5054         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
5055         memset symbol to use when multi-arch support is available.
5057 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5059         * dlfcn/tst-rec-dlopen.c: Include string.h.
5061 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5063         * manual/install.texi: Remove mention of --without-tls
5064         * INSTALL: Regenerate.
5066 2016-06-05  Florian Weimer  <fweimer@redhat.com>
5068         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
5069         Remove.
5070         (call_function, interposed_malloc_called): New variables.
5071         (malloc): New function.
5072         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
5073         and clear call_function as needed.
5075 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
5077         * include/wchar.h (__wmemset): Use __typeof.
5079 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
5081         * include/wchar.h (__wmemset): Declare function without typeof.
5083 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
5085         [BZ #20205]
5086         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
5087         exponent when incrementing negative subnormal with low mantissa
5088         word zero.
5089         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5090         Add another test.
5092 2016-06-03  Florian Weimer  <fweimer@redhat.com>
5094         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
5095         __wmemset instead of wmemset.
5097 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
5099         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
5100         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
5101         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
5102         __USE_KERNEL_IPV6_DEFS to 0.
5103         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
5104         Update comment.
5106 2016-06-01  Florian Weimer  <fweimer@redhat.com>
5108         [BZ #19861]
5109         Do not use IFUNC resolver with potentially unrelocated symbol.
5110         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
5111         (DEFINE_FORK): Remove macro and inline definition.
5112         (fork_alias): Renamed from fork_ifunc.
5113         (__fork_alias): Renamed from __fork_ifunc.
5115 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
5117         [BZ 19653]
5118         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
5119         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
5121 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5123         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
5124         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
5125         i386-linux-gnu).
5126         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
5127         Set to no.
5128         * sysdeps/mach/hurd/configure: Refresh.
5130 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5132         [BZ #20178]
5133         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
5134         on failure instead of exit.
5136 2016-05-30  Roland McGrath  <roland@hack.frob.com>
5138         [BZ #3629]
5139         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
5140         of POSIX.1-2008.
5142 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5144         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
5145           Use PLT entry for calling _hurd_self_sigstate.
5147 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
5149         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
5150         available logical processors with SMT level type sharing L2
5151         cache for Intel processors.
5153 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5155         [BZ #20160]
5156         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
5157         argument to itself before returning the result.
5158         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5159         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5160         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5161         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5162         Likewise.
5163         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5164         Likewise.
5165         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
5166         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
5167         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5168         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5169         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5170         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5172         [BZ #20160]
5173         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
5174         argument to itself before returning the result.
5175         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5176         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5177         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5178         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
5179         Likewise.
5180         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5181         Likewise.
5182         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
5183         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
5184         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
5185         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5186         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5187         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5189 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5191         * libm-test.inc: Replace usage of M_El with
5192         (lit_e): New macro.
5194 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5196         * libm-test.inc: Replace usage of M_PI_4l with
5197         (lit_pi_4_d): New macro.
5199 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5201         * libm-test.inc: Replace usage of M_PIl with
5202         (lit_pi): New macro.
5204 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5206         * libm-test.inc: Replace usage of M_PI2l with
5207         (lit_pi_2_d): New macro.
5209         * math/test-double.h (LITM): New macro.
5210         * math/test-float.h (LITM): Likewise.
5211         * math/test-ldouble.h (LITM): Likewise.
5213 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5215         * libm-test.inc (M_PI_34l): Rename to
5216         (lit_pi_3_m_4_d): New Macro.
5217         (M_PI_34_LOG10El): Rename to
5218         (lit_pi_3_m_4_ln10_m_d): New Macro.
5219         (M_PI2_LOG10El): Rename to
5220         (lit_pi_2_ln10_m_d):  New Macro.
5221         (M_PI4_LOG10El): Rename to
5222         (lit_pi_4_ln10_m_d):  New Macro.
5223         (M_PI_LOG10El): Rename to
5224         (lit_pi_ln10_d):  New Macro.
5226 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5228         [BZ #20157]
5229         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
5230         determine whether to negate low half if [_ARCH_PPCGR], and integer
5231         comparison otherwise.
5232         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
5233         determine whether to negate low half.
5235         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
5236         (NO_TEST_INLINE_DOUBLE): Likewise.
5237         (TEST_COND_x86_64): Likewise.
5238         (TEST_COND_x86): Likewise.
5239         (M_PI_6l): Likewise.
5241 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5243         * math/libm-test.inc:
5244         (TEST_FLOAT): Change usage to TEST_COND_binary32.
5245         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
5246         (TEST_LDOUBLE): Update usage to evaluate as true if
5247         the guarded tests match the property being tested.
5248         (LDBL_MAX_EXP): Change to MAX_EXP.
5249         (LDBL_MIN_EXP): Change to MIN_EXP.
5250         (LDBL_MANT_DIG): Change to MANT_DIG, except for
5251         nexttoward tests.
5253 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5255         * math/libm-test.inc:
5256         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
5257         (TYPE_MIN): Likewise.
5258         (TYPE_TRUE_MIN): Likewise.
5259         (TYPE_MAX): Likewise.
5260         (MIN_EXP): Likewise.
5261         (MAX_EXP): Likewise.
5262         (MANT_DIG): Likewise.
5264         (FSTR_MAX): New macro.
5265         (__CONCATX): Likewise.
5266         (QTYPE_STR): Likewise.
5267         (TEST_COND_binary32): Likewise.
5268         (TEST_COND_binary64): Likewise.
5269         (TEST_COND_binary128): Likewise.
5270         (TEST_COND_ibm128): Likewise.
5271         (TEST_COND_intel96): Likewise.
5272         (TEST_COND_m68k96): Likewise.
5274         (TEST_COND_flt_32): Redefine as equivalent format test macro.
5275         (TEST_COND_dbl_64): Likewise.
5276         (TEST_COND_ldbl_96_intel): Likewise.
5277         (TEST_COND_ldbl_96_m68k): Likewise.
5278         (TEST_COND_ldbl_128): Likewise.
5279         (TEST_COND_ldbl_128ibm): Likewise.
5281         (plus_zero): Redefine using LIT macro.
5282         (minus_zero): Likewise.
5283         (plus_infty): Redefine as (INF).
5284         (minux_infty): Redefine as (-INF).
5285         (max_value): Redefine as TYPE_MAX.
5286         (min_value): Redefine as TYPE_MIN.
5287         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
5289         (print_float): Refactor to use snprintf to convert FLOAT values
5290         to string. This brings it closer to dropin replacement of strtof
5291         for the TS 18661 defined types.
5292         (update_stats): Likewise.
5293         (print_complex_function_ulps): Likewise.
5294         (print_max_error): Likewise.
5295         (print_complex_max_error): Likewise.
5296         (check_float_internal): Likewise.
5298         * math/test-float.h (PREFIX): New macro.
5299         (LIT): Likewise.
5300         (TYPE_STR): Likewise.
5301         (FTOSTR): Likewise.
5303         * math/test-double.h (PREFIX): New macro.
5304         (LIT): Likewise.
5305         (TYPE_STR): Likewise.
5306         (FTOSTR): Likewise.
5308         * math/test-ldouble.h (PREFIX): New macro.
5309         (LIT): Likewise.
5310         (TYPE_STR): Likewise.
5311         (FTOSTR): Likewise.
5313 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5315         [BZ #20156]
5316         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
5317         to itself when zero or not finite.
5318         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
5319         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5320         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
5321         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5323 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
5325         [BZ #20153]
5326         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
5327         x * x + x for infinities and NaNs.
5329         [BZ #20151]
5330         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
5331         argument to itself before returning result.
5332         (__ieee754_y0l): Likewise.
5333         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5334         (__ieee754_y1l).
5336         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
5337         (atan_test_data): Likewise.
5338         (ceil_test_data): Likewise.
5339         (cos_test_data): Likewise.
5340         (cosh_test_data): Likewise.
5341         (erf_test_data): Likewise.
5342         (exp2_test_data): Likewise.
5343         (fabs_test_data): Likewise.
5344         (floor_test_data): Likewise.
5345         (ilogb_test_data): Likewise.
5346         (j0_test_data): Likewise.
5347         (j1_test_data): Likewise.
5348         (jn_test_data): Likewise.
5349         (lgamma_test_data): Likewise.
5350         (lrint_test_data): Likewise.
5351         (llrint_test_data): Likewise.
5352         (logb_test_data): Likewise.
5353         (lround_test_data): Likewise.
5354         (llround_test_data): Likewise.
5355         (nearbyint_test_data): Likewise.
5356         (rint_test_data): Likewise.
5357         (round_test_data): Likewise.
5358         (sin_test_data): Likewise.
5359         (sincos_test_data): Likewise.
5360         (sinh_test_data): Likewise.
5361         (sqrt_test_data): Likewise.
5362         (tan_test_data): Likewise.
5363         (tanh_test_data): Likewise.
5364         (tgamma_test_data): Likewise.
5365         (trunc_test_data): Likewise.
5366         (y0_test_data): Likewise.
5367         (y1_test_data): Likewise.
5368         (yn_test_data): Likewise.
5370         * math/libm-test.inc: Update comment about NaN testing.
5371         (TEST_SNAN): New macro.
5372         (snan_value): Likewise.
5373         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
5374         (fpclassify_test_data): Add sNaN tests.
5375         (isfinite_test_data): Likewise.
5376         (isinf_test_data): Likewise.
5377         (isnan_test_data): Likewise.
5378         (isnormal_test_data): Likewise.
5379         (issignaling_test_data): Likewise.
5380         (signbit_test_data): Likewise.
5381         * math/gen-libm-test.pl (%beautify): Add snan_value.
5382         (show_exceptions): Add argument $test_snan.
5383         (parse_args): Handle snan_value as non-finite.  Update call to
5384         show_exceptions.
5385         * math/Makefile (libm-test-no-inline-cflags): Add
5386         -fsignaling-nans.
5388 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5390         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
5391         (CFLAGS-oldsendmsg.c): Add rule.
5392         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5393         Correct recvmsg symbol name.
5394         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
5395         Likewise.
5397 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5399         * sysdeps/unix/sysv/linux/Makefile
5400         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
5401         oldsendmmsg.
5402         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
5403         sendmmsg.
5404         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5405         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5406         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5407         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5409         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5410         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5412         Likewise.
5413         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5414         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
5415         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5416         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
5417         iovlen and controllen fields to adjust to POSIX specification.
5418         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5420         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
5421         and change to correct expected type.
5422         (msghdr.msg_controllen): Likewise.
5423         (cmsghdr.cmsg_len): Likewise.
5424         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
5425         expected POSIX assumption about the size.
5426         (msghdr.msg_controllen): Likewise.
5427         (msghdr.__glibc_reserved1): Likewise.
5428         (msghdr.__glibc_reserved2): Likewise.
5429         (cmsghdr.cmsg_len): Likewise.
5430         (cmsghdr.__glibc_reserved1): Likewise.
5431         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
5432         Add ptw-oldrecvmsg and ptw-oldsendmsg.
5433         (CFLAGS-sendmsg.c): Remove rule.
5434         (CFLAGS-recvmsg.c): Likewise.
5435         (CFLAGS-oldsendmsg.c): Add rule.
5436         (CFLAGS-oldrecvmsg.c): Likewise.
5437         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
5438         recvmsg and sendmsg.
5439         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
5440         Likewise.
5441         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
5442         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
5443         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5444         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
5445         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5446         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5447         Likewise.
5448         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5449         Likewise.
5450         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
5451         Likewise.
5452         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
5453         Likewise.
5454         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5455         Likewise.
5456         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5457         Likewise.
5458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
5459         (GLIBC_2.24): Likewise.
5460         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5461         Likewise.
5462         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5463         Likewise.
5464         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5465         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5466         Likewise.
5467         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5468         Likewise.
5469         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5470         Likewise.
5471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
5472         (GLIBC_2.24): Likewise.
5473         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
5474         Likewise.
5475         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
5476         Likewise.
5477         * sysdeps/unix/sysv/linux/Makefile
5478         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
5479         (CFLAGS-sendmsg.c): Add rule.
5480         (CFLAGS-recvmsg.c): Likewise.
5481         (CFLAGS-oldsendmsg.c): Likewise.
5482         (CFLAGS-oldrecvmsg.c): Likewise.
5483         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
5484         initialization.
5485         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5486         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5487         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
5488         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5489         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
5490         iovlen and controllen fields to adjust to POSIX specification.
5491         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
5492         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
5493         added recvmsg and sendmsg.
5494         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5495         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5496         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5497         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5498         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5499         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5500         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5501         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5502         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5503         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5504         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5505         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5507         Likewise.
5508         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5510         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5511         Likewise.
5512         Likewise.
5513         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5514         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5515         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5516         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5517         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5518         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5520         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5522         Likewise.
5523         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5524         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5526         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
5527         from auto-generation.
5528         (sendmsg): Likewise.
5529         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
5530         (sendmsg): Likewise.
5531         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
5532         (sendmsg): Likewise.
5533         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
5534         (sendmsg): Likewise.
5535         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
5536         (sendmsg): Likewise.
5537         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
5538         (sendmsg): Likewise.
5539         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
5540         Likewise.
5541         (sendmsg): Likewise.
5542         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
5543         (sendmsg): Likewise.
5544         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5545         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5546         Remove.
5547         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5548         Likewise.
5549         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5550         Undefine.
5551         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5552         Likewise.
5553         * sysdeps/unix/sysv/linux/kernel-features.h
5554         (__ASSUME_SENDMSG_SYSCALL): Define.
5555         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5556         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5557         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5558         Remove.
5559         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5560         Likewise.
5561         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5562         Undefine.
5563         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5564         Likewise.
5565         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5566         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5567         Remove.
5568         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5569         Likewise.
5570         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5571         Undefine.
5572         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5573         Likewise.
5574         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5575         (__ASSUME_SENDMSG_SYSCALL): Undefine.
5576         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5577         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5578         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5579         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5580         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5581         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5582         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5584 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5586         * stdlib/gen-tst-strtod-round.c: Add backslash to
5587         compile command in comment.
5588         (printfp): Remove the literal suffix, and define an infinite
5589         value as INF to avoid expansion clash with INFINITY.
5590         (round_str): Remove the literal suffix.
5591         (round_for_all): Likewise, remove the now duplicate ldbl-64
5592         entry, and remove some magic constants.
5594         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
5595         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
5596         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
5597         (_CONCAT): New macro.
5598         (CONCAT): Likewise.
5599         (CHOOSE_ld): Likewise.
5600         (CHOOSE_f): Likewise.
5601         (CHOOSE_d): Likewise.
5602         (FTYPE_MEMBER): Likewise.
5603         (BOOL_MEMBER): Likewise.
5604         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
5605         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
5606         (_XNTRY): Likewise.
5607         (XNTRY): Likewise.
5608         (_ENTRY): Likewise.
5609         (ENTRY): Likewise.
5610         (test_exactness): Generate members via macro.
5611         (test_results): Likewise.
5612         (test): Update members.
5613         (TEST): Redefine using new macros.
5614         (INF): New macro.
5615         (fetestmodes): New structure.
5616         (do_test): Refactor to be type generic.
5617         (test_in_one_mode): Refactor duplicate code into
5618         (GEN_ONE_TEST): New macro.
5620         * stdlib/tst-strtod-round-data.h: Regenerate.
5622         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
5623         Extend to pass additional arbitrary parameters to
5624         generators.
5626 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
5628         [BZ #15479]
5629         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
5630         floating-point state after first floating-point operation on
5631         input.  Restore full floating-point state instead of just rounding
5632         mode.
5633         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5634         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5635         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5636         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5637         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5639         [BZ #15479]
5640         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
5641         floating-point state after first floating-point operation on
5642         input.  Restore full floating-point state instead of just rounding
5643         mode.
5644         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5645         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5646         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5647         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5648         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5650 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5652         [BZ #19727]
5653         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
5654         valid high surrogate.
5655         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
5656         of an utf16 surrogate.
5657         * iconv/gconv_simple.c (BODY): Likewise.
5658         * iconvdata/bug-iconv12.c: New file.
5659         * iconvdata/Makefile (tests): Add bug-iconv12.
5661 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5663         [BZ #19726]
5664         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
5665         outptrp in case of an illegal input.
5666         * iconv/tst-iconv6.c: New file.
5667         * iconv/Makefile (tests): Add tst-iconv6.
5669 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5671         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
5672         an error in case of a value in range of an utf16 low surrogate.
5674 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5676         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
5677         an error in case of a value in range of an utf16 low surrogate.
5679 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5681         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
5682         Move to ...
5683         * sysdeps/s390/Makefile: ... here.
5684         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
5685         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
5686         (BRANCH_ON_COUNT): New define.
5687         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
5688         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
5689         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
5690         run on s390-32, too.
5691         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
5692         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
5693         run on s390-32, too.
5694         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
5695         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
5696         run on s390-32, too.
5698 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5700         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
5701         etf3eh or new vector loop-variant.
5703 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5705         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
5706         etf3eh or new vector loop-variant.
5708 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5710         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
5711         or new vector loop-variant.
5713 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5715         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
5716         Rename to TR_LOOP and usage of tr instead of troo instruction.
5718 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5720         * sysdeps/s390/multiarch/gconv_simple.c: New File.
5721         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
5723 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5725         * sysdeps/s390/multiarch/8bit-generic.c: New File.
5726         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
5727         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
5728         New override define.
5729         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
5731 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5733         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
5734         * sysdeps/s390/configure.ac: Add test for S390 vector register
5735         support in gcc.
5736         * sysdeps/s390/configure: Regenerated.
5738 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5740         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
5741         Install file from $(objpfx)gconv-modules.
5742         ($(objpfx)gconv-modules): Concatenate architecture specific file
5743         in variable sysdeps-gconv-modules and gconv-modules in src dir.
5744         * sysdeps/s390/gconv-modules: New file.
5745         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
5746         Deleted.
5747         ($(objpfx)gconv-modules-s390): Deleted.
5748         (sysdeps-gconv-modules): New variable.
5750 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5752         [BZ #15479]
5753         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
5754         of immediate operand to rounding instruction.
5755         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
5756         Likewise.
5757         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
5758         Likewise.
5759         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
5760         Likewise.
5762 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5764         * math/libm-test.inc (MIN_EXP): Directly define as
5765         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
5767 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5769         * math/libm-test.inc (MANT_DIG): Directly define as
5770         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
5772 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5774         * stdlib/gen-tst-strtod-round.c (main):
5775           Change usage to more closely match the generated
5776           output.  Add usage and compilation instructions.
5777           (string_to_fp): Add and use FILE* parameter as
5778           output target.
5779           (print_fp): Likewise.
5780           (round_str): Likewise.
5781           (round_for_all): Likewise.
5782         * stdlib/tst-strtod-round.c (tests): Move into
5783         * stdlib/tst-strtod-round-data.h: New file.
5785 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5787         [BZ #15479]
5788         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
5789         (__round): Do not force "inexact" exception.
5790         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
5791         variable.
5792         (__round): Do not force "inexact" exception.
5793         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
5794         (__roundf): Do not force "inexact" exception.
5795         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
5796         (__roundl): Do not force "inexact" exception.
5797         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
5798         (__roundl): Do not force "inexact" exception.
5799         * math/libm-test.inc (round_test_data): Do not allow spurious
5800         "inexact" exceptions.
5802         [BZ #15479]
5803         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
5804         exception in comment.
5805         (huge): Remove variable.
5806         (__floor): Do not force "inexact" exception.
5807         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
5808         "inexact" exception in comment.
5809         (huge): Remove variable.
5810         (__floor): Do not force "inexact" exception.
5811         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
5812         exception in comment.
5813         (huge): Remove variable.
5814         (__floorf): Do not force "inexact" exception.
5815         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
5816         exception in comment.
5817         (huge): Remove variable.
5818         (__floorl): Do not force "inexact" exception.
5820         [BZ #15479]
5821         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
5822         exception in comment.
5823         (huge): Remove variable.
5824         (__ceil): Do not force "inexact" exception.
5825         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
5826         "inexact" exception in comment.
5827         (huge): Remove variable.
5828         (__ceil): Do not force "inexact" exception.
5829         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
5830         (__ceilf): Do not force "inexact" exception.
5831         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
5832         exception in comment.
5833         (huge): Remove variable.
5834         (__ceill): Do not force "inexact" exception.
5836 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5838         * config.h.in (BIND_NOW): New.
5839         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
5840         * configure: Regenerated.
5841         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
5842         indirect branch via the GOT slot.
5844 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5846         [BZ #19765]
5847         * sysdeps/s390/mempcpy.S: New File.
5848         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5849         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
5850         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5851         Add mempcpy variants.
5852         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
5853         (memcpy): Adjust to be usable from mempcpy entry point.
5854         (__memcpy_mvcle): Likewise.
5855         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5856         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
5857         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
5858         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
5859         (__memcpy_z10): Likewise.
5860         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5862 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5864         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
5865         Remove __GI_ symbol.
5866         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
5867         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
5868         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
5869         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5870         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
5871         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
5873 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5875         * sysdeps/s390/s390-64/memcpy.S (memcpy):
5876         Use cghi instead of chi to compare 64bit value.
5878 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5880         * sysdeps/s390/s390-32/memcpy.S (memcpy):
5881         Jump to 1MB check before executing mvc-loop.
5883 2016-05-24  Florian Weimer  <fweimer@redhat.com>
5885         [BZ #6527]
5886         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
5887         unconditionally.
5888         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
5890 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5892         * stdlib/tst-strtod6.c (do_test): Use new type generic
5893         invocation of the test function.
5894         (test): Refactor into ...
5895         (TEST_STRTOD): New macro base function.
5897 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5899         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
5900         (TEST_STRTOD): New macro.
5901         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
5903 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5905         * stdlib/tst-strtod6.c (do_test): Use new type generic
5906         invocation of the test function.
5907         (test): Refactor into ...
5908         (TEST_STRTOD): New macro base function.
5910 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5912         CVE-2016-4429
5913         [BZ #20112]
5914         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
5915         payload.
5917 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5919         [BZ #20111]
5920         * bits/sockaddr.h (_SS_SIZE): Define.
5921         * bits/socket.h (_SS_SIZE): Remove.
5922         (_SS_PADSIZE): Adjust to account for all padding.
5923         (struct sockaddr_storage): Update comment.  Avoid implicit
5924         padding.
5925         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
5926         (_SS_PADSIZE): Adjust to account for all padding.
5927         (struct sockaddr_storage): Update comment.  Avoid implicit
5928         padding.
5929         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
5930         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
5931         (_SS_PADSIZE): Adjust to account for all padding.
5932         (struct sockaddr_storage): Update comment.  Avoid implicit
5933         padding.
5934         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
5935         __SS_SIZE is 126 in this version.
5936         * inet/tst-sockaddr.c: New file.
5937         * inet/Makefile (tests): Add tst-sockaddr.c
5938         (tst-sockaddr.c): Compile with non-strict aliasing.
5940 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
5942         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
5943         [XPG3 || XPG4].
5944         (NL_ARGMAX): Also expect for [XPG3].
5945         (NL_LANGMAX): Likewise.
5946         (NL_MSGMAX): Likewise.
5947         (NL_NMAX): Likewise.
5948         (NL_SETMAX): Likewise.
5949         (NL_TEXTMAX): Likewise.
5950         (NZERO): Likewise.
5951         (TMP_MAX): Likewise.
5952         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
5953         variable.
5955         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
5956         (PF_MAX): Update value.
5957         (AF_KCM): New macro.
5958         (SOL_NETBEUI): Likewise.
5959         (SOL_LLC): Likewise.
5960         (SOL_DCCP): Likewise.
5961         (SOL_NETLINK): Likewise.
5962         (SOL_TIPC): Likewise.
5963         (SOL_RXRPC): Likewise.
5964         (SOL_PPPOL2TP): Likewise.
5965         (SOL_BLUETOOTH): Likewise.
5966         (SOL_PNPIPE): Likewise.
5967         (SOL_RDS): Likewise.
5968         (SOL_IUCV): Likewise.
5969         (SOL_CAIF): Likewise.
5970         (SOL_ALG): Likewise.
5971         (SOL_NFC): Likewise.
5972         (SOL_KCM): Likewise.
5973         (MSG_BATCH): New enum value and macro.
5975 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
5977         [BZ #18185]
5978         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
5979         sharing L2 cache to 2 for Knights Landing.
5981 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
5983         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
5984         (FTW_DP): Do not expect for [XPG3 || XPG4].
5985         (FTW_SL): Do not expect for [XPG3].
5986         (FTW_SLN): Likewise.
5987         (FTW_PHYS): Likewise.
5988         (FTW_MOUNT): Likewise.
5989         (FTW_DEPTH): Likewise.
5990         (FTW_CHDIR): Likewise.
5991         (nftw): Likewise.
5992         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
5993         variable.
5995 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5997         * manual/errno.texi: Fix various typos & grammar errors.
5999 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6001         * manual/intro.texi: Fix duplicated typo.
6003 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6005         [BZ #13304]
6006         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
6007         <float.h>, <math_private.h> and <stdlib.h>.
6008         (add_split): New function.
6009         (mul_split): Likewise.
6010         (ext_val): New typedef.
6011         (store_ext_val): New function.
6012         (mul_ext_val): New function.
6013         (compare): New function.
6014         (add_split_ext): New function.
6015         (__fmal): After checking for Inf, NaN and zero, compute result as
6016         an exact sum of scaled double values in round-to-nearest before
6017         adding those up and adjusting for other rounding modes.
6018         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
6019         tests of fma.
6020         * math/auto-libm-test-out: Regenerated.
6022 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6024         [BZ #20119]
6025         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
6026         processor level type mask for CPUID with EAX == 11.
6028 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6030         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
6031         logical threads if the HTT bit is 0.
6032         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
6033         (index_cpu_HTT): Likewise.
6034         (reg_HTT): Likewise.
6036 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6038         [BZ #20115]
6039         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
6040         Remove alignments on jump targets.
6042 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6044         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
6045         (getpwent): Likewise.
6046         (setpwent): Likewise.
6047         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
6048         variable.
6050         * conform/data/search.h-data (insque): Do not expect for [XPG3].
6051         (remque): Likewise.
6052         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
6053         variable.
6055 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6057         * math/libm-test.inc: Update comment not to refer to signs of NaNs
6058         not being tested.
6060 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6062         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6063         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
6064         call.
6065         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6066         (__condvar_cleanup1): Likewise.
6068 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6070         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
6071         New
6072         (__pthread_unwind): Renamed to ...
6073         (PTHREAD_UNWIND): This.
6074         (__pthread_enable_asynccancel): Replace
6075         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
6077 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6079         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
6080         (CLONE_NEWCGROUP): New macro.
6082         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
6083         (Q_GETNEXTQUOTA): New macro.
6085 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6087         [BZ #19907]
6088         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
6089         buffer updated by the previous run.
6090         * string/test-memcpy.c (do_one_test): Likewise.
6091         * benchtests/bench-memmove.c (do_one_test): Add a comment.
6092         * string/test-memmove.c (do_one_test): Likewise.
6094 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
6096         [BZ #20094]
6097         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
6098         not [__USE_XOPEN].
6099         (unlockpt): Likewise.
6100         (ptsname): Likewise.
6101         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
6102         variable.
6104         [BZ #20076]
6105         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
6106         instead of [__USE_UNIX98].
6107         (S_ISSOCK): Likewise.
6108         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
6109         variable.
6111         [BZ #20074]
6112         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
6113         [__USE_POSIX].
6114         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
6115         variable.
6117         [BZ #20051]
6118         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
6119         (ttyslot): Do not declare.
6120         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
6121         (ttyslot): New prototype.
6122         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
6123         variable.
6124         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6126 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6128         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
6130 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6132         Fix race condition in tst-mallocfork2, use fewer resources.
6133         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
6134         to current process group.
6135         (signal_sender): Yield in the non-sleeping case.
6137 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
6139         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
6140         (ecvt): Likewise.
6141         (fcvt): Likewise.
6142         (gcvt): Likewise.
6143         (getsubopt): Likewise.
6144         (grantpt): Likewise.
6145         (initstate): Likewise.
6146         (l64a): Likewise.
6147         (mktemp): Likewise.
6148         (mkstemp): Likewise.
6149         (ptsname): Likewise.
6150         (random): Likewise.
6151         (realpath): Likewise.
6152         (setstate): Likewise.
6153         (srandom): Likewise.
6154         (ttyslot): Likewise.
6155         (unlockpt): Likewise.
6156         (valloc): Likewise.
6158         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
6159         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
6160         variable.
6162 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6164         [BZ #20072]
6165         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
6166         init_cpu_features only if SHARED is defined.
6167         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
6169 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6171         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
6172         non-inclusive caches on Intel processors.
6174 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6176         * malloc/malloc.c (dumped_main_arena_start)
6177         (dumped_main_arena_end): New variables.
6178         (DUMPED_MAIN_ARENA_CHUNK): New macro.
6179         (do_check_chunk): Skip dumped fake mmapped chunks.
6180         (munmap_chunk): Likewise.
6181         (__libc_free): Do not adjust statistics for fake mmapped chunks.
6182         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
6183         mmapped chunks.
6184         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
6185         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
6186         and dumped_main_arena_end to cover the dumped heap.
6188 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
6190         * conform/data/time.h-data (getdate_err): Do not expect for
6191         [XPG3].
6192         (getdate): Likewise.
6193         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
6194         variable.
6196         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
6197         (F_ULOCK): Likewise.
6198         (F_TEST): Likewise.
6199         (F_TLOCK): Likewise.
6200         (useconds_t): Likewise.
6201         (intptr_t): Do not expect for [XPG3] or [XPG4].
6202         (brk): Do not expect for [XPG3]
6203         (fchown): Likewise.
6204         (fchdir): Likewise.
6205         (ftruncate): Likewise.
6206         (getdtablesize): Likewise.
6207         (gethostid): Likewise.
6208         (getpagesize): Likewise.
6209         (getpgid): Likewise.
6210         (getsid): Likewise.
6211         (getwd): Likewise.
6212         (lchown): Likewise.
6213         (lockf): Likewise.
6214         (readlink): Likewise.
6215         (sbrk): Likewise.
6216         (setpgrp): Likewise.
6217         (setregid): Likewise.
6218         (setreuid): Likewise.
6219         (symlink): Likewise.
6220         (sync): Likewise.
6221         (truncate): Likewise.
6222         (ualarm): Likewise.
6223         (usleep): Likewise.
6224         (vfork): Likewise.
6225         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
6226         variable.
6228         [BZ #20054]
6229         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
6230         not [__USE_UNIX98].
6231         * conform/data/unistd.h-data (gethostname): Do not expect for
6232         [XPG3].
6234         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
6235         [!POSIX] (S_IFBLK): Likewise.
6236         [!POSIX] (S_IFCHR): Likewise.
6237         [!POSIX] (S_IFIFO): Likewise.
6238         [!POSIX] (S_IFREG): Likewise.
6239         [!POSIX] (S_IFDIR): Likewise.
6240         [!POSIX] (S_IFLNK): Likewise.
6241         [!POSIX] (S_IFSOCK): Likewise.
6242         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
6243         variable.
6244         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6246 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
6248         * sysdeps/aarch64/memset.S (__memset):
6249         Rewrite of optimized memset.
6251 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6253         [BZ #19703]
6254         Partially async-signal-safe fork for single-threaded processes.
6255         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
6256         variable.  Do not acquire and reset/release malloc and libio locks
6257         in single-threaded processes.
6258         * malloc/tst-mallocfork2.c: New file.
6259         * malloc/Makefile (tests): Add it.
6261 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6263         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
6264         argument.  Use scratch buffer instead of extend_alloca.
6265         (gethosts): Use scratch buffer instead of extend_alloca.
6266         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
6267         extend_alloca.
6268         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
6270 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
6272         [BZ #20055]
6273         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
6274         instead of [__USE_UNIX98].
6275         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
6276         [__USE_UNIX98].
6277         * conform/data/termios.h-data (tcgetsid): Do not expect for
6278         [XPG3].
6279         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
6280         variable.
6281         (test-xfail-XPG4/termios.h/conform): Likewise.
6283 2016-05-11  Florian Weimer  <fweimer@redhat.com>
6285         Do not use mcheck in localedef.
6286         * locale/programs/localedef.c (turn_on_mcheck)
6287         (__malloc_initialize_hook): Remove.
6289 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6291         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
6292         * sysdeps/s390/s390-64/Makefile: Likewise.
6294 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
6296         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
6297         Remove ifunc-defines.sym.
6298         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
6299         Likewise.
6300         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
6301         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
6302         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
6303         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
6304         rtld-global-offsets.sym.
6305         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
6306         * sysdeps/x86/cpu-features-offsets.sym: This.
6307         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
6308         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
6310 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
6312         [BZ #20073]
6313         * io/sys/stat.h (fchmod): Declare for
6314         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
6315         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
6316         variable.
6318         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
6319         [XPG3] (S_IFSOCK): Likewise.
6320         [XPG3] (S_ISVTX): Likewise.
6321         [XPG3] (S_ISLNK): Likewise.
6322         [XPG3] (S_ISSOCK): Likewise.
6323         [XPG3] (fchmod): Likewise.
6324         [XPG3] (lstat): Likewise.
6325         [XPG3] (mknod): Likewise.
6327         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
6328         [XPG3].  Expect type long and XFAIL for [XPG4].
6329         (st_blocks): Likewise.
6331         [BZ #20044]
6332         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
6333         (pthread_atfork): New prototype.
6334         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
6335         variable.
6337         [BZ #20043]
6338         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
6339         prototype.
6341 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6343         [BZ #20017]
6344         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
6345         gmtime.
6347 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6349         [BZ #19994]
6350         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
6351         flag in _res.options.
6353 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
6355         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
6356         [XPG3 || XPG4].
6357         (blksize_t): Likewise.
6358         (clockid_t): Likewise.
6359         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
6360         variable.
6361         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6363 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6365         * sysdeps/unix/sysv/linux/s390/init-first.c:
6366         Add VDSO_SYMBOL(getcpu).
6367         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
6368         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
6369         Add VDSO_SYMBOL(getcpu).
6370         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
6371         New define HAVE_GETCPU_VSYSCALL.
6372         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6374 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
6376         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
6377         instead of <sysdeps/x86_64/cacheinfo.c>.
6378         * sysdeps/x86_64/cacheinfo.c: Moved to ...
6379         * sysdeps/x86/cacheinfo.c: Here.
6381 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6383         * malloc/malloc-internal.h: Adjust header file guard.
6385 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6387         [BZ #19787]
6388         * inet/getnameinfo.c (check_sprintf_result): New function.
6389         (CHECKED_SNPRINTF): New macro.
6390         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
6391         to the host buffer.
6392         (gni_host_local): Use checked_copy to copy the host name.
6393         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
6394         (gni_serv_local): Use checked_copy to copy the service name.
6395         (getnameinfo): Remove unnecessary truncation of result buffers.
6397 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6399         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
6400         in case of inet_ntop failure.
6402 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6404         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
6405         avoid long lines.
6406         (gni_host_inet_numeric): Likewise.  Reduce scope of local
6407         variables.
6408         (gni_host_inet, gni_host_local): Add comment.
6409         (gni_host): Add comment.  Use temporary to avoid long lines.
6411 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6413         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
6414         registers specifiers where general purpose registers specifiers should
6415         have been used.
6417 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6419         [BZ #19779]
6420         CVE-2016-1234
6421         Avoid copying names of directory entries.
6422         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
6423         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
6424         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
6425         (struct readdir_result): New type.
6426         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
6427         (GL_READDIR): New macros.
6428         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
6429         (convert_dirent, convert_dirent64): New functions.
6430         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
6431         convert_dirent64.  Adjust references to the readdir result.
6432         * sysdeps/unix/sysv/linux/i386/glob64.c:
6433         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
6434         * posix/bug-glob2.c (LONG_NAME): Define.
6435         (filesystem): Add LONG_NAME.
6436         (my_DIR): Increase the size of room_for_dirent.
6438 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
6440         [BZ #20041]
6441         * misc/sys/select.h (__need_timespec): Only define if
6442         [__USE_XOPEN2K].
6443         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
6444         variable.
6445         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6446         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6447         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6449 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6450             Segher Boessenkool  <segher@gcc.gnu.org>
6452         [BZ #20004]
6453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
6454         (__novec_swapcontext): Add missing load.
6456 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
6458         [BZ #20023]
6459         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
6460         <time.h>.
6461         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
6462         variable.
6463         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6465 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
6468         flags CLONE_VM compare.
6470 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6472         [BZ #20031]
6473         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
6474         completely empty.
6476 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6478         [BZ #19573]
6479         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
6480         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
6481         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
6482         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
6483         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
6484         (hesiod_free_list): Mark as hidden.
6485         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
6486         res_set, res_get.
6487         * hesiod/hesiod.c: Remove unnecessary forward declarations.
6488         (init, __hesiod_res_get, __hesiod_res_set): Remove.
6489         (hesiod_init): Remove obsolete res_ninit call.
6490         (hesiod_end): Do not free resolver state.  Do not invoke callback.
6491         (hesiod_bind): Do not call init.
6492         (get_txt_records): Use res_mkquery, res_send instead of
6493         res_nmkquery, res_nsend.
6494         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
6495         instead of _nss_hesiod_init.
6496         (_nss_hesiod_initgroups_dyn): Likewise.
6497         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
6498         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
6499         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
6501 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6503         * hesiod/hesiod_p.h (DEF_RHS): Remove.
6504         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
6506 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6508         * hesiod/hesiod.h: Remove RCS keyword.
6509         * hesiod/hesiod_p.h: Likewise.
6511         * hesiod/hesiod.c: Likewise.
6513 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
6515         [BZ #12450]
6516         * locale/iso-639.def: Add Samogitian/sgs.
6518 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
6520         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
6522         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
6524 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
6525             Carlos O'Donell  <carlos@redhat.com>
6527         [BZ #19072]
6528         * grp/Makefile (headers): Add grp-merge.h
6529         (routines): Add grp-merge.
6530         * grp/getgrgid_r.c: Include grp-merge.h.
6531         (DEEPCOPY_FN): Define.
6532         (MERGE_FN): Define.
6533         * grp/getgrname_r.c: Include grp-merge.h.
6534         (DEEPCOPY_FN): Define.
6535         (MERGE_FN): Define.
6536         * grp/grp-merge.c: New file.
6537         * grp/grp-merge.h: New file.
6538         * include/grp-merge.h: New file.
6539         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
6540         __copy_grp@GLIBC_PRIVATE.
6541         * manual/nss.texi (Actions in the NSS configuration): Describe
6542         return, continue, and merge.
6543         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
6544         (DEEPCOPY_FN): Define.
6545         (MERGE_FN): Define.
6546         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
6547         (DEEPCOPY_FN): Define.
6548         (MERGE_FN): Define.
6549         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
6550         [!MERGE_FN]: Define __merge_einval.
6551         (CHECK_MERGE): Define.
6552         (REENTRANT_NAME): Process merge if do_merge is true.
6553         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
6554         (__nss_getent_r): Likewise.
6555         * nss/nsswitch.c (nss_parse_service_list): Likewise.
6556         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
6558 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6560         [BZ #20012]
6561         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
6562         length to calculate the buffer to read.
6563         (fmemopen_write): Set the buffer position based on bytes written.
6564         (fmemopen_seek): Return EINVAL for invalid whence modes.
6566         [BZ #19957]
6567         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
6568         tst-getpid2.
6569         (test): Add tst-clone2.
6570         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
6571         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
6572         pid/tid fields for CLONE_VM.
6573         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6574         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6575         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6576         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
6577         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6578         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6579         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6580         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6582         Likewise.
6583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6584         Likewise.
6585         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6586         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6587         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6588         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6589         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6590         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6591         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6592         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
6594 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6596         [BZ #19642]
6597         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
6598         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
6599         (gni_serv_local, gni_serv): New functions extracted from
6600         getnameinfo.
6601         (getnameinfo): Call gni_host and gni_serv to perform the
6602         processing.  Always free scratch buffer.
6604 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6606         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
6607         remaining bytes in the dest string, with zeros.
6609 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6611         [BZ #20010]
6612         CVE-2016-3706
6613         * sysdeps/posix/getaddrinfo.c
6614         (convert_hostent_to_gaih_addrtuple): New function.
6615         (gethosts): Call convert_hostent_to_gaih_addrtuple.
6616         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
6617         AF_INET data.
6619 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6621         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
6622         callback function gl_readdir.
6623         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
6624         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
6625         (glob_in_dir): Remove len.  Use strdup instead of malloc and
6626         memcpy to copy the name.
6627         * manual/pattern.texi (Calling Glob): Document requirements for
6628         implementations of the gl_readdir callback function.
6629         * manual/examples/mkdirent.c: New example.
6630         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
6631         per the manual guidance.
6632         * posix/tst-gnuglob.c (my_readdir): Likewise.
6634 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
6636         [BZ #20014]
6637         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
6638         not [__USE_POSIX].
6639         (getchar_unlocked): Likewise.
6640         (putc_unlocked): Likewise.
6641         (putchar_unlocked): Likewise.
6642         (flockfile): Likewise.
6643         (ftrylockfile): Likewise.
6644         (funlockfile): Likewise.
6645         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
6646         variable.
6647         (test-xfail-XPG4/stdio.h/conform): Likewise.
6649         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
6650         Expect constant.
6651         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
6652         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
6653         variable.
6654         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6655         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6657         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
6658         [__USE_LARGEFILE64] (off64_t): Likewise.
6659         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
6660         variable.
6662 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6664         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
6666 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6668         * resolv/inet_addr.c: Reindent preprocessor conditionals.
6669         * resolv/res_init.c: Likewise.
6670         * resolv/res_mkquery.c: Likewise.
6672 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6674         * resolv/res_init.c (isascii): Do not define.  Use definition in
6675         <ctype.h>.
6676         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
6677         (LOG_AUTH): Remove.
6678         (SPRINTF): Remove, adjust caller.
6679         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
6681 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6683         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
6684         SUNSECURITY conditional.
6685         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6687 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6689         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
6690         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
6691         Remove BSD-related preprocessor conditionals.
6692         * conf/portability.h: Remove.
6694 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6696         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
6697         * resolv/res_data.c: Likewise.
6699 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6701         * resolv/res_comp.c: Remove code conditional on __ultrix__.
6702         * resolv/res_data.c: Remove code conditional on ultrix.
6704 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6706         * resolv/res_init.c (RFC1535): Do not define.  Remove
6707         RFC1535 preprocessor conditionals.
6708         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
6709         because there configuration options which make the resolver
6710         behavior different.
6712 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6714         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
6715         RESOLVSORT preprocessor conditionals.
6716         * resolv/nss_dns/dns-host.c: Likewise.
6717         * resolv/res_init.c: Likewise.
6719 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6721         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
6722         is never defined.
6724 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6726         * inet/inet_lnaof.c: Remove SCSS keyword.
6727         * inet/inet_mkadr.c: Likewise.
6728         * inet/inet_net.c: Likewise.
6729         * inet/inet_netof.c: Likewise.
6730         * inet/rcmd.c: Likewise.
6731         * inet/rexec.c: Likewise.
6732         * inet/ruserpass.c: Likewise.
6734 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6736         * resolv/inet_addr.c: Remove _LIBC conditionals.
6737         * resolv/res_data.c: Likewise.
6738         * resolv/res_init.c: Likewise.
6739         * resolv/res_mkquery.c: Likewise.
6740         * resolv/res_libc.c: Update comment.
6741         * resolv/README: Update.
6743 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6745         * resolv/gethnamaddr.c: Remove SCSS keyword.
6746         * resolv/herror.c: Likewise.
6747         * resolv/inet_addr.c: Likewise.
6748         * resolv/inet_net_ntop.c: Likewise.
6749         * resolv/inet_net_pton.c: Likewise.
6750         * resolv/inet_neta.c: Likewise.
6751         * resolv/inet_ntop.c: Likewise.
6752         * resolv/inet_pton.c: Likewise.
6753         * resolv/ns_date.c: Remove RCS keyword.
6754         * resolv/ns_name.c: Likewise.
6755         * resolv/ns_netint.c: Likewise.
6756         * resolv/ns_parse.c: Likewise.
6757         * resolv/ns_print.c: Likewise.
6758         * resolv/ns_samedomain.c: Likewise.
6759         * resolv/ns_ttl.c: Likewise.
6760         * resolv/nsap_addr.c: Likewise.
6761         * resolv/res_comp.c: Remove SCSS and RCS keyword.
6762         * resolv/res_data.c: Remove RCS keyword.
6763         * resolv/res_debug.c: Remove SCSS and RCS keyword.
6764         * resolv/res_init.c: Likewise.
6765         * resolv/res_mkquery.c: Likewise.
6766         * resolv/res_query.c: Likewise.
6767         * resolv/res_send.c: Likewise.
6769 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6771         * conform/data/stdio.h-data (fdopen): Expect also for
6772         [XPG3 || XPG4].
6774         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
6775         (fseeko): Likewise.
6776         (ftello): Likewise.
6777         (ftrylockfile): Likewise.
6778         (funlockfile): Likewise.
6779         (getc_unlocked): Likewise.
6780         (getchar_unlocked): Likewise.
6781         (putc_unlocked): Likewise.
6782         (putchar_unlocked): Likewise.
6784 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6786         [BZ #19868]
6787         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
6788         DNS packet syntax checks (which were not needed before).  Skip
6789         over non-PTR records.
6791 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6793         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
6794         definition.  Include <stddef.h> instead.
6796 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6798         [BZ #19831]
6799         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
6800         function.
6801         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
6802         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
6804 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6806         [BZ #19862]
6807         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
6808         (getanswer_r): Do not call syslog.
6809         (gaih_getanswer_slice): Likewise.
6810         * resolv/gethnamaddr.c (AskedForGot): Remove.
6811         (getanswer): Do not call syslog.
6812         (gethostbyaddr): Likewise.
6814 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6816         * conform/data/signal.h-data (union sigval): Expect also if
6817         [XOPEN2K].
6818         (struct sigevent): Likewise.
6819         (SIGEV_NONE): Likewise.
6820         (SIGEV_SIGNAL): Likewise.
6821         (SIGEV_THREAD): Likewise.
6822         (SIGRTMIN): Likewise.
6823         (SIGRTMAX): Likewise.
6824         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
6825         variable.
6826         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6828 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6830         [BZ #19830]
6831         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
6832         (gaih_getanswer_slice): Likewise.
6833         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
6834         Also check for availability of RR metadata.
6836 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6838         [BZ #19825]
6839         * resolv/res_send.c (send_vc): Remove early *resplen2
6840         initialization.  Set *resplen2 on socket error.  Call
6841         close_and_return_error for other errors.
6843 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6845         * sysdeps/unix/sysv/linux/netiucv/iucv.h
6846         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
6847         (SCM_IUCV_TRGCLS): New define.
6849 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6851         [BZ #20005]
6852         * libio/fmemopen.c (fmemopen_write): Update internal position after
6853         write.
6854         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
6855         * stdio-common/tst-fmemopen4.c: New file..
6857 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
6859         [BZ #19996]
6860         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
6861         not [__USE_XOPEN2K].
6862         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
6863         variable.
6865         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
6866         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
6867         variable.
6869         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
6870         [__USE_XOPEN2K8].
6871         [__USE_LARGEFILE64] (off64_t): Likewise.
6872         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
6873         variable.
6875 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
6877         [BZ #19989]
6878         * libio/stdio.h (cuserid): Do not declare if
6879         [__USE_XOPEN2K && !__USE_GNU].
6880         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
6881         variable.
6883 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6885         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6886         (sysdep_routines): Add P8 and PPC64 strcspn targets.
6887         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6888         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6889         ifunc'ed strcspn.
6890         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6891         [EALIGN]: Removed.
6892         [END]: Likewise
6893         [STRSPN]: Define instead of the above to control symbol name.
6894         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
6895         New file.
6896         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
6897         Likewise.
6898         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
6899         Likewise.
6900         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
6901         Likewise.
6902         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6903         [INITIAL_MASK]: New macro.
6904         [STRCSPN]: Likewise.
6905         [UPDATE_MASK]: Likewise.
6906         [USE_AS_STRCSPN]: Lisewise.
6908 2016-04-25  Florian Weimer  <fweimer@redhat.com>
6910         [BZ #19931]
6911         * stdio-common/tst-vfprintf-width-prec.c: New file.
6912         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
6913         (tests-special): Add tst-vfprintf-width-prec-mem.out.
6914         (generated): Add mtrace-related files.
6915         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
6916         (tst-%-mem.out): New pattern rule, replaces
6917         tst-printf-bz18872-mem.out.
6918         * stdio-common/vfprintf.c (vfprintf): When handling a precision
6919         specifier, deallocate any previously allocated work buffer.
6921 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
6923         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
6924         Add nop before __startcontext, add explaining comments.
6926 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
6928         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
6929         any more. Notably since IPV6_PKTINFO has been reintroduced with a
6930         completely different API.
6932         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
6933         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
6934         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
6935         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
6936         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
6937         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
6938         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
6939         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
6940         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
6941         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
6943 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
6945         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
6947 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
6949         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
6950         when it is the default of 0.
6952 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6954         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
6955         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6956         (sysdep_routines): Add new strcasestr targets.
6957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6958         (__libc_ifunc_impl_list): Likewise.
6959         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
6960         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
6961         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
6962         * sysdeps/powerpc/powerpc64/power8/Makefile:
6963         New file to add strcasestr-ppc64 to sysdep_routines.
6964         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
6965         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
6967 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
6969         * benchtests/Makefile (wcsmbs-benchset): Include only for
6970         native builds and runs.
6971         (LOCALES): Likewise.
6972         (bench-build): Build timing-type here instead of the bench
6973         target.  Generate locale only for native builds.
6974         * benchtests/README: Add note for cross-building.
6976         * benchtests/Makefile (bench-clean): Clean up extra-objs.
6978         * benchtests/README: Update README to include instructions on
6979         using bench-build.
6981         * Makefile.in (bench-build): New target.
6982         * Rules (PHONY): Add bench-build target.
6983         * benchtests/Makefile (bench): Depend on bench-build.
6984         (bench-build): New target.
6986 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6988         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
6989         profil_reply_port.
6990         (profile_waiter): Do not initialize profil_reply_port.
6991         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
6992         frequency instead of tick length in us.
6994 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
6996         [BZ #18712]
6997         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
6998         (__old_mempcpy_small): Likewise.
6999         (__old_strcpy_small): Likewise.
7000         (__old_stpcpy_small): Likewise.
7001         (__old_strpbrk_c2): Fix compat symbol name.
7002         (__old_strpbrk_c3): Likewise.
7003         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
7004         (__mempcpy_small): Remove.
7005         (__strcpy_small): Remove.
7006         (__stpcpy_small): Remove.
7008 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
7010         [BZ #19400]
7011         * locale/iso-639.def: Add the Talossan/tzl language.
7013 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7015         [BZ #16983]
7016         * locale/programs/ld-address.c (address_finish): Update postal_fmt
7017         comment.  Add "ln" to strchr check on postal_fmt.
7019 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7021         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
7022         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
7023         tel_dom_fmt.
7025 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7027         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7028         (sysdep_routines): Added __strlen_power8.
7029         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
7030         __strlen_power8 entry.
7031         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
7032         Implementation for POWER8.
7033         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
7034         for __strlen_power8.
7035         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
7036         Implementation for POWER8.
7038 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
7040         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
7042 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
7044         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
7045         Goldmont and Airmont processors.
7047 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
7049         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
7050         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
7051         (__STRING2_SMALL_GET32): Remove.
7052         (memset): Remove.
7053         (__memset_1): Remove.
7054         (__memset_gc): Remove.
7055         (__mempcpy): Remove.
7056         (mempcpy): Remove.
7057         (__mempcpy_args): Remove.
7058         (strchr): Remove.
7059         (strcpy): Remove.
7060         (strcpy_args): Remove.
7061         (__stpcpy_args): Remove.
7062         (__strcmp_cc): Remove.
7063         (__strcmp_gc): Remove.
7064         (strstr): Remove.
7066 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
7068         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
7069         * nis/nis_call.c (nis_server_cache_add): Likewise.
7071 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7073         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
7075 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7077         * malloc/arena.c (__malloc_fork_lock_parent)
7078         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
7079         internal_function attribute.
7081 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
7083         * stdio-common/printf_fp.c (__printf_fp_l):
7084         Rename ___printf_fp_l to __printf_fp_l and
7085         remove strong alias. Use libc_hidden_def instead
7086         of ldbl_hidden_def macro.
7088 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7090         Remove malloc hooks from fork handler.  They are no longer needed
7091         because malloc runs right before fork, and no malloc calls from
7092         other fork handlers are not possible anymore.
7093         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
7094         declarations.
7095         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
7096         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
7097         (atfork_recursive_cntr): Remove.
7098         (__malloc_fork_lock_parent): Do not override malloc hooks and
7099         thread_arena.
7100         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
7101         thread_arena.
7102         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
7103         thread_arena instead of save_arena.
7105 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7107         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
7108         (thread_atfork, thread_atfork_static): Remove.
7109         * sysdeps/mach/hurd/malloc-machine.h:
7110         (thread_atfork, thread_atfork_static): Remove.
7112 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7114         [BZ #19431]
7115         Run the malloc fork handler as late as possible to avoid deadlocks.
7116         * malloc/malloc-internal.h: New file.
7117         * malloc/malloc.c: Include it.
7118         * malloc/arena.c (ATFORK_MEM): Remove.
7119         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
7120         Update comment.
7121         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
7122         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
7123         Remove outdated comment.
7124         (ptmalloc_init): Do not call thread_atfork.  Remove
7125         thread_atfork_static.
7126         * malloc/tst-malloc-fork-deadlock.c: New file.
7127         * Makefile (tests): Add tst-malloc-fork-deadlock.
7128         (tst-malloc-fork-deadlock): Link against libpthread.
7129         * manual/memory.texi (Aligned Memory Blocks): Update safety
7130         annotation comments.
7131         * sysdeps/nptl/fork.c (__libc_fork): Call
7132         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7133         __malloc_fork_unlock_child.
7134         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
7136 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7138         [BZ #19613]
7139         Remove union wait.
7140         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
7141         (w_stopsig, w_stopval): Remove.
7142         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
7143         stat_loc argument.
7144         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
7145         (__WAIT_STATUS_DEFN): Remove.
7146         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7147         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
7148         (wait, wait3, wait4): Use int * for the stat_loc argument.
7149         * posix/wait.c (__wait): Likewise.
7150         * posix/wait3.c (__wait3): Likewise.
7151         * posix/wait4.c (__wait4): Likewise.
7152         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
7153         (__WAIT_STATUS_DEFN): Remove.
7154         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7155         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
7156         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
7157         argument.
7158         * sysdeps/posix/wait.c (__libc_wait): Likewise.
7159         * sysdeps/posix/wait3.c (__wait3): Likewise.
7160         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
7161         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7162         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
7163         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
7164         stat_loc argument.
7165         * manual/process.texi (BSD Wait Functions): Remove union wait.
7167 2016-04-13  Andreas Schwab  <schwab@suse.de>
7169         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
7170         (test-extras): Add tst-tlsalign-vars.
7171         * math/Makefile: Wrap long lines.
7172         (libm-vec-test-wrappers): Define.
7173         (test-extras): Add $(libm-vec-test-wrappers).
7174         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
7175         * nss/Makefile (extra-test-objs): Add nss_test1.os.
7176         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
7177         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
7178         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
7179         (extra-test-objs): Add corresponding objects.
7181 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
7183         [BZ #19928]
7184         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
7185         New.
7186         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
7187         times of shared cache size.
7188         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
7189         (VMOVNT): New.
7190         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
7191         (VMOVNT): Likewise.
7192         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
7193         (VMOVNT): Likewise.
7194         (VMOVU): Changed to movups for smaller code sizes.
7195         (VMOVA): Changed to movaps for smaller code sizes.
7196         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
7197         comments.
7198         (PREFETCH): New.
7199         (PREFETCH_SIZE): Likewise.
7200         (PREFETCHED_LOAD_SIZE): Likewise.
7201         (PREFETCH_ONE_SET): Likewise.
7202         Rewrite to use forward and backward loops, which move 4 vector
7203         registers at a time, to support overlapping addresses and use
7204         non temporal store if size is above the threshold and there is
7205         no overlap between destination and source.
7207 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
7209         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
7210         Include dl-vdso.
7211         * sysdeps/unix/sysv/linux/mips/Versions: Add
7212         __vdso_clock_gettime.
7213         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
7214         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
7215         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
7216         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
7217         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
7218         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7219         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7220         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
7221         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
7223 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7225         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
7226         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7227         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7228         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7229         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7230         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7233         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
7234         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
7235         syscalls generation.
7236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7237         [__NR_pwrite64] (__NR_write): Remove define.
7238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7239         [__NR_pwrite64] (__NR_write): Remove define.
7240         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
7241         Remove define.
7242         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
7243         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
7244         Remove define.
7245         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
7246         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
7247         Linux implementation as base.
7248         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7250         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
7251         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7252         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7253         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
7255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7256         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
7257         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
7258         syscall generation.
7259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7260         [__NR_pread64] (__NR_pread): Remove define.
7261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7262         [__NR_pread64] (__NR_pread): Likewise.
7263         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
7264         define.
7265         (__libc_pread): Use SYSCALL_LL macro on offset argument.
7266         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
7267         Remove define.
7268         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
7269         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
7270         Linux implementation as base.
7271         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7272         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7273         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7275         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
7276         definition.
7277         (__ALIGNMENT_COUNT): Likewise.
7278         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
7279         (__ALIGNMENT_COUNT): Likewise.
7280         (SYSCALL_LL): New define.
7281         (SYSCALL_LL64): Likewise.
7282         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
7283         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
7284         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
7285         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
7287         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7288         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
7289         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7290         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7291         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7292         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7294 2016-04-11  Florian Weimer  <fweimer@redhat.com>
7296         [BZ #19865]
7297         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
7298         original buffer before retry.
7300 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7302         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
7303         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
7304         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
7305         GLRO(dl_auxv) list.
7306         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
7307         including <ldsodefs.h>.
7308         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
7310 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
7312         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
7313         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
7314         $(CPPFLAGS).
7316 2016-04-09  Khem Raj  <raj.khem@gmail.com>
7318         [BZ #17950]
7319         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
7320         Add -mfpmath=387.
7322 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
7324         * sysdeps/i386/configure.ac: Change == to = when calling test.
7325         * sysdeps/x86_64/configure.ac: Likewise.
7326         * sysdeps/i386/configure: Regenerated.
7327         * sysdeps/x86_64/configure: Likewise.
7329 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
7331         [BZ #16137]
7332         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
7333         * benchtests/bench-strcoll.c (input_files): Likewise.
7334         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7335         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
7336         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
7338 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
7340         [BZ #19929]
7341         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
7342         [__USE_XOPEN2K8 && !__USE_GNU].
7343         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
7344         variable.
7346         [BZ #19925]
7347         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
7348         define if [!__USE_MISC && __USE_XOPEN2K].
7349         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
7350         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
7351         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
7352         Likewise.
7353         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
7354         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
7355         variable.
7356         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7358 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7360         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7361         (sysdep_routines): Add new strspn targets.
7362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7363         (__libc_ifunc_impl_list): Add strspn.
7364         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7365         New file.
7366         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
7367         Likewise.
7368         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
7369         Likewise.
7370         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7371         Likewise.
7373 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7375         * misc/hsearch_r.c: Include <limits.h>.
7377 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7379         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
7381 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7383         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7384         (MEMCPY_SYMBOL): New.
7385         (MEMPCPY_SYMBOL): Likewise.
7386         (MEMMOVE_CHK_SYMBOL): Likewise.
7387         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
7388         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
7389         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
7390         Provide alias for memcpy in libc.a and ld.so.
7392 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7394         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7395         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
7396         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
7397         Disabled fro now.
7398         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
7399         symbols.  Properly check USE_MULTIARCH on __memset symbols.
7401 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7403         * benchtests/Makefile (string-benchset): Add memcpy-large,
7404         memmove-large and memset-large.
7405         * benchtests/bench-memcpy-large.c: New file.
7406         * benchtests/bench-memmove-large.c: Likewise.
7407         * benchtests/bench-memmove-large.c: Likewise.
7408         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
7410 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7412         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
7413         32-bit displacement to avoid long nop between instructions.
7415 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7417         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
7418         a comment on VMOVU and VMOVA.
7420 2016-04-04  Florian Weimer  <fweimer@redhat.com>
7422         [BZ #19633]
7423         Use specified locale for number formatting in strfmon_l.
7424         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
7425         (__nl_lookup_word): New inline functions.
7426         * include/printf.h (__print_fp_l): Declare.
7427         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
7428         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
7429         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
7430         (___printf_fp): New function.
7431         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
7432         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
7433         * stdlib/tst-strfmon_l.c (do_test): New test.
7434         * stdlib/Makefile (tests): Add kt.
7435         (LOCALES): Build additional locales.
7436         (tst-strfmon_l.out): Require locales.
7438 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7440         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
7441         if not in libc.
7442         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7443         Likewise.
7444         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
7445         Likewise.
7446         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7447         Likewise.
7449 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7451         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7452         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
7453         with unaligned_erms.
7454         (__memmove_erms): Skip if source == destination.
7455         (__memmove_unaligned_erms): Don't check source == destination
7456         first.
7458 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7460         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
7461         bit_arch_Fast_Copy_Backward for Intel Core proessors.
7463 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7465         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
7466         * string/strspn.c (strspn): Likewise.
7468 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7470         * benchtests/bench-memset.c (do_test): Support 64-byte
7471         alignment.
7472         (test_main): Test 64-byte alignment.
7474 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7476         * benchtests/bench-memmove.c (test_main): Test 64-byte
7477         alignment.
7479 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7481         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
7483 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7485         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
7486         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
7487         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
7489         * string/strpbrk.c (strpbrk): Rewrite function.
7490         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
7491         (__strpbrk_c2): Likewise.
7492         (__strpbrk_c3): Likewise.
7493         * string/string-inlines.c
7494         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
7495         Likewise.
7496         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
7497         Likewise.
7499         * string/strspn.c (strcspn): Rewrite function.
7500         * string/bits/string2.h (strspn): Use __builtin_strcspn.
7501         (__strspn_c1): Remove inline function.
7502         (__strspn_c2): Likewise.
7503         (__strspn_c3): Likewise.
7504         * string/string-inlines.c
7505         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
7506         compatibility symbol.
7507         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
7508         Likewise.
7509         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
7510         Likewise.
7511         * string/string-inlines.c: Include generic version.
7513 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
7514             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7516         * string/Version (libc): Add GLIBC_2.24.
7517         * string/strcspn.c (strcspn): Rewrite function.
7518         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
7519         (__strcspn_c1): Remove inline function.
7520         (__strcspn_c2): Likewise.
7521         (__strcspn_c3): Likewise.
7522         * string/string-inline.c
7523         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
7524         compatibility symbol.
7525         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
7526         Likewise.
7527         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
7528         Likewise.
7529         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
7531 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7533         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7534         Use ahi instead of aghi to adjust stack pointer.
7536 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7538         [BZ #19853]
7539         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
7540         TEST to take significant digits as second parameter.
7541         [TEST]: Redefine in terms of TEST_N taking 30
7542         significant digits.
7543         (do_test): Add test case to demonstrate precision
7544         failure in the ldbl-128ibm printf.
7545         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
7546         (__mpn_extract_long_double): Carry 7 extra intermediate
7547         bits of precision to aide computing difference when
7548         signs differ.
7550 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7552         [BZ #19881]
7553         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7554         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
7555         memset-avx512-unaligned-erms.
7556         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7557         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
7558         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
7559         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
7560         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
7561         __memset_sse2_unaligned_erms, __memset_erms,
7562         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
7563         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7564         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
7565         file.
7566         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7567         Likewise.
7568         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
7569         Likewise.
7570         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
7571         Likewise.
7573 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7575         [BZ #19776]
7576         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7577         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
7578         memmove-avx512-unaligned-erms.
7579         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7580         (__libc_ifunc_impl_list): Test
7581         __memmove_chk_avx512_unaligned_2,
7582         __memmove_chk_avx512_unaligned_erms,
7583         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
7584         __memmove_chk_sse2_unaligned_2,
7585         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
7586         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
7587         __memmove_avx512_unaligned_erms, __memmove_erms,
7588         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
7589         __memcpy_chk_avx512_unaligned_2,
7590         __memcpy_chk_avx512_unaligned_erms,
7591         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
7592         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
7593         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
7594         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
7595         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
7596         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
7597         __mempcpy_chk_avx512_unaligned_erms,
7598         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
7599         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
7600         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
7601         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
7602         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
7603         __mempcpy_erms.
7604         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
7605         file.
7606         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7607         Likwise.
7608         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7609         Likwise.
7610         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7611         Likwise.
7613 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7615         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
7616         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
7617         (La_s390_64_regs): Likewise.
7618         (La_s390_32_retval): Append vector register lrv_v24.
7619         (La_s390_64_retval): Likeweise.
7620         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7621         Handle extended structs La_s390_32_regs and La_s390_32_retval.
7622         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7623         Handle extended structs La_s390_64_regs and La_s390_64_retval.
7625 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7627         [BZ #19916]
7628         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
7629         to create a non-vector/vector version for _dl_runtime_resolve and
7630         _dl_runtime_profile. Move implementation to ...
7631         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
7632         (_dl_runtime_resolve) Save and restore fpr/vrs.
7633         (_dl_runtime_profile) Save and restore vrs and fix some issues
7634         if _dl_call_pltexit is called.
7635         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
7636         Choose the correct resolver function if running on a machine with vx.
7637         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
7638         to create a non-vector/vector version for _dl_runtime_resolve and
7639         _dl_runtime_profile. Move implementation to ...
7640         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
7641         (_dl_runtime_resolve) Save and restore fpr/vrs.
7642         (_dl_runtime_profile) Save and restore vrs and fix some issues
7643         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
7644         Choose the correct resolver function if running on a machine with vx.
7646 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7648         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
7650 2016-03-31  Florian Weimer  <fweimer@redhat.com>
7652         [BZ #19509]
7653         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
7654         skip_map != NULL.
7655         * elf/tst-dlsym-error.c: New file.
7656         * elf/Makefile (tests): Add tst-dlsym-error.
7657         (tst-dlsym-error): Link against libdl.
7659 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
7661         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7662         (__ASSUME_FUTIMESAT): Remove macro.
7663         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
7665 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7667         [BZ #19879]
7668         CVE-2016-3075
7669         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
7670         copy name.
7672 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7674         [BZ #19837]
7675         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
7676         error if parse_line fails.
7678 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7680         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
7681         (index_cpu_ERMS): Likewise.
7682         (reg_ERMS): Likewise.
7684 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
7686         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
7687         PER_LINUX_FDPIC): Add.
7689 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7691         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7692         memcpy-avx512-no-vzeroupper.
7693         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
7694         to ...
7695         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
7696         (MEMCPY): Don't define.
7697         (MEMCPY_CHK): Likewise.
7698         (MEMPCPY): Likewise.
7699         (MEMPCPY_CHK): Likewise.
7700         (MEMPCPY_CHK): Renamed to ...
7701         (__mempcpy_chk_avx512_no_vzeroupper): This.
7702         (MEMPCPY_CHK): Renamed to ...
7703         (__mempcpy_chk_avx512_no_vzeroupper): This.
7704         (MEMCPY_CHK): Renamed to ...
7705         (__memmove_chk_avx512_no_vzeroupper): This.
7706         (MEMCPY): Renamed to ...
7707         (__memmove_avx512_no_vzeroupper): This.
7708         (__memcpy_avx512_no_vzeroupper): New alias.
7709         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
7711 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7713         [BZ #18858]
7714         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7715         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
7716         and mempcpy-avx512-no-vzeroupper.
7717         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
7718         New.
7719         (MEMPCPY): Likewise.
7720         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
7721         (MEMPCPY_CHK): New.
7722         (MEMPCPY): Likewise.
7723         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
7724         (MEMPCPY): Likewise.
7725         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
7726         (MEMPCPY): Likewise.
7727         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
7728         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
7729         Likewise.
7730         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
7731         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
7733 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7734              Amit Pawar  <Amit.Pawar@amd.com>
7736         [BZ #19583]
7737         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7738         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
7739         processors.  Set Fast_Copy_Backward for AMD Excavator
7740         processors.
7741         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
7742         New.
7743         (index_arch_Fast_Unaligned_Copy): Likewise.
7744         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
7745         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
7747 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7749         [BZ #19791]
7750         * resolv/res_send.c (close_and_return_error): New function.
7751         (send_dg): Initialize *resplen2 after reopen failure.  Call
7752         close_and_return_error for error returns.  On error paths without
7753         __res_iclose, initialze *resplen2 explicitly.  Update comment for
7754         successful return.
7756 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7758         [BZ# 19860]
7759         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
7760         zero if the compiler does not provide the AVX512F bit.
7762 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
7764         [BZ #19848]
7765         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
7766         from 8 to 4.
7767         (__ieee754_powl): Compare integer exponent against 4 not 8.
7768         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
7769         from 8 to 4.
7770         (__ieee754_powl): Compare integer exponent against 4 not 8.
7771         * math/auto-libm-test-in: Add more tests of pow.
7772         * math/auto-libm-test-out: Regenerated.
7773         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
7774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7776 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7778         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
7779         Make code unconditional.
7780         [!__NR_utimensat]: Remove conditional code.
7781         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
7782         Make code unconditional.
7783         [!__NR_utimensat]: Remove conditional code.
7784         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
7785         Make code unconditional.
7786         [!__NR_utimensat]: Remove conditional code.
7788 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7790         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
7791         Make code unconditional.
7793 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
7795         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
7796         call-clobbered %eax on retry path.
7797         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7799 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7801         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
7802         Don't set %rcx twice before "rep movsb".
7804 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7806         [BZ #19583]
7807         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
7808         inline.  Check family before setting family, model and
7809         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
7810         bits here.
7811         (init_cpu_features): Replace HAS_CPU_FEATURE and
7812         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
7813         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
7814         for Intel processors with usable AVX2.  Call get_common_indeces
7815         for other processors with family == NULL.
7816         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
7817         (CPU_FEATURES_ARCH_P): Likewise.
7818         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
7819         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
7821 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7823         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
7824         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
7825         $(shared-thread-library) instead of hardcoding the path to libpthread.
7827 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
7829         * sysdeps/unix/sysv/linux/kernel-features.h
7830         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
7831         * sysdeps/unix/sysv/linux/getdents.c
7832         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
7833         [!have_no_getdents64_defined]: Likewise.
7834         (__GETDENTS): Remove __have_no_getdents64 conditional.
7836 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
7838         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
7839         Remove macro.
7840         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
7841         <kernel-features.h>.
7842         (signalfd) [__NR_signalfd4]: Make code unconditional.
7843         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
7845 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7847         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
7848         style.
7850 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7852         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
7853         (__pthread_enable_asynccancel): Use JUMPTARGET to call
7854         __pthread_unwind.
7855         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7856         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
7857         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7858         (__condvar_cleanup1): Likewise.
7860 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
7862         [BZ #19822]
7863         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
7864         move it to the final $@ location.
7866 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7868         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
7869         access where posix_spawn success and pid argument is null.
7870         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
7871         success case.
7873 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
7875         * sysdeps/mach/hurd/i386/c++-types.data: New file.
7877         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
7879         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
7880         and __fcntl.
7881         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
7882         __fcntl only.
7883         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
7884         adding attribute_hidden to __open and __fcntl.
7886         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
7887         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
7888         depend on libc-modules.h,
7889         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
7891 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
7893         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
7894         Remove macro.
7895         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
7896         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
7897         entry.
7899         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
7900         Remove macro.
7901         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
7902         include <kernel-features.h>.
7903         [!__ASSUME_FALLOCATE]: Remove conditional code.
7904         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
7906 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7908         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
7909         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
7910         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
7911         (_ZGVdN4v_cos_avx2): Likewise.
7912         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
7913         (_ZGVdN4v_cos): Likewise.
7914         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
7915         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
7916         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
7917         (_ZGVdN4v_exp_avx2): Likewise.
7918         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
7919         (_ZGVdN4v_exp): Likewise.
7920         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
7921         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
7922         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
7923         (_ZGVdN4v_log_avx2): Likewise.
7924         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
7925         (_ZGVdN4v_log): Likewise.
7926         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
7927         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
7928         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
7929         (_ZGVdN4vv_pow_avx2): Likewise.
7930         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
7931         (_ZGVdN4vv_pow): Likewise.
7932         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
7933         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
7934         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
7935         (_ZGVdN4v_sin_avx2): Likewise.
7936         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
7937         (_ZGVdN4v_sin): Likewise.
7938         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
7939         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
7940         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
7941         (_ZGVdN4vvv_sincos_avx2): Likewise.
7942         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
7943         (_ZGVdN4vvv_sincos): Likewise.
7944         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
7945         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
7946         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
7947         (_ZGVbN4v_cosf_sse4): Likewise.
7948         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
7949         (_ZGVdN8v_cosf_avx2): Likewise.
7950         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
7951         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
7952         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
7953         (_ZGVbN4v_expf_sse4): Likewise.
7954         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
7955         (_ZGVdN8v_expf_avx2): Likewise.
7956         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
7957         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
7958         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
7959         (_ZGVbN4v_logf_sse4): Likewise.
7960         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
7961         (_ZGVdN8v_logf_avx2): Likewise.
7962         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
7963         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
7964         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
7965         (_ZGVbN4vv_powf_sse4): Likewise.
7966         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
7967         (_ZGVdN8vv_powf_avx2): Likewise.
7968         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7969         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
7970         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7971         (_ZGVbN4vvv_sincosf_sse4): Likewise.
7972         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7973         (_ZGVdN8vvv_sincosf_avx2): Likewise.
7974         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
7975         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
7976         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
7977         (_ZGVbN4v_sinf_sse4): Likewise.
7978         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
7979         (_ZGVdN8v_sinf_avx2): Likewise.
7980         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7981         Use JUMPTARGET to call callee.
7982         (WRAPPER_IMPL_SSE2_ff): Likewise.
7983         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7984         (WRAPPER_IMPL_AVX): Likewise.
7985         (WRAPPER_IMPL_AVX_ff): Likewise.
7986         (WRAPPER_IMPL_AVX_fFF): Likewise.
7987         (WRAPPER_IMPL_AVX512): Likewise.
7988         (WRAPPER_IMPL_AVX512_ff): Likewise.
7989         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7990         Likewise.
7991         (WRAPPER_IMPL_SSE2_ff): Likewise.
7992         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7993         (WRAPPER_IMPL_AVX): Likewise.
7994         (WRAPPER_IMPL_AVX_ff): Likewise.
7995         (WRAPPER_IMPL_AVX_fFF): Likewise.
7996         (WRAPPER_IMPL_AVX512): Likewise.
7997         (WRAPPER_IMPL_AVX512_ff): Likewise.
7998         (WRAPPER_IMPL_AVX512_fFF): Likewise.
8000 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8002         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
8003         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
8004         qualifier.
8005         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
8006         internal_function qualifiers.
8008 2016-03-15  Carlos O'Donell <carlos@redhat.com>
8010         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
8011         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
8012         * math/atest-exp.c (exp_mpn): Mark chk unused.
8013         * math/atest-exp2.c (exp_mpn): Likwise.
8014         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
8015         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
8017 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
8019         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
8020         Remove macro.
8021         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
8022         <kernel-features.h>.
8023         [__NR_ppoll]: Make code unconditional.
8024         [!__ASSUME_PPOLL]: Remove conditional code.
8026         * sysdeps/unix/sysv/linux/kernel-features.h
8027         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
8028         (__ASSUME_ACCEPT4): Likewise.
8029         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8030         Define.
8031         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
8032         Likewise.
8033         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8034         Likewise.
8035         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
8036         Likewise.
8037         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
8038         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
8039         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8040         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8041         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8042         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8043         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8044         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8045         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8046         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8047         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8048         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8049         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8050         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8051         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8052         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8053         Likewise.
8054         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8055         Likewise.
8056         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8057         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8058         0x040300].
8059         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8060         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8061         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8062         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8063         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8064         0x030300].
8065         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
8066         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8067         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8068         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8069         0x040300].
8070         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8071         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8072         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8073         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8074         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8075         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8076         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8077         0x030300].
8078         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8079         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8080         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8081         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8082         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8083         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8084         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8085         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8086         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8087         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8088         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8089         0x040300].
8090         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8091         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8092         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8093         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8094         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8095         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8096         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8097         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8098         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8099         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8100         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8101         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8102         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8103         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8104         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
8105         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8106         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8107         Likewise.
8108         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8109         Likewise.
8111 2016-03-15  Andreas Schwab  <schwab@suse.de>
8113         [BZ #19257]
8114         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
8115         statp->_u._ext.nscount as loop count.
8117 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
8119         * math/test-signgam-finite-c99.c: Also #undef
8120         __LIBC_INTERNAL_MATH_INLINES.
8121         * math/test-signgam-main.c: Likewise.
8123 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
8125         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
8126         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8127         (MADV_FREE): Likewise.
8128         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
8129         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
8130         EPOLLEXCLUSIVE.
8132 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
8134         * timezone/README: Remove mention of checktab.awk. Mention wiki
8135         SharedSourceFiles.
8137 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
8139         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
8140         WUNTRACED.
8142 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8144         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
8145         order to match the type of p when calling atomic_exchange_acq().
8147 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8149         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
8150         cfi_offset calls.
8151         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
8152         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
8153         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
8154         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
8155         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
8157 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
8159         * timezone/checktab.awk: Removed.
8161 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
8163         * manual/math.texi (Errors in Math Functions): Document relaxed
8164         accuracy goals for IBM long double.
8165         * math/libm-test.inc (test_exceptions): Always allow spurious
8166         "underflow" and "inexact" exceptions for IBM long double.
8168 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
8170         [BZ #19762]
8171         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8172         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
8173         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
8174         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
8175         (bit_arch_*): This for feature array.
8176         (bit_*): Renamed to ...
8177         (bit_cpu_*): This for cpu array.
8178         (index_*): Renamed to ...
8179         (index_arch_*): This for feature array.
8180         (index_*): Renamed to ...
8181         (index_cpu_*): This for cpu array.
8182         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
8183         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
8184         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
8185         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
8186         bit_##name with index_cpu_##name and bit_cpu_##name.
8187         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
8188         bit_##name with index_arch_##name and bit_arch_##name.
8190 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
8192         [BZ #19792]
8193         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
8194         Terminate FDE before return label.
8196 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
8198         [BZ #19790]
8199         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
8200         (rintl): Define as macro.
8201         [USE_AS_NEARBYINTL] (__rintl): Likewise.
8202         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
8203         of fesetround.  Ensure results are evaluated before end of scope.
8204         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
8205         USE_AS_NEARBYINTL and include s_rintl.c.
8206         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
8207         Disable exception traps in new environment.
8208         (libc_feholdsetround_ppc_ctx): Likewise.
8210 2016-03-08  Roland McGrath  <roland@hack.frob.com>
8212         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
8213         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
8214         (tst_audit10_aux) [__AVX512F__]: ... here.
8216 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
8218         * include/sys/auxv.h: New file.
8220 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8222         [BZ #19759]
8223         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
8225 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8227         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
8228         operand modifier.
8229         (feclearexcept): Likewise.
8231 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8233         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
8234         to reflect the entire 32-bit HWCAP.
8235         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
8236         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
8238 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8240         [BZ #19783]
8241         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
8242         $(test-via-rtld-prefix).
8243         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
8245 2016-03-08  Florian Weimer  <fweimer@redhat.com>
8247         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
8248         union wait.  Report any non-zero exit status as error.
8250 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8252         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
8253         configured with --enable-hardcoded-path-in-tests.
8255 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
8257         [BZ #19677]
8258         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8259         (__ieee754_remainderl): Put zero low parts in canonical form.
8260         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
8261         file.  Based on
8262         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
8263         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
8264         with wrapper round test-fmodrem-ldbl-128ibm.c.
8265         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
8266         file.
8267         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
8268         Likewise.
8269         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8270         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
8272 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8274         [BZ #19610]
8275         * elf/ldconfig.c (opt_link): Update comment.
8276         (options): Update help string for option -X.
8277         (search_dir): Unlink stale symbolic link only if updating symbolic
8278         links.
8279         * elf/tst-ldconfig-X.sh: New file.
8280         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
8281         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
8283 2016-03-07  Andreas Schwab  <schwab@suse.de>
8285         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
8286         needed arguments.
8288 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
8290         [BZ #15333]
8291         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
8292         to lstat64.
8294 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8296         * libio/filedoalloc.c (isatty): Remove.
8297         (local_isatty): Add comment.  Call __isatty directly.
8298         (_IO_file_doallocate): Update comment.  Assume _LIBC.
8299         * libio/wfiledoalloc.c (isatty): Remove.
8300         (_IO_wfile_doallocate): Update comment.
8302 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8304         [BZ #19269]
8305         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
8306         tst-audit4-aux.o.
8307         (tst-audit10): Depend on tst-audit10-aux.o.
8308         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
8309         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
8310         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
8311         instead of inline AVX code.
8312         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
8313         instead of inline AVX512 code.
8314         * sysdeps/x86_64/tst-audit4-aux.c: New file
8315         * sysdeps/x86_64/tst-audit10-aux.c: New file
8317         [BZ #19648]
8318         * test-skeleton.c (main): Do not set RLIMIT_DATA.
8320 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8322         [BZ #14750]
8323         [BZ #10354]
8324         [BZ #18433]
8325         * include/sched.h (__clone): Add hidden prototype.
8326         (__clone2): Likewise.
8327         * include/unistd.h (__dup): Likewise.
8328         * posix/Makefile (tests): Add tst-spawn2.
8329         * posix/tst-spawn2.c: New file.
8330         * sysdeps/posix/dup.c (__dup): Add hidden definition.
8331         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
8332         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8333         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8334         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8335         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8336         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
8337         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8338         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
8339         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8340         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8342         Likewise.
8343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8344         Likewise.
8345         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8346         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8347         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8348         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8349         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8350         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8351         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8352         * sysdeps/unix/sysv/linux/nptl-signals.h
8353         (____nptl_is_internal_signal): New function.
8354         * sysdeps/unix/sysv/linux/spawni.c: New file.
8356         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
8357         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
8358         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
8359         * posix/tst-execvp2.c (do_test): Likewise.
8360         * posix/tst-execvp3.c (do_test): Likewise.
8361         * posix/tst-execvp4.c (do_test): Likewise.
8362         * posix/tst-execvpe1.c: New file.
8363         * posix/tst-execvpe2.c: Likewise.
8364         * posix/tst-execvpe3.c: Likewise.
8365         * posix/tst-execvpe4.c: Likewise.
8366         * posix/tst-execvpe5.c: Likewise.
8367         * posix/tst-execvpe6.c: Likewise.
8369         [BZ #19534]
8370         * posix/execl.c (execl): Remove dynamic memory allocation.
8371         * posix/execle.c (execle): Likewise.
8372         * posix/execlp.c (execlp): Likewise.
8374 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8376         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
8377         Replace .text with .text.avx512.
8378         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8379         Likewise.
8381 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
8383         * sysdeps/generic/libnsl.abilist: New file.
8384         * sysdeps/generic/libutil.abilist: New file.
8386 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8388         [BZ #19762]
8389         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
8390         HAS_ARCH_FEATURE with Fast_Rep_String.
8391         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
8392         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
8393         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
8394         Likewise.
8395         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
8396         Likewise.
8397         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
8398         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
8399         Likewise.
8400         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
8401         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
8402         Likewise.
8404 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8406         [BZ #19745]
8407         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
8408         with *%rax in call.
8410 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8412         [BZ #19745]
8413         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
8414         with *__libc_start_main@GOTPCREL(%rip) in call.
8416 2016-03-04  Roland McGrath  <roland@hack.frob.com>
8418         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
8419         inside conditional for nonempty $(CXX).
8421         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
8422         nonempty.
8424         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
8425         to test for empty $(CXX) rather than $(CXX) of "no".
8427 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8429         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
8431 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
8432             H.J. Lu  <hongjiu.lu@intel.com>
8434         [BZ #18880]
8435         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
8436         instead of Slow_BSF, and also check for Fast_Copy_Backward to
8437         enable __memcpy_ssse3_back.
8439 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8441         [BZ #19758]
8442         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8443         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
8445 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8447         [BZ #19490]
8448         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
8449         (__fentry__): Likewise.
8451 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8453         * gmon/Makefile (noprof): Add $(sysdep_noprof).
8454         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
8456 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8458         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
8459         __mcount_internal directly.
8460         (C_LABEL(__fentry__)): Likewise.
8461         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
8462         directly.
8464 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8466         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8467         (__start_context): Call __setcontext directly.
8469 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
8471         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8472         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8473         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
8474         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8475         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8476         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8477         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
8478         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8479         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8480         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
8481         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8482         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8483         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8484         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8485         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8486         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8487         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
8488         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8489         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8490         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8491         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
8492         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8493         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8494         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8495         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
8496         Remove conditional code.
8497         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8498         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
8499         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8500         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8501         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
8502         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8503         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8504         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8505         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8506         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8507         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8508         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8510 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
8512         * NEWS (2.23): Fix typo in bug 19048 text.
8514 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
8516         [BZ #14259]
8517         * Makeconfig: Rename msgcatdir to localedir.
8518         Rename inst_msgcatdir to inst_localedir.
8519         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
8520         * config.make.in: Add localedir.
8521         * elf/Makefile ($(objpfx)sotruss): Use localedir.
8522         (ldd-rewrite): Likewise.
8523         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
8524         (install-others): Use inst_localedir.
8525         (CPPFLAGS): Use localedir.
8526         * locale/Makefile (locale-CPPFLAGS): Likewise.
8527         * po/Makefile (mo-installed): Use inst_localedir.
8529         [BZ #19575]
8530         * localedata/charmaps/GB18030: Update comments regarding PAU to
8531         non-PUA mappings.
8533 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
8535         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
8536         test for header.
8537         * sysdeps/unix/sysv/linux/configure: Regenerated.
8538         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
8539         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
8540         Remove conditional code.
8541         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
8543         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8544         Define to 3.2.0.
8545         (arch_minimum_kernel): Likewise.
8546         * sysdeps/unix/sysv/linux/configure: Regenerated.
8547         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
8548         Define to 2.6.32.
8549         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
8550         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
8551         (arch_minimum_kernel): Define to 2.6.32.
8552         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
8553         * README: Document Linux 3.2 requirement.
8554         * manual/install.texi (Linux): Document Linux 3.2 headers
8555         requirement.
8556         * INSTALL: Regenerated.
8558 2016-02-24  Andreas Schwab  <schwab@suse.de>
8560         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
8561         if !NO_LONG_DOUBLE.
8563 2016-02-22  Roland McGrath  <roland@hack.frob.com>
8565         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
8566         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
8568 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
8570         [BZ #19512]
8571         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
8573 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8575         * posix/tst-dir.c: Include libc-internal.h.
8577 2016-02-20  Florian Weimer  <fweimer@redhat.com>
8579         [BZ #19056]
8580         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
8581         * manual/filesys.texi (Reading/Closing Directory): Mention
8582         deprecaion.
8583         * posix/tst-dir.c (main): Disable deprecation warning in test.
8585 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
8587         [BZ #19679]
8588         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
8589         Renamed to ...
8590         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
8591         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8592         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
8593         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8594         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8595         * sysdeps/x86_64/dl-trampoline.h
8596         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8597         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8599 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8601         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
8603 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8605         * elf/elf.h (R_386_GOT32X): New.
8606         (R_386_NUM): Update.
8607         (R_X86_64_GOTPCRELX: New.
8608         (R_X86_64_REX_GOTPCRELX): New.
8609         (R_X86_64_NUM): Update.
8611 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
8613         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
8615 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
8617         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
8618         assign attr->stackaddr to it, and adjust it down when
8619         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
8620         [_STACK_GROWS_UP]: Delete assert.
8621         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
8622         Implement stack grows up logic.
8623         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
8624         stack grows up logic.
8626 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8628         * NEWS: Update with 2.24 template.
8630 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8632         [BZ #19678]
8633         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8634         Ensure +0.0 is returned when taking the next value below the least
8635         positive value.
8637 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8639         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
8640         available.  Do not define NO_THREADS.
8641         * malloc/malloc.c: Do not check NO_THREADS.
8642         * malloc/arena.c: Likewise.
8644 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8646         * malloc/malloc.c (__libc_mallinfo): Update comment.
8647         (struct malloc_par): Remove max_total_mem member, it was always 0.
8648         (int_mallinfo): Store 0 into usmblks (no functional change).
8649         * malloc/hooks.c (struct malloc_state): Document that
8650         max_total_mem is always 0.
8651         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
8652         always 0.
8653         * manual/memory.texi (Statistics of Malloc): Likewise.
8655 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8657         * malloc/malloc.c (sysmalloc): Do not update arena_max.
8658         * malloc/arena.c (arena_max): Remove.
8659         (heap_trim, _int_new_arena): Do not update arena_max.
8661 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8663         * resolv/res_init.c (res_ninit): Update comment.
8665 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8667         [BZ #19505]
8668         * posix/spawn_int.h: Add headers and include guard.
8669         (__spawn_valid_fd): New function.
8670         * posix/spawn_faction_addopen.c
8671         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
8672         * posix/spawn_faction_addclose.c
8673         (posix_spawn_file_actions_addclose): Likewise.
8674         * posix/spawn_faction_adddup2.c
8675         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
8676         second file descriptor.
8677         * posix/spawn_valid_fd.c: New file.
8678         * posix/tst-posix_spawn-fd.c: New file.
8679         * posix/Makefile (routines): Add spawn_valid_fd.
8680         (tests): Add tst-posix_spawn-fd.
8682 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8684         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
8685         (do_test): Limit the number of arenas, so that we can use fewer
8686         outer threads.  Limit timeout to 3 seconds, in preparation for a
8687         larger TIMEOUT value.
8689 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8691         [BZ #19674]
8692         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
8693         sign in overflowing and underflowing results when overflow or
8694         underflow is detected early.  Include sign in result before rather
8695         than after scaling.
8697         [BZ #19603]
8698         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8699         (__ieee754_remainderl): Adjust sign of integer version of low part
8700         when taking absolute value of high part.
8701         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8702         * math/libm-test.inc (remainder_test_data): Add another test.
8703         (remquo_test_data): Likewise.
8705 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
8707         [BZ #19602]
8708         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
8709         equal high parts and both low parts zero specially.
8710         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
8711         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8712         Add test-fmodl-ldbl-128ibm.
8714         [BZ #19595]
8715         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
8716         common logic for all cases of shifting subnormal results.  Do not
8717         insert sign bit in shifted mantissa.  Always pass -1023 as biased
8718         exponent to ldbl_insert_mantissa in subnormal case.
8720         [BZ #19594]
8721         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
8722         on high and low parts then adjust result and use
8723         ldbl_canonicalize_int if needed.
8725         [BZ #19593]
8726         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
8727         on high part and __floor or __ceil on low part then use
8728         ldbl_canonicalize_int if needed.
8730         [BZ #19592]
8731         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
8732         high and low parts then use ldbl_canonicalize_int if needed.
8734         [BZ #17899]
8735         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8736         New function.
8737         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
8738         on high and low parts then use ldbl_canonicalize_int if needed.
8740 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8742         * configure: Regenerated.
8744         * po/libc.pot: Regenerated.
8746         * po/be.po: Updated translation.
8747         * po/bg.po: Likewise.
8748         * po/ca.po: Likewise.
8749         * po/cs.po: Likewise.
8750         * po/da.po: Likewise.
8751         * po/el.po: Likewise.
8752         * po/eo.po: Likewise.
8753         * po/es.po: Likewise.
8754         * po/fi.po: Likewise.
8755         * po/fr.po: Likewise.
8756         * po/gl.po: Likewise.
8757         * po/hr.po: Likewise.
8758         * po/hu.po: Likewise.
8759         * po/ia.po: Likewise.
8760         * po/id.po: Likewise.
8761         * po/it.po: Likewise.
8762         * po/ja.po: Likewise.
8763         * po/lt.po: Likewise.
8764         * po/nb.po: Likewise.
8765         * po/nl.po: Likewise.
8766         * po/pt_BR.po: Likewise.
8767         * po/rw.po: Likewise.
8768         * po/sk.po: Likewise.
8769         * po/sl.po: Likewise.
8770         * po/sv.po: Likewise.
8771         * po/tr.po: Likewise.
8772         * po/zh_CN.po: Likewise.
8773         * po/zh_TW.po: Likewise.
8775         * version.h (RELEAES): Set to "development".
8776         (VERSION): Set to 2.23.90.
8778         * version.h (RELEASE): Set to "stable".
8779         (VERSION): Set to 2.23.
8780         * include/feature.h (__GLIBC_MINOR__): Set to 23.
8782         * NEWS: Updated fixed bugs.
8784 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
8785             Wilco Dijkstra  <wdijkstr@arm.com>
8787         [BZ #19462]
8788         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
8789         (_STRING_INLINE_unaligned): This.
8790         * include/string.h: Include <string_private.h>.
8791         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
8792         _STRING_INLINE_unaligned.
8793         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
8794         (_STRING_INLINE_unaligned): New.
8795         * sysdeps/aarch64/string_private.h: New file.
8796         * sysdeps/generic/string_private.h: Likewise.
8797         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
8798         * sysdeps/s390/string_private.h: Likewise.
8799         * sysdeps/x86/string_private.h: Likewise.
8800         * sysdeps/m68k/m680x0/m68020/bits/string.h
8801         (_STRING_ARCH_unaligned): Renamed to ...
8802         (_STRING_INLINE_unaligned): This.
8803         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
8804         to ...
8805         (_STRING_INLINE_unaligned): This.
8806         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
8807         to ...
8808         (_STRING_INLINE_unaligned): This.
8809         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
8810         to ...
8811         (_STRING_INLINE_unaligned): This.
8813 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8814             H.J. Lu  <hongjiu.lu@intel.com>
8816         [BZ #19590]
8817         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
8818         relocation.
8820 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
8822         [BZ #18665]
8823         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
8824         *herrno_p.
8825         (gaih_getanswer): Document functional behviour. Return tryagain
8826         if any result is tryagain.
8827         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
8828         when freed.
8829         * resolv/res_send.c: Add copyright text.
8830         (__libc_res_nsend): Document that MAXPACKET is expected.
8831         (send_vc): Document. Remove buffer reuse.
8832         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
8833         size of the buffer. Add Dprint for truncated UDP buffer.
8835 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
8837         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
8838         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
8839         * INSTALL: Regenerate.
8841 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
8842             Jonathan Wakely  <jwakely@redhat.com>
8843             Carlos O'Donell  <carlos@redhat.com>
8845         [BZ 19439]
8846         * math/Makefile (tests): Add test-math-isinff.
8847         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
8848         * math/bits/mathcalls.h [__USE_MISC]: Use
8849         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
8850         functions not in C++11 and which don't conflict e.g. isinff,
8851         isinfl etc.
8852         * math/test-math-isinff.cc: New file.
8854 2016-02-12  Florian Weimer  <fweimer@redhat.com>
8856         * misc/bug18240.c (do_test): Set RLIMIT_AS.
8858 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8860         [BZ #19529]
8861         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
8863 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8865         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8867 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
8869         [BZ #19550]
8870         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
8871         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
8872         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
8873         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
8874         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
8875         New syscall entry.
8876         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
8877         New syscall entry.
8878         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
8879         syscall entry.
8881 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
8883         [BZ #18240]
8884         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
8885         unsigned int wraparound.
8887 2016-01-27  Florian Weimer  <fweimer@redhat.com>
8889         [BZ #18240]
8890         * misc/bug18240.c: New test.
8891         * misc/Makefile (tests): Add it.
8893 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
8894             Joseph Myers  <joseph@codesourcery.com>
8896         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
8897         load in branch delay slot when less than a word of input left.
8899 2016-01-27  Andreas Schwab  <schwab@suse.de>
8901         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
8902         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
8903         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
8904         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
8906 2016-01-26  David S. Miller  <davem@davemloft.net>
8908         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
8910 2016-01-25  David S. Miller  <davem@davemloft.net>
8912         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
8913         __sqrtl_finite.
8914         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
8915         instead using versioned_symbol.
8916         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
8917         of entries.
8919         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
8920         __sqrtl_finite to GLIBC_2.23
8922 2016-01-25  Ricchard Henderson  <rth@redhat.com>
8924         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8926 2016-01-25  Andreas Schwab  <schwab@suse.de>
8928         [BZ #17514]
8929         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
8930         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
8931         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
8932         * nptl/tst-mutex-errorcheck.c: New file.
8934 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8936         [BZ #18560]
8937         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
8938         (IPCOP_semop): Likewise.
8939         (IPCOP_semget): Likewise.
8940         (IPCOP_semctl): Likewise.
8941         (IPCOP_msgsnd): Likewise.
8942         (IPCOP_msgrcv): Likewise.
8943         (IPCOP_msgget): Likewise.
8944         (IPCOP_msgctl): Likewise.
8945         (IPCOP_shmat): Likewise.
8946         (IPCOP_shmdt): Likewise.
8947         (IPCOP_shmget): Likewise.
8948         (IPCOP_shmctl): Likewise.
8950 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8952         * string/tst-endian.c: Include <libc-internal.h>.
8953         (do_test): Ignore tautological-compare warnings around
8954         "htobeXX (beXXtoh (i)) != i" and
8955         "htoleXX (leXXtoh (i)) != i" if-statements.
8957 2016-01-24  David S. Miller  <davem@davemloft.net>
8959         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
8960         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
8961         alias.
8962         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8963         __sqrtl_finite.
8965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8967 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
8969         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
8970         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
8971         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8973 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8975         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
8976         (thread_func): Use new function to simplify barrier check.
8977         (do_test): Use new function to simplify checking barrier exit
8978         code, and actually join the child thread.
8980 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8982         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
8983         semicolon.
8984         (__libc_tend): Likewise.
8985         (__libc_tabort): Likewise.
8987 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
8989         * sysdeps/nios2/libm-test-ulps: Update.
8990         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
8991         (__gtsf2): Likewise.
8992         (__unorddf2): Likewise.
8993         (__unordsf2): Likewise.
8994         (__ledf2): Likewise.
8996 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
8998         * nis/nis_table.c (__follow_path): Disable diagnostic for
8999         uninitialized variable that is a false positive for gcc 4.7.
9000         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
9002 2016-01-20  Roland McGrath  <roland@hack.frob.com>
9004         * sysdeps/nacl/lowlevellock-futex.h
9005         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
9006         Always evaluate PRIVATE argument.
9008 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
9010         [BZ #19490]
9011         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
9012         (pthread_cond_broadcast): Use ENTRY/END
9013         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
9014         (pthread_cond_signal): Likewise.
9015         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
9016         Likewise.
9017         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
9018         Likewise.
9019         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
9020         Likewise.
9022 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
9024         * sysdeps/ieee754/dbl-64/s_finite.c
9025         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
9026         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
9027         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
9028         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
9029         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
9031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9032         (__gtsf2): Add as optional for libc.so.
9033         (__unordsf2): Likewise.
9034         (__signbit): Remove for libc.so.
9035         (__signbitl): Likewise.
9037 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9039         * iconvdata/bug-iconv11.c (test_ibm93x):
9040         Use %zu printf format specifier for size_t argument.
9042 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
9044         * math/gen-libm-test.pl (parse_ulps): Do not reduce
9045         already-recorded ulps.
9046         * sysdeps/arm/libm-test-ulps: Regenerated.
9047         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9048         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9049         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9051 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9052             Paul Pluzhnikov  <ppluzhnikov@google.com>
9054         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
9055         assembler not supporting AVX-512.
9057 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
9059         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9061 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
9063         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9064         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9066         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9068         * sysdeps/arm/libm-test-ulps: Regenerated.
9070 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9072         [BZ #19451]
9073         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
9075 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9077         [BZ #19486]
9078         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
9079         * sysdeps/generic/fix-fp-int-convert-overflow.h
9080         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
9081         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
9082         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
9083         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
9084         Likewise.
9085         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
9086         Avoid conversions to long int where inexact exceptions
9087         could be raised.
9088         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
9089         Likewise.
9090         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
9091         Avoid conversions to long long int where inexact exceptions
9092         could be raised.
9093         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
9094         Likewise.
9096 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
9098         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
9099         * configure: Regenerated.
9101 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9103         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
9105 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
9107         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
9108         outside of comment.
9110 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9112         * nptl/tst-barrier1.c: Add description on first line.
9113         * nptl/tst-barrier2.c: Likewise.
9114         * nptl/tst-barrier3.c: Likewise.
9115         * nptl/tst-barrier4.c: Likewise.
9116         * nptl/tst-barrier5.c: Likewise.
9118 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9120         [BZ #18868]
9121         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
9123 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9125         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
9126         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9127         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
9128         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
9129         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
9130         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
9131         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9132         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9133         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9134         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9135         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9137 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9139         [BZ #13065]
9140         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
9141         new implementation.
9142         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
9143         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
9144         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
9145         (BARRIER_IN_THRESHOLD): New macro.
9146         * nptl/pthread_barrierattr_setpshared.c
9147         (pthread_barrierattr_setpshared): Clean up.
9148         * nptl/tst-barrier4.c: Correct comment.
9149         * nptl/tst-barrier5.c: New file.
9150         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
9151         (gen-as-const-headers): Remove lowlevelbarrier.sym.
9152         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
9153         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
9154         * nptl/lowlevelbarrier.sym: Remove.
9155         * nptl/DESIGN-barrier.txt: Remove.
9156         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
9157         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
9158         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
9159         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
9160         error.
9161         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
9162         implementation.
9164 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9166         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
9167         (do_child): Mask SIGRTMIN while thr is running.
9169 2016-01-15  Martin Sebor  <msebor@redhat.com>
9171         [BZ #19432]
9172         * iconvdata/Makefile: Add bug-iconv11.
9173         * iconvdata/bug-iconv11.c: New test.
9174         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
9175         * iconvdata/ibm933.c: Same.
9176         * iconvdata/ibm935.c: Same.
9177         * iconvdata/ibm937.c: Same.
9178         * iconvdata/ibm939.c: Same.
9180 2016-01-15  Martin Sebor  <msebor@redhat.com>
9182         [BZ #19443]
9183         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
9184         [DEBUG] (_ufc_set_bits): Declare used.
9185         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
9186         [DEBUG] (print_all): Declare used.
9187         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
9188         operands of the ternary ?: expression to target type.
9189         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
9190         calling the undeclared abort.
9191         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
9193 2016-01-15  Martin Sebor  <msebor@redhat.com>
9195         [BZ #18755]
9196         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
9197         warnings.
9198         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
9199         (__gai_create_helper_thread): Same.
9200         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
9201         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
9202         to suppress -Wmaybe-uninitialized warnings.
9204 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
9206         [BZ #19465]
9207         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
9208         inside if.
9209         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9210         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9211         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9213 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
9215         [BZ #19466]
9216         * time/tst-mktime2.c (time_t_max): Removed.
9217         (time_t_min): Likewise.
9218         (TYPE_SIGNED): New.
9219         (TYPE_MINIMUM): Likewise.
9220         (TYPE_MAXIMUM): Likewise.
9221         (TIME_T_MIN): Likewise.
9222         (TIME_T_MAX): Likewise.
9223         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
9224         and TIME_T_MIN.
9225         (do_test): Likewise.
9227 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
9229         [BZ #19467]
9230         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9231         index_Fast_Unaligned_Load flag for Excavator family CPUs.
9233 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
9235         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
9237 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
9239         * benchtests/Makefile (PYTHON): Define.
9240         (bench-func): Use $(PYTHON) to run python scripts.
9241         ($(objpfx)bench-%.c): Likewise.
9243 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
9245         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
9246         leading slash when `file_name' is "/".
9248 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
9250         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
9251         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
9252         Likewise.
9253         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
9254         Likewise.
9255         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
9256         Likewise.
9257         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
9258         enum constant and macro.
9259         (PTRACE_SETSIGMASK): Likewise.
9260         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9261         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9262         (PTRACE_GETSIGMASK): Likewise.
9263         (PTRACE_SETSIGMASK): Likewise.
9264         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9265         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
9266         Likewise.
9267         (PTRACE_SETSIGMASK): Likewise.
9268         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9269         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9270         (PTRACE_GETSIGMASK): Likewise.
9271         (PTRACE_SETSIGMASK): Likewise.
9272         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9273         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
9274         Likewise.
9275         (PTRACE_SETSIGMASK): Likewise.
9276         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9277         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
9278         Likewise.
9279         (PTRACE_SETSIGMASK): Likewise.
9280         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9281         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
9282         Likewise.
9283         (PTRACE_SETSIGMASK): Likewise.
9284         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9286 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
9287             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9289         [BZ #19439]
9290         * math/bits/mathcalls.h
9291         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
9292         prototype.
9293         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
9295 2016-01-11  Andreas Schwab  <schwab@suse.de>
9297         [BZ #19253]
9298         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
9299         cache when TZDEFRULES was used.
9300         * time/tst-tzname.c: New file.
9301         * time/Makefile (test): Add tst-tzname.
9302         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
9303         * timezone/Makefile (test-zones): Add $(posixrules-file).
9304         ($(testdata)/$(posixrules-file)): New rule.
9306 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
9308         Fix doc quoting problems with Texinfo 5
9309         Without this change, in the info file output, Texinfo 5 quotes code
9310         in text with undirected single quotes 'like this' and generates
9311         code examples that with many PDF readers cannot be cut out of PDFs
9312         and pasted into code.
9313         * manual/libc.texinfo: Configure the libc manual like the GNU
9314         Emacs manual, by using @documentencoding and setting
9315         txicodequoteundirected and txicodequotebacktick.  This way,
9316         Texinfo 5 quotes code in text with directed single quotes ‘like
9317         this’ and produces examples that can be cut out of PDFs.  This
9318         change causes Texinfo 5 to generate info files that contain UTF-8
9319         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
9320         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
9322 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9324         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
9325         __libc_tabort, __libc_tend): New wrappers that enforce compiler
9326         barriers to their respective compiler built-ins.
9327         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
9328         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
9329         * sysdeps/powerpc/sysdep.h: Likewise.
9330         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
9331         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
9332         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
9334 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
9336         * scripts/config.guess: Revert previous shebang change.
9337         * scripts/config.sub: Likewise.
9338         * scripts/mkinstalldirs: Likewise.
9340 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9342         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
9343         PPC_FEATURE2_HAS_IEEE128.
9344         * sysdeps/powerpc/dl-procinfo.c:
9345         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
9347 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
9349         [BZ #19415]
9350         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
9351         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
9352         (_dl_lookup_address): Rewrite using function resolver trampoline.
9353         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
9354         two bits in address.
9356 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9358         * longlong.h: Change !__SHMEDIA__ to
9359         (!defined (__SHMEDIA__) || !__SHMEDIA__).
9360         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
9362 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
9363             Joseph Myers  <joseph@codesourcery.com>
9364             Mark Shinwell  <shinwell@codesourcery.com>
9365             Andrew Stubbs  <ams@codesourcery.com>
9366             Rich Felker <dalias@libc.org>
9368         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
9370 2016-01-07  Richard Henderson  <rth@redhat.com>
9372         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
9374 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9376         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
9377         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
9378         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9379         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9380         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
9382 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
9383             Joseph Myers  <joseph@codesourcery.com>
9385         * timezone/private.h: Update from tzcode 2015g.
9386         * timezone/tzfile.h: Likewise.
9387         * timezone/tzselect.ksh: Likewise.
9388         * timezone/zdump.c: Likewise.
9389         * timezone/zic.c: Likewise.
9390         * timezone/ialloc.c: Remove file.
9391         * timezone/scheck.c: Likewise.
9392         * timezone/Makefile (extra-objs): Remove variable.
9393         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
9394         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
9395         -Wno-maybe-uninitialized.
9396         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
9397         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
9398         (CFLAGS-ialloc.c): Remove variable.
9399         (CFLAGS-scheck.c): Likewise.
9400         * timezone/README: Update list of files from tzcode.
9402 2016-01-07  Khem Raj  <raj.khem@gmail.com>
9404         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
9405         instead of __fxprintf when _LIBC is undefined.
9407 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
9409         * catgets/test-gencat.sh: Remove space after shebang.
9410         * conform/GlibcConform.pm: Likewise.
9411         * conform/check-header-lists.sh: Likewise.
9412         * conform/conformtest.pl: Likewise.
9413         * conform/linknamespace.pl: Likewise.
9414         * conform/list-header-symbols.pl: Likewise.
9415         * debug/catchsegv.sh: Likewise.
9416         * elf/genrtldtbl.awk: Likewise.
9417         * elf/tst-pathopt.sh: Likewise.
9418         * elf/tst-rtld-load-self.sh: Likewise.
9419         * grp/tst_fgetgrent.sh: Likewise.
9420         * iconvdata/gen-8bit-gap-1.sh: Likewise.
9421         * iconvdata/gen-8bit-gap.sh: Likewise.
9422         * iconvdata/gen-8bit.sh: Likewise.
9423         * iconvdata/run-iconv-test.sh: Likewise.
9424         * intl/tst-gettext.sh: Likewise.
9425         * intl/tst-gettext2.sh: Likewise.
9426         * intl/tst-gettext4.sh: Likewise.
9427         * intl/tst-gettext6.sh: Likewise.
9428         * intl/tst-translit.sh: Likewise.
9429         * io/ftwtest-sh: Likewise.
9430         * libio/test-freopen.sh: Likewise.
9431         * locale/gen-translit.pl: Likewise.
9432         * malloc/tst-mtrace.sh: Likewise.
9433         * manual/check-safety.sh: Likewise.
9434         * manual/libc-texinfo.sh: Likewise.
9435         * manual/tsort.awk: Likewise.
9436         * manual/xtract-typefun.awk: Likewise.
9437         * nptl/tst-cancel-wrappers.sh: Likewise.
9438         * nptl/tst-tls6.sh: Likewise.
9439         * posix/globtest.sh: Likewise.
9440         * posix/tst-getconf.sh: Likewise.
9441         * posix/wordexp-tst.sh: Likewise.
9442         * scripts/check-c++-types.sh: Likewise.
9443         * scripts/check-local-headers.sh: Likewise.
9444         * scripts/config.guess: Likewise.
9445         * scripts/config.sub: Likewise.
9446         * scripts/cpp: Likewise.
9447         * scripts/cross-test-ssh.sh: Likewise.
9448         * scripts/documented.sh: Likewise.
9449         * scripts/evaluate-test.sh: Likewise.
9450         * scripts/gen-libc-abis: Likewise.
9451         * scripts/gen-sorted.awk: Likewise.
9452         * scripts/list-fixed-bugs.py: Likewise.
9453         * scripts/merge-test-results.sh: Likewise.
9454         * scripts/mkinstalldirs: Likewise.
9455         * scripts/rellns-sh: Likewise.
9456         * scripts/test-installation.pl: Likewise.
9457         * scripts/update-copyrights: Likewise.
9458         * stdio-common/tst-printf.sh: Likewise.
9459         * stdio-common/tst-unbputc.sh: Likewise.
9460         * stdlib/tst-fmtmsg.sh: Likewise.
9461         * stdlib/tst-setcontext3.sh: Likewise.
9462         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
9463         * sysdeps/unix/make-syscalls.sh: Likewise.
9465 2016-01-06  John David Anglin  <dave.anglin@bell.net>
9467         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
9468         asm stw with atomic_exchange_rel.  Add explanatory comment.
9469         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
9470         Likewise.
9472 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9474         [BZ #19122]
9475         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
9476         * sysdeps/generic/dl-unistd.h: New file.
9477         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
9479 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9481          [BZ #19122]
9482          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
9483          * sysdeps/generic/dl-mman.h: New file.
9484          * sysdeps/mach/hurd/dl-mman.h: Likewise.
9486 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
9488         * manual/texinfo.tex: Update to version 2016-01-04.21 with
9489         trailing whitespace removed.
9490         * scripts/config.guess: Update to version 2016-01-01.
9491         * scripts/config.sub: Update to version 2016-01-01.
9492         * scripts/move-if-change: Update from gnulib.
9494 2016-01-04  Anton Blanchard  <anton@samba.org>
9496         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
9497         for array indices.
9498         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
9500 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
9502         * NEWS: Update copyright dates.
9503         * catgets/gencat.c (print_version): Likewise.
9504         * csu/version.c (banner): Likewise.
9505         * debug/catchsegv.sh: Likewise.
9506         * debug/pcprofiledump.c (print_version): Likewise.
9507         * debug/xtrace.sh (do_version): Likewise.
9508         * elf/ldconfig.c (print_version): Likewise.
9509         * elf/ldd.bash.in: Likewise.
9510         * elf/pldd.c (print_version): Likewise.
9511         * elf/sotruss.sh: Likewise.
9512         * elf/sprof.c (print_version): Likewise.
9513         * iconv/iconv_prog.c (print_version): Likewise.
9514         * iconv/iconvconfig.c (print_version): Likewise.
9515         * locale/programs/locale.c (print_version): Likewise.
9516         * locale/programs/localedef.c (print_version): Likewise.
9517         * login/programs/pt_chown.c (print_version): Likewise.
9518         * malloc/memusage.sh (do_version): Likewise.
9519         * malloc/memusagestat.c (print_version): Likewise.
9520         * malloc/mtrace.pl: Likewise.
9521         * manual/libc.texinfo: Likewise.
9522         * nptl/version.c (banner): Likewise.
9523         * nscd/nscd.c (print_version): Likewise.
9524         * nss/getent.c (print_version): Likewise.
9525         * nss/makedb.c (print_version): Likewise.
9526         * posix/getconf.c (main): Likewise.
9527         * scripts/test-installation.pl: Likewise.
9528         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9530         * All files with FSF copyright notices: Update copyright dates
9531         using scripts/update-copyrights.
9532         * intl/plural.c: Regenerated.
9533         * locale/programs/charmap-kw.h: Likewise.
9534         * locale/programs/locfile-kw.h: Likewise.
9536 2016-01-02  Helge Deller  <deller@gmx.de>
9538         [BZ #19285]
9539         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
9540         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
9541         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
9542         (MADV_xxK_PAGES): Remove.
9544 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
9546         [BZ #15421]
9547         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
9548         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
9549         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
9550         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
9552 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
9554         [BZ #19408]
9555         * sysdeps/unix/sysv/linux/personality.c: New file.
9556         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
9557         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
9558         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
9559         (sysdep_routines): Add personality.
9560         (tests): Add tst-personality.
9561         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
9562         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
9563         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
9564         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
9565         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
9566         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
9567         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
9568         Likewise.
9569         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
9570         Likewise.
9571         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
9572         Likewise.
9573         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
9574         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
9575         Likewise.
9577 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
9579         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
9580         (PATH_ARM_SYSTYPE): Remove.
9581         (PATH_CPUINFO): Likewise.
9582         (IO_BASE_FOOTBRIDGE): Likewise.
9583         (IO_SHIFT_FOOTBRIDGE): Likewise.
9584         (struct platform): Likewise.
9585         (init_iosys): Remove compatibility code for 2.4 kernels.
9586         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
9588 2015-12-29  Florian Weimer  <fweimer@redhat.com>
9590         * malloc/tst-malloc-thread-fail.c: New file.
9591         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
9592         (tst-malloc-thread-fail): Link against libpthread.
9594 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
9596         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
9597         (get_parser): New function.
9598         (main): New function.
9600 2015-12-29  Rob Wu  <rob@robwu.nl>
9602         [BZ #19369]
9603         * resolv/res_init.c (__res_vinit): Reset defdname before use.
9605 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
9607         [BZ #19270]
9608         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9610 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
9612         [BZ #15421]
9613         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
9615 2015-12-23  Torvald Riegel  <triegel@redhat.com>
9617         [BZ #13690]
9618         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
9619         after releasing it.
9620         (__lll_robust_unlock): Likewise.
9621         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9622         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
9623         (lll_robust_unlock): Likewise.
9624         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
9625         Prevent warnings in callers.
9627 2015-12-23  Florian Weimer  <fweimer@redhat.com>
9629         * malloc/arena.c (list_lock): Update comment.
9631 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9633         * sysdeps/powerpc/hwcapinfo.c: Export symbol
9634         __parse_hwcap_and_convert_at_platform to libc.a.
9636 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9638         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
9639         platform and feature support for POWER9.
9640         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9641         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
9642         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
9643         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
9644         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
9645         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
9646         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
9647         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
9649 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9651         Harmonize generic stdio-lock support with nptl
9653         This fixes build when _IO_funlockfile is a macro, fixes build where
9654         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
9655         stack unwind.
9657         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
9658         _IO_release_lock ): Use cleanup attribute on new
9659         _IO_acquire_lock_file variable instead of assuming that
9660         _IO_release_lock will be called.
9661         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
9662         _IO_acquire_lock_needs_exceptions_enabled.
9663         (_IO_acquire_lock_clear_flags2): New macro.
9665 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9667         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9669 2015-12-21  Florian Weimer  <fweimer@redhat.com>
9671         [BZ #19182]
9672         * malloc/arena.c (list_lock): Document lock ordering requirements.
9673         (free_list_lock): New lock.
9674         (ptmalloc_lock_all): Comment on free_list_lock.
9675         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
9676         (detach_arena): Update comment.  free_list_lock is now needed.
9677         (_int_new_arena): Use free_list_lock around detach_arena call.
9678         Acquire arena lock after list_lock.  Add comment, including FIXME
9679         about incorrect synchronization.
9680         (get_free_list): Switch to free_list_lock.
9681         (reused_arena): Acquire free_list_lock around detach_arena call
9682         and attached threads counter update.  Add two FIXMEs about
9683         incorrect synchronization.
9684         (arena_thread_freeres): Switch to free_list_lock.
9685         * malloc/malloc.c (struct malloc_state): Update comments to
9686         mention free_list_lock.
9688 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9690         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
9691         Remove functions.
9692         (sloww, sloww1): Accept argument to offset quadrant.
9693         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
9694         quadrant.
9695         (__sin, __cos): Consolidate common code into new functions.
9696         (reduce_sincos_1, do_sincos_1): New functions.
9697         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9699         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
9700         code to new functions.
9701         (reduce_sincos_2, do_sincos_2): New functions.
9702         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9704         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
9705         common code for sincos.
9706         (__cos) [!IN_SINCOS]: Likewise.
9707         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
9708         New function.
9709         (__sincos): Use it.
9711 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
9713         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
9714         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
9715         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9717 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9719         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
9720         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
9721         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9722         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
9723         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9724         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
9725         index_Prefer_No_VZEROUPPER): New feature.
9726         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
9727         Prefer_No_VZEROUPPER for Knights Landing.
9729 015-12-18  Torvald Riegel  <triegel@redhat.com>
9731         * math/atest-exp2.c (mp_exp_m1): Remove.
9733 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9735         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
9736         syscalls.
9737         (__SYSCALL0): New macro.
9738         (__SYSCALL1): Likewise.
9739         (__SYSCALL2): Likewise.
9740         (__SYSCALL3): Likewise.
9741         (__SYSCALL4): Likewise.
9742         (__SYSCALL5): Likewise.
9743         (__SYSCALL6): Likewise.
9744         (__SYSCALL_CONCAT_X): Likewise.
9745         (__SYSCALL_CONCAT): Likewise.
9746         (__SYSCALL_DIST): Likewise.
9747         (__SYSCALL_CALL): Likewise.
9749 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
9751         [BZ #19363]
9752         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
9754 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9756         [BZ #19375]
9757         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
9758         negative subnormals.
9760 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
9762         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9763         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
9764         (INTERNAL_SYSCALL_NCS): Use it.
9765         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9767 2015-12-16  Florian Weimer  <fweimer@redhat.com>
9769         [BZ #19243]
9770         * malloc/arena.c (get_free_list): Remove assert and adjust
9771         reference count handling.  Add comment about reused_arena
9772         interaction.
9773         (reused_arena): Add comments abount get_free_list interaction.
9774         * malloc/tst-malloc-thread-exit.c: New file.
9775         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
9776         (tst-malloc-thread-exit): Link against libpthread.
9778 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9780         [BZ #19367]
9781         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
9782         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
9783         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
9784         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
9785         (index_Prefer_MAP_32BIT_EXEC): Likewise.
9787 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9789         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
9790         Silvermont optimizations for Knights Landing.
9792 2015-12-15  Andreas Schwab  <schwab@suse.de>
9794         [BZ #17197]
9795         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
9796         immediately after emitting SI.
9797         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
9798         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
9799         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
9800         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
9801         * iconvdata/bug-iconv10.c: New file.
9802         * iconvdata/Makefile (tests): Add bug-iconv10.
9803         ($(objpfx)bug-iconv10.out): New rule.
9805 2015-12-15  Florian Weimer  <fweimer@redhat.com>
9807         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
9808         aliasing violation.
9810 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
9812         [BZ #18472]
9813         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
9814         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
9815         conditionals for them.
9816         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
9817         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
9818         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
9819         sys/kdaemon.h.
9820         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
9821         compat-only syscall, obsoleted in glibc 2.23.
9822         (create_module): Likewise.
9823         (get_kernel_syms): Likewise.
9824         (query_module): Likewise.
9825         (uselib): Likewise.
9826         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
9828 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
9830         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
9831         <linux/version.h>.
9832         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
9833         conditional code.
9834         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
9835         and ioshift_name initialization.
9837 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9839         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9840         Fix indentation.
9842 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9844         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
9846 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9848         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
9850 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
9851             Jakub Wilk  <jwilk@debian.org>
9853         [BZ #19347]
9854         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
9855         to change the group of the device to the tty group.
9857 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
9859         Split large string section; add truncation advice
9860         * manual/examples/strncat.c: Remove.
9861         This example was misleading, as the code would have undefined
9862         behavior if "hello" was longer than SIZE.  Anyway, the manual
9863         shouldn't encourage strncpy+strncat for this sort of thing.
9864         * manual/string.texi (Copying Strings and Arrays): Split into
9865         three sections Copying Strings and Arrays, Concatenating Strings,
9866         and Truncating Strings, as this section was way too long.  All
9867         cross-referenced changed.  Add advice about string-truncation
9868         functions.  Remove misleading strncat example.
9870 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
9872         * manual/nss.texi (NSS Modules Interface): Document
9873         NSS_STATUS_NOTFOUND and SUCCESS.
9875 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9877         [BZ 18568]
9878         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9879         201505L, for Unicode 8.
9881 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
9883         * locale/C-translit.h: Regenerate.
9885 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9887         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
9888         and U+0153.
9890 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
9892         [BZ #19351]
9893         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
9894         expanding log(1+z), compare z rather than its square with epsilon
9895         to determine when to avoid evaluating the expansion.
9897         [BZ #19350]
9898         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9899         Increase overflow threshold.
9901         [BZ #19349]
9902         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
9903         when small.
9905         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9906         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9907         New macro.
9908         [__LINUX_KERNEL_VERSION >= 0x040300]
9909         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9910         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9911         Likewise.
9912         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9913         Likewise.
9914         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9915         Likewise.
9916         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9917         Likewise.
9918         [__LINUX_KERNEL_VERSION >= 0x040300]
9919         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9920         [__LINUX_KERNEL_VERSION >= 0x040300]
9921         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9922         [__LINUX_KERNEL_VERSION >= 0x040300]
9923         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9924         [__LINUX_KERNEL_VERSION >= 0x040300]
9925         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9926         [__LINUX_KERNEL_VERSION >= 0x040300]
9927         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9928         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9929         Likewise.
9930         [__LINUX_KERNEL_VERSION >= 0x040300]
9931         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9932         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9933         Likewise.
9934         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9935         Likewise.
9936         [__LINUX_KERNEL_VERSION >= 0x040300]
9937         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9938         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9939         Likewise.
9940         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9941         Likewise.
9942         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9943         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
9944         Likewise.
9945         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
9946         Likewise.
9947         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9948         Likewise.
9949         [__LINUX_KERNEL_VERSION >= 0x040300]
9950         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9951         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9952         Likewise.
9953         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9954         Likewise.
9955         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9956         Likewise.
9957         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9958         Likewise.
9959         [__LINUX_KERNEL_VERSION >= 0x040300]
9960         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9961         [__LINUX_KERNEL_VERSION >= 0x040300]
9962         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9963         [__LINUX_KERNEL_VERSION >= 0x040300]
9964         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9965         [__LINUX_KERNEL_VERSION >= 0x040300]
9966         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9967         [__LINUX_KERNEL_VERSION >= 0x040300]
9968         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9969         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9970         Likewise.
9971         [__LINUX_KERNEL_VERSION >= 0x040300]
9972         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9973         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9974         Likewise.
9975         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9976         Likewise.
9977         [__LINUX_KERNEL_VERSION >= 0x040300]
9978         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9979         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9980         Likewise.
9981         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9982         Likewise.
9983         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9984         (__ASSUME_SOCKET_SYSCALL): Likewise.
9985         (__ASSUME_BIND_SYSCALL): Likewise.
9986         (__ASSUME_CONNECT_SYSCALL): Likewise.
9987         (__ASSUME_LISTEN_SYSCALL): Likewise.
9988         (__ASSUME_ACCEPT_SYSCALL): Likewise.
9989         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9990         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9991         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9992         (__ASSUME_SEND_SYSCALL): Likewise.
9993         (__ASSUME_SENDTO_SYSCALL): Likewise.
9994         (__ASSUME_RECV_SYSCALL): Likewise.
9995         (__ASSUME_RECVFROM_SYSCALL): Likewise.
9996         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
9997         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9998         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9999         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10000         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10001         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10002         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
10003         Likewise.
10004         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
10005         Likewise.
10006         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
10007         Likewise.
10008         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
10009         Likewise.
10010         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
10011         Likewise.
10012         [__LINUX_KERNEL_VERSION >= 0x020625]
10013         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10014         [__LINUX_KERNEL_VERSION >= 0x020625]
10015         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10016         [__LINUX_KERNEL_VERSION >= 0x020625]
10017         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10018         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
10019         Likewise.
10020         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
10021         Likewise.
10022         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
10023         Likewise.
10024         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
10025         Likewise.
10026         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
10027         Likewise.
10028         [__LINUX_KERNEL_VERSION >= 0x020625]
10029         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10030         [__LINUX_KERNEL_VERSION >= 0x020625]
10031         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10032         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
10033         Likewise.
10034         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
10035         Likewise.
10037 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10039         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
10040         record the current if the current ABI and CPU support the FP64
10041         extension.
10042         (has-modd-spreg): Define to record the current if the current ABI and
10043         CPU support 32-bit floating point values in odd FPU registers.
10044         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10045         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
10046         $(has-modd-spreg) equals yes.
10047         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
10048         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
10049         $(has-modd-spreg) equal yes.
10051 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10053         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
10054         basename.
10056 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
10058         * benchtests/Makefile (bench-math): Move ffs and ffsll...
10059         (bench-string): ... here.
10060         (bench): Add bench-string.
10061         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
10062         to *-benchset to reflect what they are.
10063         (benchset): Adjust.
10065         * benchtests/sincos-inputs: Add inputs from sin-inputs and
10066         cos-inputs.
10068 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
10070         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
10071         __attribute__ ((__simd__)) for vector math function declarations.
10073 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10075         Fix typo in strncat, wcsncat manual entries
10076         * manual/string.texi (Copying and Concatenation): Fix typos in
10077         sample implementations of strncat and wcsncat, by having them use
10078         the old value of the destination length, not the new one.
10080 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
10082         [BZ #16961]
10083         [BZ #16962]
10084         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
10085         string on the stack for strtod.
10086         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
10087         a string on the stack for strtof.
10088         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
10089         constructing a string on the stack for strtold.
10090         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
10091         __strtold_nan to GLIBC_PRIVATE.
10092         * math/test-nan-overflow.c: New file.
10093         * math/test-nan-payload.c: Likewise.
10094         * math/Makefile (tests): Add test-nan-overflow and
10095         test-nan-payload.
10097 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10099         Consistency about byte vs character in string.texi
10100         * manual/string.texi (String and Array Utilities):
10101         Distinguish more carefully among bytes, multibyte characters,
10102         and wide characters.  Use "byte" when talking about C 'char',
10103         to distinguish it more clearly from multibyte characters.
10104         Say "wide character" or "multibyte character" instead of
10105         "character", when a wide or multibyte character is intended.
10106         Similarly for "multibyte string" versus "string".
10107         Define these terms more carefully.
10109 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
10111         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
10112         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
10113         Likewise.
10114         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10115         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10116         * sysdeps/sh/math_private.h: New file.
10117         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
10118         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
10119         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
10120         long double function name.
10121         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10122         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10123         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10124         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10125         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
10127         Remove __finitel, __isinfl, and __isnanl.
10128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10129         Likewise.
10130         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10132         Remove __finitel.
10133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10134         Likewise.
10135         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10137 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
10139         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
10140         installed libmvec_nonshared.a.
10142 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10144         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
10145         (sysdep_routines): Likewise.
10146         (sysdep-rtld-routines): Likewise.
10147         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
10148         [$(subdir) = nptl](tests-static): test-get_hwcap-static
10149         * sysdeps/powerpc/Versions: Added new
10150         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
10151         * sysdeps/powerpc/hwcapinfo.c: New file.
10152         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
10153         and parse hwcap, hwcap2 and platform number information.
10154         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
10155         to store HWCAP+HWCAP2 and platform number.
10156         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
10157         for HWCAP+HWCAP2 and platform number in the TCB.
10158         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
10159         the HWCAP, HWCAP2 and platform number in the TCB.
10160         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
10161         (TLS_INIT_TP): Included calls to add the hwcap and
10162         at_platform values in the TCB in TP initialization.
10163         (TLS_DEFINE_INIT_TP): Likewise.
10164         (THREAD_GET_HWCAP): New macro.
10165         (THREAD_SET_HWCAP): Likewise.
10166         (THREAD_GET_AT_PLATFORM): Likewise.
10167         (THREAD_SET_AT_PLATFORM): Likewise.
10168         * sysdeps/powerpc/powerpc32/dl-machine.h:
10169         (dl_platform_init): New function that calls
10170         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
10171         powerpc32.
10172         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
10173         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
10174         this functionality, static linking case.
10175         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
10176         linking case.
10177         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
10178         __parse_hwcap_and_convert_at_platform for the static linking case.
10179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
10180         Included the new __parse_hwcap_and_convert_at_platform symbol in the
10181         ABI list for GLIBC 2.23.
10182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
10183         Likewise.
10184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
10185         Likewise.
10187 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
10189         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
10190         * configure: Regenerate.
10191         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
10192         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
10194 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
10196         * iconvdata/ibm930.c: Add comment explaining encoding uses.
10197         * iconvdata/ibm933.c: Likewise.
10198         * iconvdata/ibm935.c: Likewise.
10199         * iconvdata/ibm937.c: Likewise.
10200         * iconvdata/ibm939.c: Likewise.
10202 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10204         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
10205         pthread_join.
10206         * nptl/tst-cancel21.c (tf): Likewise.
10208 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10210         [BZ #19313]
10211         * bits/typesizes.h (__CPU_MASK_TYPE): New.
10212         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10213         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10214         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
10215         Likewise.
10216         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
10217         Likewise.
10218         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
10219         Likewise.
10220         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
10221         Likewise.
10222         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
10223         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
10224         unsigned long int with __CPU_MASK_TYPE.
10226 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10228         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10230 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
10232         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
10233         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
10234         t512.x.
10235         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
10237 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
10239         [BZ #19214]
10240         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
10241         argument to return extended model.  Update family and model
10242         with extended family and model when family == 0x0f.
10243         (init_cpu_features): Updated.
10245 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10247         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
10248         signed off_t, so 32bit bigger than 2GiB values are fine actually.
10250         * sysdeps/mach/hurd/mmap64.c: New file.
10252 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
10254         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
10255         rights for its main user thread in NEWTASK.
10257 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
10259         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
10260         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
10262 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
10264         [BZ #14259]
10265         * Makeconfig: Rename localedir to complocaledir.
10266         Rename inst_localedir to inst_complocaledir.
10267         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
10268         * config.make.in: Use complocaledir and libc_cv_complocaledir.
10269         * configure.ac: Use libc_cv_complocaledir.
10270         * configure: Regenerate.
10271         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
10272         -DCOMPLOCALEDIR.
10273         * locale/findlocale.c: Use COMPLOCALEDIR.
10274         * locale/loadarchive.c: Likewise.
10275         * locale/programs/locale.c: Likewise.
10276         * locale/programs/localedef.c: Likewise.
10277         * locale/programs/locarchive.c: Likewise.
10278         * localedata/Makefile: Use inst_complocaledir.
10279         * sysdeps/gnu/configure: Regenerate.
10280         * sysdeps/hppa/configure: Regenerate.
10281         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
10282         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10284         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
10285         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
10286         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
10287         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
10289 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
10291         [BZ #19058]
10292         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
10293         AS_NEEDED.
10294         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
10295         workaround.
10296         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
10297         libmvec-static-only-routines): Added new file.
10298         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
10300 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10302         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
10303         of interrupted RPC instead of restoring it.
10305         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
10306         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
10307         libc_hidden_def.
10308         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
10309         into initialized data instead of common. Define rtld_hidden_data_def.
10310         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
10311         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
10312         libc_hidden_def.
10313         (if_freenameindex): Add libc_hidden_weak.
10314         (if_nameindex): Add libc_hidden_weak.
10315         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
10316         __open64.
10317         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
10318         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
10319         * sysdeps/mach/nanosleep.c: Include <time.h>
10320         (__nanosleep): Rename to __libc_nanosleep.
10321         (__nanosleep): Add weak_alias.
10322         (nanosleep): Update alias.
10324 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
10326         * stdlib/strtod_nan.c: New file.
10327         * stdlib/strtod_nan_double.h: Likewise.
10328         * stdlib/strtod_nan_float.h: Likewise.
10329         * stdlib/strtod_nan_main.c: Likewise.
10330         * stdlib/strtod_nan_narrow.h: Likewise.
10331         * stdlib/strtod_nan_wide.h: Likewise.
10332         * stdlib/strtof_nan.c: Likewise.
10333         * stdlib/strtold_nan.c: Likewise.
10334         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
10335         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
10336         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
10337         * wcsmbs/wcstod_nan.c: Likewise.
10338         * wcsmbs/wcstof_nan.c: Likewise.
10339         * wcsmbs/wcstold_nan.c: Likewise.
10340         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
10341         strtold_nan.
10342         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
10343         wcstof_nan.
10344         * include/stdlib.h (__strtof_nan): Declare and use
10345         libc_hidden_proto.
10346         (__strtod_nan): Likewise.
10347         (__strtold_nan): Likewise.
10348         (__wcstof_nan): Likewise.
10349         (__wcstod_nan): Likewise.
10350         (__wcstold_nan): Likewise.
10351         * include/wchar.h (____wcstoull_l_internal): Declare.
10352         * stdlib/strtod_l.c: Do not include <ieee754.h>.
10353         (____strtoull_l_internal): Remove declaration.
10354         (STRTOF_NAN): Define macro.
10355         (SET_MANTISSA): Remove macro.
10356         (STRTOULL): Likewise.
10357         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
10358         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
10359         (STRTOF_NAN): Define macro.
10360         (SET_MANTISSA): Remove macro.
10361         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
10362         (SET_MANTISSA): Remove macro.
10363         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
10364         macro.
10365         (SET_MANTISSA): Remove macro.
10366         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
10367         macro.
10368         (SET_MANTISSA): Remove macro.
10369         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
10370         (SET_MANTISSA): Remove macro.
10371         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
10372         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
10373         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
10375         [BZ #19266]
10376         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
10377         upper case and lower case letters inside NAN(), not using TOLOWER.
10378         * stdlib/tst-strtod-nan-locale-main.c: New file.
10379         * stdlib/tst-strtod-nan-locale.c: Likewise.
10380         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
10381         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
10382         Depend on $(gen-locales).
10383         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
10384         * wcsmbs/tst-wcstod-nan-locale.c: New file.
10385         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
10386         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
10387         Depend on $(gen-locales).
10388         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
10390 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
10392         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
10394         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
10396         __finitel, __isinfl, and __isnanl.
10397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10398         Likewise.
10399         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
10401         __finitel.
10402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10403         Likewise.
10404         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10406 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10408         * malloc/memusage.c (me): Remove redundant getenv call.
10410 2015-10-24  Florian Weimer  <fweimer@redhat.com>
10412         [BZ #19143]
10413         [BZ #19164]
10414         * nptl/check-cpuset.h: Remove.
10415         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
10416         Remove CPU set size check.
10417         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
10418         Likewise.
10419         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
10420         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
10421         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
10422         (__pthread_setaffinity_new): Remove CPU set size check.
10423         * sysdeps/unix/sysv/linux/sched_setaffinity.c
10424         (__kernel_cpumask_size): Remove.
10425         (__sched_setaffinity_new): Remove CPU set size check.
10426         * manual/threads.texi (Default Thread Attributes): Remove stale
10427         reference to check_cpuset_attr, determine_cpumask_size in comment.
10428         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
10429         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
10430         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
10431         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
10432         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
10433         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
10434         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
10435         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
10436         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
10437         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
10438         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
10439         skeleton test file.
10440         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
10441         tst-affinity-pid.
10443 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10445         * scripts/update-abilist.sh: New file.
10446         * Makefile (+subdir_targets): Add subdir_update-all-abi.
10447         * Makerules (update-all-abi-%, update-all-abi)
10448         (subdir_update-all-abi): New targets.
10449         * elf/Makefile (update-all-abi): New target.
10451 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10453         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
10454         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
10455         (__libc_lock_define_initialized): Use it.
10456         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
10457         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
10458         * malloc/malloc.c (main_arena): Likewise.
10459         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10460         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10462 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
10464         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10465         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
10466         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10467         (PTRACE_O_MASK): Update value.
10468         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
10469         New value in enum __ptrace_setoptions.
10470         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10471         (PTRACE_O_MASK): Update value.
10472         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10473         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10474         (PTRACE_O_MASK): Update value.
10475         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
10476         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10477         (PTRACE_O_MASK): Update value.
10478         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
10479         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10480         (PTRACE_O_MASK): Update value.
10481         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
10482         New value in enum __ptrace_setoptions.
10483         (PTRACE_O_MASK): Update value.
10484         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
10485         New value in enum __ptrace_setoptions.
10486         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10487         (PTRACE_O_MASK): Update value.
10489         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
10490         New macro.
10491         (PACKET_AUXDATA): Likewise.
10492         (PACKET_ORIGDEV): Likewise.
10493         (PACKET_VERSION): Likewise.
10494         (PACKET_HDRLEN): Likewise.
10495         (PACKET_RESERVE): Likewise.
10496         (PACKET_TX_RING): Likewise.
10497         (PACKET_LOSS): Likewise.
10498         (PACKET_VNET_HDR): Likewise.
10499         (PACKET_TX_TIMESTAMP): Likewise.
10500         (PACKET_TIMESTAMP): Likewise.
10501         (PACKET_FANOUT): Likewise.
10502         (PACKET_TX_HAS_OFF): Likewise.
10503         (PACKET_QDISC_BYPASS): Likewise.
10504         (PACKET_ROLLOVER_STATS): Likewise.
10505         (PACKET_FANOUT_DATA): Likewise.
10506         (PACKET_MR_UNICAST): Likewise.
10508         [BZ #19242]
10509         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
10510         (TOUPPER): Likewise.
10511         * stdlib/tst-strtol-locale-main.c: New file.
10512         * stdlib/tst-strtol-locale.c: Likewise.
10513         * stdlib/Makefile (tests): Add tst-strtol-locale.
10514         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
10515         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
10516         Depend on $(gen-locales).
10517         * wcsmbs/tst-wcstol-locale.c: New file.
10518         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
10519         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
10520         tr_TR.ISO-8859-9.
10521         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
10522         Depend on $(gen-locales).
10524 2015-11-20  Roland McGrath  <roland@hack.frob.com>
10526         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
10527         __glibc_likely instead of __builtin_expect.  After falling back to
10528         dyncode_create in a non-ET_DYN case, use the allocate_code_data
10529         system interface to register the code pages as occupied.
10531 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
10533         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10534         [!ARM_MATH_PRIVATE_H].
10535         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
10536         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10537         [!HPPA_MATH_PRIVATE_H].
10538         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
10539         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
10540         to [!I386_MATH_PRIVATE_H].
10541         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
10542         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
10543         Change guard to [!M68K_MATH_PRIVATE_H].
10544         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
10545         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
10546         guard to [!MICROBLAZE_MATH_PRIVATE_H].
10547         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
10548         macro.
10549         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10550         [!MIPS_MATH_PRIVATE_H].
10551         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
10552         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10553         [!NIO2_MATH_PRIVATE_H].
10554         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
10555         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10556         [!TILE_MATH_PRIVATE_H].
10557         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
10559         [BZ #15421]
10560         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
10561         initialize with 0 and define as weak alias of __signgam.
10562         * include/math.h [!_ISOMAC] (__signgam): Declare.
10563         * math/Makefile (libm-calls): Add w_lgamma_compat.
10564         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
10565         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
10566         test-signgam-ullong-init.
10567         (tests-static): Add test-signgam-uchar-static,
10568         test-signgam-uchar-init-static, test-signgam-uint-static,
10569         test-signgam-uint-init-static, test-signgam-ullong-static and
10570         test-signgam-ullong-init-static.
10571         (CFLAGS-test-signgam-uchar.c): New variable.
10572         (CFLAGS-test-signgam-uchar-init.c): Likewise.
10573         (CFLAGS-test-signgam-uchar-static.c): Likewise.
10574         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
10575         (CFLAGS-test-signgam-uint.c): Likewise.
10576         (CFLAGS-test-signgam-uint-init.c): Likewise.
10577         (CFLAGS-test-signgam-uint-static.c): Likewise.
10578         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
10579         (CFLAGS-test-signgam-ullong.c): Likewise.
10580         (CFLAGS-test-signgam-ullong-init.c): Likewise.
10581         (CFLAGS-test-signgam-ullong-static.c): Likewise.
10582         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
10583         * math/Versions (libm): Add GLIBC_2.23.
10584         * math/lgamma-compat.h: New file.
10585         * math/test-signgam-main.c: Likewise.
10586         * math/test-signgam-uchar-init-static.c: Likewise.
10587         * math/test-signgam-uchar-init.c: Likewise.
10588         * math/test-signgam-uchar-static.c: Likewise.
10589         * math/test-signgam-uchar.c: Likewise.
10590         * math/test-signgam-uint-init-static.c: Likewise.
10591         * math/test-signgam-uint-init.c: Likewise.
10592         * math/test-signgam-uint-static.c: Likewise.
10593         * math/test-signgam-uint.c: Likewise.
10594         * math/test-signgam-ullong-init-static.c: Likewise.
10595         * math/test-signgam-ullong-init.c: Likewise.
10596         * math/test-signgam-ullong-static.c: Likewise.
10597         * math/test-signgam-ullong.c: Likewise.
10598         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
10599         wrapper of w_lgamma_main.c.
10600         * math/w_lgamma_compat.c: New file.
10601         * math/w_lgamma_compatf.c: Likewise.
10602         * math/w_lgamma_compatl.c: Likewise.
10603         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
10604         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10605         defining compatibility symbols.
10606         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
10607         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
10608         wrapper of w_lgammaf_main.c.
10609         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
10610         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10611         defining compatibility symbols.
10612         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
10613         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
10614         wrapper of w_lgammal_main.c.
10615         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
10616         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10617         defining compatibility symbols.
10618         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
10619         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
10620         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
10621         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
10622         <lgamma-compat.h>.
10623         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
10624         (__ieee754_gamma): Define as alias.
10625         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
10626         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
10627         <lgamma-compat.h>.
10628         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
10629         (__ieee754_gammaf): Define as alias.
10630         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
10631         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
10632         <lgamma-compat.h>.
10633         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
10634         (__ieee754_gammal): Define as alias.
10635         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
10636         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
10637         <math/w_lgamma_compat.c>.
10638         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
10639         Define as alias of __lgamma_compat and use in defining lgammal.
10640         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
10641         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
10642         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
10643         (USE_AS_COMPAT): New macro.
10644         (LGAMMA_OLD_VER): Undefine and redefine.
10645         (lgammal): Do not define here.
10646         (gammal): Only define here if [GAMMA_ALIAS].
10647         * conform/linknamespace.pl (@whitelist): Remove signgam.
10648         * sysdeps/nacl/libm.abilist: Update.
10649         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10650         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10651         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10652         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10653         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10654         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10655         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10656         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10657         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10658         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10659         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10660         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10662         Likewise.
10663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10664         Likewise.
10665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10666         Likewise.
10667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10668         Likewise.
10669         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10670         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10671         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10672         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10673         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10675         Likewise.
10676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10677         Likewise.
10678         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10679         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10680         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10682 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10684         [BZ #16364]
10685         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
10686         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
10688 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10690         * sysdeps/s390/fpu/bits/mathinline.h:
10691         Use __asm__ [__volatile__] instead of asm [volatile].
10692         * sysdeps/s390/abort-instr.h: Likewise.
10693         * sysdeps/s390/atomic-machine.h: Likewise.
10694         * sysdeps/s390/bits/string.h: Likewise.
10695         * sysdeps/s390/dl-tls.h: Likewise.
10696         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10697         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10698         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10699         * sysdeps/s390/fpu/fesetround.c: Likewise.
10700         * sysdeps/s390/fpu/fpu_control.h: Likewise.
10701         * sysdeps/s390/fpu/s_fma.c: Likewise.
10702         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
10703         * sysdeps/s390/memusage.h: Likewise.
10704         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
10705         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
10706         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
10707         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
10708         * sysdeps/s390/nptl/tls.h: Likewise.
10709         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
10710         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10711         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10712         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10713         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10714         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10715         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
10716         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10717         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10718         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
10719         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10720         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10721         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10722         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
10723         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10724         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10725         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
10726         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10727         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
10728         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10729         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
10730         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10731         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
10733 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10734             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10736         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10737         Add lwarx hint, and use macro for acquire instruction.
10738         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10739         Likewise.
10740         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
10741         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
10742         update to use new atomic macros.
10744 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10746         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10747         (__lll_trylock_elision): Fix setting of adapt_count.
10748         * sysdeps/unix/sysv/linux/powerpc/htm.h
10749         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
10750         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
10751         (_ABORT_SYSCALL): Renumber, and clarify definition.
10752         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
10754 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10756         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
10757         after system headers to prevent MIN/MAX redefinition.  Define
10758         HAVE_ALLOCA to preserve builtin alloca usage.
10760 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10762         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
10763         static and don't set or restore rounding.
10764         (__cos)[IN_SINCOS]: Likewise.
10765         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
10766         (__sincos): Set and restore rounding mode.  Remove check for infinite
10767         or NaN input.
10769         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
10771         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
10772         as used.
10774 2015-11-16  Florian Weimer  <fweimer@redhat.com>
10776         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
10778 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10780         * config.make.in (have-glob-dat-reloc): New.
10781         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
10782         target supports GLOB_DAT relocaton. AC_SUBST.
10783         * configure: Regenerated.
10784         * elf/Makefile (tests): Add tst-prelink.
10785         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10786         (tst-prelink-ENV): New.
10787         ($(objpfx)tst-prelink-conflict.out): Likewise.
10788         ($(objpfx)tst-prelink-cmp.out): Likewise.
10789         * sysdeps/x86/tst-prelink.c: Moved to ...
10790         * elf/tst-prelink.c: Here.
10791         * sysdeps/x86/tst-prelink.exp: Moved to ...
10792         * elf/tst-prelink.exp: Here.
10793         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
10794         (tst-prelink-ENV): Removed.
10795         ($(objpfx)tst-prelink-conflict.out): Likewise.
10796         ($(objpfx)tst-prelink-cmp.out): Likewise.
10797         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
10799 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
10801         [BZ #14551]
10802         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
10803         (__mpn_construct_long_double): If high part overflows to infinity,
10804         set errno and recompute overflowed result of the correct sign.
10805         * sysdeps/ieee754/ldbl-128ibm/Makefile
10806         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
10807         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
10808         $(libm).
10809         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
10811 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
10813         [BZ #15479]
10814         [BZ #19238]
10815         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
10816         floating-point state after first operation on input.  Restore full
10817         state rather than just rounding mode.
10818         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10819         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10820         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10822         [BZ #19235]
10823         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
10824         add 0.5 to integer arguments.
10825         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
10826         Likewise.
10827         (.LC2): New object.
10829 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
10831         * scripts/pylintrc (reports): Set to no.
10833 2015-11-10  Roland McGrath  <roland@hack.frob.com>
10835         * elf/dl-load.c (open_verify): Take new argument FD.
10836         Skip __open call if passed FD is not -1.
10837         (_dl_map_object, open_path): Update callers.
10838         * elf/dl-sysdep-open.h: New file.
10839         * elf/dl-load.c: Include it.
10840         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
10841         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
10842         * sysdeps/nacl/dl-sysdep-open.h: New file.
10843         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
10844         from libc to rtld.
10846 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10848         [BZ #19228]
10849         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
10850         and restore full floating-point state.
10851         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10852         Likewise.
10853         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10854         Likewise.
10855         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10856         Likewise.
10857         * math/test-nearbyint-except-2.c: New file.
10858         * math/Makefile (tests): Add test-nearbyint-except-2.
10860 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
10862         [BZ #19178]
10863         * sysdeps/x86/Makefile (tests): Add tst-prelink.
10864         (tst-prelink-ENV): New.
10865         ($(objpfx)tst-prelink-conflict.out): Likewise.
10866         ($(objpfx)tst-prelink-cmp.out): Likewise.
10867         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10868         * sysdeps/x86/tst-prelink.c: New file.
10869         * sysdeps/x86/tst-prelink.exp: Likewise.
10871 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10873         * math/auto-libm-test-in: Add another test of pow.
10874         * math/auto-libm-test-out: Regenerated.
10875         * math/libm-test.inc (pow_test_data): Add another test.
10877 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10879         [BZ #19219]
10880         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
10881         weak_alias to nearbyintl.
10883 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10885         * sysdeps/aarch64/bits/string.h: New file.
10886         (_STRING_ARCH_unaligned): Define.
10888 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10890         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
10891         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10892         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10893         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
10894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
10896 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
10898         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
10899         for original name of the DSO.  Add it to the name list of the DSO
10900         if it is actually given.
10901         (_dl_map_object): Keep track of whether an audit module rewrote
10902         the file name.  If yes, pass the original name to
10903         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
10904         debugging is enabled, log the change of the file name.
10905         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
10906         _dl_map_object_from_fd.
10907         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
10908         * elf/tst-audit11.c: New file
10909         * elf/tst-auditmod11.c: New file.
10910         * elf/tst-audit11mod1.c: New file.
10911         * elf/tst-audit11mod2.c: New file.
10912         * elf/tst-audit11mod2.map: New file.
10913         * elf/tst-audit12.c: New file
10914         * elf/tst-auditmod12.c: New file.
10915         * elf/tst-audit12mod1.c: New file.
10916         * elf/tst-audit12mod2.c: New file.
10917         * elf/tst-audit12mod2.map: New file.
10918         * elf/tst-audit12mod3.c: New file.
10920 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10922         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
10923         Don't create weak aliases,
10924         because versioned symbols are created later.
10925         * sysdeps/s390/s390-32/setjmp.S
10926         (setjmp, _setjmp): Remove weak and rename to an unique name
10927         in SHARED case due to existing versioned symbols.
10928         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10929         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
10930         (getcontext): Create weak alias only in non SHARED case.
10931         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10933 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10935         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
10936         (__ASSUME_*_SYSCALL) Define new macros.
10937         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
10938         Remove socketcall syscalls.
10939         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
10940         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
10941         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
10942         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
10943         * sysdeps/unix/sysv/linux/send.c (__libc_send):
10944         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
10946 2015-11-09  Florian Weimer  <fweimer@redhat.com>
10948         [BZ #12926]
10949         Terminate process on invalid netlink response.
10950         * sysdeps/unix/sysv/linux/netlinkaccess.h
10951         (__netlink_assert_response): Declare.
10952         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
10953         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
10954         (sysdep_routines): Add netlink_assert_response.
10955         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
10956         __netlink_assert_response.
10957         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10958         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10959         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
10960         __netlink_assert_response.
10962 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10964         [BZ #19178]
10965         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
10966         (RTYPE_CLASS_PLT): Likewise.
10967         (RTYPE_CLASS_COPY): Likewise.
10968         (RTYPE_CLASS_TLS): Likewise.
10969         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
10970         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
10971         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
10972         DL_DEBUG_PRELINK.
10974 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
10976         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
10977         calls with argument -0.5.
10978         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
10980         * configure.ac (libc_cv_z_nodelete): Remove configure test.
10981         (libc_cv_z_nodlopen): Likewise.
10982         (libc_cv_z_initfirst): Likewise.
10983         * configure: Regenerated.
10985 2015-11-06  Florian Weimer  <fweimer@redhat.com>
10987         Simplify abilist format to be line-based.
10988         * scripts/abilist.awk: Collect descriptors in the descs variable.
10989         (emit): Write descs variable and sort it
10990         externally, with sort.
10991         * sysdeps/**/*.abilist: Convert to new format.
10993 2015-11-06  Mark Wielaard  <mjw@redhat.com>
10995         [BZ #11460]
10996         * io/Makefile (routines): Add fts64.
10997         (tests): Add tst-fts and tst-fts-lfs.
10998         (CFLAGS-fts64.c): New.
10999         * io/Versions (GLIBC_2.23): New.
11000         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
11001         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
11002         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
11003         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
11004         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
11005         (FTSENT64): Likewise.
11006         (fts64_children): Likewise.
11007         (fts64_close): Likewise.
11008         (fts64_open): Likewise.
11009         (fts64_read): Likewise.
11010         (fts64_set): Likewise.
11011         * io/fts64.c: New file.
11012         * io/tst-fts.c: New test.
11013         * io/tst-fts-lfs.c: Likewise.
11014         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
11015         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
11016         fts64_set.
11017         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11018         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11019         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11020         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11021         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11022         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11023         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11024         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11025         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11026         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11027         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11028         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11029         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11031         Likewise.
11032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11033         Likewise.
11034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11036         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11037         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11038         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11039         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11040         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11043         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11044         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11045         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11046         * sysdeps/wordsize-64/fts.c: New file.
11047         * sysdeps/wordsize-64/fts64.c: Likewise.
11048         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
11049         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
11050         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
11051         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
11053 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11055         * math/libm-test.inc (NON_FINITE): New macro.
11056         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
11057         * math/gen-libm-test.pl (show_exceptions): Add argument
11058         $non_finite.
11059         (parse_args): Update call to show_exceptions.
11060         * math/test-math-finite.h: New file.
11061         * math/test-math-no-finite.h: Likewise.
11062         * math/test-double-finite.c: Likewise.
11063         * math/test-float-finite.c: Likewise.
11064         * math/test-ldouble-finite.c: Likewise.
11065         * math/test-double.c: Include "test-math-no-finite.h".
11066         * math/test-float.c: Include "test-math-no-finite.h".
11067         * math/test-ldouble.c: Include "test-math-no-finite.h".
11068         * math/test-math-inline.h (TEST_FINITE): New macro.
11069         * math/test-math-vector.h (TEST_FINITE): Likewise.
11070         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
11071         (libm-tests): Add test-float-finite and test-double-finite.
11072         ($(objpfx)test-float-finite.o): New dependency on
11073         $(objpfx)libm-test.stmp.
11074         ($(objpfx)test-double-finite.o): Likewise.
11075         ($(objpfx)test-ldouble-finite.o): Likewise.
11076         (libm-test-no-inline-cflags): New variable.
11077         (libm-test-finite-cflags): Likewise.
11078         (CFLAGS-test-float-finite.c): Likewise.
11079         (CFLAGS-test-double-finite.c): Likewise.
11080         (CFLAGS-test-ldouble-finite.c): Likewise.
11081         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
11082         (CFLAGS-test-double.c): Likewise.
11083         (CFLAGS-test-ldouble.c): Likewise.
11085 2015-11-05  Roland McGrath  <roland@hack.frob.com>
11087         * io/fcntl.c (__fcntl): Add ... to prototype.
11088         * misc/ioctl.c (__ioctl): Likewise.
11089         * misc/syscall.c (syscall): Likewise.
11091 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11093         * scripts/list-fixed-bugs.py: New file.
11095         [BZ #19213]
11096         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
11097         returned for argument 1.
11098         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
11099         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
11100         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
11101         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
11102         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
11103         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
11105         [BZ #19211]
11106         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
11107         __USE_XOPEN], not if [!__USE_ISOC99].
11108         (lgammaf): Likewise.
11109         (lgammal): Likewise.
11110         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
11111         (gammaf): Likewise.
11112         (gammal): Likewise.
11113         * math/test-signgam-finite-c11.c: New file.
11114         * math/test-signgam-finite-c99.c: Likewise.
11115         * math/test-signgam-finite.c: Likewise.
11116         * math/Makefile (tests): Add test-signgam-finite,
11117         test-signgam-finite-c99 and test-signgam-finite-c11.
11118         (CFLAGS-test-signgam-finite.c): New variable.
11119         (CFLAGS-test-signgam-finite-c99.c): Likewise.
11120         (CFLAGS-test-signgam-finite-c11.c): Likewise.
11122         [BZ #19212]
11123         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
11124         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
11125         500].
11126         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
11127         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
11128         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
11129         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
11130         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
11131         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
11132         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
11133         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
11134         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
11135         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
11137         [BZ #19209]
11138         * math/bits/math-finite.h (ldexp): Remove declaration.
11139         (ldexpf): Likewise.
11140         (ldexpl): Likewise.
11142         [BZ #19205]
11143         * math/bits/math-finite.h (acosf): Condition declaration on
11144         [__USE_ISOC99].
11145         (acosl): Likewise.
11146         (acoshf): Likewise.
11147         (acoshl): Likewise.
11148         (asinf): Likewise.
11149         (asinl): Likewise.
11150         (atan2f): Likewise.
11151         (atan2l): Likewise.
11152         (atanhf): Likewise.
11153         (atanhl): Likewise.
11154         (coshf): Likewise.
11155         (coshl): Likewise.
11156         (expf): Likewise.
11157         (expl): Likewise.
11158         (fmodf): Likewise.
11159         (fmodl): Likewise.
11160         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
11161         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
11162         (j0l): Likewise.
11163         (y0f): Likewise.
11164         (y0l): Likewise.
11165         (j1f): Likewise.
11166         (j1l): Likewise.
11167         (y1f): Likewise.
11168         (y1l): Likewise.
11169         (jnf): Likewise.
11170         (jnl): Likewise.
11171         (ynf): Likewise.
11172         (ynl): Likewise.
11173         (lgammaf_r): Condition declaration on [__USE_ISOC99].
11174         (lgammal_r): Likewise.
11175         (__lgamma_r_finite): New declaration.
11176         (__lgammaf_r_finite): Likewise.
11177         (__lgammal_r_finite): Likewise.
11178         (lgamma): Use __lgamma_r_finite.
11179         (lgammaf): Condition definition on [__USE_ISOC99].  Use
11180         __lgammaf_r_finite.
11181         (lgammal): Condition definition on [__USE_ISOC99].  Use
11182         __lgammal_r_finite.
11183         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
11184         __lgamma_r_finite.
11185         (gammaf): Condition definition on [__USE_ISOC99].  Use
11186         __lgammaf_r_finite.
11187         (gammal): Condition definition on [__USE_ISOC99].  Use
11188         __lgammal_r_finite.
11189         (logf): Condition declaration on [__USE_ISOC99].
11190         (logl): Likewise.
11191         (log10f): Likewise.
11192         (log10l): Likewise.
11193         (ldexpf): Likewise.
11194         (ldexpl): Likewise.
11195         (powf): Likewise.
11196         (powl): Likewise.
11197         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
11198         __USE_ISOC99].
11199         (remainderf): Condition declaration on [__USE_ISOC99].
11200         (remainderl): Likewise.
11201         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
11202         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
11203         (scalbl): Likewise.
11204         (sinhf): Condition declaration on [__USE_ISOC99].
11205         (sinhl): Likewise.
11206         (sqrtf): Likewise.
11207         (sqrtl): Likewise.
11209 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11211         * sysdeps/arm/atomic-machine.h
11212         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11213         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11214         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
11215         Remove conditional code.
11216         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11217         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11218         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
11219         Change conditional to [__ASSEMBLER__].
11220         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11221         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
11222         [!__ASSEMBLER__].
11223         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
11224         code.
11225         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
11226         conditional macro definitions.
11227         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
11228         (__arch_compare_and_exchange_val_16_acq): Likewise.
11229         (__arch_compare_and_exchange_val_32_acq): Likewise.
11230         (atomic_exchange_and_add): Likewise.
11231         (atomic_add): Likewise.
11232         (atomic_add_negative): Likewise.
11233         (atomic_add_zero): Likewise.
11234         (atomic_bit_set): Likewise.
11235         (atomic_bit_test_set): Likewise.
11236         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
11237         code unconditional.
11238         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11240         * math/test-math-errno.h: New file.
11241         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
11242         empty.
11243         (TEST_ERRNO): New macro.
11244         (TEST_EXCEPTIONS): Likewise.
11245         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
11246         (TEST_EXCEPTIONS): Likewise.
11247         * math/test-math-vector.h (TEST_ERRNO): Likewise.
11248         * math/test-double.c: Include "test-math-errno.h".
11249         * math/test-float.c: Likewise.
11250         * math/test-ldouble.c: Likewise.
11251         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
11252         code unconditional.
11253         (test_exceptions): Only run code if TEST_EXCEPTIONS.
11254         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
11255         unconditional.
11256         (test_errno): Only run code if TEST_ERRNO.
11257         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
11259 2015-11-04  Florian Weimer  <fweimer@redhat.com>
11261         * nptl/tst-once5.cc: Remove attribution.
11263 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11265         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
11266         sqrt, tan, tanh, y0, y1 and yn.
11267         * math/auto-libm-test-out: Regenerated.
11268         * math/libm-test.inc (scalb_test_data): Add more tests.
11269         (scalbn_test_data): Likewise.
11270         (scalbln_test_data): Likewise.
11271         (signbit_test_data): Likewise.
11272         (sin_test_data): Likewise.
11273         (sincos_test_data): Likewise.
11274         (sinh_test_data): Likewise.
11275         (sqrt_test_data): Likewise.
11276         (tan_test_data): Likewise.
11277         (tanh_test_data): Likewise.
11278         (tgamma_test_data): Likewise.
11279         (y0_test_data): Likewise.
11280         (y1_test_data): Likewise.
11281         (yn_test_data): Likewise.
11282         (significand_test_data): Likewise.
11283         * sysdeps/i386/fpu/libm-test-ulps: Update.
11285 2015-11-03  David Kastrup  <dak@gnu.org>
11287         [BZ #18604]
11288         * assert/assert.h (assert): Don't macro-expand failed assertion
11289         expression in error message.
11290         * malloc/malloc.c (assert): Likewise.
11292 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
11294         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
11295         test.
11296         * configure: Regenerated.
11298 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
11300         * math/libm-test.inc (modf_test_data): Add more tests.
11301         (nearbyint_test_data): Likewise.
11302         (nextafter_test_data): Likewise.
11303         (nexttoward_test_data): Likewise.
11304         (pow_test_data): Likewise.
11305         (remainder_test_data): Likewise.
11306         (remquo_test_data): Likewise.
11307         (rint_test_data): Likewise.
11309         [BZ #19201]
11310         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11311         Check for zero remainder in case of large exponents and ensure
11312         correct sign of result in that case.
11313         * math/libm-test.inc (remainder_test_data): Add more tests.
11315         [BZ #6799]
11316         * math/s_nextafter.c: Include <errno.h>.
11317         (__nextafter): Set errno on overflow and underflow.
11318         * math/s_nexttowardf.c: Include <errno.h>.
11319         (__nexttowardf): Set errno on overflow and underflow.
11320         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
11321         (__nextafterl): Set errno on overflow and underflow.
11322         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
11323         (__nexttoward): Set errno on overflow and underflow.
11324         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
11325         (__nexttowardf): Set errno on overflow and underflow.
11326         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
11327         (__nextafterf): Set errno on overflow and underflow.
11328         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
11329         (__nextafterl): Set errno on overflow and underflow.
11330         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
11331         (__nexttoward): Set errno on overflow and underflow.
11332         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
11333         (__nexttowardf): Set errno on overflow and underflow.
11334         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
11335         (__nextafterl): Set errno on overflow and underflow.
11336         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
11337         (__nexttoward): Set errno on overflow and underflow.
11338         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
11339         (__nexttowardf): Set errno on overflow and underflow.
11340         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
11341         (__nexttoward): Set errno on overflow and underflow.
11342         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
11343         (__nexttowardf): Set errno on overflow and underflow.
11344         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
11345         (__nldbl_nexttowardf): Set errno on overflow and underflow.
11346         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
11347         (__nextafterl): Set errno on overflow and underflow.
11348         * math/libm-test.inc (nextafter_test_data): Do not allow errno
11349         setting to be missing on overflow.  Add more tests.
11350         (nexttoward_test_data): Likewise.
11352         * configure.ac (libc_cv_initfini_array): Remove configure test.
11353         * configure: Regenerated.
11355 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
11357         [BZ #19189]
11358         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
11359         non-finite argument handle arguments with negative sign.
11361         * math/libm-test.inc (j0_test_data): Do not test sign of zero
11362         result from infinite argument.
11363         (j1_test_data): Likewise.
11364         (jn_test_data): Likewise.
11365         (y0_test_data): Likewise.
11366         (y1_test_data): Likewise.
11367         (yn_test_data): Likewise.
11369         [BZ #16171]
11370         * math/w_remainder.c (drem): Define as weak alias of __remainder.
11371         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
11372         * math/w_remainderf.c (dremf): Define as weak alias of
11373         __remainderf.
11374         * math/w_remainderl.c (dreml): Define as weak alias of
11375         __remainderl.
11376         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
11377         __remainder.
11378         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
11379         __remainderf.
11380         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
11381         __remainderl.
11382         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
11383         weak alias of remainderl.
11384         * sysdeps/ieee754/ldbl-opt/w_remainder.c
11385         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
11386         alias of __remainder.
11387         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
11388         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
11389         strong alias of __remainderl.
11390         (dreml): Use long_double_symbol.
11391         * math/Makefile (libm-calls): Remove w_drem.
11392         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
11393         (CFLAGS-nldbl-drem.c): Remove variable.
11394         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
11395         * math/w_drem.c: Remove file.
11396         * math/w_dremf.c: Likewise.
11397         * math/w_dreml.c: Likewise.
11398         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
11399         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
11400         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
11402         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
11403         * sysdeps/i386/configure: Regenerated.
11404         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
11405         * sysdeps/x86_64/configure: Regenerated.
11407         * configure.ac (libc_cv_asm_protected_directive): Remove configure
11408         test.
11409         (libc_cv_visibility_attribute): Likewise.
11410         (libc_cv_protected_data): Test unconditionally.
11411         (libc_cv_broken_visibility_attribute): Remove configure test.
11412         (libc_cv_have_sdata_section): Test unconditionally.
11413         * configure: Regenerated.
11415         * include/libc-internal.h (libc_max_align_t): Remove typedef.
11416         * include/scratch_buffer.h: Include <stddef.h> instead of
11417         <libc-internal.h>.
11418         (struct scratch_buffer): Use max_align_t instead of
11419         libc_max_align_t.
11421 2015-10-29  Florian Weimer  <fweimer@redhat.com>
11423         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
11424         instead of extend_alloca.  Change control flow to avoid a goto.
11425         Remove assert which is trivially always true.
11427 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11429         [BZ #16068]
11430         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
11431         (FE_ALL_EXCEPT_X86): New macro.
11432         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11433         FE_ALL_EXCEPT.  Ensure precision control is included in
11434         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11435         handle "denormal operand exception" and clear FZ and DAZ bits.
11436         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
11437         (FE_ALL_EXCEPT_X86): New macro.
11438         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11439         FE_ALL_EXCEPT.  Ensure precision control is included in
11440         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11441         handle "denormal operand exception" and clear FZ and DAZ bits.
11442         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
11443         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
11444         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11445         test-fenv-x87 and test-fenv-sse-2.
11446         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
11448         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
11449         * math/test-double.h (BUILD_COMPLEX): New macro.
11450         * math/test-float.h (BUILD_COMPLEX): Likewise.
11451         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
11453         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
11454         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
11455         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
11456         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
11457         instead of DBL_DENORM_MIN in comment.
11458         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
11459         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11460         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
11461         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
11462         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
11463         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11465 2015-10-28  Florian Weimer  <fweimer@redhat.com>
11467         [BZ# 19048]
11468         * malloc/malloc.c (struct malloc_state): Update comment.  Add
11469         attached_threads member.
11470         (main_arena): Initialize attached_threads.
11471         * malloc/arena.c (list_lock): Update comment.
11472         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
11473         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
11474         (deattach_arena): New function.
11475         (_int_new_arena): Initialize arena reference count and deattach
11476         replaced arena.
11477         (get_free_list, reused_arena): Update reference count and deattach
11478         replaced arena.
11479         (arena_thread_freeres): Update arena reference count and only put
11480         unreferenced arenas on the free list.
11482 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11484         [BZ #19181]
11485         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
11486         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
11487         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
11488         * math/test-fenv-clear-main.c: New file.
11489         * math/test-fenv-clear.c: Likewise.
11490         * math/Makefile (tests): Add test-fenv-clear.
11491         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
11492         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11493         test-fenv-clear-sse.
11494         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
11496         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
11497         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
11498         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
11500 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11502         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
11503         static libc.
11505 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11507         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
11508         test.
11509         * sysdeps/i386/configure: Regenerated.
11510         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
11511         test.
11512         * sysdeps/x86_64/configure: Regenerated.
11513         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
11514         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11515         memset-avx2 unconditionally instead of conditionally on
11516         [$(config-cflags-avx2) = yes].
11517         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11518         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
11519         unconditional.
11520         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
11521         * sysdeps/x86_64/multiarch/memset_chk.S
11522         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
11523         to [IS_IN (libc) && SHARED].
11525 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11527         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
11528         configure test.
11529         * sysdeps/arm/configure: Regenerated.
11530         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
11531         Define variable if not already defined.
11533         [BZ #17404]
11534         * sysdeps/mips/atomic-machine.h
11535         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
11536         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
11537         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11539         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
11540         unconditional.
11541         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
11542         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11543         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
11544         unconditional.
11545         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11546         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
11547         unconditional.
11548         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11549         * stdlib/setenv.c
11550         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
11551         code unconditional.
11552         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
11553         Remove conditional code.
11554         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
11555         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
11556         unconditional.
11557         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11558         code.
11559         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
11560         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
11561         unconditional.
11562         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11563         code.
11564         * sysdeps/ieee754/ldbl-128/k_tanl.c
11565         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11566         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11567         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
11568         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11569         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11570         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
11571         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
11572         unconditional.
11573         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11574         code.
11575         * sysdeps/ieee754/ldbl-96/k_tanl.c
11576         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11577         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11579         * nptl/tst-initializers1-c11.c: New file.
11580         * nptl/tst-initializers1-gnu11.c: Likewise.
11581         * nptl/Makefile (tests): Add these new tests.
11582         (CFLAGS-tst-initializers1-c11.c): New variable.
11583         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
11585         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
11586         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
11587         instead of -std=gnu99.
11588         * configure.ac (systemtap): Test with -std=gnu11 instead of
11589         -std=gnu99.
11590         * configure: Regenerated.
11591         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
11592         in compilation command in comment.
11594         * sysdeps/nptl/configure.ac: Remove file.
11595         * sysdeps/nptl/configure: Remove generated file.
11596         * configure.ac (libc_cv_forced_unwind): Do not substitute.
11597         * configure: Regenerated.
11598         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
11599         * config.make.in (have-forced-unwind): Remove variable.
11600         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11601         unconditional.
11602         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
11603         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
11604         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
11605         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
11606         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11607         unconditional.
11609 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11611         [BZ #19174]
11612         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
11613         .skip_lock_out_of_tbegin_retries.
11614         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11615         (__lll_lock_elision): Likewise, and respect a value of
11616         try_tbegin <= 0.
11618 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11620         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
11621         statement.
11623 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11625         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
11626         variable.
11627         (test-xfail-ISO11/stdalign.h/conform): Likewise.
11628         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11630         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
11631         of -std=c1x -D_ISOC11_SOURCE.
11633         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
11634         * configure: Regenerated.
11635         * manual/install.texi (Tools for Compilation): Document
11636         requirement for GCC 4.7 or later.
11637         * INSTALL: Regenerated.
11639 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
11641         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
11642         on CNT to a conditional jump to 'puntdata'.
11644 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11646         * configure.ac (libc_cv_gcc___thread): Remove configure test.
11647         (libc_cv_gcc_tls_model_attr): Likewise.
11648         * configure: Regenerated.
11650         * configure.ac (libc_cv_need_minus_P): Remove configure test.
11651         * configure: Regenerated.
11652         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
11654 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
11656         * configure.ac (old_glibc_headers): Remove configure test.
11657         * configure: Regenerated.
11658         * config.make.in (old-glibc-headers): Remove variable.
11659         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
11660         (install): Remove dependency on remove-old-headers.
11661         (headers2_0): Remove variable.
11662         (remove-old-headers): Remove rule.
11664         * configure.ac (libc_cv_dot_text): Remove configure test.
11665         (libc_cv_asm_set_directive): Use .text instead of
11666         ${libc_cv_dot_text} in configure test.
11667         * configure: Regenerated.
11669 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11671         [BZ #19168]
11672         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11674 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11676         * configure.ac (CXX): Clear the variable if the C++ toolchain does
11677         not support static linking.
11678         * configure: Regenerate.
11680 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
11682         * math/libm-test.inc (check_float_internal): Do not special-case
11683         errors up to 0.5 ulp.
11685         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11686         log2.
11687         * math/auto-libm-test-out: Regenerated.
11688         * math/libm-test.inc (MAX_EXP): New macro.
11689         (ilogb_test_data): Add more tests.
11690         (isfinite_test_data): Likewise.
11691         (isgreater_test_data): Likewise.
11692         (isgreaterequal_test_data): Likewise.
11693         (isinf_test_data): Likewise.
11694         (isless_test_data): Likewise.
11695         (islessequal_test_data): Likewise.
11696         (islessgreater_test_data): Likewise.
11697         (isnan_test_data): Likewise.
11698         (isnormal_test_data): Likewise.
11699         (issignaling_test_data): Likewise.
11700         (isunordered_test_data): Likewise.
11701         (j0_test_data): Likewise.
11702         (j1_test_data): Likewise.
11703         (jn_test_data): Likewise.
11704         (lgamma_test_data): Likewise.
11705         (log_test_data): Likewise.
11706         (log10_test_data): Likewise.
11707         (log1p_test_data): Likewise.
11708         (log2_test_data): Likewise.
11709         (logb_test_data): Likewise.
11710         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11712         [BZ #18611]
11713         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
11714         avoid excess range and precision on underflow.
11715         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11716         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11717         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11718         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
11719         underflow.
11720         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11721         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11722         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11723         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11724         * math/auto-libm-test-in: Do not allow missing errno setting for
11725         tests of j1 and jn.
11726         * math/auto-libm-test-out: Regenerated.
11728 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
11730         [BZ #15491]
11731         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
11732         floating-point environment instead of clearing all exceptions.
11733         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11734         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
11735         merging in "invalid" exceptions from frndint.
11736         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11737         * math/test-nearbyint-except.c: New file.
11738         * math/Makefile (tests): Add test-nearbyint-except.
11740 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
11742         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
11744         * sysdeps/tile/libm-test-ulps: Regenerated.
11746 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
11749         (__NR_sync_file_range2): Assume it is always defined.
11750         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11751         (__NR_sync_file_range): Assume it is always defined.
11753 2015-10-22  Andreas Schwab  <schwab@suse.de>
11755         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11756         INTERNAL_SYSCALL_ERRNO.
11757         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11758         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11759         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11760         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11761         Likewise.
11762         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11764 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11766         * io/tst-fcntl.c (fd): New static variable.
11767         (do_prepare): Open temporary file here....
11768         (do_test): ...not here.
11770         * io/ftwtest-sh: Also trap on exit to remove temporary files.
11772 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11774         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
11775         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11776         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11777         Moved before "#ifdef __ASSEMBLER__".
11779 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11781         [BZ #19156]
11782         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
11783         arguments very close to 0.
11785 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
11787         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
11788         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
11790 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11792         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11793         New.  Defined for GCC 5 and above when not compiling for
11794         profiling.
11795         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11797         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11798         Renamed to ...
11799         (CFLAGS-epoll_pwait.o): This.
11800         (CFLAGS-mmap.c): Renamed to ...
11801         (CFLAGS-mmap.o): This.
11802         (CFLAGS-mmap64.c): Renamed to ...
11803         (CFLAGS-mmap64.o): This.
11804         (CFLAGS-epoll_pwait.os): New.
11805         (CFLAGS-mmap.os): Likewise.
11806         (CFLAGS-mmap64.os): Likewise.
11807         (CFLAGS-semtimedop.os): Likewise.
11808         (CFLAGS-semtimedop.c): Renamed to ...
11809         (CFLAGS-semtimedop.o): This.
11811 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11813         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
11814         warning message.
11816 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11818         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
11819         * Makefile ($(objpfx)c++-types-check.out): Filter out
11820         $(+gccwarn-c) instead of -Wstrict-prototypes.
11822         * io/fts.c (fts_open): Convert to prototype-style function
11823         definition.
11824         * malloc/mcheck.c (mcheck): Likewise.
11825         (mcheck_pedantic): Likewise.
11826         * posix/regexec.c (re_search_2_stub): Likewise.  Use
11827         internal_function.
11828         (re_search_internal): Likewise.
11829         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
11830         prototype-style function definition.
11831         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11832         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
11833         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
11834         (xdr_utmpptr): Likewise.
11835         (xdr_utmparr): Likewise.
11836         (xdr_utmpidle): Likewise.
11837         (xdr_utmpidleptr): Likewise.
11838         (xdr_utmpidlearr): Likewise.
11840         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
11841         log, log10 and log2.
11842         * math/auto-libm-test-out: Regenerated.
11843         * math/libm-test.inc (fmod_test_data): Add more tests.
11844         (fpclassify_test_data): Likewise.
11845         (frexp_test_data): Likewise.
11846         (hypot_test_data): Likewise.
11847         (ilogb_test_data): Likewise.
11849 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
11851         * debug/fortify_fail.c (__fortify_fail): Convert to
11852         prototype-style function definition.  Use internal_function.
11853         * libio/genops.c (save_for_backup): Convert to prototype-style
11854         function definition.
11855         * libio/wgenops.c (save_for_wbackup): Likewise.
11856         * login/grantpt.c (grantpt): Likewise.
11857         * login/ptsname.c (ptsname): Likewise.
11858         (__ptsname_r): Likewise.
11859         * login/unlockpt.c (unlockpt): Likewise.
11860         * mach/msgserver.c (__mach_msg_server): Likewise.
11861         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
11862         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
11863         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
11864         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
11865         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
11866         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
11867         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
11868         Likewise.
11869         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
11870         internal_function.
11871         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
11872         prototype-style function definition.
11873         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
11874         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
11875         (__pthread_create_2_0): Likewise.
11876         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
11877         * nptl/register-atfork.c (__register_atfork): Likewise.
11878         * posix/glob.c (glob): Likewise.
11879         * posix/regcomp.c (re_comp): Likewise.
11880         * posix/regexec.c (re_exec): Likewise.
11881         * stdlib/add_n.c [__STDC__]: Make code unconditional.
11882         [!__STDC__]: Remove conditional code.
11883         * stdlib/cmp.c [__STDC__]: Make code unconditional.
11884         [!__STDC__]: Remove conditional code.
11885         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
11886         [!__STDC__]: Remove conditional code.
11887         * stdlib/divrem.c [__STDC__]: Make code unconditional.
11888         [!__STDC__]: Remove conditional code.
11889         * stdlib/lshift.c [__STDC__]: Make code unconditional.
11890         [!__STDC__]: Remove conditional code.
11891         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
11892         [!__STDC__]: Remove conditional code.
11893         * stdlib/mul.c [__STDC__]: Make code unconditional.
11894         [!__STDC__]: Remove conditional code.
11895         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
11896         [!__STDC__]: Remove conditional code.
11897         * stdlib/rshift.c [__STDC__]: Make code unconditional.
11898         [!__STDC__]: Remove conditional code.
11899         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
11900         function definition.
11901         (STRTOF): Likewise.
11902         * stdlib/strtod_l.c (__STRTOF): Likewise.
11903         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
11904         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
11905         (__strtol_l): Likewise.
11906         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
11907         [!__STDC__]: Remove conditional code.
11908         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
11909         definition.
11910         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11911         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11912         type.
11913         (__strcasecmp): Convert to prototype-style function definition.
11914         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
11915         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11916         type.
11917         (__strncasecmp): Convert to prototype-style function definition.
11918         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
11919         * sunrpc/xdr.c (xdr_union): Likewise.
11920         * sunrpc/xdr_array.c (xdr_array): Likewise.
11921         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
11922         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
11923         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
11924         Likewise.
11925         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
11926         Likewise.
11927         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
11928         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11929         Likewise.
11930         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
11931         (LOCALE_PARAM_PROTO): Likewise.
11932         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
11933         argument type.
11934         (ut_argument_spec): Remove macro.
11935         (ut_argument_spec_iso): Rename to ut_argument_spec.
11936         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
11937         prototype-style function definition.
11938         (memcpy_uppcase): Likewise.
11939         (__strftime_internal): Likewise.
11940         (my_strftime): Likewise.
11941         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
11942         (LOCALE_PARAM_DECL): Likewise.
11943         [_LIBC] (LOCALE_PARAM): Include argument type.
11944         (__strptime_internal): Convert to prototype-style function
11945         definition.
11946         (strptime): Likewise.
11947         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11948         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11949         type.
11950         (__wcscasecmp): Convert to prototype-style function definition.
11951         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
11952         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11953         type.
11954         (__wcsncasecmp): Convert to prototype-style function definition.
11956         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
11957         function definition.
11958         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11959         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11960         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
11961         * elf/dl-minimal.c (_itoa): Likewise.
11962         * hurd/hurdmalloc.c (malloc): Likewise.
11963         (free): Likewise.
11964         (realloc): Likewise.
11965         * inet/inet6_option.c (inet6_option_space): Likewise.
11966         (inet6_option_init): Likewise.
11967         (inet6_option_append): Likewise.
11968         (inet6_option_alloc): Likewise.
11969         (inet6_option_next): Likewise.
11970         (inet6_option_find): Likewise.
11971         * io/ftw.c (FTW_NAME): Likewise.
11972         (NFTW_NAME): Likewise.
11973         (NFTW_NEW_NAME): Likewise.
11974         (NFTW_OLD_NAME): Likewise.
11975         * libio/iofwide.c (_IO_fwide): Likewise.
11976         * libio/strops.c (_IO_str_init_static_internal): Likewise.
11977         (_IO_str_init_static): Likewise.
11978         (_IO_str_init_readonly): Likewise.
11979         (_IO_str_overflow): Likewise.
11980         (_IO_str_underflow): Likewise.
11981         (_IO_str_count): Likewise.
11982         (_IO_str_seekoff): Likewise.
11983         (_IO_str_pbackfail): Likewise.
11984         (_IO_str_finish): Likewise.
11985         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
11986         (_IO_wstr_overflow): Likewise.
11987         (_IO_wstr_underflow): Likewise.
11988         (_IO_wstr_count): Likewise.
11989         (_IO_wstr_seekoff): Likewise.
11990         (_IO_wstr_pbackfail): Likewise.
11991         (_IO_wstr_finish): Likewise.
11992         * locale/programs/localedef.c (normalize_codeset): Likewise.
11993         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11994         (add_locales_to_archive): Likewise.
11995         (delete_locales_from_archive): Likewise.
11996         * malloc/malloc.c (__libc_mallinfo): Likewise.
11997         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
11998         * misc/tsearch.c (__tfind): Likewise.
11999         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
12000         * nptl/pthread_attr_getdetachstate.c
12001         (__pthread_attr_getdetachstate): Likewise.
12002         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
12003         Likewise.
12004         * nptl/pthread_attr_getinheritsched.c
12005         (__pthread_attr_getinheritsched): Likewise.
12006         * nptl/pthread_attr_getschedparam.c
12007         (__pthread_attr_getschedparam): Likewise.
12008         * nptl/pthread_attr_getschedpolicy.c
12009         (__pthread_attr_getschedpolicy): Likewise.
12010         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
12011         Likewise.
12012         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
12013         Likewise.
12014         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
12015         Likewise.
12016         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
12017         Likewise.
12018         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
12019         (__pthread_attr_init_2_0): Likewise.
12020         * nptl/pthread_attr_setdetachstate.c
12021         (__pthread_attr_setdetachstate): Likewise.
12022         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
12023         Likewise.
12024         * nptl/pthread_attr_setinheritsched.c
12025         (__pthread_attr_setinheritsched): Likewise.
12026         * nptl/pthread_attr_setschedparam.c
12027         (__pthread_attr_setschedparam): Likewise.
12028         * nptl/pthread_attr_setschedpolicy.c
12029         (__pthread_attr_setschedpolicy): Likewise.
12030         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
12031         Likewise.
12032         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
12033         Likewise.
12034         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
12035         Likewise.
12036         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
12037         Likewise.
12038         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
12039         Likewise.
12040         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
12041         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
12042         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
12043         use internal_function.
12044         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
12045         prototype-style function definition.
12046         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
12047         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
12048         internal_function.
12049         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
12050         Convert to prototype-style function definition.
12051         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12052         Likewise.
12053         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
12054         Likewise.
12055         (__pthread_mutex_unlock): Likewise.
12056         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
12057         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
12058         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
12059         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
12060         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
12061         * nss/makedb.c (process_input): Likewise.
12062         * posix/fnmatch.c (__strchrnul): Likewise.
12063         (__wcschrnul): Likewise.
12064         (fnmatch): Likewise.
12065         * posix/fnmatch_loop.c (FCT): Likewise.
12066         * posix/glob.c (globfree): Likewise.
12067         (__glob_pattern_type): Likewise.
12068         (__glob_pattern_p): Likewise.
12069         * posix/regcomp.c (re_compile_pattern): Likewise.
12070         (re_set_syntax): Likewise.
12071         (re_compile_fastmap): Likewise.
12072         (regcomp): Likewise.
12073         (regerror): Likewise.
12074         (regfree): Likewise.
12075         * posix/regexec.c (regexec): Likewise.
12076         (re_match): Likewise.
12077         (re_search): Likewise.
12078         (re_match_2): Likewise.
12079         (re_search_2): Likewise.
12080         (re_search_stub): Likewise.  Use internal_function
12081         (re_copy_regs): Likewise.
12082         (re_set_registers): Convert to prototype-style function
12083         definition.
12084         (prune_impossible_nodes): Likewise.  Use internal_function.
12085         * resolv/inet_net_pton.c (inet_net_pton): Convert to
12086         prototype-style function definition.
12087         (inet_net_pton_ipv4): Likewise.
12088         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12089         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
12090         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
12091         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
12092         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12093         Make variadic.
12094         * time/strptime_l.c (localtime_r): Convert to prototype-style
12095         function definition.
12096         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12097         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12098         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12099         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12101         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
12102         definition.
12103         (_ufc_doit_r): Likewise.
12104         * crypt/crypt_util.c (_ufc_copymem): Likewise.
12105         (_ufc_output_conversion_r): Likewise.
12106         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
12107         * inet/rcmd.c (rcmd_af): Likewise.
12108         (rcmd): Likewise.
12109         (ruserok_af): Likewise.
12110         (ruserok): Likewise.
12111         (ruserok2_sa): Likewise.
12112         (ruserok_sa): Likewise.
12113         (iruserok_af): Likewise.
12114         (iruserok): Likewise.
12115         (__ivaliduser): Likewise.
12116         (__validuser2_sa): Likewise.
12117         * inet/rexec.c (rexec_af): Likewise.
12118         (rexec): Likewise.
12119         * inet/ruserpass.c (ruserpass): Likewise.
12120         * locale/programs/xmalloc.c (xcalloc): Likewise.
12121         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
12122         * math/w_drem.c (__drem): Likewise.
12123         * math/w_dremf.c (__dremf): Likewise.
12124         * math/w_dreml.c (__dreml): Likewise.
12125         * misc/daemon.c (daemon): Likewise.
12126         * resolv/res_debug.c (p_fqnname): Likewise.
12127         * stdlib/div.c (div): Likewise.
12128         * string/memcmp.c (memcmp_bytes): Likewise.
12129         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
12130         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
12132         * crypt/cert.c (main): Convert to prototype-style function
12133         definition.
12134         * io/pipe.c (__pipe): Likewise.
12135         * io/pipe2.c (__pipe2): Likewise.
12136         * misc/futimesat.c (futimesat): Likewise.
12137         * misc/utimes.c (__utimes): Likewise.
12138         * posix/execve.c (__execve): Likewise.
12139         * posix/execvp.c (execvp): Likewise.
12140         * posix/execvpe.c (__execvpe): Likewise.
12141         * posix/fexecve.c (fexecve): Likewise.
12142         * socket/socketpair.c (socketpair): Likewise.
12143         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12144         * stdlib/erand48.c (erand48): Likewise.
12145         * stdlib/erand48_r.c (__erand48_r): Likewise.
12146         * stdlib/jrand48.c (jrand48): Likewise.
12147         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
12148         * stdlib/lcong48.c (lcong48): Likewise.
12149         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
12150         * stdlib/nrand48.c (nrand48): Likewise.
12151         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
12152         * stdlib/seed48.c (seed48): Likewise.
12153         * stdlib/seed48_r.c (__seed48_r): Likewise.
12154         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
12155         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
12156         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
12158 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12160         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
12161         * configure: Regenerated.
12162         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
12163         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
12164         unconditional.
12165         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12166         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12167         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12168         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
12169         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
12170         unconditional.
12171         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12173         * posix/Makefile (CFLAGS-regex.c): Remove variable.
12174         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
12176         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
12177         function definition.
12178         * crypt/crypt_util.c (__encrypt_r): Likewise.
12179         * libio/genops.c (_IO_no_init): Likewise.
12180         * libio/iofopncook.c (_IO_fopencookie): Likewise.
12181         (_IO_old_fopencookie): Likewise.
12182         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12183         * libio/iogetline.c (_IO_getline): Likewise.
12184         (_IO_getline_info): Likewise.
12185         * libio/iogetwline.c (_IO_getwline): Likewise.
12186         (_IO_getwline_info): Likewise.
12187         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
12188         * libio/vswprintf.c (_IO_vswprintf): Likewise.
12189         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
12190         (find_entry): Likewise.
12191         (iterate_table): Likewise.
12192         (lookup): Likewise.
12193         * login/forkpty.c (forkpty): Likewise.
12194         * misc/hsearch_r.c (__hsearch_r): Likewise.
12195         * misc/select.c (__select): Likewise.
12196         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
12197         Likewise.
12198         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
12199         Likewise.
12200         * nptl/old_pthread_cond_timedwait.c
12201         (__pthread_cond_timedwait_2_0): Likewise.
12202         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
12203         * nptl/pthread_barrierattr_getpshared.c
12204         (pthread_barrierattr_getpshared): Likewise.
12205         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
12206         Likewise.
12207         * nptl/pthread_mutex_setprioceiling.c
12208         (pthread_mutex_setprioceiling): Likewise.
12209         * nptl/pthread_mutexattr_getprioceiling.c
12210         (pthread_mutexattr_getprioceiling): Likewise.
12211         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
12212         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12213         Likewise.
12214         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12215         Likewise.
12216         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
12217         Likewise.
12218         * socket/recvfrom.c (__recvfrom): Likewise.
12219         * socket/sendto.c (__sendto): Likewise.
12220         * socket/setsockopt.c (__setsockopt): Likewise.
12221         * stdio-common/_itoa.c (_itoa): Likewise.
12222         * stdio-common/_itowa.c (_itowa): Likewise.
12223         * stdio-common/reg-printf.c (__register_printf_specifier):
12224         Likewise.
12225         (__register_printf_function): Likewise.
12226         * stdio-common/tempname.c (__path_search): Likewise.
12227         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
12228         * stdlib/mul_1.c (mpn_mul_1): Likewise.
12229         * stdlib/random_r.c (__initstate_r): Likewise.
12230         * stdlib/setenv.c (__add_to_environ): Likewise.
12231         * stdlib/submul_1.c (mpn_submul_1): Likewise.
12232         * streams/getpmsg.c (getpmsg): Likewise.
12233         * streams/putmsg.c (putmsg): Likewise.
12234         * streams/putpmsg.c (putpmsg): Likewise.
12235         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
12236         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12237         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
12238         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
12239         * sunrpc/pm_getport.c (pmap_getport): Likewise.
12240         * sunrpc/svc_udp.c (cache_get): Likewise.
12241         * sunrpc/xdr_array.c (xdr_vector): Likewise.
12242         * sysdeps/mach/hurd/getcwd.c
12243         (__canonicalize_directory_name_internal): Likewise.
12244         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
12245         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
12246         * sysdeps/mach/hurd/select.c (__select): Likewise.
12247         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
12248         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12249         * sysdeps/sparc/nptl/pthread_barrier_init.c
12250         (__pthread_barrier_init): Likewise.
12251         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
12252         (__pthread_cond_timedwait): Likewise.
12253         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
12254         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
12255         Likewise.
12256         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
12257         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
12258         Likewise.
12259         * sysvipc/semtimedop.c (semtimedop): Likewise.
12260         * time/setitimer.c (__setitimer): Likewise.
12261         * time/strftime_l.c (emacs_strftime): Likewise.
12263 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12265         * config.make.in (have-ssp): Delete.
12266         (stack-protector): New variable.
12267         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
12268         cache test for -fstack-protector-strong.  Export stack_protector to
12269         the best ssp flag.
12270         * configure: Regenerated.
12271         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
12272         * nscd/Makefile (CFLAGS-nscd): Likewise.
12273         * resolv/Makefile (CFLAGS-libresolv): Likewise.
12275 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
12277         [BZ #19122]
12278         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
12279         attribute_hidden.
12281 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12283         [BZ #18743]
12284         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
12285         code to...
12286         (ELIDE_LOCK): ...here.
12287         (__get_new_count): New function with part of the code from
12288         __elide_lock that updates the value of adapt_count after a
12289         transaction abort.
12290         (__elided_trylock): Moved this code to...
12291         (ELIDE_TRYLOCK): ...here.
12293 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12295         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
12296         * configure: Regenerate.
12297         * INSTALL: Regenerate.
12298         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
12299         and tweak grammar.
12301 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
12303         * login/programs/pt_chown.c: Include signal.h
12304         (main): Clear any signal mask from the parent process.
12306 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12308         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
12309         * configure: Regenerated.
12310         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
12311         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
12312         $(gnu89-inline-CFLAGS).
12314         * configure.ac (libc_cv_asm_weak_directive): Remove configure
12315         test.
12316         (libc_cv_asm_weakext_directive): Likewise.
12317         * configure: Regenerated.
12318         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
12319         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
12320         * include/libc-symbols.h
12321         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
12322         #error.
12323         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
12324         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
12326         * sysdeps/arm/backtrace.c (__backtrace): Convert to
12327         prototype-style function definition.
12328         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12329         * sysdeps/i386/ffs.c (__ffs): Likewise.
12330         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12331         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
12332         Likewise.
12333         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12334         Likewise.
12335         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
12336         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12337         Likewise.
12338         * sysdeps/m68k/ffs.c (__ffs): Likewise.
12339         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
12340         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
12341         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
12342         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
12343         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
12344         * sysdeps/mach/hurd/access.c (__access): Likewise.
12345         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
12346         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
12347         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
12348         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
12349         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
12350         (cthread_getspecific): Likewise.
12351         (cthread_setspecific): Likewise.
12352         (__libc_getspecific): Likewise.
12353         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
12354         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
12355         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
12356         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
12357         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
12358         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
12359         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
12360         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
12361         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
12362         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
12363         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
12364         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
12365         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
12366         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
12367         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
12368         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
12369         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
12370         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
12371         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
12372         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
12373         * sysdeps/mach/hurd/link.c (__link): Likewise.
12374         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
12375         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
12376         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
12377         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
12378         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12379         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
12380         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
12381         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
12382         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12383         * sysdeps/mach/hurd/rename.c (rename): Likewise.
12384         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
12385         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
12386         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
12387         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
12388         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
12389         * sysdeps/mach/hurd/send.c (__send): Likewise.
12390         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
12391         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
12392         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
12393         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
12394         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
12395         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
12396         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
12397         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
12398         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
12399         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
12400         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
12401         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
12402         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
12403         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
12404         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
12405         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
12406         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
12407         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
12408         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
12409         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12410         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
12411         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
12412         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
12413         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
12414         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
12415         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
12416         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
12417         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
12418         * sysdeps/posix/alarm.c (alarm): Likewise.
12419         * sysdeps/posix/cuserid.c (cuserid): Likewise.
12420         * sysdeps/posix/dirfd.c (dirfd): Likewise.
12421         * sysdeps/posix/dup.c (__dup): Likewise.
12422         * sysdeps/posix/dup2.c (__dup2): Likewise.
12423         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
12424         (main): Likewise.
12425         * sysdeps/posix/flock.c (__flock): Likewise.
12426         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
12427         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12428         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
12429         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
12430         * sysdeps/posix/isatty.c (__isatty): Likewise.
12431         * sysdeps/posix/killpg.c (killpg): Likewise.
12432         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12433         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
12434         * sysdeps/posix/raise.c (raise): Likewise.
12435         * sysdeps/posix/remove.c (remove): Likewise.
12436         * sysdeps/posix/rename.c (rename): Likewise.
12437         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
12438         * sysdeps/posix/seekdir.c (seekdir): Likewise.
12439         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
12440         * sysdeps/posix/sigignore.c (sigignore): Likewise.
12441         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
12442         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12443         * sysdeps/posix/sigset.c (sigset): Likewise.
12444         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
12445         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
12446         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
12447         * sysdeps/posix/time.c (time): Likewise.
12448         * sysdeps/posix/ttyname.c (getttyname): Likewise.
12449         (ttyname): Likewise.
12450         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
12451         * sysdeps/posix/utime.c (utime): Likewise.
12452         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
12453         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12454         Likewise.
12455         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
12456         (pthread_spin_trylock): Likewise.
12457         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
12458         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
12459         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
12460         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
12461         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
12462         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
12463         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
12464         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
12465         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
12466         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
12467         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
12468         * sysdeps/s390/ffs.c (__ffs): Likewise.
12469         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
12470         Likewise.
12471         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12472         Likewise.
12473         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
12474         Likewise.
12475         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
12476         (pthread_barrier_destroy): Likewise.
12477         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12478         (__pthread_barrier_wait): Likewise.
12479         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
12480         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12481         (__pthread_barrier_wait): Likewise.
12482         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
12483         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
12484         (memcmp_not_common_alignment): Likewise.
12485         (MEMCMP): Likewise.
12486         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
12487         (_wordcopy_fwd_dest_aligned): Likewise.
12488         (_wordcopy_bwd_aligned): Likewise.
12489         (_wordcopy_bwd_dest_aligned): Likewise.
12490         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
12491         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
12492         * sysdeps/unix/bsd/stty.c (stty): Likewise.
12493         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
12494         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
12495         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
12496         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
12497         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
12498         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
12499         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
12500         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
12501         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12502         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
12503         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
12504         * sysdeps/unix/stime.c (stime): Likewise.
12505         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
12506         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
12507         Likewise.  Use internal_function.
12508         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
12509         Convert to prototype-style function definition.
12510         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12511         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12512         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
12513         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12514         Likewise.  Use internal_function.
12515         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
12516         prototype-style function definition
12517         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12518         Likewise.
12519         (__getlogin_r): Likewise.
12520         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
12521         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
12522         (__pthread_cond_broadcast): Likewise.
12523         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
12524         (__pthread_cond_destroy): Likewise.
12525         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
12526         (__pthread_cond_init): Likewise.
12527         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
12528         (__pthread_cond_signal): Likewise.
12529         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
12530         (__pthread_cond_wait): Likewise.
12531         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
12532         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12533         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
12534         Likewise.
12535         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
12536         Likewise.
12537         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
12538         Likewise.
12539         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
12540         Likewise.
12541         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
12542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
12543         (__ftruncate64): Likewise.
12544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
12545         (truncate64): Likewise.
12546         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
12547         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
12548         (pthread_getcpuclockid): Likewise.
12549         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12550         Likewise.
12551         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12552         Likewise.
12553         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
12554         Likewise.
12555         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12556         Likewise.
12557         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
12558         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
12559         (__libc_sigaction): Likewise.
12560         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
12561         Likewise.
12562         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
12563         (__sigprocmask): Likewise.
12564         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
12565         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
12566         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
12567         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12568         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12569         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
12570         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12571         Likewise.
12572         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
12573         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
12574         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12575         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
12576         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
12577         Likewise.
12578         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
12579         (__sigprocmask): Likewise.
12580         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
12581         (cfgetispeed): Likewise.
12582         (cfsetospeed): Likewise.
12583         (cfsetispeed): Likewise.
12584         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
12585         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
12586         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12587         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12588         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
12589         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
12590         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
12591         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
12592         Likewise.
12593         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
12594         Likewise.
12595         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
12596         Likewise.
12597         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
12598         Likewise.
12599         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12601 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12603         sunrpc: Rewrite with explicit TLS access using __thread.
12604         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
12605         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
12606         directly.
12607         (__rpc_thread_variables): Access thread_rpc_vars directly.
12608         Eliminate redundant assignment of the tvp variable.
12610 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12612         malloc: Rewrite with explicit TLS access using __thread.
12613         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
12614         (tsd_setspecific, tsd_getspecific): Remove.
12615         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
12616         (tsd_setspecific, tsd_getspecific): Likewise.
12617         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
12618         (tsd_setspecific, tsd_getspecific): Likewise.
12619         * malloc/arena.c (thread_arena): New TLS variable.
12620         (arena_key): Remove variable.
12621         (arena_get): Use thread_arena.
12622         (arena_lookup): Remove macro.
12623         (malloc_atfork, free_atfork, ptmalloc_lock_all)
12624         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
12625         (_int_new_arena, get_free_list, reused_arena)
12626         (arena_thread_freeres): Use thread_arena.
12627         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
12628         tsd_getspecific, tsd_setspecific from safety annotations.
12629         (Allocating Cleared Space): Remove arena_lookup from safety
12630         annotations.
12632 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12634         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
12635         struct scratch_buffer instead of extend_alloca.
12637 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12639         * sysdeps/unix/sysv/linux/kernel-features.h
12640         (__ASSUME_SOCK_CLOEXEC): Remove.
12641         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
12642         (__have_paccept): Remove unused macro.
12643         * include/unistd.h (__have_sock_cloexec): Remove declaration.
12644         * misc/syslog.c (openlog_internal): Remove fallback code for
12645         !__ASSUME_SOCK_CLOEXEC.
12646         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
12647         missing SOCK_CLOEXEC.
12648         * nscd/connections.c (have_sock_cloexec): Remove definition.
12649         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12650         * nscd/nscd_helper.c (open_socket): Remove fallback code for
12651         !__ASSUME_SOCK_CLOEXEC.
12652         * resolv/res_send.c (__have_o_nonblock): Remove definition.
12653         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12654         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
12655         definition.
12656         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
12657         code for !__ASSUME_SOCK_CLOEXEC.
12659 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12661         [BZ #18982]
12662         * manual/stdio.texi (Variable Arguments Output): Add portability
12663         note, explaining that vfprintf clobbers the va_list pointer.
12665 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12667         * math/libm-test.inc (fabs_test_data): Add more tests.
12668         (fdim_test_data): Likewise.
12669         (fma_test_data): Likewise.
12670         (fmax_test_data): Likewise.
12671         (fmin_test_data): Likewise.
12672         (fmod_test_data): Likewise.
12674 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
12676         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
12677         data.
12679 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12681         * math/libm-test.inc (ceil_test_data): Add more tests and more
12682         expectations for "inexact".
12683         (floor_test_data): Add more tests.
12684         (round_test_data): Likewise.
12685         (trunc_test_data): Likewise.
12687         * crypt/cert.c (good_bye): Convert to prototype-style function
12688         definition.
12689         (get8): Likewise.
12690         (put8): Likewise.
12691         * crypt/crypt-entry.c (crypt): Likewise.
12692         (__fcrypt): Likewise.
12693         * crypt/crypt_util.c (_ufc_prbits): Likewise.
12694         (_ufc_set_bits): Likewise.
12695         (_ufc_clearmem): Likewise.
12696         (__init_des_r): Likewise.
12697         (shuffle_sb): Likewise.
12698         (shuffle_sb): Likewise.
12699         (_ufc_setup_salt_r): Likewise.
12700         (_ufc_mk_keytab_r): Likewise.
12701         (_ufc_dofinalperm_r): Likewise.
12702         (encrypt): Likewise.
12703         (__setkey_r): Likewise.
12704         (setkey): Likewise.
12705         * crypt/md5.c (md5_init_ctx): Likewise.
12706         (md5_read_ctx): Likewise.
12707         (md5_finish_ctx): Likewise.
12708         (md5_stream): Likewise.
12709         (md5_buffer): Likewise.
12710         (md5_process_bytes): Likewise.
12711         * crypt/sha256.c (__sha256_init_ctx): Likewise.
12712         (__sha256_finish_ctx): Likewise.
12713         (__sha256_process_bytes): Likewise.
12714         * crypt/sha512.c (__sha512_init_ctx): Likewise.
12715         (__sha512_finish_ctx): Likewise.
12716         (__sha512_process_bytes): Likewise.
12717         * ctype/isctype.c (__isctype): Likewise.
12718         * debug/backtrace.c (__backtrace): Likewise.
12719         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
12720         * debug/fgets_chk.c (__fgets_chk): Likewise.
12721         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
12722         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
12723         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12724         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12725         * debug/memset_chk.c (__memset_chk): Likewise.
12726         * debug/strcat_chk.c (__strcat_chk): Likewise.
12727         * debug/strncat_chk.c (__strncat_chk): Likewise.
12728         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
12729         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
12730         * dirent/dirfd.c (dirfd): Likewise.
12731         * dirent/getdents.c (__getdirentries): Likewise.
12732         * dirent/getdents64.c (getdirentries64): Likewise.
12733         * dirent/rewinddir.c (__rewinddir): Likewise.
12734         * dirent/seekdir.c (seekdir): Likewise.
12735         * dirent/telldir.c (telldir): Likewise.
12736         * elf/sln.c (makesymlinks): Likewise.
12737         (makesymlink): Likewise.
12738         * gmon/gmon.c (__moncontrol): Likewise.
12739         (__monstartup): Likewise.
12740         (write_hist): Likewise.
12741         (write_call_graph): Likewise.
12742         (write_bb_counts): Likewise.
12743         * grp/setgroups.c (setgroups): Likewise.
12744         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12745         * inet/inet_net.c (inet_network): Likewise.
12746         * inet/inet_netof.c (inet_netof): Likewise.
12747         * inet/rcmd.c (rresvport_af): Likewise.
12748         (rresvport): Likewise.
12749         * io/access.c (__access): Likewise.
12750         * io/chdir.c (__chdir): Likewise.
12751         * io/chmod.c (__chmod): Likewise.
12752         * io/chown.c (__chown): Likewise.
12753         * io/close.c (__close): Likewise.
12754         * io/creat.c (creat): Likewise.
12755         * io/creat64.c (creat64): Likewise.
12756         * io/dup.c (__dup): Likewise.
12757         * io/dup2.c (__dup2): Likewise.
12758         * io/dup3.c (__dup3): Likewise.
12759         * io/euidaccess.c (__euidaccess): Likewise.
12760         * io/faccessat.c (faccessat): Likewise.
12761         * io/fchmod.c (__fchmod): Likewise.
12762         * io/fchmodat.c (fchmodat): Likewise.
12763         * io/fchown.c (__fchown): Likewise.
12764         * io/fchownat.c (fchownat): Likewise.
12765         * io/fcntl.c (__fcntl): Likewise.
12766         * io/flock.c (__flock): Likewise.
12767         * io/fts.c (fts_load): Likewise.
12768         (fts_close): Likewise.
12769         (fts_read): Likewise.
12770         (fts_set): Likewise.
12771         (fts_children): Likewise.
12772         (fts_build): Likewise.
12773         (fts_stat): Likewise.
12774         (fts_sort): Likewise.
12775         (fts_alloc): Likewise.
12776         (fts_lfree): Likewise.
12777         (fts_palloc): Likewise.
12778         (fts_padjust): Likewise.
12779         (fts_maxarglen): Likewise.
12780         (fts_safe_changedir): Likewise.
12781         * io/getwd.c (getwd): Likewise.
12782         * io/isatty.c (__isatty): Likewise.
12783         * io/lchown.c (__lchown): Likewise.
12784         * io/link.c (__link): Likewise.
12785         * io/linkat.c (linkat): Likewise.
12786         * io/lseek.c (__libc_lseek): Likewise.
12787         * io/mkdir.c (__mkdir): Likewise.
12788         * io/mkdirat.c (mkdirat): Likewise.
12789         * io/mkfifo.c (mkfifo): Likewise.
12790         * io/mkfifoat.c (mkfifoat): Likewise.
12791         * io/open.c (__libc_open): Likewise.
12792         * io/open64.c (__libc_open64): Likewise.
12793         * io/readlink.c (__readlink): Likewise.
12794         * io/readlinkat.c (readlinkat): Likewise.
12795         * io/rmdir.c (__rmdir): Likewise.
12796         * io/symlink.c (__symlink): Likewise.
12797         * io/symlinkat.c (symlinkat): Likewise.
12798         * io/ttyname.c (ttyname): Likewise.
12799         * io/ttyname_r.c (__ttyname_r): Likewise.
12800         * io/umask.c (__umask): Likewise.
12801         * io/unlink.c (__unlink): Likewise.
12802         * io/unlinkat.c (unlinkat): Likewise.
12803         * io/utime.c (utime): Likewise.
12804         * libio/clearerr.c (clearerr): Likewise.
12805         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
12806         * libio/feof.c (_IO_feof): Likewise.
12807         * libio/feof_u.c (feof_unlocked): Likewise.
12808         * libio/ferror.c (_IO_ferror): Likewise.
12809         * libio/ferror_u.c (ferror_unlocked): Likewise.
12810         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12811         * libio/fileno.c (__fileno): Likewise.
12812         * libio/fputc.c (fputc): Likewise.
12813         * libio/fputc_u.c (fputc_unlocked): Likewise.
12814         * libio/fputwc.c (fputwc): Likewise.
12815         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
12816         * libio/freopen.c (freopen): Likewise.
12817         * libio/freopen64.c (freopen64): Likewise.
12818         * libio/fseek.c (fseek): Likewise.
12819         * libio/fseeko.c (fseeko): Likewise.
12820         * libio/fseeko64.c (fseeko64): Likewise.
12821         * libio/ftello.c (__ftello): Likewise.
12822         * libio/ftello64.c (ftello64): Likewise.
12823         * libio/fwide.c (fwide): Likewise.
12824         * libio/genops.c (_IO_un_link): Likewise.
12825         (_IO_link_in): Likewise.
12826         (_IO_least_marker): Likewise.
12827         (_IO_switch_to_main_get_area): Likewise.
12828         (_IO_switch_to_backup_area): Likewise.
12829         (_IO_switch_to_get_mode): Likewise.
12830         (_IO_free_backup_area): Likewise.
12831         (_IO_switch_to_put_mode): Likewise.
12832         (__overflow): Likewise.
12833         (__underflow): Likewise.
12834         (__uflow): Likewise.
12835         (_IO_setb): Likewise.
12836         (_IO_doallocbuf): Likewise.
12837         (_IO_default_underflow): Likewise.
12838         (_IO_default_uflow): Likewise.
12839         (_IO_default_xsputn): Likewise.
12840         (_IO_sgetn): Likewise.
12841         (_IO_default_xsgetn): Likewise.
12842         (_IO_sync): Likewise.
12843         (_IO_default_setbuf): Likewise.
12844         (_IO_default_seekpos): Likewise.
12845         (_IO_default_doallocate): Likewise.
12846         (_IO_init): Likewise.
12847         (_IO_old_init): Likewise.
12848         (_IO_default_sync): Likewise.
12849         (_IO_default_finish): Likewise.
12850         (_IO_default_seekoff): Likewise.
12851         (_IO_sputbackc): Likewise.
12852         (_IO_sungetc): Likewise.
12853         (_IO_set_column): Likewise.
12854         (_IO_set_column): Likewise.
12855         (_IO_adjust_column): Likewise.
12856         (_IO_get_column): Likewise.
12857         (_IO_init_marker): Likewise.
12858         (_IO_remove_marker): Likewise.
12859         (_IO_marker_difference): Likewise.
12860         (_IO_marker_delta): Likewise.
12861         (_IO_seekmark): Likewise.
12862         (_IO_unsave_markers): Likewise.
12863         (_IO_nobackup_pbackfail): Likewise.
12864         (_IO_default_pbackfail): Likewise.
12865         (_IO_default_seek): Likewise.
12866         (_IO_default_stat): Likewise.
12867         (_IO_default_read): Likewise.
12868         (_IO_default_write): Likewise.
12869         (_IO_default_showmanyc): Likewise.
12870         (_IO_default_imbue): Likewise.
12871         (_IO_iter_next): Likewise.
12872         (_IO_iter_file): Likewise.
12873         * libio/getc.c (_IO_getc): Likewise.
12874         * libio/getwc.c (_IO_getwc): Likewise.
12875         * libio/iofclose.c (_IO_new_fclose): Likewise.
12876         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12877         * libio/iofflush.c (_IO_fflush): Likewise.
12878         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
12879         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
12880         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
12881         * libio/iofgets.c (_IO_fgets): Likewise.
12882         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
12883         * libio/iofgetws.c (fgetws): Likewise.
12884         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12885         * libio/iofopen64.c (_IO_fopen64): Likewise.
12886         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12887         (_IO_cookie_write): Likewise.
12888         (_IO_cookie_seek): Likewise.
12889         (_IO_cookie_close): Likewise.
12890         (_IO_cookie_seekoff): Likewise.
12891         (_IO_old_cookie_seek): Likewise.
12892         * libio/iofputs.c (_IO_fputs): Likewise.
12893         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
12894         * libio/iofputws.c (fputws): Likewise.
12895         * libio/iofputws_u.c (fputws_unlocked): Likewise.
12896         * libio/iofread.c (_IO_fread): Likewise.
12897         * libio/iofread_u.c (__fread_unlocked): Likewise.
12898         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
12899         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12900         * libio/ioftell.c (_IO_ftell): Likewise.
12901         * libio/iofwrite.c (_IO_fwrite): Likewise.
12902         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12903         * libio/iogets.c (_IO_gets): Likewise.
12904         * libio/iopadn.c (_IO_padn): Likewise.
12905         * libio/iopopen.c (_IO_new_proc_open): Likewise.
12906         (_IO_new_popen): Likewise.
12907         (_IO_new_proc_close): Likewise.
12908         * libio/ioputs.c (_IO_puts): Likewise.
12909         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
12910         (_IO_seekoff): Likewise.
12911         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
12912         (_IO_seekpos): Likewise.
12913         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
12914         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
12915         * libio/ioungetc.c (_IO_ungetc): Likewise.
12916         * libio/ioungetwc.c (ungetwc): Likewise.
12917         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12918         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
12919         * libio/iowpadn.c (_IO_wpadn): Likewise.
12920         * libio/libc_fatal.c (__libc_fatal): Likewise.
12921         * libio/memstream.c (__open_memstream): Likewise.
12922         (_IO_mem_sync): Likewise.
12923         (_IO_mem_finish): Likewise.
12924         * libio/oldfileops.c (_IO_old_file_init): Likewise.
12925         (_IO_old_file_close_it): Likewise.
12926         (_IO_old_file_finish): Likewise.
12927         (_IO_old_file_fopen): Likewise.
12928         (_IO_old_file_attach): Likewise.
12929         (_IO_old_file_setbuf): Likewise.
12930         (_IO_old_do_write): Likewise.
12931         (old_do_write): Likewise.
12932         (_IO_old_file_underflow): Likewise.
12933         (_IO_old_file_overflow): Likewise.
12934         (_IO_old_file_sync): Likewise.
12935         (_IO_old_file_seekoff): Likewise.
12936         (_IO_old_file_write): Likewise.
12937         (_IO_old_file_xsputn): Likewise.
12938         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
12939         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12940         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
12941         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
12942         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12943         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
12944         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
12945         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
12946         (_IO_old_popen): Likewise.
12947         (_IO_old_proc_close): Likewise.
12948         * libio/oldpclose.c (__old_pclose): Likewise.
12949         * libio/pclose.c (__new_pclose): Likewise.
12950         * libio/peekc.c (_IO_peekc_locked): Likewise.
12951         * libio/putc.c (_IO_putc): Likewise.
12952         * libio/putc_u.c (putc_unlocked): Likewise.
12953         * libio/putchar.c (putchar): Likewise.
12954         * libio/putchar_u.c (putchar_unlocked): Likewise.
12955         * libio/putwc.c (putwc): Likewise.
12956         * libio/putwc_u.c (putwc_unlocked): Likewise.
12957         * libio/putwchar.c (putwchar): Likewise.
12958         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
12959         * libio/rewind.c (rewind): Likewise.
12960         * libio/setbuf.c (setbuf): Likewise.
12961         * libio/setlinebuf.c (setlinebuf): Likewise.
12962         * libio/vasprintf.c (_IO_vasprintf): Likewise.
12963         * libio/vscanf.c (_IO_vscanf): Likewise.
12964         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
12965         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
12966         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12967         * libio/wgenops.c (_IO_least_wmarker): Likewise.
12968         (_IO_switch_to_main_wget_area): Likewise.
12969         (_IO_switch_to_wbackup_area): Likewise.
12970         (_IO_wsetb): Likewise.
12971         (_IO_wdefault_pbackfail): Likewise.
12972         (_IO_wdefault_finish): Likewise.
12973         (_IO_wdefault_uflow): Likewise.
12974         (__woverflow): Likewise.
12975         (__wuflow): Likewise.
12976         (__wunderflow): Likewise.
12977         (_IO_wdefault_xsputn): Likewise.
12978         (_IO_wdefault_xsgetn): Likewise.
12979         (_IO_wdoallocbuf): Likewise.
12980         (_IO_wdefault_doallocate): Likewise.
12981         (_IO_switch_to_wget_mode): Likewise.
12982         (_IO_free_wbackup_area): Likewise.
12983         (_IO_switch_to_wput_mode): Likewise.
12984         (_IO_sputbackwc): Likewise.
12985         (_IO_sungetwc): Likewise.
12986         (_IO_adjust_wcolumn): Likewise.
12987         (_IO_init_wmarker): Likewise.
12988         (_IO_wmarker_delta): Likewise.
12989         (_IO_seekwmark): Likewise.
12990         (_IO_unsave_wmarkers): Likewise.
12991         * libio/wmemstream.c (open_wmemstream): Likewise.
12992         (_IO_wmem_sync): Likewise.
12993         (_IO_wmem_finish): Likewise.
12994         * locale/nl_langinfo.c (nl_langinfo): Likewise.
12995         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
12996         * locale/programs/simple-hash.c (init_hash): Likewise.
12997         (delete_hash): Likewise.
12998         (insert_entry): Likewise.
12999         (set_entry): Likewise.
13000         (next_prime): Likewise.
13001         (is_prime): Likewise.
13002         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
13003         (xmalloc): Likewise.
13004         (xrealloc): Likewise.
13005         * locale/programs/xstrdup.c (xstrdup): Likewise.
13006         * localedata/collate-test.c (xstrcoll): Likewise.
13007         * localedata/xfrm-test.c (xstrcmp): Likewise.
13008         * login/getlogin_r.c (__getlogin_r): Likewise.
13009         * login/getpt.c (__posix_openpt): Likewise.
13010         * login/login_tty.c (login_tty): Likewise.
13011         * login/setlogin.c (setlogin): Likewise.
13012         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
13013         (mach_msg_destroy_port): Likewise.
13014         (mach_msg_destroy_memory): Likewise.
13015         * malloc/mcheck.c (flood): Likewise.
13016         * misc/acct.c (acct): Likewise.
13017         * misc/brk.c (__brk): Likewise.
13018         * misc/chflags.c (chflags): Likewise.
13019         * misc/chroot.c (chroot): Likewise.
13020         * misc/fchflags.c (fchflags): Likewise.
13021         * misc/fstab.c (getfsspec): Likewise.
13022         (getfsfile): Likewise.
13023         * misc/fsync.c (fsync): Likewise.
13024         * misc/ftruncate.c (__ftruncate): Likewise.
13025         * misc/ftruncate64.c (__ftruncate64): Likewise.
13026         * misc/getdomain.c (getdomainname): Likewise.
13027         (getdomainname): Likewise.
13028         * misc/gethostname.c (__gethostname): Likewise.
13029         * misc/getpass.c (getpass): Likewise.
13030         * misc/getttyent.c (skip): Likewise.
13031         (value): Likewise.
13032         * misc/gtty.c (gtty): Likewise.
13033         * misc/hsearch.c (hsearch): Likewise.
13034         (hcreate): Likewise.
13035         * misc/hsearch_r.c (__hcreate_r): Likewise.
13036         (__hdestroy_r): Likewise.
13037         * misc/ioctl.c (__ioctl): Likewise.
13038         * misc/mkdtemp.c (mkdtemp): Likewise.
13039         * misc/mkostemp.c (mkostemp): Likewise.
13040         * misc/mkostemp64.c (mkostemp64): Likewise.
13041         * misc/mkostemps.c (mkostemps): Likewise.
13042         * misc/mkostemps64.c (mkostemps64): Likewise.
13043         * misc/mkstemp.c (mkstemp): Likewise.
13044         * misc/mkstemp64.c (mkstemp64): Likewise.
13045         * misc/mkstemps.c (mkstemps): Likewise.
13046         * misc/mkstemps64.c (mkstemps64): Likewise.
13047         * misc/mktemp.c (__mktemp): Likewise.
13048         * misc/preadv.c (preadv): Likewise.
13049         * misc/preadv64.c (preadv64): Likewise.
13050         * misc/pwritev.c (pwritev): Likewise.
13051         * misc/pwritev64.c (pwritev64): Likewise.
13052         * misc/readv.c (__readv): Likewise.
13053         * misc/revoke.c (revoke): Likewise.
13054         * misc/setdomain.c (setdomainname): Likewise.
13055         * misc/setegid.c (setegid): Likewise.
13056         * misc/seteuid.c (seteuid): Likewise.
13057         * misc/sethostid.c (sethostid): Likewise.
13058         * misc/sethostname.c (sethostname): Likewise.
13059         * misc/setregid.c (__setregid): Likewise.
13060         * misc/setreuid.c (__setreuid): Likewise.
13061         * misc/sstk.c (sstk): Likewise.
13062         * misc/stty.c (stty): Likewise.
13063         * misc/syscall.c (syscall): Likewise.
13064         * misc/syslog.c (setlogmask): Likewise.
13065         * misc/truncate.c (__truncate): Likewise.
13066         * misc/truncate64.c (truncate64): Likewise.
13067         * misc/ualarm.c (ualarm): Likewise.
13068         * misc/usleep.c (usleep): Likewise.
13069         * misc/ustat.c (ustat): Likewise.
13070         * misc/writev.c (__writev): Likewise.
13071         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
13072         * nptl/old_pthread_cond_broadcast.c
13073         (__pthread_cond_broadcast_2_0): Likewise.
13074         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
13075         Likewise.
13076         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
13077         Likewise.
13078         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
13079         Likewise.
13080         * nptl/pt-raise.c (raise): Likewise.
13081         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
13082         Likewise.
13083         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
13084         * nptl/pthread_barrierattr_destroy.c
13085         (pthread_barrierattr_destroy): Likewise.
13086         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
13087         Likewise.
13088         * nptl/pthread_barrierattr_setpshared.c
13089         (pthread_barrierattr_setpshared): Likewise.
13090         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13091         Likewise.
13092         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
13093         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
13094         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
13095         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
13096         Likewise.
13097         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
13098         Likewise.
13099         * nptl/pthread_condattr_getpshared.c
13100         (pthread_condattr_getpshared): Likewise.
13101         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
13102         Likewise.
13103         * nptl/pthread_condattr_setpshared.c
13104         (pthread_condattr_setpshared): Likewise.
13105         * nptl/pthread_detach.c (pthread_detach): Likewise.
13106         * nptl/pthread_equal.c (__pthread_equal): Likewise.
13107         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
13108         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
13109         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
13110         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
13111         Likewise.
13112         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
13113         Likewise.
13114         * nptl/pthread_mutex_getprioceiling.c
13115         (pthread_mutex_getprioceiling): Likewise.
13116         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
13117         Likewise.
13118         * nptl/pthread_mutexattr_getprotocol.c
13119         (pthread_mutexattr_getprotocol): Likewise.
13120         * nptl/pthread_mutexattr_getpshared.c
13121         (pthread_mutexattr_getpshared): Likewise.
13122         * nptl/pthread_mutexattr_getrobust.c
13123         (pthread_mutexattr_getrobust): Likewise.
13124         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13125         Likewise.
13126         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
13127         Likewise.
13128         * nptl/pthread_mutexattr_setprioceiling.c
13129         (pthread_mutexattr_setprioceiling): Likewise.
13130         * nptl/pthread_mutexattr_setprotocol.c
13131         (pthread_mutexattr_setprotocol): Likewise.
13132         * nptl/pthread_mutexattr_setpshared.c
13133         (pthread_mutexattr_setpshared): Likewise.
13134         * nptl/pthread_mutexattr_setrobust.c
13135         (pthread_mutexattr_setrobust): Likewise.
13136         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
13137         Likewise.
13138         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
13139         Likewise.
13140         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
13141         Likewise.
13142         * nptl/pthread_rwlockattr_getkind_np.c
13143         (pthread_rwlockattr_getkind_np): Likewise.
13144         * nptl/pthread_rwlockattr_getpshared.c
13145         (pthread_rwlockattr_getpshared): Likewise.
13146         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
13147         Likewise.
13148         * nptl/pthread_rwlockattr_setkind_np.c
13149         (pthread_rwlockattr_setkind_np): Likewise.
13150         * nptl/pthread_rwlockattr_setpshared.c
13151         (pthread_rwlockattr_setpshared): Likewise.
13152         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
13153         Likewise.
13154         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
13155         Likewise.
13156         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
13157         Likewise.
13158         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
13159         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
13160         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
13161         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
13162         * nptl/sem_close.c (sem_close): Likewise.
13163         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
13164         * nptl/sem_init.c (__old_sem_init): Likewise.
13165         * nptl/sigaction.c (__sigaction): Likewise.
13166         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13167         * posix/_exit.c (_exit): Likewise.
13168         * posix/alarm.c (alarm): Likewise.
13169         * posix/confstr.c (confstr): Likewise.
13170         * posix/fpathconf.c (__fpathconf): Likewise.
13171         * posix/getgroups.c (__getgroups): Likewise.
13172         * posix/getpgid.c (__getpgid): Likewise.
13173         * posix/group_member.c (__group_member): Likewise.
13174         * posix/pathconf.c (__pathconf): Likewise.
13175         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
13176         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
13177         * posix/setgid.c (__setgid): Likewise.
13178         * posix/setpgid.c (__setpgid): Likewise.
13179         * posix/setuid.c (__setuid): Likewise.
13180         * posix/sleep.c (__sleep): Likewise.
13181         * posix/sysconf.c (__sysconf): Likewise.
13182         * posix/times.c (__times): Likewise.
13183         * posix/uname.c (__uname): Likewise.
13184         * posix/waitid.c (__waitid): Likewise.
13185         * pwd/getpw.c (__getpw): Likewise.
13186         * resolv/base64.c (b64_pton): Likewise.
13187         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
13188         * resolv/gethnamaddr.c (Dprintf): Likewise.
13189         (gethostbyname): Likewise.
13190         (gethostbyname2): Likewise.
13191         (gethostbyaddr): Likewise.
13192         (_sethtent): Likewise.
13193         (_gethtbyname): Likewise.
13194         (_gethtbyname2): Likewise.
13195         (_gethtbyaddr): Likewise.
13196         (map_v4v6_address): Likewise.
13197         (map_v4v6_hostent): Likewise.
13198         (addrsort): Likewise.
13199         (ht_sethostent): Likewise.
13200         (ht_gethostbyname): Likewise.
13201         (ht_gethostbyaddr): Likewise.
13202         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
13203         (inet_net_ntop_ipv4): Likewise.
13204         * resolv/inet_neta.c (inet_neta): Likewise.
13205         * resolv/inet_ntop.c (inet_ntop): Likewise.
13206         (inet_ntop4): Likewise.
13207         (inet_ntop6): Likewise.
13208         * resolv/inet_pton.c (__inet_pton): Likewise.
13209         (inet_pton4): Likewise.
13210         (inet_pton6): Likewise.
13211         * resolv/res_debug.c (loc_aton): Likewise.
13212         (loc_ntoa): Likewise.
13213         * resource/getpriority.c (__getpriority): Likewise.
13214         * resource/getrusage.c (__getrusage): Likewise.
13215         * resource/nice.c (nice): Likewise.
13216         * resource/setpriority.c (__setpriority): Likewise.
13217         * resource/setrlimit64.c (setrlimit64): Likewise.
13218         * resource/vlimit.c (vlimit): Likewise.
13219         * resource/vtimes.c (vtimes): Likewise.
13220         * rt/aio_error.c (aio_error): Likewise.
13221         * rt/aio_return.c (aio_return): Likewise.
13222         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
13223         * signal/kill.c (__kill): Likewise.
13224         * signal/killpg.c (killpg): Likewise.
13225         * signal/raise.c (raise): Likewise.
13226         * signal/sigaction.c (__sigaction): Likewise.
13227         * signal/sigaddset.c (sigaddset): Likewise.
13228         * signal/sigaltstack.c (sigaltstack): Likewise.
13229         * signal/sigandset.c (sigandset): Likewise.
13230         * signal/sigblock.c (__sigblock): Likewise.
13231         * signal/sigdelset.c (sigdelset): Likewise.
13232         * signal/sigempty.c (sigemptyset): Likewise.
13233         * signal/sigfillset.c (sigfillset): Likewise.
13234         * signal/sighold.c (sighold): Likewise.
13235         * signal/sigignore.c (sigignore): Likewise.
13236         * signal/sigintr.c (siginterrupt): Likewise.
13237         * signal/sigisempty.c (sigisemptyset): Likewise.
13238         * signal/sigismem.c (sigismember): Likewise.
13239         * signal/signal.c (signal): Likewise.
13240         * signal/sigorset.c (sigorset): Likewise.
13241         * signal/sigpause.c (__sigpause): Likewise.
13242         * signal/sigpending.c (sigpending): Likewise.
13243         * signal/sigprocmask.c (__sigprocmask): Likewise.
13244         * signal/sigrelse.c (sigrelse): Likewise.
13245         * signal/sigreturn.c (__sigreturn): Likewise.
13246         * signal/sigset.c (sigset): Likewise.
13247         * signal/sigsetmask.c (__sigsetmask): Likewise.
13248         * signal/sigstack.c (sigstack): Likewise.
13249         * signal/sigsuspend.c (__sigsuspend): Likewise.
13250         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
13251         * signal/sysv_signal.c (__sysv_signal): Likewise.
13252         * socket/accept.c (accept): Likewise.
13253         * socket/accept4.c (__libc_accept4): Likewise.
13254         * socket/bind.c (__bind): Likewise.
13255         * socket/connect.c (__connect): Likewise.
13256         * socket/getpeername.c (getpeername): Likewise.
13257         * socket/getsockname.c (__getsockname): Likewise.
13258         * socket/getsockopt.c (getsockopt): Likewise.
13259         * socket/listen.c (__listen): Likewise.
13260         * socket/recv.c (__recv): Likewise.
13261         * socket/recvmsg.c (__recvmsg): Likewise.
13262         * socket/send.c (__send): Likewise.
13263         * socket/sendmsg.c (__sendmsg): Likewise.
13264         * socket/shutdown.c (shutdown): Likewise.
13265         * socket/sockatmark.c (sockatmark): Likewise.
13266         * socket/socket.c (__socket): Likewise.
13267         * stdio-common/ctermid.c (ctermid): Likewise.
13268         * stdio-common/cuserid.c (cuserid): Likewise.
13269         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
13270         * stdio-common/remove.c (remove): Likewise.
13271         * stdio-common/rename.c (rename): Likewise.
13272         * stdio-common/renameat.c (renameat): Likewise.
13273         * stdio-common/tempname.c (__gen_tempname): Likewise.
13274         * stdio-common/xbug.c (InitBuffer): Likewise.
13275         (AppendToBuffer): Likewise.
13276         (ReadFile): Likewise.
13277         * stdlib/a64l.c (a64l): Likewise.
13278         * stdlib/drand48_r.c (drand48_r): Likewise.
13279         * stdlib/getcontext.c (getcontext): Likewise.
13280         * stdlib/getenv.c (getenv): Likewise.
13281         * stdlib/l64a.c (l64a): Likewise.
13282         * stdlib/llabs.c (llabs): Likewise.
13283         * stdlib/lldiv.c (lldiv): Likewise.
13284         * stdlib/lrand48_r.c (lrand48_r): Likewise.
13285         * stdlib/mrand48_r.c (mrand48_r): Likewise.
13286         * stdlib/putenv.c (putenv): Likewise.
13287         * stdlib/random.c (__srandom): Likewise.
13288         (__initstate): Likewise.
13289         (__setstate): Likewise.
13290         * stdlib/random_r.c (__srandom_r): Likewise.
13291         (__setstate_r): Likewise.
13292         (__random_r): Likewise.
13293         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
13294         * stdlib/setcontext.c (setcontext): Likewise.
13295         * stdlib/setenv.c (setenv): Likewise.
13296         (unsetenv): Likewise.
13297         * stdlib/srand48.c (srand48): Likewise.
13298         * stdlib/srand48_r.c (__srand48_r): Likewise.
13299         * stdlib/swapcontext.c (swapcontext): Likewise.
13300         * stdlib/system.c (__libc_system): Likewise.
13301         * stdlib/tst-strtod.c (expand): Likewise.
13302         * stdlib/tst-strtol.c (expand): Likewise.
13303         * stdlib/tst-strtoll.c (expand): Likewise.
13304         * streams/fattach.c (fattach): Likewise.
13305         * streams/fdetach.c (fdetach): Likewise.
13306         * streams/getmsg.c (getmsg): Likewise.
13307         * streams/isastream.c (isastream): Likewise.
13308         * string/ffs.c (__ffs): Likewise.
13309         * string/ffsll.c (ffsll): Likewise.
13310         * string/memcmp.c (memcmp_common_alignment): Likewise.
13311         (memcmp_not_common_alignment): Likewise.
13312         (MEMCMP): Likewise.
13313         * string/memcpy.c (memcpy): Likewise.
13314         * string/memmove.c (MEMMOVE): Likewise.
13315         * string/memset.c (memset): Likewise.
13316         * string/rawmemchr.c (RAWMEMCHR): Likewise.
13317         * string/strchrnul.c (STRCHRNUL): Likewise.
13318         * string/strerror.c (strerror): Likewise.
13319         * string/strndup.c (__strndup): Likewise.
13320         * string/strverscmp.c (__strverscmp): Likewise.
13321         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
13322         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
13323         (clnttcp_freeres): Likewise.
13324         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
13325         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
13326         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
13327         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
13328         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
13329         (xdr_callhdr): Likewise.
13330         * sunrpc/rpcinfo.c (udpping): Likewise.
13331         (tcpping): Likewise.
13332         (pstatus): Likewise.
13333         (pmapdump): Likewise.
13334         (brdcst): Likewise.
13335         (deletereg): Likewise.
13336         (getprognum): Likewise.
13337         (getvers): Likewise.
13338         (get_inet_address): Likewise.
13339         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
13340         * sunrpc/svc_udp.c (svcudp_create): Likewise.
13341         (svcudp_stat): Likewise.
13342         (svcudp_recv): Likewise.
13343         (svcudp_reply): Likewise.
13344         (svcudp_getargs): Likewise.
13345         (svcudp_freeargs): Likewise.
13346         (svcudp_destroy): Likewise.
13347         * sunrpc/xdr.c (xdr_bytes): Likewise.
13348         (xdr_netobj): Likewise.
13349         (xdr_string): Likewise.
13350         (xdr_wrapstring): Likewise.
13351         * sunrpc/xdr_float.c (xdr_float): Likewise.
13352         (xdr_double): Likewise.
13353         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
13354         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
13355         * sysvipc/ftok.c (ftok): Likewise.
13356         * sysvipc/msgctl.c (msgctl): Likewise.
13357         * sysvipc/msgget.c (msgget): Likewise.
13358         * sysvipc/msgrcv.c (msgrcv): Likewise.
13359         * sysvipc/msgsnd.c (msgsnd): Likewise.
13360         * sysvipc/semget.c (semget): Likewise.
13361         * sysvipc/semop.c (semop): Likewise.
13362         * sysvipc/shmat.c (shmat): Likewise.
13363         * sysvipc/shmctl.c (shmctl): Likewise.
13364         * sysvipc/shmdt.c (shmdt): Likewise.
13365         * sysvipc/shmget.c (shmget): Likewise.
13366         * termios/cfmakeraw.c (cfmakeraw): Likewise.
13367         * termios/speed.c (cfgetospeed): Likewise.
13368         (cfgetispeed): Likewise.
13369         (cfsetospeed): Likewise.
13370         (cfsetispeed): Likewise.
13371         * termios/tcflow.c (tcflow): Likewise.
13372         * termios/tcflush.c (tcflush): Likewise.
13373         * termios/tcgetattr.c (__tcgetattr): Likewise.
13374         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
13375         * termios/tcgetsid.c (tcgetsid): Likewise.
13376         * termios/tcsendbrk.c (tcsendbreak): Likewise.
13377         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
13378         * time/adjtime.c (__adjtime): Likewise.
13379         * time/dysize.c (dysize): Likewise.
13380         * time/ftime.c (ftime): Likewise.
13381         * time/getitimer.c (__getitimer): Likewise.
13382         * time/gettimeofday.c (__gettimeofday): Likewise.
13383         * time/gmtime.c (__gmtime_r): Likewise.
13384         (gmtime): Likewise.
13385         * time/localtime.c (__localtime_r): Likewise.
13386         (localtime): Likewise.
13387         * time/offtime.c (__offtime): Likewise.
13388         * time/settimeofday.c (__settimeofday): Likewise.
13389         * time/stime.c (stime): Likewise.
13390         * time/strftime_l.c (tm_diff): Likewise.
13391         (iso_week_days): Likewise.
13392         * time/strptime.c (strptime): Likewise.
13393         * time/time.c (time): Likewise.
13394         * time/timespec_get.c (timespec_get): Likewise.
13395         * time/tzset.c (tzset_internal): Likewise.
13396         (compute_change): Likewise.
13397         (__tz_compute): Likewise.
13398         * wcsmbs/btowc.c (__btowc): Likewise.
13399         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
13400         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
13401         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
13402         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
13403         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
13404         * wcsmbs/wcscat.c (__wcscat): Likewise.
13405         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13406         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
13407         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
13408         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13409         * wcsmbs/wcsdup.c (wcsdup): Likewise.
13410         * wcsmbs/wcslen.c (__wcslen): Likewise.
13411         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
13412         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
13413         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
13414         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
13415         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13416         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
13417         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13418         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13419         * wcsmbs/wcstok.c (wcstok): Likewise.
13420         * wcsmbs/wctob.c (wctob): Likewise.
13421         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
13422         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13423         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
13424         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
13425         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
13426         * wcsmbs/wmemset.c (__wmemset): Likewise.
13427         * wctype/wcfuncs.c (__towlower): Likewise.
13428         (__towupper): Likewise.
13430         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
13431         (lll_unlock_elision): Add adapt_count parameter.
13433 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13435         * sysdeps/nptl/configure.ac: Do not give errors based on the
13436         results of top-level configure tests.
13437         * sysdeps/nptl/configure: Regenerated.
13439         * configure.ac (libc_cv_Bgroup): Remove configure test.
13440         * configure: Regenerated.
13441         * config.make.in (have-Bgroup): Remove variable.
13443         * configure.ac (sizeof_long_double): Remove configure test.
13444         * configure: Regenerated.
13445         * config.make.in (sizeof-long-double): Remove variable.
13447         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
13448         * configure: Regenerated.
13449         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
13450         variable.
13451         (exceptions): Likewise.
13452         * sysdeps/arm/configure: Regenerated.
13453         * config.make.in (exceptions): Remove variable.
13454         * Makeconfig (uses-callbacks): Use -fexceptions instead of
13455         $(exceptions).
13456         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
13457         (CFLAGS-vdprintf_chk.c): Likewise.
13458         (CFLAGS-printf_chk.c): Likewise.
13459         (CFLAGS-fprintf_chk.c): Likewise.
13460         (CFLAGS-vprintf_chk.c): Likewise.
13461         (CFLAGS-vfprintf_chk.c): Likewise.
13462         (CFLAGS-gets_chk.c): Likewise.
13463         (CFLAGS-fgets_chk.c): Likewise.
13464         (CFLAGS-fgets_u_chk.c): Likewise.
13465         (CFLAGS-fread_chk.c): Likewise.
13466         (CFLAGS-fread_u_chk.c): Likewise.
13467         (CFLAGS-wprintf_chk.c): Likewise.
13468         (CFLAGS-fwprintf_chk.c): Likewise.
13469         (CFLAGS-vwprintf_chk.c): Likewise.
13470         (CFLAGS-vfwprintf_chk.c): Likewise.
13471         (CFLAGS-fgetws_chk.c): Likewise.
13472         (CFLAGS-fgetws_u_chk.c): Likewise.
13473         * libio/Makefile (CFLAGS-fileops.c): Likewise.
13474         (CFLAGS-fputc.c): Likewise.
13475         (CFLAGS-fputwc.c): Likewise.
13476         (CFLAGS-freopen64.c): Likewise.
13477         (CFLAGS-freopen.c): Likewise.
13478         (CFLAGS-fseek.c): Likewise.
13479         (CFLAGS-fseeko64.c): Likewise.
13480         (CFLAGS-fseeko.c): Likewise.
13481         (CFLAGS-ftello64.c): Likewise.
13482         (CFLAGS-ftello.c): Likewise.
13483         (CFLAGS-fwide.c): Likewise.
13484         (CFLAGS-genops.c): Likewise.
13485         (CFLAGS-getc.c): Likewise.
13486         (CFLAGS-getchar.c): Likewise.
13487         (CFLAGS-getwc.c): Likewise.
13488         (CFLAGS-getwchar.c): Likewise.
13489         (CFLAGS-iofclose.c): Likewise.
13490         (CFLAGS-iofflush.c): Likewise.
13491         (CFLAGS-iofgetpos64.c): Likewise.
13492         (CFLAGS-iofgetpos.c): Likewise.
13493         (CFLAGS-iofgets.c): Likewise.
13494         (CFLAGS-iofgetws.c): Likewise.
13495         (CFLAGS-iofputs.c): Likewise.
13496         (CFLAGS-iofputws.c): Likewise.
13497         (CFLAGS-iofread.c): Likewise.
13498         (CFLAGS-iofsetpos64.c): Likewise.
13499         (CFLAGS-iofsetpos.c): Likewise.
13500         (CFLAGS-ioftell.c): Likewise.
13501         (CFLAGS-iofwrite.c): Likewise.
13502         (CFLAGS-iogetdelim.c): Likewise.
13503         (CFLAGS-iogetline.c): Likewise.
13504         (CFLAGS-iogets.c): Likewise.
13505         (CFLAGS-iogetwline.c): Likewise.
13506         (CFLAGS-ioputs.c): Likewise.
13507         (CFLAGS-ioseekoff.c): Likewise.
13508         (CFLAGS-ioseekpos.c): Likewise.
13509         (CFLAGS-iosetbuffer.c): Likewise.
13510         (CFLAGS-iosetvbuf.c): Likewise.
13511         (CFLAGS-ioungetc.c): Likewise.
13512         (CFLAGS-ioungetwc.c): Likewise.
13513         (CFLAGS-oldfileops.c): Likewise.
13514         (CFLAGS-oldiofclose.c): Likewise.
13515         (CFLAGS-oldiofgetpos64.c): Likewise.
13516         (CFLAGS-oldiofgetpos.c): Likewise.
13517         (CFLAGS-oldiofsetpos64.c): Likewise.
13518         (CFLAGS-oldiofsetpos.c): Likewise.
13519         (CFLAGS-peekc.c): Likewise.
13520         (CFLAGS-putc.c): Likewise.
13521         (CFLAGS-putchar.c): Likewise.
13522         (CFLAGS-putwc.c): Likewise.
13523         (CFLAGS-putwchar.c): Likewise.
13524         (CFLAGS-rewind.c): Likewise.
13525         (CFLAGS-wfileops.c): Likewise.
13526         (CFLAGS-wgenops.c): Likewise.
13527         (CFLAGS-oldiofopen.c): Likewise.
13528         (CFLAGS-iofopen.c): Likewise.
13529         (CFLAGS-iofopen64.c): Likewise.
13530         (CFLAGS-oldtmpfile.c): Likewise.
13531         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
13532         (CFLAGS-fprintf.c): Likewise.
13533         (CFLAGS-printf.c): Likewise.
13534         (CFLAGS-vfwprintf.c): Likewise.
13535         (CFLAGS-vfscanf.c): Likewise.
13536         (CFLAGS-vfwscanf.c): Likewise.
13537         (CFLAGS-fscanf.c): Likewise.
13538         (CFLAGS-scanf.c): Likewise.
13539         (CFLAGS-isoc99_vfscanf.c): Likewise.
13540         (CFLAGS-isoc99_vscanf.c): Likewise.
13541         (CFLAGS-isoc99_fscanf.c): Likewise.
13542         (CFLAGS-isoc99_scanf.c): Likewise.
13543         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
13544         (CFLAGS-isoc99_fwscanf.c): Likewise.
13545         (CFLAGS-isoc99_vwscanf.c): Likewise.
13546         (CFLAGS-isoc99_vfwscanf.c): Likewise.
13548         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
13549         after mkstemp64.
13550         * login/tst-utmp.c (do_prepare): Likewise.
13551         * rt/tst-aio.c (do_prepare): Likewise.
13552         * rt/tst-aio64.c (do_prepare): Likewise.
13554 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13556         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13557         (__lll_lock_elision): Remove adapt_count decrement...
13558         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13559         (__lll_trylock_elision): Likewise.
13560         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13561         (__lll_unlock_elision): ... to here. And utilize
13562         new adapt_count parameter.
13563         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13564         (__lll_unlock_elision): Update to include adapt_count
13565         parameter.
13566         (lll_unlock_elision): Pass pointer to adapt_count
13567         variable.
13569 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13571         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
13572         Add elision adapt_count parameter to list of arguments.
13573         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13574         (lll_unlock_elision): Update with new parameter list
13575         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
13576         (lll_unlock_elision): Likewise.
13577         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
13578         (lll_unlock_elision): Likewise.
13580 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13582         [BZ #19122]
13583         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
13584         attribute_hidden.
13586         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
13587         attribute_hidden.
13588         [IS_IN (rtld)] (__strdup): Likewise.
13589         [IS_IN (rtld)] (__strerror_r): Likewise.
13590         [IS_IN (rtld)] (__strsep_g): Likewise.
13591         [IS_IN (rtld)] (memchr): Likewise.
13592         [IS_IN (rtld)] (memcmp): Likewise.
13593         [IS_IN (rtld)] (memcpy): Likewise.
13594         [IS_IN (rtld)] (memmove): Likewise.
13595         [IS_IN (rtld)] (memset): Likewise.
13596         [IS_IN (rtld)] (rawmemchr): Likewise.
13597         [IS_IN (rtld)] (stpcpy): Likewise.
13598         [IS_IN (rtld)] (strchr): Likewise.
13599         [IS_IN (rtld)] (strcmp): Likewise.
13600         [IS_IN (rtld)] (strlen): Likewise.
13601         [IS_IN (rtld)] (strnlen): Likewise.
13602         [IS_IN (rtld)] (strsep): Likewise.
13604         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
13605         attribute_hidden.
13606         [IS_IN (rtld)] (__strtoul_internal): Likewise.
13608         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
13609         attribute_hidden.
13610         [IS_IN (rtld)] (__libc_sigaction): Likewise.
13612         * include/setjmp.h (__longjmp): Add attribute_hidden.
13613         [IS_IN (rtld)] (__sigsetjmp): Likewise.
13615         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
13616         Add attribute_hidden.
13618         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
13619         [IS_IN (rtld)] (__open): Likewise.
13620         [IS_IN (rtld)] (__fcntl): Likewise.
13622         * include/dirent.h (__opendirat): Add attribute_hidden.
13623         (__getdents): Likewise.
13624         (__getdents64): Likewise.
13625         (__alloc_dir): Likewise.
13626         [IS_IN (rtld)] (__closedir): Likewise.
13627         [IS_IN (rtld)] (__fdopendir): Likewise.
13628         [IS_IN (rtld)] (__readdir): Likewise.
13629         [IS_IN (rtld)] (__readdir64): Likewise.
13630         [IS_IN (rtld)] (__rewinddir): Likewise.
13632         * include/dlfcn.h (_dl_catch_error): Moved to ...
13633         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
13634         attribute_hidden.
13636         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
13637         (_itoa_word): Likewise.
13639         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
13640         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
13641         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
13642         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
13643         (_dl_higher_prime_number): Likewise.
13644         (_dl_debug_printf_c): Likewise.
13645         (_dl_signal_cerror): Likewise.
13646         (_dl_receive_error): Likewise.
13647         (_dl_reloc_bad_type): Likewise.
13648         (_dl_resolve_conflicts): Likewise.
13649         (_dl_check_all_versions): Likewise.
13650         (_dl_check_map_versions): Likewise.
13651         (_dl_sort_fini): Likewise.
13652         (_dl_debug_initialize): Likewise.
13653         (_dl_init_paths): Likewise.
13654         (_dl_show_auxv): Likewise.
13655         (_dl_next_ld_env_entry): Likewise.
13656         (_dl_important_hwcaps): Likewise.
13657         (_dl_load_cache_lookup): Likewise.
13658         (_dl_update_slotinfo): Likewise.
13659         (_dl_show_scope): Likewise.
13661         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
13662         attribute_hidden.
13663         (_wordcopy_fwd_dest_aligned): Likewise.
13664         (_wordcopy_bwd_aligned): Likewise.
13665         (_wordcopy_bwd_dest_aligned): Likewise.
13667         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13668         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13669         Likewise.
13670         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13671         Likewise.
13672         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
13674 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13676         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
13677         GCC 5 requirement.
13679 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13681         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
13682         test.
13683         * sysdeps/i386/configure: Regenerated.
13684         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
13685         code unconditional.
13687         * configure.ac (libc_cv_asm_previous_directive): Remove configure
13688         test.
13689         (libc_cv_asm_popsection_directive): Likewise.
13690         * configure: Regenerated.
13691         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
13692         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
13693         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
13694         (__make_section_unallocated): Make definition unconditional.
13695         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
13696         Remove conditional definition.
13697         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
13698         (__make_section_unallocated): Likewise.
13700         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
13701         * configure: Regenerated.
13702         * config.make.in (static-libgcc): Remove variable.
13703         * Makerules (build-shlib-helper): Use -static-libgcc instead of
13704         $(static-libgcc).
13705         (build-module-helper): Likewise.
13707         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
13708         * configure: Regenerated.
13710 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13712         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
13713         (struct char_buffer): New type.
13714         (char_buffer_start, char_buffer_size, char_buffer_error)
13715         (char_buffer_rewind, char_buffer_add): New functions.
13716         (ADDW): Remove macro, replaced by the char_buffer_add function.
13717         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
13718         of extend_alloca.  Make control flow more explicit.
13720 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13722         [BZ #19137]
13723         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13724         Add -fomit-frame-pointer.
13725         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
13727 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13729         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
13730         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
13731         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
13732         only if !__GNUC_PREREQ (5,0).
13733         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
13734         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
13735         (INTERNAL_SYSCALL_NCS): Likewise.
13736         (LOADREGS_0): New macro for GCC 5.
13737         (ASMARGS_0): Likewise.
13738         (LOADREGS_1): Likewise.
13739         (ASMARGS_1): Likewise.
13740         (LOADREGS_2): Likewise.
13741         (ASMARGS_2): Likewise.
13742         (LOADREGS_3): Likewise.
13743         (ASMARGS_3): Likewise.
13744         (LOADREGS_4): Likewise.
13745         (ASMARGS_4): Likewise.
13746         (LOADREGS_5): Likewise.
13747         (ASMARGS_5): Likewise.
13748         (LOADREGS_6): Likewise.
13749         (ASMARGS_6): Likewise.
13751 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13753         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
13754         -fomit-frame-pointer.
13755         (CFLAGS-mmap64.c): Likewise.
13756         (CFLAGS-semtimedop.c): Likewise.
13757         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
13758         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
13759         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13760         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13762 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13764         [BZ #18928]
13765         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
13766         _dl_pointer_guard member.
13767         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
13768         initializer.
13769         (security_init): Always set up pointer guard.
13770         (process_envvars): Do not process LD_POINTER_GUARD.
13772 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
13774         [BZ #19134]
13775         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
13776         (.LC2): Likewise.
13777         (.LC3): Likewise.
13778         (__lround): Do not add 0.5 to integer or out-of-range arguments.
13780 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13782         [BZ #19129]
13783         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
13784         r0 and r1.
13786 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
13788         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
13790 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
13792         * include/stap-probe.h: Fix macro definition formatting.
13794 2015-10-14  Florian Weimer  <fweimer@redhat.com>
13796         [BZ #19074]
13797         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
13798         load and store num_ifs.
13800 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13802         [BZ #18822]
13803         * sysdeps/unix/sysv/linux/sched_getaffinity.c
13804         (__sched_getaffinity_new): Add libc_hidden_proto and
13805         libc_hidden_def.
13807 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13809         [BZ #19007]
13810         * scripts/localplt.awk: Also allow GOT references.
13811         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
13812         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
13813         with "+ REL R_386_GLOB_DAT".
13814         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
13815         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
13817 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13819         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
13820         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13821         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
13822         Likewise.
13823         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13824         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
13825         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13826         INTERNAL_SYSCALLINTERNAL_SYSCALL and
13827         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13828         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13829         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13830         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13831         Likewise.
13832         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13834 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13836         [BZ #19125]
13837         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
13838         <math_private.h> and <stdint.h>.
13839         (__llround): Avoid conversions to and from long long int, and
13840         subtractions, where those might raise spurious exceptions.
13841         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
13842         <math_private.h> and <stdint.h>.
13843         (__llroundf): Avoid conversions to and from long long int, and
13844         subtractions, where those might raise spurious exceptions.
13846 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13848         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
13849         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13850         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13851         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
13852         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13853         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13854         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
13855         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
13856         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
13857         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13858         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13859         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13860         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
13861         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13862         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13863         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
13864         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
13865         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13866         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
13867         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
13868         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13869         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
13870         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
13871         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13872         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
13873         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13874         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
13875         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13876         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13877         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
13878         (__xstat64_conv): Likewise.
13879         (__xstat32_conv): Likewise.
13881 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13883         * sysdeps/unix/sysv/linux/sysdep.h: New file.
13884         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
13885         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
13886         <sysdeps/unix/sysv/linux/sysdep.h>.
13887         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13888         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
13889         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
13890         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13891         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13892         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
13893         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
13894         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13895         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13898         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13899         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13900         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13901         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13902         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13903         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
13904         (sysdep-dl-routines): Add sysdep.
13905         [$(subdir) == nptl] (libpthread-routines): Likewise.
13906         [$(subdir) == rt] (librt-routines): Likewise.
13907         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
13908         PIC when branching to SYSCALL_ERROR_LABEL.
13909         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
13910         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
13911         <sysdeps/unix/sysv/linux/sysdep.h>.
13912         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
13913         (SYSCALL_ERROR_ERRNO): Removed.
13914         (SYSCALL_ERROR_HANDLER): Changed to empty.
13915         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
13916         (__syscall_error): New prototype.
13917         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
13918         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
13920 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13922         [BZ #19124]
13923         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
13924         (_dl_runtime_resolve_avx512): Make it a hidden alias of
13925         _dl_runtime_resolve_avx.
13926         (_dl_runtime_profile_avx512): Make it a hidden alias of
13927         _dl_runtime_profile_avx.
13929 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13931         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
13932         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
13933         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
13934         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
13936         [BZ #16422]
13937         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
13938         New configure test.
13939         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
13940         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
13941         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
13942         <math_private.h> and <stdint.h>.
13943         (__llrint): Avoid conversions to long long int where those might
13944         raise spurious exceptions.
13945         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
13946         <math_private.h> and <stdint.h>.
13947         (__llrintf): Avoid conversions to long long int where those might
13948         raise spurious exceptions.
13950 2015-10-12  Andreas Schwab  <schwab@suse.de>
13952         [BZ #18969]
13953         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
13954         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
13955         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
13956         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
13957         $(gen-locales).
13958         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
13959         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
13960         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
13961         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
13962         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
13963         $(gen-locales).
13964         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
13965         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
13966         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
13967         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
13968         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
13969         ($(objpfx)tst-ftell-active-handler.out)
13970         ($(objpfx)tst-ftell-append.out)
13971         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
13972         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
13973         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
13974         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
13975         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
13976         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
13977         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
13978         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
13979         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
13980         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
13981         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
13982         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
13983         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
13984         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
13985         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
13986         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
13987         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
13988         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
13989         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
13990         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
13991         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
13992         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
13993         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
13994         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
13995         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
13996         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
13997         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
13998         $(gen-locales).
13999         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
14000         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
14001         $(gen-locales).
14002         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
14003         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
14004         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
14005         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
14006         $(gen-locales).
14007         * libio/tst_wprintf2.c (main): Use explicit locale.
14008         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
14010 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14012         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
14013         __msg_sig_post.
14014         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
14016 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14018         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14019         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14021         * sysdeps/arm/libm-test-ulps: Regenerated.
14023         [BZ #15470]
14024         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
14026         [BZ #16399]
14027         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
14028         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
14029         and <fix-fp-int-convert-overflow.h>.
14030         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14031         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14032         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
14033         and <fix-fp-int-convert-overflow.h>.
14034         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
14035         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14036         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
14037         <fix-fp-int-convert-overflow.h>.
14038         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14039         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14040         * sysdeps/ieee754/dbl-64/s_lround.c: Include
14041         <fix-fp-int-convert-overflow.h>.
14042         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
14043         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14044         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
14045         and <fix-fp-int-convert-overflow.h>.
14046         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14047         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14048         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
14049         <limits.h> and <fix-fp-int-convert-overflow.h>.
14050         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14051         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14052         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
14053         and <fix-fp-int-convert-overflow.h>.
14054         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14055         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14056         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
14057         and <fix-fp-int-convert-overflow.h>.
14058         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14059         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14060         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
14062 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
14064         [BZ #18589]
14065         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
14066         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
14067         $(gen-locales).
14069 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14070             Phil Blundell <pb@pbcl.net>
14072         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
14073         * nptl/tst-cancel26.c: New file.
14074         * nptl/tst-cancel27.c: Likewise.
14076 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
14078         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
14079         __ILP32__ isn't defined.
14080         (lrint): Likewise.
14081         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
14082         (lrintf): Likewise.
14083         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
14084         (lrintl): Likewise.
14085         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
14086         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
14087         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
14089 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14091         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14092         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14094         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
14095         file.
14096         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
14097         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14099 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14101         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
14102         configure test.
14103         * sysdeps/i386/configure: Regenerated.
14104         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
14105         configure test.
14106         * sysdeps/x86_64/configure: Regenerated.
14107         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
14108         Make code unconditional.
14110         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
14111         test.
14112         * sysdeps/i386/configure: Regenerated.
14113         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
14114         test.
14115         * sysdeps/x86_64/configure: Regenerated.
14116         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
14117         Make code unconditional.
14118         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14119         Likewise.
14120         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
14121         Likewise.
14122         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14123         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
14124         code unconditional.
14125         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14126         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
14127         code unconditional.
14128         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14129         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
14130         code unconditional.
14131         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
14132         code unconditional.
14133         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14134         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
14135         code unconditional.
14136         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14137         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
14138         code unconditional.
14139         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14140         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
14141         code unconditional.
14142         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14143         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
14144         code unconditional.
14145         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14146         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
14148         [BZ #19095]
14149         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
14150         mantissa to long int before shifting left.
14152 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14154         [BZ #19094]
14155         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
14156         <limits.h>.
14157         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14158         when result overflows but exception would not result from cast.
14159         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
14160         <limits.h>.
14161         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14162         when result overflows but exception would not result from cast.
14163         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
14164         <limits.h>.
14165         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14166         when result overflows but exception would not result from cast.
14167         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
14168         <limits.h>.
14169         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14170         when result overflows but exception would not result from cast.
14171         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
14172         <limits.h>.
14173         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14174         when result overflows but exception would not result from cast.
14175         * math/libm-test.inc (lrint_test_data): Add more tests.
14176         (llrint_test_data): Likewise.
14178 2015-10-08  Roland McGrath  <roland@hack.frob.com>
14180         [BZ #18872]
14181         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
14182         Move out from under [$(run-built-tests) = yes] conditional.
14183         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
14184         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
14186 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
14188         [BZ #18589]
14189         * string/Makefile (tests): Add bug-strcoll2.
14190         (LOCALES): Add cs_CZ.UTF-8.
14191         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
14193         [BZ #18589]
14194         * string/bug-strcoll2.c: New file.
14195         * locale/categories.def: Revert commit
14196         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
14197         * locale/langinfo.h: Likewise.
14198         * locale/localeinfo.h: Likewise.
14199         * locale/C-collate.c: Likewise.
14200         * locale/programs/ld-collate.c (collate_output): Likewise.
14201         * string/strcoll_l.c (STRDIFF): Likewise.
14202         (STRCOLL): Likewise.
14203         * wcsmbs/wcscoll_l.c: Likewise.
14205 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14207         * math/libm-test.inc (lround_test_data): Do not expect the absence
14208         of "inexact" for some tests with non-integer arguments.
14209         (llround_test_data): Likewise.
14211         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
14212         test.
14213         (libc_cv_cc_sse2avx): Likewise.
14214         * sysdeps/i386/configure: Regenerated.
14215         * sysdeps/i386/i686/multiarch/Makefile
14216         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
14217         [$(subdir) = math].
14218         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
14219         code unconditional.
14220         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14221         Likewise.
14222         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
14223         Likewise.
14224         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14225         Likewise.
14226         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
14227         test.
14228         (libc_cv_cc_sse2avx): Likewise.
14229         * sysdeps/x86_64/configure: Regenerated.
14230         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
14231         unconditional.
14232         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
14233         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
14234         unconditional.
14235         (_dl_runtime_profile)
14236         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
14237         conditional code.
14238         * sysdeps/x86_64/fpu/multiarch/Makefile
14239         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
14240         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14241         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14242         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14243         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14244         * sysdeps/x86_64/fpu/multiarch/e_log.c
14245         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14246         * sysdeps/x86_64/fpu/multiarch/s_atan.c
14247         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14248         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14249         Likewise.
14250         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14251         Likewise.
14252         * sysdeps/x86_64/fpu/multiarch/s_sin.c
14253         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14254         * sysdeps/x86_64/fpu/multiarch/s_tan.c
14255         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14256         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
14257         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
14258         (HAVE_SSE2AVX_SUPPORT): Likewise.
14260 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
14262         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
14263         instead of #pragma optimize.
14265 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14267         [BZ #17195]
14268         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
14269         as is similarly done in systrim and _int_free already.
14271 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14273         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
14275 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14277         [BZ #19088]
14278         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
14279         <limits.h>.
14280         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14281         overflows but exception would not result from cast.
14282         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
14283         and <limits.h>.
14284         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14285         overflows but exception would not result from cast.
14286         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
14287         <limits.h>.
14288         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14289         overflows but exception would not result from cast.
14290         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
14291         <limits.h>.
14292         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14293         overflows but exception would not result from cast.
14294         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
14295         <limits.h>.
14296         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14297         overflows but exception would not result from cast.
14298         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
14299         <limits.h>.
14300         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14301         overflows but exception would not result from cast.
14302         * math/libm-test.inc (lround_test_data): Add more tests.
14303         (llround_test_data): Likewise.
14305 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
14307         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
14308         (CFLAGS-ialloc.c): Ditto.
14309         (CFLAGS-scheck.c): Ditto.
14311 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14313         [BZ #19086]
14314         * manual/filesys.texi (Storage Allocation): Fix argument order for
14315         posix_fallocate64.
14317 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14319         [BZ #19085]
14320         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
14321         exponent below 48 inside case for non-overflowing exponent.
14322         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
14324 2015-10-07  Florian Weimer  <fweimer@redhat.com>
14326         * iconvdata/cp737.h (from_idx): Add const.
14327         * iconvdata/cp775.h (from_idx): Likewise.
14329 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14331         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
14332         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
14333         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
14335         [BZ #19079]
14336         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
14337         file, conditioned on [!_LP64].
14338         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
14339         [!_LP64] (__lround): Do not define as function or alias.
14340         [!_LP64] (lround): Likewise.
14341         [!_LP64] (__lroundl): Likewise.
14342         [!_LP64] (lroundl): Likewise.
14343         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
14344         macro.
14345         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14346         Likewise.
14348 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14350         * math/libm-test.inc (lrint_test_data): Add more tests.
14351         (llrint_test_data): Likewise.
14352         (lround_test_data): Likewise.
14353         (llround_test_data): Likewise.
14355         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
14356         (llrint_test_data): Add tests used for lrint.
14358         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
14359         test.
14360         * sysdeps/i386/configure: Regenerated.
14361         * sysdeps/i386/i686/multiarch/Makefile
14362         [$(config-cflags-sse4) = yes]: Make code unconditional.
14363         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14364         Likewise.
14365         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
14366         Likewise.
14367         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
14368         test.
14369         * sysdeps/x86_64/configure: Regenerated.
14370         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
14371         Make code unconditional.
14372         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14373         Likewise.
14374         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
14375         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
14377         * scripts/rpm2dynsym.sh: Remove file.
14379 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14381         * configure.ac (libc_cv_cxx_thread_local): Define.
14382         * configure: Regenerate.
14383         * config.make.in (have-cxx-thread_local): Define.
14384         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
14385         (LDLIBS-tst-thread_local1): Define.
14386         (tests): Add tst-thread_local1.
14387         [have-cxx-thread_local != yes] (tests-unsupported): Add
14388         tst-thread_local1.
14389         * nptl/tst-thread_local1.cc: New file.
14391 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14393         [BZ #19078]
14394         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
14395         (u_thres): Likewise.
14396         (__expl): Determine whether to call __kernel_standard_l based on
14397         value of result, not argument.
14399         * math/libm-test.inc (scalb_test_data): Add more expectations for
14400         the "inexact" exception.
14402         [BZ #19077]
14403         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
14404         0.0L for argument 1.0L.
14406         [BZ #19076]
14407         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
14408         constant 0.0L when computing infinite result.
14410 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14412         [BZ #10432]
14413         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
14414         malloc_usable_size.
14416 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14418         [BZ #19018]
14419         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14420         Mangle function pointer before storing it.
14421         (__call_tls_dtors): Demangle function pointer before calling it.
14423 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14425         [BZ #19012]
14426         * iconv/gconv_db.c (gen_steps): Check for additional errors.
14427         Clean up on failure.
14429 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
14431         [BZ #19071]
14432         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
14433         long int variable to store possibly incremented high part of
14434         mantissa.
14435         * math/libm-test.inc (lround_test_data): Add tests used for
14436         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
14437         for tests requiring 64-bit long.  Do not condition tests on
14438         [TEST_FLOAT] unnecessarily.
14439         (llround_test_data): Add tests used for lround.  Add another
14440         expectation for the "inexact" exception.  Do not condition tests
14441         on [TEST_FLOAT] unnecessarily.
14443         [BZ #887]
14444         [BZ #19049]
14445         [BZ #19050]
14446         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
14447         * sysdeps/ieee754/dbl-64/e_log10.c: Include
14448         <fix-int-fp-convert-zero.h>.
14449         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14450         * sysdeps/ieee754/dbl-64/e_log2.c: Include
14451         <fix-int-fp-convert-zero.h>.
14452         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14453         * sysdeps/ieee754/dbl-64/s_erf.c: Include
14454         <fix-int-fp-convert-zero.h>.
14455         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14456         * sysdeps/ieee754/dbl-64/s_logb.c: Include
14457         <fix-int-fp-convert-zero.h>.
14458         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14459         * sysdeps/ieee754/flt-32/e_log10f.c: Include
14460         <fix-int-fp-convert-zero.h>.
14461         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14462         * sysdeps/ieee754/flt-32/e_log2f.c: Include
14463         <fix-int-fp-convert-zero.h>.
14464         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14465         * sysdeps/ieee754/flt-32/s_erff.c: Include
14466         <fix-int-fp-convert-zero.h>.
14467         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14468         * sysdeps/ieee754/flt-32/s_logbf.c: Include
14469         <fix-int-fp-convert-zero.h>.
14470         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14471         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
14472         <fix-int-fp-convert-zero.h>.
14473         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14474         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
14475         <fix-int-fp-convert-zero.h>.
14476         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14477         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
14478         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
14479         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
14480         file.
14481         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
14483 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
14485         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14487 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
14489         [BZ #19059]
14490         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
14491         overflowing computation.
14492         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14493         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14494         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14495         Likewise.
14496         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14497         Likewise.
14498         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14499         Likewise.
14500         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14501         Likewise.
14502         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14503         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14504         Likewise.
14505         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14506         Likewise.
14507         * math/libm-test.inc (nexttoward_test_data): Add more tests.
14509         * nss/rewrite_field.c (__nss_rewrite_field): Use
14510         internal_function.
14511         * nss/valid_field.c (__nss_valid_field): Likewise.
14512         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
14514 2015-10-02  Florian Weimer  <fweimer@redhat.com>
14516         [BZ #18724]
14517         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
14518         (__nss_invalid_field_characters, __nss_valid_field)
14519         (__nss_valid_list_field, __nss_rewrite_field): Declare.
14520         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
14521         tst-field.c: New file.
14522         * nss/Makefile (routines): Add valid_field, rewrite_field.
14523         (tests-static): Define unconditionally.
14524         (tests): Include tests-static.
14525         [build-static-nss] (tests-static): Use append.
14526         [build-static-nss] (tests): Remove modification.
14527         * nss/getent.c (print_group): Call putgrent.  Report error.
14528         (print_gshadow): Call putsgent.  Report error.
14529         (print_passwd): Call putpwent.  Report error.
14530         (print_shadow): Call putspent.  Report error.
14531         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
14532         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
14533         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
14534         name, password, directory, shell fields for valid syntax.  Rewrite
14535         GECOS field to match syntax.
14536         * pwd/Makefile (tests): Add tst-putpwent.
14537         * pwd/tst-putpwent.c: New file.
14538         * grp/putgrent.c (putgrent): Convert to ISO function definition.
14539         Check grName, grpasswd, gr_mem fields for valid syntax.
14540         Change loop variable i to size_t.
14541         * grp/Makefile (tests): Add tst-putgrent.
14542         * grp/tst-putgrent.c: New file.
14543         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
14544         valid syntax.
14545         * shadow/Makefile (tests): Add tst-putspent.
14546         * shadow/tst-putspent.c: New file.
14547         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
14548         sg_mem fields for valid syntax.
14549         * gshadow/Makefile (tests): Add tst-putsgent.
14550         * gshadow/tst-putsgent.c: New file.
14552 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14554         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
14555         assembly instructions.
14557 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14559         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
14560         prefix from operands.
14562 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
14564         [BZ #16347]
14565         [BZ #19046]
14566         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
14567         <libc-internal.h>.
14568         (MAXLGM): Do not use diagnostic control macros.
14569         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
14570         threshold for ldbl-128ibm.
14571         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
14572         instead of multiplying by log then subtracting.
14573         * math/auto-libm-test-in: Add more tests of lgamma.
14574         * math/auto-libm-test-out: Regenerated.
14576         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
14577         (TYPE_HEX_DIG): Likewise.
14578         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
14579         precisions when printing floating-point numbers.
14580         (check_float_internal): Likewise.
14582 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14584         [BZ #16620]
14585         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
14586         of log (10) rounded downward to 48 bits.
14587         (log10_low): Use corresponding low part of log (10).
14589         [BZ #19032]
14590         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
14591         compute result as (x - x) / (x - x) not as 0 / 0.
14592         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14593         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
14595         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14596         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
14597         and expm1.
14598         * math/auto-libm-test-out: Regenerated.
14599         * math/libm-test.inc (acos_test_data): Add more tests.
14600         (asin_test_data): Likewise.
14601         (asinh_test_data): Likewise.
14602         (atan_test_data): Likewise.
14603         (atanh_test_data): Likewise.
14604         (atan2_test_data): Likewise.
14605         (cbrt_test_data): Likewise.
14606         (ceil_test_data): Likewise.
14607         (copysign_test_data): Likewise.
14608         (cos_test_data): Likewise.
14609         (cosh_test_data): Likewise.
14610         (erf_test_data): Likewise.
14611         (erfc_test_data): Likewise.
14612         (exp_test_data): Likewise.
14613         (exp10_test_data): Likewise.
14614         (exp2_test_data): Likewise.
14615         (expm1_test_data): Likewise.
14616         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14618 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
14620         [BZ #19006]
14621         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
14622         to ...
14623         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
14624         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
14625         to ...
14626         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
14627         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
14628         to ...
14629         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
14630         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
14631         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
14632         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
14633         to ...
14634         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
14635         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14636         Moved to ...
14637         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
14638         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14639         Moved to ...
14640         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
14641         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
14642         to ...
14643         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
14644         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14645         Moved to ...
14646         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
14647         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
14648         to ...
14649         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
14650         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
14651         Removed.
14652         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
14653         Likewise.
14654         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
14655         Likewise.
14656         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
14657         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
14658         Likewise.
14659         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14660         Likewise.
14661         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14662         Likewise.
14663         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14664         Likewise.
14665         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14666         Likewise.
14667         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
14668         Likewise.
14669         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
14670         Likewise.
14671         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
14672         Likewise.
14673         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
14674         Likewise.
14675         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
14676         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
14677         Likewise.
14678         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14679         Likewise.
14680         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14681         Likewise.
14682         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14683         Likewise.
14684         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
14685         Likewise.
14686         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14687         Replace ../i486/pthread_cond_timedwait.S with
14688         ../pthread_cond_timedwait.S.
14690 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14692         * math/libm-test.inc (acos_test_data): Refine expectations for
14693         errno and "inexact" exceptions.
14694         (acosh_test_data): Likewise.
14695         (asin_test_data): Likewise.
14696         (asinh_test_data): Likewise.
14697         (atan_test_data): Likewise.
14698         (atanh_test_data): Likewise.
14699         (atan2_test_data): Likewise.
14700         (cbrt_test_data): Likewise.
14701         (ceil_test_data): Likewise.
14702         (copysign_test_data): Likewise.
14703         (cosh_test_data): Likewise.
14704         (erf_test_data): Likewise.
14705         (erfc_test_data): Likewise.
14706         (exp_test_data): Likewise.
14707         (exp10_test_data): Likewise.
14708         (exp2_test_data): Likewise.
14709         (expm1_test_data): Likewise.
14710         (fabs_test_data): Likewise.
14711         (floor_test_data): Likewise.
14712         (fma_test_data): Likewise.
14713         (fmax_test_data): Likewise.
14714         (fmin_test_data): Likewise.
14715         (fmod_test_data): Likewise.
14716         (fpclassify_test_data): Likewise.
14717         (frexp_test_data): Likewise.
14718         (hypot_test_data): Likewise.
14719         (ilogb_test_data): Likewise.
14720         (isgreater_test_data): Likewise.
14721         (isgreaterequal_test_data): Likewise.
14722         (isinf_test_data): Likewise.
14723         (isless_test_data): Likewise.
14724         (islessequal_test_data): Likewise.
14725         (islessgreater_test_data): Likewise.
14726         (isnan_test_data): Likewise.
14727         (isnormal_test_data): Likewise.
14728         (issignaling_test_data): Likewise.
14729         (isunordered_test_data): Likewise.
14730         (j0_test_data): Likewise.
14731         (j1_test_data): Likewise.
14732         (jn_test_data): Likewise.
14733         (lgamma_test_data): Likewise.
14734         (lrint_test_data): Likewise.
14735         (llrint_test_data): Likewise.
14736         (log_test_data): Likewise.
14737         (log10_test_data): Likewise.
14738         (log1p_test_data): Likewise.
14739         (log2_test_data): Likewise.
14740         (logb_test_data): Likewise.
14741         (lround_test_data): Likewise.
14742         (llround_test_data): Likewise.
14743         (modf_test_data): Likewise.
14744         (nearbyint_test_data): Likewise.
14745         (nextafter_test_data): Likewise.
14746         (nexttoward_test_data): Likewise.
14747         (pow_test_data): Likewise.
14748         (remainder_test_data): Likewise.
14749         (remquo_test_data): Likewise.
14750         (rint_test_data): Likewise.
14751         (round_test_data): Likewise.
14752         (signbit_test_data): Likewise.
14753         (sinh_test_data): Likewise.
14754         (sqrt_test_data): Likewise.
14755         (tanh_test_data): Likewise.
14756         (tgamma_test_data): Likewise.
14757         (trunc_test_data): Likewise.
14758         (y0_test_data): Likewise.
14759         (y1_test_data): Likewise.
14760         (yn_test_data): Likewise.
14761         (significand_test_data): Likewise.
14763 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
14765         * manual/filesys.texi (Storage Allocation): Document that
14766         posix_fallocate emulation fails when fd is open with O_WRONLY.
14768 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
14770         [BZ #19016]
14771         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
14772         allow more cases with X^2 + Y^2 >= 0.5.
14773         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
14774         normal element in sum instead of special-casing based on values of
14775         arguments.
14776         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
14777         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
14778         -1 as normal element in sum instead of special-casing based on
14779         values of arguments.
14780         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
14781         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
14782         (__x2y2m1): Update comment.
14783         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
14784         as normal element in sum instead of special-casing based on values
14785         of arguments.
14786         * math/s_clog.c (__clog): Handle more cases using log1p without
14787         hypot.
14788         * math/s_clog10.c (__clog10): Likewise.
14789         * math/s_clog10f.c (__clog10f): Likewise.
14790         * math/s_clog10l.c (__clog10l): Likewise.
14791         * math/s_clogf.c (__clogf): Likewise.
14792         * math/s_clogl.c (__clogl): Likewise.
14793         * math/auto-libm-test-in: Add more tests of clog and clog10.
14794         * math/auto-libm-test-out: Regenerated.
14795         * sysdeps/i386/fpu/libm-test-ulps: Update.
14796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14798 2015-09-28  Martin Sebor  <msebor@redhat.com>
14800         [BZ #18969]
14801         * string/Makefile (LOCALES): Define.
14802         (gen-locales.mk): Include.
14803         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
14804         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
14805         * string/tst-strxfrm2.c (do_test): Print the name of the locale
14806         on setlocale failure.
14808 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14810         [BZ #18985]
14811         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
14812         (__strftime_internal): Likewise.
14813         * time/tst-strftime.c (do_bz18985): New test.
14814         (do_test): Call it.
14816 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
14818         [BZ #18956]
14819         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
14820         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
14821         extracting high part.
14822         * math/auto-libm-test-in: Add another test of pow.
14823         * math/auto-libm-test-out: Regenerated.
14824         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14826 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14828         [BZ #18825]
14829         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
14830         New macro.
14831         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
14832         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14833         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
14834         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
14835         DBL_NARROW_EVAL, reloading the PIC register as needed.
14836         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
14837         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
14838         FLT_NARROW_EVAL.  Use separate return path for case when first
14839         argument is NaN.
14840         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
14841         DEFINE_LDBL_MIN.
14842         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
14843         PIC register.
14844         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
14845         math_check_force_underflow_nonneg.
14846         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
14847         underflow for subnormal result.
14848         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14849         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
14850         math_check_force_underflow_nonneg.
14851         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
14852         math_check_force_underflow.
14853         * sysdeps/x86_64/fpu/x86_64-math-asm.h
14854         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
14855         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
14856         DEFINE_LDBL_MIN.
14857         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
14858         * math/auto-libm-test-in: Add more tests of pow.
14859         * math/auto-libm-test-out: Regenerated.
14861 2015-09-25  Florian Weimer  <fweimer@redhat.com>
14863         * nss/bug17079.c (init_test_items): Add diagnostic for
14864         inconsistent entries.
14865         (test_buffer_size): Skip inconsistent entries.
14867 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14869         [BZ #13304]
14870         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
14871         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14872         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
14874         [BZ #13304]
14875         * sysdeps/microblaze/s_fma.c: New file.
14876         * sysdeps/microblaze/s_fmaf.c: Likewise.
14877         * sysdeps/microblaze/sfp-machine.h: Likewise.
14879 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
14881         [BZ #17250]
14882         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
14883         member.
14885 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14887         [BZ #18803]
14888         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
14889         (MO): New macro.
14890         (__ieee754_hypot) [PIC]: Load PIC register.
14891         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
14892         DBL_NARROW_EVAL.
14893         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
14894         math_check_force_underflow_nonneg in case where result might be
14895         tiny.
14896         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14897         Likewise.
14898         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14899         Likewise.
14900         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14901         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14902         * math/auto-libm-test-in: Add more tests of hypot.
14903         * math/auto-libm-test-out: Regenerated.
14905 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
14907         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
14909 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14911         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
14912         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
14913         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14914         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14915         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
14916         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14917         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14919         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
14920         LOAD_PIC_REG.
14922         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
14923         (FLT_CHECK_FORCE_UFLOW): Likewise.
14924         (DBL_CHECK_FORCE_UFLOW): Likewise.
14925         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
14926         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
14927         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
14928         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14929         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14930         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14931         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14932         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14933         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
14934         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14935         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
14936         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
14937         (flt_min): Replace with use of DEFINE_FLT_MIN.
14938         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
14939         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
14940         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14941         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
14942         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
14943         (flt_min): Replace with use of DEFINE_FLT_MIN.
14944         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
14945         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
14946         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14947         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
14948         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
14949         (flt_min): Replace with use of DEFINE_FLT_MIN.
14950         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
14951         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
14952         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14953         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14954         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
14955         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14956         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14957         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
14958         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14959         (__atan): Use DBL_CHECK_FORCE_UFLOW.
14960         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
14961         (flt_min): Replace with use of DEFINE_FLT_MIN.
14962         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
14963         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
14964         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14965         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
14966         main computation.
14967         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
14968         (flt_min): Replace with use of DEFINE_FLT_MIN.
14969         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
14970         main computation.
14971         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
14972         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14973         (MO): New macro.
14974         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
14975         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
14976         (flt_min): Replace with use of DEFINE_FLT_MIN.
14977         (MO): New macro.
14978         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
14979         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
14980         (__log1pl): Use MO.
14982         [BZ #19003]
14983         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
14984         $(config-cflags-nofma).
14986 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14988         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14990 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
14992         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
14993         (TWO127): Likewise.
14995         * sysdeps/generic/math_private.h (fabs_tg): New macro.
14996         (min_of_type): Likewise.
14997         (math_check_force_underflow): Likewise.
14998         (math_check_force_underflow_nonneg): Likewise.
14999         (math_check_force_underflow_complex): Likewise.
15000         * math/e_exp2l.c (__ieee754_exp2l): Use
15001         math_check_force_underflow_nonneg.
15002         * math/k_casinh.c (__kernel_casinh): Likewise.
15003         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15004         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15005         * math/s_catan.c (__catan): Use
15006         math_check_force_underflow_complex.
15007         * math/s_catanf.c (__catanf): Likewise.
15008         * math/s_catanh.c (__catanh): Likewise.
15009         * math/s_catanhf.c (__catanhf): Likewise.
15010         * math/s_catanhl.c (__catanhl): Likewise.
15011         * math/s_catanl.c (__catanl): Likewise.
15012         * math/s_ccosh.c (__ccosh): Likewise.
15013         * math/s_ccoshf.c (__ccoshf): Likewise.
15014         * math/s_ccoshl.c (__ccoshl): Likewise.
15015         * math/s_cexp.c (__cexp): Likewise.
15016         * math/s_cexpf.c (__cexpf): Likewise.
15017         * math/s_cexpl.c (__cexpl): Likewise.
15018         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
15019         * math/s_clog10.c (__clog10): Likewise.
15020         * math/s_clog10f.c (__clog10f): Likewise.
15021         * math/s_clog10l.c (__clog10l): Likewise.
15022         * math/s_clogf.c (__clogf): Likewise.
15023         * math/s_clogl.c (__clogl): Likewise.
15024         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
15025         * math/s_csinf.c (__csinf): Likewise.
15026         * math/s_csinh.c (__csinh): Likewise.
15027         * math/s_csinhf.c (__csinhf): Likewise.
15028         * math/s_csinhl.c (__csinhl): Likewise.
15029         * math/s_csinl.c (__csinl): Likewise.
15030         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
15031         * math/s_csqrtf.c (__csqrtf): Likewise.
15032         * math/s_csqrtl.c (__csqrtl): Likewise.
15033         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
15034         * math/s_ctanf.c (__ctanf): Likewise.
15035         * math/s_ctanh.c (__ctanh): Likewise.
15036         * math/s_ctanhf.c (__ctanhf): Likewise.
15037         * math/s_ctanhl.c (__ctanhl): Likewise.
15038         * math/s_ctanl.c (__ctanl): Likewise.
15039         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
15040         instead of volatile.
15041         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
15042         math_check_force_underflow.
15043         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15044         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
15045         volatile when forcing underflow.
15046         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15047         math_check_force_underflow_nonneg.
15048         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
15049         Likewise.
15050         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
15051         math_check_force_underflow.
15052         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15053         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15054         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15055         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
15056         math_check_force_underflow_nonneg.
15057         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
15058         math_check_force_underflow.
15059         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
15060         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
15061         instead of volatile.
15062         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
15063         math_check_force_underflow.
15064         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15065         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15066         math_check_force_underflow_nonneg.
15067         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
15068         math_check_force_underflow.
15069         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15070         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15071         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
15072         math_check_force_underflow_nonneg.
15073         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15074         Likewise.
15075         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
15076         math_check_force_underflow.
15077         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15078         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15079         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
15080         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
15081         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15082         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
15083         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
15084         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
15085         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15086         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
15087         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15088         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
15089         Likewise.
15090         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
15091         math_check_force_underflow_nonneg.
15092         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15093         Likewise.
15094         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
15095         math_check_force_underflow.
15096         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15097         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
15098         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15099         Likewise.
15100         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
15101         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
15102         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
15103         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
15104         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
15105         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
15106         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
15107         instead of volatile.
15108         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
15109         math_check_force_underflow.
15110         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
15111         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
15112         math_check_force_underflow.
15113         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
15114         Likewise.
15115         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15116         Use math_check_force_underflow_nonneg.
15117         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
15118         math_check_force_underflow.
15119         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
15120         Likewise.
15121         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15122         Likewise.
15123         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15124         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15125         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15126         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15127         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
15128         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15129         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15130         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
15131         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
15132         math_check_force_underflow_nonneg.
15133         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
15134         math_check_force_underflow.
15135         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15136         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
15137         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
15138         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
15139         math_check_force_underflow_nonneg.
15140         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
15141         math_check_force_underflow.
15142         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
15143         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
15144         instead of volatile.
15145         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
15146         math_check_force_underflow.
15148         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
15149         * stdlib/strtod_l.c: Include <math_private.h>.
15150         (overflow_value): Use math_narrow_eval.
15151         (underflow_value): Likewise.
15152         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15153         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15154         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15155         (__ieee754_gamma_r): Likewise.
15156         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
15157         Likewise.
15158         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15159         Likewise.
15160         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
15161         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
15162         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
15163         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
15164         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15165         (__ieee754_gammaf_r): Likewise.
15166         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15167         Likewise.
15168         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
15169         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
15170         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
15171         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
15172         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
15173         volatile.
15174         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
15175         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
15176         math_narrow_eval.
15177         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15178         Likewise.
15179         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15180         Likewise.
15181         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
15182         Likewise.
15183         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
15184         volatile.
15185         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
15186         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
15187         math_narrow_eval.
15188         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15189         Likewise.
15190         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15191         Likewise.
15193 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
15195         * nptl/Versions: Remove ignored symbols.
15197 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15199         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
15200         * nss/Makefile (tests): Update.
15202 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15204         * nss/bug18287.c: New file.
15205         * nss/Makefile (tests): Add bug18287.
15207 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15209         * mach/Versions (__mach_host_self_): Add symbol.
15211 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15213         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
15214         vm_page_size.
15216 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15218         Really fix sysdeps/i386/fpu/s_scalbn.S build
15220         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
15221         (libc: GLIBC_2_22): Remove unused version set.
15223 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15225         * config.make.in (enable-timezone-tools): New variable.
15226         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
15227         (enable_timezone_tools): Export to generated files.
15228         * configure: Regenerate.
15229         * INSTALL: Regenerate.
15230         * manual/install.texi (--disable-timezone-tools): Document new flag.
15231         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
15232         ifeq ($(enable-timezone-tools),yes) check.
15234 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15236         * timezone/Makefile: Revert previous change.
15238         [BZ #18980]
15239         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
15240         (DEFINE_DBL_MIN): Likewise.
15241         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15242         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15243         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15244         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15245         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
15246         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15247         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15248         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
15249         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
15250         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15251         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15252         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
15253         (flt_min): Replace with use of DEFINE_FLT_MIN.
15254         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15255         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
15256         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15257         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15258         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
15259         (flt_min): Replace with use of DEFINE_FLT_MIN.
15260         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15261         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
15262         (flt_min): Replace with use of DEFINE_FLT_MIN.
15263         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15264         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
15265         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
15266         (__ieee754_hypot): Use DBL_NARROW_EVAL.
15267         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
15268         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
15269         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
15270         (__ieee754_pow): Use DBL_NARROW_EVAL.
15271         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
15272         (__ieee754_powf): Use FLT_NARROW_EVAL.
15273         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
15274         (__ieee754_expf_sse2): Convert double-precision result to single
15275         precision.
15276         * sysdeps/i386/fpu/libm-test-ulps: Update.
15278 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15280         * timezone/Makefile: Ignore unused variable errors due to private.h
15281         (time_t_min) and (time_t_max).
15282         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
15283         Likewise.
15285 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15287         [BZ #18981]
15288         * sysdeps/i386/fpu/i386-math-asm.h: New file.
15289         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
15290         (__ieee754_scalb): Use DBL_NARROW_EVAL.
15291         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
15292         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
15293         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
15294         (__scalbn): Use DBL_NARROW_EVAL.
15295         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
15296         (__scalbnf): Use FLT_NARROW_EVAL.
15298 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15300         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
15301         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
15302         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
15303         * stdio-common/printf_fp.c (___printf_fp):
15304         Use signbit to get the sign. Use isinf macro to allow inlining.
15305         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
15306         * stdio-common/printf_size.c (__printf_size): Likewise.
15308 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15310         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
15312 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15314         [BZ #18980]
15315         * sysdeps/generic/math_private.h: Include <float.h>.
15316         (math_narrow_eval): New macro.
15317         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15318         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
15319         math_narrow_eval on overflowing return value.
15320         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
15321         Likewise.
15322         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15323         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
15324         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
15325         Likewise.
15326         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15328 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15330         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
15331         * math/Makefile: Remove isinf_ns.c.
15332         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
15333         * math/multc3.c (__multc3): Likewise.
15334         * math/s_casin.c (__casin): Likewise.
15335         * math/s_casinf.c (__casinf): Likewise.
15336         * math/s_casinl.c (__casinl): Likewise.
15337         * math/s_cproj.c (__cproj): Likewise.
15338         * math/s_cprojf.c (__cprojf): Likewise.
15339         * math/s_cprojl.c (__cprofl): Likewise.
15340         * math/s_ctan.c (__ctan): Likewise.
15341         * math/s_ctanf.c (__ctanf): Likewise.
15342         * math/s_ctanh.c (__ctanh): Likewise.
15343         * math/s_ctanhf.c (__ctanhf): Likewise.
15344         * math/s_ctanhl.c (__ctanhl): Likewise.
15345         * math/s_ctanl.c (__ctanl): Likewise.
15346         * math/w_fmod.c (__fmod): Likewise.
15347         * math/w_fmodf.c (__fmodf): Likewise.
15348         * math/w_fmodl.c (_fmodl): Likewise.
15349         * math/w_remainder.c (__remainder): Likewise.
15350         * math/w_remainderf.c (__remainderf): Likewise.
15351         * math/w_remainderl.c (__remainderl): Likewise.
15352         * math/w_scalb.c (__scalb): Likewise.
15353         * math/w_scalbf.c (__scalbf): Likewise.
15354         * math/w_scalbl.c (__scalbl): Likewise.
15355         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
15356         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
15357         with isinf.
15358         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
15359         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
15360         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
15361         __isinf_nsf with isinf.
15362         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
15363         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
15364         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
15365         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
15366         with isinf.
15367         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
15368         __isinf_nsl with isinf.
15369         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
15370         with isinf.
15371         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
15372         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
15373         __isinf_nsl with isinf.
15374         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
15375         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
15376         with isinf.
15378 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15380         * resolv/base64.c (rcsid): Remove unused static.
15381         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
15382         static.  (tqpi1): Likewise.
15383         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
15384         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
15385         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
15386         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
15387         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
15388         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
15389         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
15390         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
15391         Likewise.
15393 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
15395         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
15396         <nptl/pthreadP.h>.
15397         (_longjmp_unwind): Use __libc_ptf_call.
15398         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
15400 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
15402         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
15403         * sysdeps/arm/__longjmp.S: Likewise.
15405 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15407         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
15408         Use __builtin_signbit.
15409         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
15410         Use __builtin_signbitf.
15411         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
15412         Use __builtin_signbitl.
15413         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15414         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
15416 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15418         [BZ #15367]
15419         [BZ #17441]
15421         * math/Makefile: Build test-snan.c with -fsignaling-nans.
15422         * math/math.h (fpclassify): Use __builtin_fpclassify when
15423         available.  (signbit): Use __builtin_signbit(f/l).
15424         (isfinite): Use__builtin_isfinite.  (isnormal): Use
15425         __builtin_isnormal.  (isnan): Use __builtin_isnan.
15426         (isinf): Use __builtin_isinf_sign.
15428 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15430         * benchtests/Makefile: Add bench-math-inlines, link with libm.
15431         * benchtests/bench-math-inlines.c: New benchmark.
15432         * benchtests/bench-util.h: New file.
15433         * benchtests/bench-util.c: New file.
15434         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
15436 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
15438         * elf/tst-dlmopen1.c: Define TEST_SO.
15439         (do_test): Use TEST_SO.
15441         * elf/dl-load.c: Include libc-internal.h.
15442         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
15444 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15446         [BZ #17887]
15447         * time/strptime_l.c (__strptime_internal): Make %z accept
15448         [+-]HH:MM time zones.
15450 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15452         [BZ #17886]
15453         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
15454         valid time zone.
15456 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
15458         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
15459         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
15460         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15461         (__ASSUME_FDATASYNC): Delete.
15463 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15465         * conform/linknamespace.pl: Require weak undefined symbols to be
15466         in the standard namespace.
15467         (%strong_syms): Rename to %seen_syms.
15468         (%strong_seen): Rename to %seen_where.
15470 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
15472         [BZ #18970]
15473         * misc/error.c (error): Replace pthread_setcancelstate with
15474         __pthread_setcancelstate.
15475         (error_at_line): Likewise.
15476         * posix/wordexp.c (parse_comm): Likewise.
15477         * stdlib/fmtmsg.c (fmtmsg): Likewise.
15478         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
15479         (__pthread_setcancelstate): This.
15480         (pthread_setcancelstate): Add an alias.
15481         * nptl/nptl-init.c (pthread_functions): Replace
15482         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
15483         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
15484         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
15485         hidden_proto.
15486         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
15487         it with hidden_def.
15488         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
15489         (pthread_setcancelstate): Renamed to ...
15490         (__pthread_setcancelstate): This.
15491         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
15492         __libc_ptf_call with __pthread_setcancelstate.
15494 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15495             Andreas Schwab  <schwab@suse.de>
15497         [BZ #17118]
15498         * math/s_ctan.c (__ctan): Determine sign of zero real part of
15499         result when imaginary part of argument is infinite using sine and
15500         cosine.
15501         * math/s_ctanf.c (__ctanf): Likewise.
15502         * math/s_ctanl.c (__ctanl): Likewise.
15503         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
15504         of result when real part of argument is infinite using sine and
15505         cosine.
15506         * math/s_ctanhf.c (__ctanhf): Likewise.
15507         * math/s_ctanhl.c (__ctanhl): Likewise.
15508         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
15509         (ctanh_test_data): Add more tests of ctanh.
15511 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15513         [BZ #15384]
15514         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
15515         bit-mask as in subtraction.
15516         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
15517         Likewise.
15518         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
15519         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
15520         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
15522         [BZ #18951]
15523         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
15524         underflow exception for small results.
15525         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15526         Likewise.
15527         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15528         Likewise.
15529         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15530         Likewise.
15531         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15532         Likewise.
15533         * math/auto-libm-test-in: Add more tests of tgamma.
15534         * math/auto-libm-test-out: Regenerated.
15536 2015-09-17  Andreas Schwab  <schwab@suse.de>
15538         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
15540 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15542         [BZ #18977]
15543         * math/bits/mathcalls.h
15544         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
15545         not declare.
15546         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
15547         Likewise.
15548         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
15549         Likewise.
15550         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
15551         Likewise.
15552         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
15553         Likewise.
15554         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
15555         Likewise.
15556         * conform/data/math.h-data
15557         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
15558         function.
15559         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
15560         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
15561         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
15562         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
15563         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
15564         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
15565         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
15566         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
15567         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
15568         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
15569         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
15571         [BZ #6803]
15572         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
15573         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
15574         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
15575         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
15576         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
15577         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
15578         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
15579         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
15580         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15581         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
15582         Likewise.
15583         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15584         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
15585         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
15586         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
15587         long_double_symbol calls.
15588         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
15589         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
15590         strong alias of __ldexpl.
15591         (scalbnl): Define using long_double_symbol.
15592         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
15593         Remove alias.
15594         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
15595         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
15596         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
15597         (scalbln_test_data): Add more errno expectations.
15599 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
15601         Cache the host port like we cache the task port.  This way we do not
15602         need to call the kernel just to get the port.  Furthermore, we no
15603         longer increase the reference count on every invocation of
15604         `mach_host_self'.
15606         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
15607         Protect declarations against the macro expansion.
15608         * mach/mach_init.c (__mach_host_self_): New variable.
15609         (mach_init): Initialize `__mach_host_self_'.
15610         * mach/mach_init.h (__mach_host_self_): New declaration.
15611         (__mach_host_self, mach_host_self): New macros.
15612         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
15613         Release reference.
15615 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15617         [BZ #4404]
15618         * po/de.po: Update from Translation Project.
15620         [BZ #16415]
15621         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
15622         (__expm1l): Remove code to handle positive infinity and overflow.
15623         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
15624         variable.
15625         (__expm1l): Remove code to handle positive infinity and overflow.
15627 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
15628             Paul Pluzhnikov  <ppluzhnikov@google.com>
15630         [BZ #18872]
15631         * stdio-common/Makefile (tst-printf-bz18872): New test.
15632         (tst-printf-bz18872-mem.out): Likewise.
15633         * stdio-common/tst-printf-bz18872.sh: Generate new test.
15634         * stdio-common/vfprintf.c: Fix memory leaks.
15636 2015-09-16  Andreas Schwab  <schwab@suse.de>
15638         [BZ #17244]
15639         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
15640         Remove extra va_start/va_end calls.
15642         [BZ #17243]
15643         * posix/execl.c (execl): Add missing va_end.
15644         * posix/execle.c (execle): Likewise.
15645         * posix/execlp.c (execlp): Likewise.
15647 2015-09-15  Roland McGrath  <roland@hack.frob.com>
15649         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
15650         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
15652 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
15654         [BZ #18967]
15655         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
15656         undefine around includes of <bits/mathcalls.h>.
15657         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
15658         not declare function.
15659         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
15660         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
15661         (scalb): Likewise.
15662         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
15663         not define macro.
15664         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
15665         variable.
15666         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15667         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15668         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15670         [BZ #18857]
15671         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
15672         return non-finite argument without doing ordered comparisons on
15673         it.
15675         [BZ #16296]
15676         * math/fenv.h (fegetround): Use __attribute_pure__.
15677         * include/fenv.h (__fegetround): Likewise.
15679         [BZ #18595]
15680         * math/s_ctan.c (__ctan): Force underflow exception for results
15681         whose real or imaginary part has small absolute value.
15682         * math/s_ctanf.c (__ctanf): Likewise.
15683         * math/s_ctanh.c (__ctanh): Likewise.
15684         * math/s_ctanhf.c (__ctanhf): Likewise.
15685         * math/s_ctanhl.c (__ctanhl): Likewise.
15686         * math/s_ctanl.c (__ctanl): Likewise.
15687         * math/auto-libm-test-in: Do not allow missing underflow for ctan
15688         and ctanh.  Add more tests of ctan and ctanh.
15690         [BZ #15918]
15691         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
15692         handling of cases where one argument is an infinity.
15694         [BZ #18875]
15695         [BZ #18966]
15696         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
15697         (MO): New macro.
15698         (__ieee754_exp10): For small results, force underflow exception
15699         and remove excess range and precision from return value.
15700         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
15701         (MO): New macro.
15702         (__ieee754_exp10f): For small results, force underflow exception
15703         and remove excess range and precision from return value.
15704         * math/auto-libm-test-in: Add more tests of exp10.
15705         * math/auto-libm-test-out: Regenerated.
15707 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
15709         [BZ #18875]
15710         [BZ #18961]
15711         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
15712         (MO): New macro.
15713         (__ieee754_exp): For small results, force underflow exception and
15714         remove excess range and precision from return value.
15715         (__exp_finite): Likewise.
15716         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
15717         (MO): New macro.
15718         (__ieee754_expf): For small results, force underflow exception and
15719         remove excess range and precision from return value.
15720         (__expf_finite): Likewise.
15721         * math/auto-libm-test-in: Add more tests of exp.
15722         * math/auto-libm-test-out: Regenerated.
15724         [BZ #16521]
15725         [BZ #18875]
15726         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
15727         small results.
15728         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
15729         (MO): New macro.
15730         (__ieee754_exp2): For small results, force underflow exception and
15731         remove excess range and precision from return value.
15732         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
15733         (MO): New macro.
15734         (__ieee754_exp2f): For small results, force underflow exception
15735         and remove excess range and precision from return value.
15736         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
15737         (MO): New macro.
15738         (__ieee754_exp2l): Force underflow exception for small results.
15739         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15740         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15741         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
15742         (MO): New macro.
15743         (__ieee754_exp2l): Force underflow exception for small results.
15744         * math/auto-libm-test-in: Add more tests or exp2.
15745         * math/auto-libm-test-out: Regenerated.
15747 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
15749         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
15751         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
15752         /dev/null.
15754 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15756         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15757         io fs process)): Drop spurious backslash.
15759 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15761         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
15762         Use sysinfo system call instead of parsing /proc/meminfo.
15763         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
15764         Likewise.
15766 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
15768         [BZ #16985]
15769         * programs/localedef.c (main): Display argv[remaining] when
15770         output_path is NULL.
15772 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15774         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15775         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
15776         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
15777         tanh.
15778         * math/auto-libm-test-out: Regenerated.
15779         * sysdeps/i386/fpu/libm-test-ulps: Update.
15780         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15781         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15784 2015-09-11  Roland McGrath  <roland@hack.frob.com>
15786         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
15787         Use 'override' keyword to freeze the value here, preventing
15788         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
15790 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15792         [BZ #14912]
15793         * sysdeps/aarch64/bits/atomic.h: Move to ...
15794         * sysdeps/aarch64/atomic-machine.h: ...here.
15795         (_AARCH64_BITS_ATOMIC_H): Rename macro to
15796         _AARCH64_ATOMIC_MACHINE_H.
15797         * sysdeps/alpha/bits/atomic.h: Move to ...
15798         * sysdeps/alpha/atomic-machine.h: ...here.
15799         * sysdeps/arm/bits/atomic.h: Move to ...
15800         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
15801         * bits/atomic.h: Move to ...
15802         * sysdeps/generic/atomic-machine.h: ...here.
15803         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15804         * sysdeps/i386/bits/atomic.h: Move to ...
15805         * sysdeps/i386/atomic-machine.h: ...here.
15806         * sysdeps/ia64/bits/atomic.h: Move to ...
15807         * sysdeps/ia64/atomic-machine.h: ...here.
15808         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
15809         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
15810         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15811         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
15812         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
15813         * sysdeps/microblaze/bits/atomic.h: Move to ...
15814         * sysdeps/microblaze/atomic-machine.h: ...here.
15815         * sysdeps/mips/bits/atomic.h: Move to ...
15816         * sysdeps/mips/atomic-machine.h: ...here.
15817         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
15818         * sysdeps/powerpc/bits/atomic.h: Move to ...
15819         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
15820         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
15821         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
15822         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
15823         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
15824         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
15825         <atomic-machine.h> instead of <bits/atomic.h>.
15826         * sysdeps/s390/bits/atomic.h: Move to ...
15827         * sysdeps/s390/atomic-machine.h: ...here.
15828         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
15829         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
15830         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15831         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
15832         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
15833         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
15834         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
15835         * sysdeps/tile/bits/atomic.h: Move to ...
15836         * sysdeps/tile/atomic-machine.h: ...here.
15837         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
15838         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
15839         <sysdeps/tile/atomic-machine.h> instead of
15840         <sysdeps/tile/bits/atomic.h>.
15841         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15842         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
15843         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
15844         <sysdeps/tile/atomic-machine.h> instead of
15845         <sysdeps/tile/bits/atomic.h>.
15846         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15847         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
15848         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
15849         <sysdeps/arm/atomic-machine.h> instead of
15850         <sysdeps/arm/bits/atomic.h>.
15851         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
15852         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
15853         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15854         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
15855         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
15856         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15857         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
15858         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
15859         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
15860         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
15861         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
15862         * sysdeps/x86_64/bits/atomic.h: Move to ...
15863         * sysdeps/x86_64/atomic-machine.h: ...here.
15864         * include/atomic.h: Include <atomic-machine.h> instead of
15865         <bits/atomic.h>.
15867         * sysdeps/mips/mips32/libm-test-ulps: Update.
15868         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15870         [BZ #18952]
15871         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
15872         not convert non-integer negative arguments to int to determine the
15873         value of signgam.
15874         * math/auto-libm-test-in: Add more tests of lgamma.
15875         * math/auto-libm-test-out: Regenerated.
15877         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
15878         cosh, csqrt, erfc, expm1 and lgamma.
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-09-10  Joseph Myers  <joseph@codesourcery.com>
15885         [BZ #2542]
15886         [BZ #2543]
15887         [BZ #2558]
15888         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
15889         __lgamma_neg for arguments from -28.0 to -2.0.
15890         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
15891         __lgamma_negf for arguments from -15.0 to -2.0.
15892         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15893         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
15894         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
15895         Call __lgamma_negl for arguments from -33.0 to -2.0.
15896         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
15897         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15898         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15899         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
15900         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15901         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15902         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
15903         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
15904         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
15905         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15906         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
15907         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
15908         (__lgamma_neg): Likewise.
15909         (__lgamma_negl): Likewise.
15910         (__lgamma_product): Likewise.
15911         (__lgamma_productl): Likewise.
15912         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
15913         * math/auto-libm-test-in: Add more tests of lgamma.
15914         * math/auto-libm-test-out: Regenerated.
15915         * sysdeps/i386/fpu/libm-test-ulps: Update.
15916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15918 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
15920         [BZ #18675]
15921         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
15923 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
15925         [BZ #14912]
15926         * bits/libc-lock.h: Move to ...
15927         * sysdeps/generic/libc-lock.h: ...here.
15928         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15929         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
15930         * sysdeps/mach/hurd/libc-lock.h: ...here.
15931         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15932         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
15933         * sysdeps/mach/bits/libc-lock.h: Move to ...
15934         * sysdeps/mach/libc-lock.h: ...here.
15935         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15936         * sysdeps/nptl/bits/libc-lock.h: Move to ...
15937         * sysdeps/nptl/libc-lock.h: ...here.
15938         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15939         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
15940         * sysdeps/nptl/libc-lockP.h: ...here.
15941         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
15942         * crypt/crypt_util.c: Include <libc-lock.h> instead of
15943         <bits/libc-lock.h>.
15944         * dirent/scandir-tail.c: Likewise.
15945         * dlfcn/dlerror.c: Likewise.
15946         * elf/dl-close.c: Likewise.
15947         * elf/dl-iteratephdr.c: Likewise.
15948         * elf/dl-lookup.c: Likewise.
15949         * elf/dl-open.c: Likewise.
15950         * elf/dl-support.c: Likewise.
15951         * elf/dl-writev.h: Likewise.
15952         * elf/rtld.c: Likewise.
15953         * grp/fgetgrent.c: Likewise.
15954         * gshadow/fgetsgent.c: Likewise.
15955         * gshadow/sgetsgent.c: Likewise.
15956         * iconv/gconv_conf.c: Likewise.
15957         * iconv/gconv_db.c: Likewise.
15958         * iconv/gconv_dl.c: Likewise.
15959         * iconv/gconv_int.h: Likewise.
15960         * iconv/gconv_trans.c: Likewise.
15961         * include/link.h: Likewise.
15962         * inet/getnameinfo.c: Likewise.
15963         * inet/getnetgrent.c: Likewise.
15964         * inet/getnetgrent_r.c: Likewise.
15965         * intl/bindtextdom.c: Likewise.
15966         * intl/dcigettext.c: Likewise.
15967         * intl/finddomain.c: Likewise.
15968         * intl/gettextP.h: Likewise.
15969         * intl/loadmsgcat.c: Likewise.
15970         * intl/localealias.c: Likewise.
15971         * intl/textdomain.c: Likewise.
15972         * libidn/idn-stub.c: Likewise.
15973         * libio/libioP.h: Likewise.
15974         * locale/duplocale.c: Likewise.
15975         * locale/freelocale.c: Likewise.
15976         * locale/newlocale.c: Likewise.
15977         * locale/setlocale.c: Likewise.
15978         * login/getutent_r.c: Likewise.
15979         * login/getutid_r.c: Likewise.
15980         * login/getutline_r.c: Likewise.
15981         * login/utmp-private.h: Likewise.
15982         * login/utmpname.c: Likewise.
15983         * malloc/mtrace.c: Likewise.
15984         * misc/efgcvt.c: Likewise.
15985         * misc/error.c: Likewise.
15986         * misc/fstab.c: Likewise.
15987         * misc/getpass.c: Likewise.
15988         * misc/mntent.c: Likewise.
15989         * misc/syslog.c: Likewise.
15990         * nis/nis_call.c: Likewise.
15991         * nis/nis_callback.c: Likewise.
15992         * nis/nss-default.c: Likewise.
15993         * nis/nss_compat/compat-grp.c: Likewise.
15994         * nis/nss_compat/compat-initgroups.c: Likewise.
15995         * nis/nss_compat/compat-pwd.c: Likewise.
15996         * nis/nss_compat/compat-spwd.c: Likewise.
15997         * nis/nss_nis/nis-alias.c: Likewise.
15998         * nis/nss_nis/nis-ethers.c: Likewise.
15999         * nis/nss_nis/nis-grp.c: Likewise.
16000         * nis/nss_nis/nis-hosts.c: Likewise.
16001         * nis/nss_nis/nis-network.c: Likewise.
16002         * nis/nss_nis/nis-proto.c: Likewise.
16003         * nis/nss_nis/nis-pwd.c: Likewise.
16004         * nis/nss_nis/nis-rpc.c: Likewise.
16005         * nis/nss_nis/nis-service.c: Likewise.
16006         * nis/nss_nis/nis-spwd.c: Likewise.
16007         * nis/nss_nisplus/nisplus-alias.c: Likewise.
16008         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
16009         * nis/nss_nisplus/nisplus-grp.c: Likewise.
16010         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
16011         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
16012         * nis/nss_nisplus/nisplus-network.c: Likewise.
16013         * nis/nss_nisplus/nisplus-proto.c: Likewise.
16014         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
16015         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
16016         * nis/nss_nisplus/nisplus-service.c: Likewise.
16017         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
16018         * nis/ypclnt.c: Likewise.
16019         * nptl/libc_pthread_init.c: Likewise.
16020         * nss/getXXbyYY.c: Likewise.
16021         * nss/getXXent.c: Likewise.
16022         * nss/getXXent_r.c: Likewise.
16023         * nss/nss_db/db-XXX.c: Likewise.
16024         * nss/nss_db/db-netgrp.c: Likewise.
16025         * nss/nss_db/nss_db.h: Likewise.
16026         * nss/nss_files/files-XXX.c: Likewise.
16027         * nss/nss_files/files-alias.c: Likewise.
16028         * nss/nsswitch.c: Likewise.
16029         * posix/regex_internal.h: Likewise.
16030         * posix/wordexp.c: Likewise.
16031         * pwd/fgetpwent.c: Likewise.
16032         * resolv/res_hconf.c: Likewise.
16033         * resolv/res_libc.c: Likewise.
16034         * shadow/fgetspent.c: Likewise.
16035         * shadow/lckpwdf.c: Likewise.
16036         * shadow/sgetspent.c: Likewise.
16037         * socket/opensock.c: Likewise.
16038         * stdio-common/reg-modifier.c: Likewise.
16039         * stdio-common/reg-printf.c: Likewise.
16040         * stdio-common/reg-type.c: Likewise.
16041         * stdio-common/vfprintf.c: Likewise.
16042         * stdio-common/vfscanf.c: Likewise.
16043         * stdlib/abort.c: Likewise.
16044         * stdlib/cxa_atexit.c: Likewise.
16045         * stdlib/fmtmsg.c: Likewise.
16046         * stdlib/random.c: Likewise.
16047         * stdlib/setenv.c: Likewise.
16048         * string/strsignal.c: Likewise.
16049         * sunrpc/auth_none.c: Likewise.
16050         * sunrpc/bindrsvprt.c: Likewise.
16051         * sunrpc/create_xid.c: Likewise.
16052         * sunrpc/key_call.c: Likewise.
16053         * sunrpc/rpc_thread.c: Likewise.
16054         * sysdeps/arm/backtrace.c: Likewise.
16055         * sysdeps/generic/ldsodefs.h: Likewise.
16056         * sysdeps/generic/stdio-lock.h: Likewise.
16057         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
16058         * sysdeps/i386/backtrace.c: Likewise.
16059         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16060         * sysdeps/m68k/backtrace.c: Likewise.
16061         * sysdeps/mach/hurd/cthreads.c: Likewise.
16062         * sysdeps/mach/hurd/dirstream.h: Likewise.
16063         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16064         * sysdeps/nptl/malloc-machine.h: Likewise.
16065         * sysdeps/nptl/stdio-lock.h: Likewise.
16066         * sysdeps/posix/dirstream.h: Likewise.
16067         * sysdeps/posix/getaddrinfo.c: Likewise.
16068         * sysdeps/posix/system.c: Likewise.
16069         * sysdeps/pthread/aio_suspend.c: Likewise.
16070         * sysdeps/s390/s390-32/backtrace.c: Likewise.
16071         * sysdeps/s390/s390-64/backtrace.c: Likewise.
16072         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16073         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16074         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
16075         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
16076         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
16077         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16078         * sysdeps/unix/sysv/linux/system.c: Likewise.
16079         * sysdeps/x86_64/backtrace.c: Likewise.
16080         * time/alt_digit.c: Likewise.
16081         * time/era.c: Likewise.
16082         * time/tzset.c: Likewise.
16083         * wcsmbs/wcsmbsload.c: Likewise.
16084         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
16085         instead of <bits/libc-lock.h> in comment.
16087 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
16089         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
16090         Only use .set mips2 if the current ISA is below mips2.
16091         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
16092         Likewise.
16093         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
16094         mips32r2 if the current ISA is below mips32r2.
16095         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
16096         (TLS_IE): Updated to use the TLD_RDHWR macro.
16097         (TLS_LE): Likewise.
16098         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
16099         __ASSEMBLER__ condition.
16101 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16103         Fix parallel build of before-compile targets.
16105         * sysdeps/mach/Makefile ($(patsubst
16106         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
16107         mach-before-compile target.
16108         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16109         io fs process)): Move rule to dedicated hurd-before-compile target.
16111 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16113         Fix rules generating headers in hurd/ and mach/ when initial make call
16114         has subdir= explicitly set.
16116         * sysdeps/mach/Makefile ($(patsubst
16117         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
16118         calling $(MAKE).
16119         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16120         io fs process)): Force subdir to hurd when calling $(MAKE).
16121         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
16122         subdir to mach when calling $(MAKE).
16124 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
16126         Check sysheaders when looking for Mach and Hurd headers
16128         * sysdeps/mach/configure.ac: Add sysheaders check.
16129         * sysdeps/mach/configure: Regenerate.
16130         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
16131         * sysdeps/mach/hurd/configure: Regenerate.
16133 2015-09-04  Roland McGrath  <roland@hack.frob.com>
16135         [BZ #18921]
16136         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
16137         Fix inverted sense of test of 'o_directory_works' value.
16138         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
16139         Bernhard Voelker <mail@bernhard-voelker.de>.
16141 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16143         [BZ #14912]
16144         * bits/linkmap.h: Move to ...
16145         * sysdeps/generic/linkmap.h: ...here.
16146         * sysdeps/aarch64/bits/linkmap.h: Move to ...
16147         * sysdeps/aarch64/linkmap.h: ...here.
16148         * sysdeps/arm/bits/linkmap.h: Move to ...
16149         * sysdeps/arm/linkmap.h: ...here.
16150         * sysdeps/hppa/bits/linkmap.h: Move to ...
16151         * sysdeps/hppa/linkmap.h: ...here.
16152         * sysdeps/ia64/bits/linkmap.h: Move to ...
16153         * sysdeps/ia64/linkmap.h: ...here.
16154         * sysdeps/mips/bits/linkmap.h: Move to ...
16155         * sysdeps/mips/linkmap.h: ...here.
16156         * sysdeps/s390/bits/linkmap.h: Move to ...
16157         * sysdeps/s390/linkmap.h: ...here.
16158         * sysdeps/sh/bits/linkmap.h: Move to ...
16159         * sysdeps/sh/linkmap.h: ...here.
16160         * sysdeps/x86/bits/linkmap.h: Move to ...
16161         * sysdeps/x86/linkmap.h: ...here.
16162         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
16164 2015-09-04  Andreas Schwab  <schwab@suse.de>
16166         [BZ #18635]
16167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
16168         (__makecontext): Terminate FDE before return label.
16169         (__novec_makecontext): Likewise.
16171 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16173         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
16174         first member of struct sv in syscall macro.
16176 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16178         [BZ #14912]
16179         * bits/stdio-lock.h: Move to ...
16180         * sysdeps/generic/stdio-lock.h: ...here.
16181         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16182         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
16183         * sysdeps/nptl/stdio-lock.h: ...here.
16184         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16185         * include/libio.h: Include <stdio-lock.h> instead of
16186         <bits/stdio-lock.h>.
16187         * sysdeps/nptl/fork.c: Likewise.
16188         * sysdeps/pthread/flockfile.c: Likewise.
16189         * sysdeps/pthread/ftrylockfile.c: Likewise.
16190         * sysdeps/pthread/funlockfile.c: Likewise.
16192         [BZ #14912]
16193         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
16194         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
16195         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
16196         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
16197         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
16198         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
16199         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
16201 2015-09-03  Roland McGrath  <roland@hack.frob.com>
16203         * elf/Makefile (test-xfail-tst-protected1a): New variable.
16204         (test-xfail-tst-protected1b): New variable.
16206 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
16208         [BZ #14912]
16209         * bits/libc-tsd.h: Move to ...
16210         * sysdeps/generic/libc-tsd.h: ...here.
16211         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
16212         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
16213         * sysdeps/mach/hurd/libc-tsd.h: ...here.
16214         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
16215         * include/ctype.h: Include <libc-tsd.h> instead of
16216         <bits/libc-tsd.h>.
16217         * include/rpc/rpc.h: Likewise.
16218         * locale/localeinfo.h: Likewise.
16219         * sunrpc/rpc_thread.c: Likewise.
16220         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16221         * sysdeps/nptl/malloc-machine.h: Likewise.
16223         * Makefile (headers): Remove bits/libc-lock.h.
16224         * libio/Makefile (headers): Remove bits/stdio-lock.h.
16226         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
16227         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
16228         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
16229         <bits/stdio-lock.h>.
16230         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
16231         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
16233 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16235         [BZ #18757]
16236         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
16237         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
16238         BZ #18757.
16240 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16242         * malloc/mtrace.pl: Filter out NULL entries.
16244 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
16246         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
16247         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
16248         macro.
16250         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
16251         (TCP_CC_INFO): Likewise.
16252         (TCP_SAVE_SYN): Likewise.
16253         (TCP_SAVED_SYN): Likewise.
16255 2015-08-31  Brett Neumeier <brett@neumeier.us>
16257         [BZ #18870]
16258         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
16260 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
16262         [BZ #18873]
16263         Fix broken overflow check in posix_fallocate
16264         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
16265         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16266         Fix parenthesization typo.
16268 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
16270         [BZ #18887]
16271         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
16272         tst-mntent-blank-passno.
16273         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
16274         * misc/tst-mntent-blank-corrupt.c: New test.
16275         * misc/tst-mntent-blank-passno.c: New test ripped from ...
16276         * misc/tst-mntent.c (do_test): ... here.
16278 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
16280         [BZ #4404]
16281         * po/de.po: Fix SIGALRM typo.
16283 2015-08-28  James Perkins  <james@loowit.net>
16285         * time/tst-strptime2.c (tests): Replace short list of test
16286         strings for strptime %z specifier with code which exhaustively
16287         tests every combination of sign and 0 to 5 digits. Tests for
16288         rejection of invalid strings.
16290 2015-08-28  James Perkins  <james@loowit.net>
16292         [BZ #16141]
16293         * time/strptime_l.c (__strptime_internal): Fix %z minutes
16294         calculation, removing incorrect decimal time rounding, so that
16295         all minute values result in a valid seconds value.
16296         * time/strptime_l.c (__strptime_internal): Extend %z time zone
16297         offset range limits to UTC-99:59 through UTC+99:59 to parse
16298         current and historical use cases.
16299         * time/tst-strptime2.c (tests): Modify and add tests for the
16300         strptime %z input field descriptor, specifically conversion of
16301         minutes to seconds and validating an offset range of -9959 to
16302         +9959.
16304 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16305             Dmitry V. Levin  <ldv@altlinux.org>
16307         [BZ #18877]
16308         * posix/Makefile (tests): Add tst-mmap-offset.
16309         * posix/tst-mmap.c: New file.
16310         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
16311         offset calculation for negative values.
16313 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16315         * sysdeps/i386/init-arch.h: New file.
16316         * sysdeps/i386/i586/init-arch.h: Likewise.
16317         * sysdeps/i386/i686/init-arch.h: Likewise.
16318         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
16319         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
16320         * sysdeps/x86/cpu-features.h (bit_I586): New.
16321         (bit_I686): Likewise.
16322         (bit_CX8): Likewise.
16323         (bit_CMOV): Likewise.
16324         (index_CX8): Likewise.
16325         (index_CMOV): Likewise.
16326         (index_I586): Likewise.
16327         (index_I686): Likewise.
16328         (reg_CX8): Likewise.
16329         (reg_CMOV): Likewise.
16330         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
16331         available at compile-time.
16332         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
16333         available at compile-time.
16334         * sysdeps/x86/init-arch.h (USE_I586): New macro.
16335         (USE_I686): Likewise.
16337 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16339         * sysdeps/i386/bcopy.S: New file.
16340         * sysdeps/i386/bzero.S: Likewise.
16341         * sysdeps/i386/memcpy.S: Likewise.
16342         * sysdeps/i386/memmove.S: Likewise.
16343         * sysdeps/i386/mempcpy.S: Likewise.
16344         * sysdeps/i386/memset.S: Likewise.
16345         * sysdeps/i386/bzero.c: Removed.
16346         * sysdeps/i386/memset.c: Likewise.
16347         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
16348         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
16349         * sysdeps/i386/i586/memset_chk.S: Likewise.
16350         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
16351         * sysdeps/i386/memcpy_chk.S: Here.
16352         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
16353         * sysdeps/i386/memmove_chk.S: Here.
16354         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
16355         * sysdeps/i386/mempcpy_chk.S: Likewise.
16356         * sysdeps/i386/i686/memset_chk.S: Moved to ...
16357         * sysdeps/i386/memset_chk.S: Likewise.
16359 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
16361         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
16362         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
16363         file, move DIAG_POP_NEEDS_COMMENT to end of file.
16364         * soft-fp/fmadf4.c: Ditto.
16365         * soft-fp/fmatf4.c: Ditto.
16367 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16369         * sysdeps/i386/i586/Implies: Removed.
16370         * sysdeps/i386/i686/Implies: Likewise.
16372 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16374         * sysdeps/i386/i486/strlen.S: Moved to ...
16375         * sysdeps/i386/strlen.S: Here.
16377 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16379         * sysdeps/i386/i486/strcat.S: Moved to ...
16380         * sysdeps/i386/strcat.S: Here.
16382 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16384         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
16385         * sysdeps/i386/pthread_spin_trylock.S: Here.
16386         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
16387         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
16389 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16391         * sysdeps/i386/i486/string-inlines.c: Moved to ...
16392         * sysdeps/i386/string-inlines.c: Here.
16394 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16396         * sysdeps/i386/i486/htonl.S: Moved ...
16397         * sysdeps/i386/htonl.S: here.
16399 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16401         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
16402         * sysdeps/i386/bits/atomic.h: Here.
16404 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16406         * sysdeps/i386/i486/Versions: Removed.
16408 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16410         [BZ #2898]
16411         * misc/mktemp.c: Add mkdtemp to the link_warning message.
16412         Based on patch by Aurelien Jarno.
16414 2015-08-26  Stan Shebs  <stanshebs@google.com>
16416         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
16417         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16419 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16421         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
16422         * sysdeps/powerpc/dl-procinfo.c:
16423         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
16424         feature so it shows when LD_SHOW_AUXV=1.
16426 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16428         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16429         (__arch_compare_and_exchange_val_32_acq): Remove and use common
16430         definition.  ISA 2.07B no longer requires full sync.
16432 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
16434         [BZ #18863]
16435         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
16436         (si_call_addr): Define.
16437         (si_syscall): Define.
16438         (si_arch): Define.
16440 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16442         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
16443         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
16444         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
16445         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16446         (__memset_zero_constant_len_parameter): New.
16447         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
16448         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16449         (__memset_zero_constant_len_parameter): Don't define if
16450         __memset_chk or USE_AS_BZERO are defined.
16452         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
16453         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
16454         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
16456         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
16457         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
16458         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
16459         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
16460         comments.
16461         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
16462         -mno-mmx for $(all-rtld-routines).
16463         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
16464         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
16465         i386.
16467 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16469         * sysdeps/generic/unwind.h
16470         (_Unwind_Word): Use __mode__(__unwind_word__)
16471         instead of __mode__(__word__).
16472         (_Unwind_Sword): Likewise.
16474         * sysdeps/s390/s390-64/utf8-utf16-z9.c
16475         (MAX_NEEDED_INPUT): New define.
16476         (MAX_NEEDED_OUTPUT): New define.
16478         * NEWS: New item for IBM z13 string optimizations.
16480         * sysdeps/s390/multiarch/memrchr-c.c: New File.
16481         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
16482         * sysdeps/s390/multiarch/memrchr.c: Likewise.
16483         * sysdeps/s390/multiarch/Makefile
16484         (sysdep_routines): Add memrchr functions.
16485         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16486         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
16488         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
16489         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
16490         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
16491         * sysdeps/s390/multiarch/Makefile
16492         (sysdep_routines): Add wmemcmp functions.
16493         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16494         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
16495         * benchtests/bench-wmemcmp.c: New File.
16496         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
16498         * sysdeps/s390/multiarch/wmemset-c.c: New File.
16499         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
16500         * sysdeps/s390/multiarch/wmemset.c: Likewise.
16501         * sysdeps/s390/multiarch/Makefile
16502         (sysdep_routines): Add wmemset functions.
16503         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16504         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
16505         * wcsmbs/wmemset.c: Use WMEMSET if defined.
16506         * string/test-memset.c: Add wmemset support.
16507         * wcsmbs/test-wmemset.c: New File.
16508         * wcsmbs/Makefile (strop-tests): Add wmemset.
16509         * benchtests/bench-memset.c: Add wmemset support.
16510         * benchtests/bench-wmemset.c: New File.
16511         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
16513         * sysdeps/s390/multiarch/memccpy-c.c: New File.
16514         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
16515         * sysdeps/s390/multiarch/memccpy.c: Likewise.
16516         * sysdeps/s390/multiarch/Makefile
16517         (sysdep_routines): Add memccpy functions.
16518         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16519         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
16520         * string/memccpy.c: Use MEMCCPY if defined.
16522         * sysdeps/s390/multiarch/memchr-vx.S: New File.
16523         * sysdeps/s390/multiarch/memchr.c: Likewise.
16524         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
16525         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
16526         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16527         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
16528         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
16529         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16530         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
16531         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
16532         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
16533         and rawmemchr functions.
16534         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16535         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
16536         and wmemchr.
16537         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
16538         * string/test-memchr.c: Add wmemchr support.
16539         * wcsmbs/test-wmemchr.c: New File.
16540         * wcsmbs/Makefile (strop-tests): Add wmemchr.
16541         * benchtests/bench-memchr.c: Add wmemchr support.
16542         * benchtests/bench-wmemchr.c: New File.
16543         * benchtests/Makefile (wcsmbs-bench): wmemchr.
16545         * sysdeps/s390/multiarch/strcspn-c.c: New File.
16546         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
16547         * sysdeps/s390/multiarch/strcspn.c: Likewise.
16548         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
16549         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
16550         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
16551         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
16552         wcscspn functions.
16553         * sysdeps/s390/multiarch/ifunc-impl-list.c
16554         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
16555         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
16556         * string/test-strcspn.c: Add wcscspn support.
16557         * wcsmbs/test-wcscspn.c: New File.
16558         * wcsmbs/Makefile (strop-tests): Add wcscspn.
16559         * benchtests/bench-strcspn.c: Add wcscspn support.
16560         * benchtests/bench-wcscspn.c: New File.
16561         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
16563         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
16564         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
16565         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16566         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
16567         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
16568         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16569         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
16570         wcspbrk functions.
16571         * sysdeps/s390/multiarch/ifunc-impl-list.c
16572         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
16573         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
16574         * string/test-strpbrk.c: Add wcspbrk support.
16575         * wcsmbs/test-wcspbrk.c: New File.
16576         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
16577         * benchtests/bench-strpbrk.c: Add wcspbrk support.
16578         * benchtests/bench-wcspbrk.c: New File.
16579         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
16581         * sysdeps/s390/multiarch/strspn-c.c: New File.
16582         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
16583         * sysdeps/s390/multiarch/strspn.c: Likewise.
16584         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
16585         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
16586         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16587         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
16588         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
16589         wcsspn functions.
16590         * sysdeps/s390/multiarch/ifunc-impl-list.c
16591         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
16592         * string/test-strspn.c: Add wcsspn support.
16593         * wcsmbs/test-wcsspn.c: New File.
16594         * wcsmbs/Makefile (strop-tests): Add wcsspn.
16595         * benchtests/bench-strspn.c: Add wcsspn support.
16596         * benchtests/bench-wcsspn.c: New File.
16597         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
16599         * sysdeps/s390/multiarch/strrchr-c.c: New File.
16600         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
16601         * sysdeps/s390/multiarch/strrchr.c: Likewise.
16602         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
16603         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
16604         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
16605         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
16606         wcsrchr functions.
16607         * sysdeps/s390/multiarch/ifunc-impl-list.c
16608         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
16609         * benchtests/bench-wcsrchr.c: New File.
16610         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
16612         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
16613         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
16614         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
16615         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
16616         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
16617         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
16618         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
16619         wcschrnul functions.
16620         * sysdeps/s390/multiarch/ifunc-impl-list.c
16621         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
16622         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
16623         * string/test-strchr.c: Add wcschrnul support.
16624         * wcsmbs/test-wcschrnul.c: New File.
16625         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
16626         * benchtests/bench-strchr.c: Add wcschrnul support.
16627         * benchtests/bench-wcschrnul.c: New File.
16628         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
16630         * sysdeps/s390/multiarch/strchr-c.c: New File.
16631         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
16632         * sysdeps/s390/multiarch/strchr.c: Likewise.
16633         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
16634         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
16635         * sysdeps/s390/multiarch/wcschr.c: Likewise.
16636         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
16637         wcschr functions.
16638         * sysdeps/s390/multiarch/ifunc-impl-list.c
16639         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
16640         * string/strchr.c (STRCHR): Define and use macro.
16641         * benchtests/bench-wcschr.c: New File.
16642         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
16644         * sysdeps/s390/multiarch/strncmp-c.c: New File.
16645         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
16646         * sysdeps/s390/multiarch/strncmp.c: Likewise.
16647         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
16648         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
16649         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
16650         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
16651         wcsncmp functions.
16652         * sysdeps/s390/multiarch/ifunc-impl-list.c
16653         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
16654         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
16655         * benchtests/bench-strncmp.c: Add wcsncmp support.
16656         * benchtests/bench-wcsncmp.c: New File.
16657         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
16659         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
16660         * sysdeps/s390/multiarch/strcmp.c: Likewise.
16661         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
16662         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
16663         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16664         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
16665         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
16666         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
16667         wcscmp functions.
16668         * sysdeps/s390/multiarch/ifunc-impl-list.c
16669         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
16670         * string/strcmp.c (STRCMP): Define and use macro.
16671         * benchtests/bench-wcscmp.c: New File.
16672         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
16673         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
16674         instead of _HAVE_STRING_ARCH_memchr.
16676         * sysdeps/s390/multiarch/strncat-c.c: New File.
16677         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
16678         * sysdeps/s390/multiarch/strncat.c: Likewise.
16679         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
16680         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
16681         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
16682         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
16683         wcsncat functions.
16684         * sysdeps/s390/multiarch/ifunc-impl-list.c
16685         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
16686         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
16687         * string/test-strncat.c: Add wcsncat support.
16688         * wcsmbs/test-wcsncat.c: New File.
16689         * wcsmbs/Makefile (strop-tests): Add wcsncat.
16690         * benchtests/bench-strncat.c: Add wcsncat support.
16691         * benchtests/bench-wcsncat.c: New File.
16692         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
16694         * sysdeps/s390/multiarch/strcat-c.c: New File.
16695         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
16696         * sysdeps/s390/multiarch/strcat.c: Likewise.
16697         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
16698         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
16699         * sysdeps/s390/multiarch/wcscat.c: Likewise.
16700         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
16701         wcscat functions.
16702         * sysdeps/s390/multiarch/ifunc-impl-list.c
16703         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
16704         * string/strcat.c (STRCAT): Define and use macro.
16705         * wcsmbs/wcscat.c: Use WCSCAT if defined.
16706         * string/test-strcat.c: Add wcscat support.
16707         * wcsmbs/test-wcscat.c: New File.
16708         * wcsmbs/Makefile (strop-tests): Add wcscat.
16709         * benchtests/bench-strcat.c: Add wcscat support.
16710         * benchtests/bench-wcscat.c: New File.
16711         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
16713         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
16714         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
16715         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16716         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
16717         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
16718         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
16719         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
16720         wcpncpy functions.
16721         * sysdeps/s390/multiarch/ifunc-impl-list.c
16722         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
16723         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
16724         * string/test-stpncpy.c: Add wcpncpy support.
16725         * wcsmbs/test-wcpncpy.c: New File.
16726         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
16727         * benchtests/bench-stpncpy.c: Add wcpncpy support.
16728         * benchtests/bench-wcpncpy.c: New File.
16729         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
16731         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
16732         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16733         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
16734         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
16735         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
16736         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
16737         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
16738         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
16739         wcsncpy functions.
16740         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
16741         * sysdeps/s390/multiarch/ifunc-impl-list.c
16742         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
16743         * string/test-strncpy.c: Add wcsncpy support.
16744         * wcsmbs/test-wcsncpy.c: New File.
16745         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
16746         * benchtests/bench-strncpy.c: Add wcsncpy support.
16747         * benchtests/bench-wcsncpy.c: New File.
16748         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
16750         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
16751         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
16752         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16753         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
16754         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
16755         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
16756         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
16757         wcpcpy functions.
16758         * string/stpcpy.c: Use STPCPY if defined.
16759         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
16760         * sysdeps/s390/multiarch/ifunc-impl-list.c
16761         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
16762         * string/test-stpcpy.c: Add wcpcpy support.
16763         * wcsmbs/test-wcpcpy.c: New File.
16764         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
16765         * benchtests/bench-stpcpy.c: Add wcpcpy support.
16766         * benchtests/bench-wcpcpy.c: New File.
16767         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
16769         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
16770         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16771         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
16772         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
16773         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
16774         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
16775         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
16776         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
16777         wcscpy functions.
16778         * sysdeps/s390/multiarch/ifunc-impl-list.c
16779         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
16780         * benchtests/bench-wcscpy.c: New File.
16781         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
16783         * sysdeps/s390/multiarch/strnlen-c.c: New File.
16784         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
16785         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16786         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
16787         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
16788         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
16789         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
16790         wcsnlen functions.
16791         * sysdeps/s390/multiarch/ifunc-impl-list.c
16792         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
16793         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
16794         * string/test-strnlen.c: Add wcsnlen support.
16795         * wcsmbs/test-wcsnlen.c: New File.
16796         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
16797         * benchtests/bench-strnlen.c: Add wcsnlen support.
16798         * benchtests/bench-wcsnlen.c: New File.
16799         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
16801         * sysdeps/s390/multiarch/Makefile: New File.
16802         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
16803         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
16804         * sysdeps/s390/multiarch/strlen.c: Likewise.
16805         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
16806         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
16807         * sysdeps/s390/multiarch/wcslen.c: Likewise.
16808         * string/strlen.c (STRLEN): Define and use macro.
16809         * sysdeps/s390/multiarch/ifunc-impl-list.c
16810         (IFUNC_VX_IMPL): New macro function.
16811         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
16812         * benchtests/Makefile (wcsmbs-bench): New variable.
16813         (string-bench-all): Added wcsmbs-bench.
16814         * benchtests/bench-wcslen.c: New File.
16816         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
16817         s390_vx_libc_ifunc2): New macro function.
16819         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
16820         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
16821         assembler support.
16822         * sysdeps/s390/configure: Regenerated.
16824         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
16825         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16827         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
16828         * sysdeps/s390/dl-procinfo.h: Add vector capability.
16829         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
16831         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
16832         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
16833         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
16834         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
16835         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
16836         (memcmp, bcmp): Use __memcmp_default as alias source.
16837         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
16838         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
16839         Rename to __memcmp_default.
16840         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
16841         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
16842         (memcpy): Use __memcpy_default as alias source.
16843         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
16844         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
16845         Rename to __memcpy_default.
16846         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
16847         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
16848         (memset): Use __memset_default as alias source.
16849         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
16850         * sysdeps/s390/s390-32/memset.S (__memset_g5):
16851         Rename to __memset_default.
16852         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
16853         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
16854         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
16855         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
16856         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
16857         (memcmp, bcmp): Use __memcmp_default as alias source.
16858         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
16859         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
16860         Rename to __memcmp_default.
16861         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
16862         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
16863         (memcpy): Use __memcpy_default as alias source.
16864         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
16865         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
16866         Rename to __memcpy_default.
16867         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
16868         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
16869         (memset): Use __memset_default as alias source.
16870         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
16871         * sysdeps/s390/s390-64/memset.S (__memset_z900):
16872         Rename to __memset_default.
16873         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
16874         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
16876         [BZ #18610]
16877         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
16878         __ieee_instruction_pointer to __unused.
16879         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
16880         __ieee_instruction_pointer.
16881         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
16882         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
16883         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16884         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16885         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
16886         Mark dxc-field as reserved.
16888 2015-08-25  Roland McGrath  <roland@hack.frob.com>
16890         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
16891         if the weak reference is not null.
16893 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16895         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
16897         [BZ #11214]
16898         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
16900 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16902         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
16903         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
16904         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
16905         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
16906         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
16907         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
16908         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
16909         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
16910         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
16911         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
16912         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
16913         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
16914         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
16915         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
16916         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
16917         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
16918         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
16919         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
16921 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16923         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
16924         register other than r0 for tabort, it has special meaning.
16925         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
16926         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
16927         transaction before starting syscall.
16929 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16931         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
16933 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16935         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
16937         * sysdeps/x86_64/rtld-memcmp.c: Removed.
16938         * sysdeps/x86_64/rtld-memset.S: Likewise.
16939         * sysdeps/x86_64/rtld-strchr.S: Likewise.
16940         * sysdeps/x86_64/rtld-strlen.S: Likewise.
16941         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
16942         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16944         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
16946 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
16948         * debug/strcpy_chk.c: Improve performance.
16949         * debug/stpcpy_chk.c: Likewise.
16950         * sysdeps/x86_64/strcpy_chk.S: Remove.
16951         * sysdeps/x86_64/stpcpy_chk.S: Remove.
16953         [BZ #18240]
16954         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
16956 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16958         [BZ #15128]
16959         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
16960         ifuncmain8.
16961         (modules-names): Add ifuncmod8.
16962         ($(objpfx)ifuncmain8): New rule.
16963         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
16964         <cpuid.h>.
16965         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
16966         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
16967         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
16968         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
16969         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
16970         * sysdeps/x86_64/dl-trampoline.h: Likewise.
16971         * sysdeps/x86_64/ifuncmain8.c: New file.
16972         * sysdeps/x86_64/ifuncmod8.c: Likewise.
16973         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
16974         Removed.
16975         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
16976         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
16977         Change rtld_savespace_sse to __glibc_unused2.
16978         (RTLD_CHECK_FOREIGN_CALL): Removed.
16979         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
16980         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
16981         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
16983 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16985         * sysdeps/aarch64/bzero.S (__bzero): Remove.
16987 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16989         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
16990         Unconditionally set __fpcr to avoid uninialized warning.
16991         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
16993 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16995         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
16996         is corrupt.
16998         * malloc/arena.c (arena_get2): Drop unused argument.
16999         (arena_lock): Adjust.
17000         (arena_get_retry): Likewise.
17002 2015-08-24  Andreas Schwab  <schwab@suse.de>
17004         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
17005         Don't define.
17006         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17007         (__ASSUME_IPC64): Don't undef.
17008         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
17009         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17010         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17011         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
17012         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
17013         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
17014         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
17015         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
17016         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
17017         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
17018         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
17019         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
17020         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
17021         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
17022         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
17023         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
17024         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
17025         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
17026         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
17027         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
17028         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
17030 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
17032         * manual/Makefile (install): Only build manual when perl is available.
17034 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17036         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
17037         '#undef memcpy' by '#undef memchr'.
17039 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17041         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
17042         memchr not point to the internal __GI_memchr implementation.
17044 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17046         * timezone/Makefile (CFLAGS-zdump.c): Remove
17047         -Wno-strict-prototypes.
17048         (CFLAGS-zic.c): Likewise.
17049         (CFLAGS-ialloc.c): Likewise.
17050         (CFLAGS-scheck.c): Likewise.
17052         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
17053         -Wno-error=undef.
17055 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17057         * i386/i686/multiarch/strcasestr-c.c: Removed.
17058         * x86_64/multiarch/strcasestr.c: Likewise.
17059         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17060         Remove strcasestr.
17062 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17064         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
17066         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
17067         variables for high and low parts before possibly modifying them.
17069 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17071         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
17072         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
17073         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
17074         of "multiarch/init-arch.h".
17075         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
17076         * sysdeps/x86/init-arch.h: This.
17078 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17080         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
17081         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
17083 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
17085         [BZ #17787]
17086         * manual/macros.texi: Add twoexp macro.
17087         * manual/filesys.texi: Fix exponents.
17088         * manual/llio.texi: Likewise.
17089         * manual/stdio.texi: Likewise.
17091 2015-08-20  Florian Weimer  <fweimer@redhat.com>
17093         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
17094         incorrect use.
17096 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17098         [BZ #18370]
17099         * math/s_csqrt.c (__csqrt): Force underflow exception for results
17100         whose real or imaginary part has small absolute value.
17101         * math/s_csqrtf.c (__csqrtf): Likewise.
17102         * math/s_csqrtl.c (__csqrtl): Likewise.
17103         * math/auto-libm-test-in: Add more tests of csqrt.
17104         * math/auto-libm-test-out: Regenerated.
17105         * sysdeps/i386/fpu/libm-test-ulps: Update.
17107 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17109         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
17110         __ppc_set_ppr_very_low): New functions.
17111         * manual/platform.texi: Add documentation about
17112         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
17114 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
17116         * string/stpncpy.c (stpncpy): Improve performance using
17117         __strnlen/memcpy/memset.
17119 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17121         [BZ #18796]
17122         * scripts/test-installation.pl: Don't add -lmvec to build options if
17123         libmvec wasn't built.
17125 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
17127         [BZ #14341]
17128         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
17129         case when there is a gap between DT_REL and DT_JMPREL sections.
17130         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
17131         (LDFLAGS-tst-split-dynreloc): New.
17132         (tst-split-dynreloc-ENV): Likewise.
17133         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
17134         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
17136 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17138         [BZ #18822]
17139         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
17140         attribute_hidden.
17141         (__xstat64_conv): Likewise.
17142         (__xstat32_conv): Likewise.
17144 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17146         [BZ #18822]
17147         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17148         Don't load %ebx when calling __setcontext.  Call __setcontext
17149         with HIDDEN_JUMPTARGET.
17150         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
17151         libc_hidden_def.
17153 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17155         * sysdeps/i386/i686/Makefile
17156         [$(subdir) == string] (sysdep_routines): Moved to ...
17157         * sysdeps/i386/Makefile: Here.
17158         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
17159         * sysdeps/i386/cacheinfo.c: Here.
17160         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
17161         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
17162         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
17163         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
17165 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17167         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
17168         __i586__ is defined.
17169         (HAS_I686): Defined to 1 if __i686__ is defined.
17171 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17173         * elf/Makefile [$(have-z-execstack) = yes]
17174         (CPPFLAGS-tst-execstack.c): New variable.
17176         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
17177         conditional to [defined UTMPX || _HAVE_UT_TYPE].
17178         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
17179         UTMPX || _HAVE_UT_TV].
17180         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
17181         UTMPX || _HAVE_UT_TV - 0].
17183 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
17185         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
17186         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
17187         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
17189 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17191         * sysdeps/powerpc/dl-procinfo.c:
17192         (_dl_powerpc_cap_flags): Added missing strings for some
17193         hwcap features.
17194         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
17196 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
17198         Port the 0x7efe...feff pattern to GCC 6.
17199         See Steve Ellcey's bug report in:
17200         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
17201         * string/memrchr.c (MEMRCHR):
17202         * string/rawmemchr.c (RAWMEMCHR):
17203         * string/strchr.c (strchr):
17204         * string/strchrnul.c (STRCHRNUL):
17205         Rewrite code to avoid issues with signed shift overflow.
17207 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
17209         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
17210         whether cpuid is available only if HAS_CPUID is 0.
17211         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
17212         (HAS_I586): Likewise.
17213         (HAS_I686): Likewise.
17215 2015-08-18  Zack Weinberg  <zackw@panix.com>
17217         * misc/Versions (libc): Add GLIBC_2.23.
17219 2015-08-18  Alan Modra  <amodra@gmail.com>
17221         [BZ #18421]
17222         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
17223         .Lp__global.
17224         (_start): Load %dp via .Lp__global.
17225         [!SHARED]: Use .section .rodata.
17227 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17229         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
17230         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
17232 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17234         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
17235         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
17237 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17239         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
17240         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
17242 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17244         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
17245         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
17247 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17249         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
17250         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
17252 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17254         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
17255         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
17257 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17259         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
17261 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17263         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
17264         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
17265         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17266         (__ASSUME_LWS_CAS): Delete.
17268 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17270         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
17271         * sysdeps/hppa/configure: Regenerated.
17272         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
17273         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
17274         * sysdeps/hppa/nptl/tls.h: Likewise.
17276 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
17278         [BZ #18823]
17279         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
17280         for scaling up small arguments.
17281         * math/s_csqrtf.c (__csqrtf): Likewise.
17282         * math/s_csqrtl.c (__csqrtl): Likewise.
17283         * math/auto-libm-test-in: Add more tests of csqrt.
17284         * math/auto-libm-test-out: Regenerated.
17286 2015-08-17  Andreas Schwab  <schwab@suse.de>
17288         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
17289         version set GLIBC_2.19.
17291 2015-08-16  Zack Weinberg  <zackw@panix.com>
17293         [BZ #18681]
17294         * misc/regexp.h: This interface is no longer supported.
17295         Remove all contents, leaving only an #error directive.
17296         * misc/regexp.c (loc1, loc2, locs, step, advance):
17297         Demote to compatibility symbols.
17299 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
17301         [BZ #18084]
17302         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
17303         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
17304         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17305         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
17306         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
17307         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
17308         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
17309         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
17310         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17312 2015-08-15  Zack Weinberg  <zackw@panix.com>
17314         [BZ #18795]
17315         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
17316         buffer length is known to be too large, not if it's known to be
17317         small enough.
17318         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
17319         overflow at runtime, involving a length parameter, twice: once
17320         with a compile-time constant length parameter, once without.
17322 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
17324         [BZ #18824]
17325         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
17326         scaling x * y up instead of down.
17327         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17328         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17329         * math/auto-libm-test-in: Add more tests of fma.
17330         * math/auto-libm-test-out: Regenerated.
17332 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
17334         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17336 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17338         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
17339         unnecessary movq.
17340         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
17341         Likewise.
17343 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
17345         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17346         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
17347         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
17348         and tgamma.
17349         * math/auto-libm-test-out: Regenerated.
17350         * sysdeps/i386/fpu/libm-test-ulps: Update.
17351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17353         [BZ #16520]
17354         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
17355         (__tanh): Force underflow exception for arguments with small
17356         absolute value.
17357         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
17358         (__tanhf): Force underflow exception for arguments with small
17359         absolute value.
17360         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
17361         (__tanhl): Force underflow exception for arguments with small
17362         absolute value.
17363         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
17364         (__tanhl): Force underflow exception for arguments with small
17365         absolute value.
17366         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
17367         (__tanhl): Force underflow exception for arguments with small
17368         absolute value.
17369         * math/auto-libm-test-in: Add more tests of tanh.
17370         * math/auto-libm-test-out: Regenerated.
17371         * sysdeps/i386/fpu/libm-test-ulps: Update.
17373 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17375         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
17376         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
17378 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17380         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
17381         <cpuid.h>.
17383 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17385         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
17386         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
17388 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17390         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
17391         Remove $(objpfx)init-arch.o.
17392         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
17393         init-arch.
17394         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
17395         (INIT_ARCH_EXT): Defined as empty.
17396         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
17397         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
17398         __init_cpu_features call.  Replace HAS_XXX with
17399         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17400         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
17401         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
17402         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
17403         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
17404         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17405         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
17406         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
17407         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17408         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
17409         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
17410         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17411         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
17412         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
17413         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17414         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
17415         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
17416         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17417         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17418         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
17419         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
17420         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17421         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
17422         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
17423         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17424         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
17425         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
17426         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17427         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
17428         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
17429         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17430         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
17431         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
17432         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17433         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
17434         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
17436 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17438         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
17439         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17440         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17441         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17442         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
17443         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
17444         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
17445         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
17446         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
17447         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
17448         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
17449         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
17450         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17451         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17452         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17453         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17454         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17455         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17456         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17457         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17458         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17459         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17460         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17461         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17462         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17463         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17464         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17465         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17466         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17467         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17468         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17469         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17470         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17471         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17472         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17473         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17474         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17475         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17476         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17477         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17478         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17479         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17480         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17482 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17484         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
17485         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17486         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17487         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17488         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17489         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
17490         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17491         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
17492         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17493         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17494         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17495         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
17496         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
17497         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
17498         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
17499         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
17500         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
17501         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
17502         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
17503         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
17504         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17505         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
17506         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
17507         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17508         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17509         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
17510         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
17511         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
17512         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17513         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17514         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17515         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17516         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17517         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17518         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17519         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17520         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17521         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17522         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17523         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17524         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17525         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17526         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17528 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17530         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
17531         (dl_platform_init): Call init_cpu_features.
17532         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
17533         * sysdeps/i386/i686/cacheinfo.c
17534         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
17535         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
17536         * sysdeps/i386/i686/multiarch/Versions: Removed.
17537         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
17538         Removed.
17539         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
17540         * sysdeps/unix/sysv/linux/x86/Makefile
17541         (libpthread-sysdep_routines): Remove init-arch.
17542         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
17543         <sysdeps/x86_64/dl-procinfo.c> instead of
17544         sysdeps/generic/dl-procinfo.c>.
17545         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
17546         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
17547         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
17548         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
17549         [$(subdir) == elf] (tests-static): Add
17550         tst-get-cpu-features-static.
17551         * sysdeps/x86/Versions: New file.
17552         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
17553         * sysdeps/x86/cpu-features.c: Likewise.
17554         * sysdeps/x86/cpu-features.h: Likewise.
17555         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
17556         * sysdeps/x86/libc-start.c: Likewise.
17557         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17558         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
17559         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
17560         * sysdeps/x86_64/dl-procinfo.c: Likewise.
17561         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
17562         Assume USE_MULTIARCH is defined and don't check it.
17563         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
17564         (is_amd): Likewise.
17565         (max_cpuid): Likewise.
17566         (intel_check_word): Likewise.
17567         (__cache_sysconf): Don't call __init_cpu_features.
17568         (__x86_preferred_memory_instruction): Removed.
17569         (init_cacheinfo): Don't call __init_cpu_features. Replace
17570         __cpu_features with GLRO(dl_x86_cpu_features).
17571         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
17572         (dl_platform_init): Call init_cpu_features.
17573         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
17574         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
17575         * sysdeps/x86_64/multiarch/Versions: Removed.
17576         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
17577         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
17578         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
17579         Removed.
17580         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
17582 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17584         [BZ #18820]
17585         * libio/Makefile (test-fmemopen-mem): New test.
17586         * libio/test-fmemopen.c (do_bz18820): New test.
17587         * libio/fmemopen.c (__fmemopen): Fix memory leak.
17588         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
17590 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17592         [BZ #16734]
17593         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
17594         (FREE_BUF): Delete.
17595         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
17596         * libio/genops.c (_IO_setb): Use malloc and free directly.
17597         (_IO_default_doallocate, _IO_default_finish): Likewise.
17598         ( _IO_unbuffer_all): Likewise.
17599         ( libc_freeres_fn): Likewise.
17600         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17601         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17602         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
17603         (_IO_wdefault_doallocate): Likewise.
17605 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17607         [BZ #18086]
17608         * sysdeps/posix/nice.c (nice): Restore old errno.
17609         * posix/tst-nice.c (do_test): Add test for BZ #18086.
17611 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
17613         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
17615 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17617         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
17618         __bcopy and add a weak_alias to bcopy.
17619         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
17620         for static build.
17622         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
17623         cleanup macro usage.
17624         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
17625         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
17626         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17627         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
17628         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17629         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
17630         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
17631         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17632         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17633         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
17634         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17635         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
17636         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17637         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
17638         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17639         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
17640         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
17641         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
17642         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17644         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
17645         libc_hidden_def.
17646         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
17648         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
17649         (sysdep_routines): Add strstr-ppc64.
17650         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
17652 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
17654         [BZ #18778]
17655         * elf/Makefile (tests): Add Add tst-nodelete2.
17656         (modules-names): Add tst-nodelete2mod.
17657         (tst-nodelete2mod.so-no-z-defs): New.
17658         ($(objpfx)tst-nodelete2): Likewise.
17659         ($(objpfx)tst-nodelete2.out): Likewise.
17660         (LDFLAGS-tst-nodelete2): Likewise.
17661         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
17662         out of loop through all loaded libraries.
17663         * elf/tst-nodelete2.c: New file.
17664         * elf/tst-nodelete2mod.c: Likewise.
17665         * elf/tst-znodelete-zlib.cc: Delete.
17667 2015-08-11  Andreas Schwab  <schwab@suse.de>
17669         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
17670         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
17671         (__openat64_nocancel): Likewise.
17673 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
17675         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
17676         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
17677         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
17678         * math/auto-libm-test-out: Regenerated.
17679         * sysdeps/i386/fpu/libm-test-ulps: Update.
17680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17682 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17684         [BZ #18790]
17685         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
17686         threshold for returning +/- 1.
17687         * math/auto-libm-test-in: Add more tests of tanh.
17688         * math/auto-libm-test-out: Regenerated.
17689         * sysdeps/i386/fpu/libm-test-ulps: Update.
17691 2015-08-10  Andreas Schwab  <schwab@suse.de>
17693         [BZ #18781]
17694         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
17695         MORE_OFLAGS to oflag.
17696         * io/test-lfs.c (do_test): Test openat64.
17698 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17700         [BZ #18789]
17701         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
17702         smaller threshold for returning the argument.
17703         * math/auto-libm-test-in: Add more tests of sinh.
17704         * math/auto-libm-test-out: Regenerated.
17705         * sysdeps/i386/fpu/libm-test-ulps: Update.
17707 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17709         [BZ #18674]
17710         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
17711         break.
17713 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
17715         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
17716         (generated): Don't add $(addprefix z.,$(tzfiles)).
17718 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17720         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
17721         * scripts/sysd-rules.awk: Likewise.
17723 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17725         * iconvdata/tst-tables.sh: Change echo -n to printf.
17726         * nss/db-Makefile: Likewise.
17727         * posix/tst-getconf.sh: Likewise.
17728         * stdio-common/tst-unbputc.sh: Likewise.
17730 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17732         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
17733         MADV_*_PAGES defines behind this feature check.
17735 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
17737         [BZ #18480]
17738         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
17739         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
17740         Define.
17741         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
17742         LOAD_REGS_5, LOAD_REGS_6): Update.
17743         (INTERNAL_SYSCALL): Update using new LOAD defines.
17744         (INTERNAL_SYSCALL_NCS): Likewise.
17745         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
17747 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17749         [BZ #16734]
17750         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
17752 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17754         [BZ #17905]
17755         * catgets/Makefile (tst-catgets-mem): New test.
17756         * catgets/catgets.c (catopen): Don't use unbounded alloca.
17757         * catgets/open_catalog.c (__open_catalog): Likewise.
17758         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
17760 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
17762         [BZ #18787]
17763         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
17764         clobber registers.
17765         (atomic_compare_and_exchange_val_acq): Use register asms to assign
17766         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
17767         Cast return to __typeof (oldval).
17769 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
17771         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
17772         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
17773         and delete sys/syscall.h include.
17775 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
17777         [BZ #16517]
17778         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
17779         (tan): Force underflow exception for arguments with small absolute
17780         value.
17781         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
17782         (__kernel_tanf): Force underflow exception for arguments with
17783         small absolute value.
17784         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
17785         (__kernel_tanl): Force underflow exception for arguments with
17786         small absolute value.
17787         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
17788         (__kernel_tanl): Force underflow exception for arguments with
17789         small absolute value.
17790         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
17791         (__kernel_tanl): Force underflow exception for arguments with
17792         small absolute value.
17793         * math/auto-libm-test-in: Add more tests of tan.
17794         * math/auto-libm-test-out: Regenerated.
17796 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17798         Fix sysdeps/i386/fpu/s_scalbn.S build
17800         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
17802 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
17804         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17806 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17808         Fix gcrt0.o compilation
17810         When static-start-installed-name is different from
17811         start-installed-name, we must not use the shared objects.
17813         * csu/Makefile
17814         (extra-objs): Add gmon-start.o when building shared library and
17815         $(static-start-installed-name) is different from
17816         $(start-installed-name).
17817         $(objpfx)g$(static-start-installed-name): When building shared
17818         library and $(static-start-installed-name) is different from
17819         $(static-start-installed-name), revert to non-shared rule,
17820         i.e. using $(objpfx)% and gmon-start.o.
17822 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
17824         [BZ #16519]
17825         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
17826         (__ieee754_sinh): Force underflow exception for arguments with
17827         small absolute value.
17828         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
17829         (__ieee754_sinhf): Force underflow exception for arguments with
17830         small absolute value.
17831         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
17832         (__ieee754_sinhl): Force underflow exception for arguments with
17833         small absolute value.
17834         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
17835         (__ieee754_sinhl): Force underflow exception for arguments with
17836         small absolute value.
17837         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
17838         (__ieee754_sinhl): Force underflow exception for arguments with
17839         small absolute value.
17840         * math/auto-libm-test-in: Add more tests of sinh.
17841         * math/auto-libm-test-out: Regenerated.
17842         * sysdeps/i386/fpu/libm-test-ulps: Update.
17844 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17846         * libio/oldfileops.c: Include unistd.h.
17848 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
17850         * stdlib/isomac.c: Include ctype.h.
17852 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
17854         * dirent/tst-seekdir.c (main): Converted to ...
17855         (do_test): ... this.
17856         (TEST_FUNCTION): New macro.
17857         Include test-skeleton.c.
17858         * elf/tst-dlmodcount.c (main): Converted to ...
17859         (do_test): ... this.
17860         (TEST_FUNCTION): New macro.
17861         Include test-skeleton.c.
17862         * elf/tst-order-main.c (main): Converted to ...
17863         (do_test): ... this.
17864         (TEST_FUNCTION): New macro.
17865         Include test-skeleton.c.
17866         * elf/tst-pie2.c (main): Converted to ...
17867         (do_test): ... this.
17868         (TEST_FUNCTION): New macro.
17869         Include test-skeleton.c.
17870         * inet/tst-ether_aton.c (main): Converted to ...
17871         (do_test): ... this.
17872         (TEST_FUNCTION): New macro.
17873         Include test-skeleton.c.
17874         * misc/tst-mntent.c (main): Converted to ...
17875         (do_test): ... this.
17876         (TEST_FUNCTION): New macro.
17877         Include test-skeleton.c.
17878         * misc/tst-tsearch.c (main): Converted to ...
17879         (do_test): ... this.
17880         (TEST_FUNCTION): New macro.
17881         Include test-skeleton.c.
17882         * posix/tst-regexloc.c (main): Converted to ...
17883         (do_test): ... this.
17884         (TEST_FUNCTION): New macro.
17885         Include test-skeleton.c.
17886         * resolv/tst-aton.c (main): Converted to ...
17887         (do_test): ... this.
17888         (TEST_FUNCTION): New macro.
17889         Include test-skeleton.c.
17890         * stdio-common/test-fwrite.c (main): Converted to ...
17891         (do_test): ... this.
17892         (TEST_FUNCTION): New macro.
17893         Include test-skeleton.c.
17894         * stdio-common/tst-ferror.c (main): Converted to ...
17895         (do_test): ... this.
17896         (TEST_FUNCTION): New macro.
17897         Include test-skeleton.c.
17898         * stdio-common/tst-printf.c (main): Converted to ...
17899         (do_test): ... this.
17900         (TEST_FUNCTION): New macro.
17901         Include test-skeleton.c.
17902         * stdio-common/tst-printfsz.c (main): Converted to ...
17903         (do_test): ... this.
17904         (TEST_FUNCTION): New macro.
17905         Include test-skeleton.c.
17906         * stdlib/tst-strtod.c (main): Converted to ...
17907         (do_test): ... this.
17908         (TEST_FUNCTION): New macro.
17909         Include test-skeleton.c.
17910         * string/tst-strlen.c (main): Converted to ...
17911         (do_test): ... this.
17912         (TEST_FUNCTION): New macro.
17913         Include test-skeleton.c.
17914         * string/tst-svc.c (main): Converted to ...
17915         (do_test): ... this.
17916         (TEST_FUNCTION): New macro.
17917         Include test-skeleton.c.
17918         * time/tst-strptime.c (main): Converted to ...
17919         (do_test): ... this.
17920         (TEST_FUNCTION): New macro.
17921         Include test-skeleton.c.
17922         * timezone/tst-timezone.c (main): Converted to ...
17923         (do_test): ... this.
17924         (TEST_FUNCTION): New macro.
17925         Include test-skeleton.c.
17927 2015-08-05  Zack Weinberg  <zackw@panix.com>
17929         * misc/regexp.h: Update comments.
17931 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
17933         [BZ #18635]
17934         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
17935         before return label.
17937 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17939         [BZ #18661]
17940         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
17941         when calling __errno_location.
17942         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
17943         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
17945 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17947         [BZ #18661]
17948         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
17949         (__lll_timedwait_tid): Align stack to 16 bytes when calling
17950         __gettimeofday.
17952 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17954         [BZ #18661]
17955         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17956         (__start_context): Don't use pop to restore %rdi so that stack
17957         is aligned to 16 bytes when calling __setcontext.
17959 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17961         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
17962         only for libc.
17963         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17965 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17967         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
17968         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
17969         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
17971 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17973         * string/memccpy.c (memccpy):
17974         Improve performance by using memchr/memcpy/__mempcpy.
17976 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17978         * string/strncpy.c (strncpy):
17979         Improve performance by using __strnlen/memcpy.
17981 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17983         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17984         Optimize to avoid an unnecessary FPCR read.
17986 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17988         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17989         Optimize to reduce FPCR/FPSR accesses.
17991 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17993         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
17994         dead->data[category] != NULL.
17996 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
17998         [BZ #18647]
17999         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
18000         and |x| close to 1, use absolute value of x when computing log.
18001         * math/auto-libm-test-in: Add more tests of pow.
18002         * math/auto-libm-test-out: Regenerated.
18004 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18006         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
18007         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
18008         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
18010 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
18012         [BZ #18525]
18013         * locales/km_KH: Remove timezone definition.
18014         * locales/lo_LA: Likewise.
18015         * locales/my_MM: Likewise.
18016         * locales/nan_TW@latin: Likewise.
18017         * locales/th_TH: Likewise.
18018         * locales/uk_UA: Likewise.
18020 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18022         [BZ #18265]
18023         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
18024         (wcsncat): Likewise.
18025         (wcscmp): Likewise.
18026         (wcsncmp): Likewise.
18028 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18030         * test-skeleton.c (usage): New function.
18031         (main): Call usage when opt is '?'.
18033 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18035         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
18036         before first use.
18038 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18040         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
18041         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
18042         in there too.
18044 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
18046         * version.h (RELEASE): Set to "development".
18047         (VERSION): Set to "2.22.90"
18049         * version.h (RELEASE): Set to "stable".
18050         (VERSION): Set to "2.22"
18051         * include/features.h (__GLIBC_MINOR__): Set to 22.
18053 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
18055         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
18056         Restructure macro to avoid "value computed is not used" warning.
18057         (atomic_compare_and_exchange_val_acq): Likewise.
18059 2015-08-04  Andreas Schwab  <schwab@suse.de>
18061         [BZ #18635]
18062         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
18063         ret.
18064         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
18066 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
18068         * po/pl.po: Updated translation.
18069         * po/uk.po: Likewise.
18070         * po/fi.po: Likewise.
18071         * po/ko.po: Likewise.
18072         * po/ru.po: Likewise.
18073         * po/vi.po: Likewise.
18075 2015-07-31  Zack Weinberg  <zackw@panix.com>
18077         [BZ #18681]
18078         * regexp.h: Add unconditional #warning stating that this header
18079         will be removed soon.  Revise banner comment to match.
18080         (compile): Consistently use ERROR instead of RETURN to report
18081         errors (partial fix for bz#18681).
18082         * regexp.c: Don't include regexp.h. Remove some unnecessary
18083         declarations.
18085 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
18087         * po/libc.pot: Regenerated.
18089 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18091         [BZ #18740]
18092         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
18093         float-vlen4-arch-ext-cflags): Removed.
18094         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
18095         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
18097 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18099         [BZ #14113]
18100         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
18101         aligned to __aligned__.
18102         (pthread_cond_t, pthread_rwlock_t): Likewise.
18104 2015-07-30  Torvald Riegel  <triegel@redhat.com>
18106         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
18108 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18110         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
18111         (struct sigaction): Change sa_flags from a long to an int, and add
18112         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
18114 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18116         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
18117         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
18118         sysdeps/generic/sysdep.h include.
18119         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
18120         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
18121         sysdeps/hppa/sysdep.h.
18122         (ENTRY, PSEUDO): Undefine before defining.
18124 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18126         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
18127         from scratch to use INTERNAL_SYSCALL.
18129 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
18131         [BZ #18078]
18132         * scripts/check-localplt.awk: Support alternate relocations.
18133         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
18134         sections.
18135         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
18136         malloc entries with + REL R_386_GLOB_DAT.
18137         * sysdeps/x86_64/localplt.data: New file.
18139 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
18141         [BZ #18731]
18142         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
18143         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18144         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18146 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18148         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
18150 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18152         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
18153         directly in terms of __sync_fetch_and_add and delete (int) cast.
18155 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18157         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
18158         the -D_ASM_IA64_CURRENT_H flag.
18160 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18162         [BZ #18641]
18163         * pwd/pwd.h (putpwent): Delete __nonnull markings.
18165 2015-07-27  Andreas Schwab  <schwab@suse.de>
18167         * conform/conformtest.pl (checknamespace): Filter out string
18168         literals while tokenizing.
18170 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18172         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18173         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
18174         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18176 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18178         * nptl/tst-join7mod.c: Add #include <string.h>.
18180 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18182         * sysdeps/nios2/libm-test-ulps: Update.
18184 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18186         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
18187         Fix order of arguments to the rt_sigprocmask syscall.
18188         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
18189         Likewise.
18191 2015-07-24  Roland McGrath  <roland@hack.frob.com>
18193         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
18195 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18197         [BZ #18457]
18198         * nptl/Makefile (tests): New test case tst-join7.
18199         (modules-names): New test case module tst-join7mod.
18200         * nptl/tst-join7.c: New file.
18201         * nptl/tst-join7mod.c: New file.
18202         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
18203         all translation units in libc.so, libpthread.so and rtld.
18205 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18209 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18211         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
18212         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
18213         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
18214         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
18215         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
18216         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
18217         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
18218         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18219         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18220         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18221         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18222         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18223         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
18224         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
18225         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
18226         implementation.
18228 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18230         [BZ #17711]
18231         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18232         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
18233         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18234         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18235         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
18236         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18238 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18240         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
18241         instead of just saying load lock in the comments.
18243 2015-07-23  Roland McGrath  <roland@hack.frob.com>
18245         * sysdeps/unix/Subdirs: Moved ...
18246         * sysdeps/posix/Subdirs: ... here.
18247         * login/pty.h (struct termios, struct winsize): Add forward decls.
18248         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
18249         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
18250         * sysdeps/arm/nacl/libc.abilist: Updated.
18251         * sysdeps/nacl/libutil.abilist: New file.
18253         * bits/signum.h: Update comments to mention 1003.1-2013 too.
18254         (SIGWINCH): New macro.
18256         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
18257         * sysdeps/arm/nacl/libc.abilist: Add it.
18259 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18261         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
18263 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18265         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18266         Swap __glibc_reserved0 and sa_flags order.
18268 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18270         [BZ #18657]
18271         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
18272         are pending TLS destructor calls.
18273         * include/link.h (struct link_map): Add concurrency note for
18274         L_TLS_DTOR_COUNT.
18275         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18276         Don't touch the link map flag.  Atomically increment
18277         l_tls_dtor_count.
18278         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
18279         Avoid taking the load lock and don't touch the link map flag.
18280         * stdlib/tst-tls-atexit-nodelete.c: New test case.
18281         * stdlib/Makefile (tests): Use it.
18282         * stdlib/tst-tls-atexit.c (do_test): dlopen
18283         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
18284         to allow tst-tls-atexit-nodelete test case to use it.
18286 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18288         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
18289         to bits/types.h.
18290         (msgqnum_t): New typedef.
18291         (msglen_t): Likewise.
18292         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
18293         and msg_qbytes type to msglen_t.
18295 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18297         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
18298         pad0 to __glibc_reserved0.
18299         (struct stat64): Likewise.
18301 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18303         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18304         Change sa_flags from a long to an int and add __glibc_reserved0 before
18305         it for padding.
18307 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18309         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
18310         anonymous by deleting "siginfo" name.
18312 2015-07-21  Roland McGrath  <roland@hack.frob.com>
18314         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
18315         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
18316         rather than __nacl_irt_filename.
18317         * sysdeps/nacl/xstat.c (__xstat): Likewise.
18319         * NEWS: New item for arm-nacl port.
18320         * sysdeps/arm/nacl/libc.abilist: New file.
18321         * sysdeps/nacl/ld.abilist: New file.
18322         * sysdeps/nacl/libBrokenLocale.abilist: New file.
18323         * sysdeps/nacl/libanl.abilist: New file.
18324         * sysdeps/nacl/libcrypt.abilist: New file.
18325         * sysdeps/nacl/libdl.abilist: New file.
18326         * sysdeps/nacl/libm.abilist: New file.
18327         * sysdeps/nacl/libpthread.abilist: New file.
18328         * sysdeps/nacl/libresolv.abilist: New file.
18329         * sysdeps/nacl/librt.abilist: New file.
18331 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
18333         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
18334         __startcontext to initialize the new context.
18335         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
18336         up CFI directive to forbid further backtracing.
18338 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
18340         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
18341         reference.
18342         * charmaps/ANSI_X3.4-1968: Likewise.
18343         * charmaps/BS_4730: Likewise.
18344         * charmaps/BS_VIEWDATA: Likewise.
18345         * charmaps/CP1250: Likewise.
18346         * charmaps/CP1251: Likewise.
18347         * charmaps/CP1252: Likewise.
18348         * charmaps/CP1253: Likewise.
18349         * charmaps/CP1254: Likewise.
18350         * charmaps/CP1255: Likewise.
18351         * charmaps/CP1256: Likewise.
18352         * charmaps/CSN_369103: Likewise.
18353         * charmaps/EBCDIC-DK-NO: Likewise.
18354         * charmaps/GB_1988-80: Likewise.
18355         * charmaps/GREEK-CCITT: Likewise.
18356         * charmaps/GREEK7: Likewise.
18357         * charmaps/INIS-8: Likewise.
18358         * charmaps/ISIRI-3342: Likewise.
18359         * charmaps/ISO_2033-1983: Likewise.
18360         * charmaps/ISO_5427-EXT: Likewise.
18361         * locales/POSIX: Likewise.
18362         * locales/ar_SA: Likewise.
18363         * locales/be_BY: Likewise.
18364         * locales/be_BY@latin: Likewise.
18365         * locales/ca_ES: Likewise.
18366         * locales/cs_CZ: Likewise.
18367         * locales/da_DK: Likewise.
18368         * locales/de_BE: Likewise.
18369         * locales/de_CH: Likewise.
18370         * locales/de_LU: Likewise.
18371         * locales/en_AU: Likewise.
18372         * locales/en_BW: Likewise.
18373         * locales/en_CA: Likewise.
18374         * locales/en_DK: Likewise.
18375         * locales/en_GB: Likewise.
18376         * locales/en_IE: Likewise.
18377         * locales/en_NZ: Likewise.
18378         * locales/en_ZA: Likewise.
18379         * locales/en_ZW: Likewise.
18380         * locales/es_AR: Likewise.
18381         * locales/es_BO: Likewise.
18382         * locales/es_CL: Likewise.
18383         * locales/es_CO: Likewise.
18384         * locales/es_DO: Likewise.
18385         * locales/es_EC: Likewise.
18386         * locales/es_ES: Likewise.
18387         * locales/es_HN: Likewise.
18388         * locales/es_MX: Likewise.
18389         * locales/es_PA: Likewise.
18390         * locales/es_PE: Likewise.
18391         * locales/es_PY: Likewise.
18392         * locales/es_SV: Likewise.
18393         * locales/es_US: Likewise.
18394         * locales/es_UY: Likewise.
18395         * locales/es_VE: Likewise.
18396         * locales/et_EE: Likewise.
18397         * locales/fa_IR: Likewise.
18398         * locales/fo_FO: Likewise.
18399         * locales/fr_CA: Likewise.
18400         * locales/fr_CH: Likewise.
18401         * locales/gv_GB: Likewise.
18402         * locales/he_IL: Likewise.
18403         * locales/hr_HR: Likewise.
18404         * locales/id_ID: Likewise.
18405         * locales/is_IS: Likewise.
18406         * locales/it_CH: Likewise.
18407         * locales/iw_IL: Likewise.
18408         * locales/kl_GL: Likewise.
18409         * locales/ko_KR: Likewise.
18410         * locales/kw_GB: Likewise.
18411         * locales/lg_UG: Likewise.
18412         * locales/lt_LT: Likewise.
18413         * locales/lv_LV: Likewise.
18414         * locales/mi_NZ: Likewise.
18415         * locales/nhn_MX: Likewise.
18416         * locales/nl_BE: Likewise.
18417         * locales/pl_PL: Likewise.
18418         * locales/sk_SK: Likewise.
18419         * locales/sl_SI: Likewise.
18420         * locales/sv_FI: Likewise.
18421         * locales/tl_PH: Likewise.
18422         * locales/tr_TR: Likewise.
18423         * locales/vi_VN: Likewise.
18425 2015-07-21  Khem Raj  <raj.khem@gmail.com>
18427         [BZ #17475]
18428         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
18429         of tu_IN and bh_IN.
18431 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
18433         [BZ #18694]
18434         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
18435         bits/wordsize.h.
18436         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
18438 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18440         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
18441         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
18442         (spawn_thread): New function.
18443         (load): Rename to reg_dtor_and_close.  Move dlopen to...
18444         (do_test): ... here.  Use IS_LOADED to test for its
18445         availability.
18447 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
18449         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18451 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
18453         [BZ #18696]
18454         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
18455         si_addr_bnd.
18456         (si_lower): New.
18457         (si_upper): Likewise.
18459 2015-07-16  David S. Miller  <davem@davemloft.net>
18461         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
18463 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18465         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
18466         buffer.
18467         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
18468         fail output information.
18470 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18472         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
18473         and strstr-ppc64..
18474         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18475         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
18476         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
18477         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
18478         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
18480 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18482         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18483         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18484         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18485         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18487 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18489         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18490         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
18491         rtld_hidden_proto.
18492         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
18494 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18496         * tst-nodelete-opened.c (do_test): Add comment to clarify how
18497         the test can fail.
18499         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
18501         [BZ #18676]
18502         * elf/tst-nodelete-opened.c: New test case.
18503         * elf/tst-nodelete-opened-lib.c: New test case module.
18504         * elf/Makefile (tests, modules-names): Use them.
18505         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
18506         early.
18508 2015-07-15  David S. Miller  <davem@davemloft.net>
18510         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
18511         futex-intenal.h
18512         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
18513         * sysdeps/sparc/sparc64/Makefile: Likewise.
18514         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18515         Remove space from macro define.
18516         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
18518 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
18520         [BZ #17475]
18521         * locale/iso-639.def: Update Bhili and Tulu language codes as
18522         per iso639-3.
18524 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
18526         * elf/tst-leaks1.c (main): Converted to ...
18527         (do_test): ... this.
18528         (TEST_FUNCTION): New macro.
18529         Include test-skeleton.c.
18530         * localedata/tst-langinfo.c (main): Converted to ...
18531         (do_test): ... this.
18532         (TEST_FUNCTION): New macro.
18533         Include test-skeleton.c.
18534         * math/test-fpucw.c (main): Converted to ...
18535         (do_test): ... this.
18536         (TEST_FUNCTION): New macro.
18537         Include test-skeleton.c.
18538         * math/test-tgmath.c (main): Converted to ...
18539         (do_test): ... this.
18540         (TEST_FUNCTION): New macro.
18541         Include test-skeleton.c.
18542         * math/test-tgmath2.c (main): Converted to ...
18543         (do_test): ... this.
18544         (TEST_FUNCTION): New macro.
18545         Include test-skeleton.c.
18546         * setjmp/tst-setjmp.c (main): Converted to ...
18547         (do_test): ... this.
18548         (TEST_FUNCTION): New macro.
18549         Include test-skeleton.c.
18550         * stdio-common/tst-sscanf.c (main): Converted to ...
18551         (do_test): ... this.
18552         (TEST_FUNCTION): New macro.
18553         Include test-skeleton.c.
18554         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
18555         (do_test): ... this.
18556         (TEST_FUNCTION): New macro.
18557         Include test-skeleton.c.
18559         * elf/tst-audit9.c (main): Converted to ...
18560         (do_test): ... this.
18561         (TEST_FUNCTION): New macro.
18562         Include test-skeleton.c.
18564 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
18566         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
18568 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18570         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
18571         New variable.
18573 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18575         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18577 2015-07-14  Roland McGrath  <roland@hack.frob.com>
18579         * sysdeps/generic/dl-fileid.h: New file.
18580         * sysdeps/posix/dl-fileid.h: New file.
18581         * sysdeps/nacl/dl-fileid.h: New file.
18582         * include/link.h: Include <dl-fileid.h>.
18583         (struct link_map): Replace l_dev and l_ino with l_file_id.
18584         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
18585         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
18586         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
18588 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18590         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
18592 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18594         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
18595         Add iff $CXX is set.
18596         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
18597         Likewise.
18598         (tst-nodelete-zmodiff): Likewise.
18599         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
18601 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18603         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
18605 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18607         * sysdeps/aarch64/fpu/math_private.h
18608         (define math_opt_barrier): Add AArch64 version.
18609         (math_force_eval): Likewise.
18611 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18613         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
18615 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
18617         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
18618         %ld with %jd and cast to intmax_t.
18619         (do_test_length_zero): Likewise.
18621 2015-07-10  Roland McGrath  <roland@hack.frob.com>
18623         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
18625 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
18627         * sysdeps/tile/libm-test-ulps: Regenerated.
18629         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
18630         Comment out the whole function, not just its body.
18632 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18634         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
18635         locks.
18637         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
18639 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18641         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
18642         (sem_assume_only_signals_cause_futex_EINTR): Remove.
18644 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18646         * sysdeps/nptl/futex-internal.h: New file.
18647         * sysdeps/nacl/futex-internal.h: New file.
18648         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
18649         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
18650         error checking.
18651         (setxid_unmark_thread): Likewise.
18652         (__nptl_setxid): Likewise.
18653         (__wait_lookup_done): Likewise.
18654         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
18655         * nptl/nptl-init.c (sighandler_setxid): Likewise.
18656         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
18657         * nptl/pthread_once.c (clear_once_control): Likewise.
18658         (__pthread_once_slow): Likewise.
18659         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18660         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
18661         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
18662         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18663         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
18664         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
18665         Likewise.
18666         (__pthread_rwlock_rdlock): Likewise.
18667         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18668         Likewise.
18669         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18670         Likewise.
18671         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18672         Likewise.
18673         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
18674         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
18675         Likewise.
18676         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
18677         __ASSUME_PRIVATE_FUTEX check.
18678         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
18679         Check that shared futexes are supported.
18680         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
18681         wrappers with error checking.
18682         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
18683         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
18684         * nptl/pthread_barrierattr_setpshared.c
18685         (pthread_barrierattr_setpshared): Check that shared futexes are
18686         supported.
18687         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
18688         Likewise.
18689         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
18690         Likewise.
18691         * nptl/sem_init.c (futex_private_if_supported): Remove.
18692         (__new_sem_init): Adapt and check that shared futexes are supported.
18693         * nptl/sem_open.c (sem_open): Likewise.
18694         * nptl/sem_post.c (futex_wake): Remove.
18695         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
18696         (do_futex_wait): Use futex wrappers with error checking.
18697         * nptl/sem_wait.c: Include lowlevellock.h.
18698         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
18699         Use futex_supports_pshared.
18700         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
18701         Use futex wrappers with error checking.
18702         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
18703         Likewise.
18704         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
18705         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
18706         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
18707         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
18708         (futex_wake): Likewise.
18709         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
18710         (do_futex_wait): Use futex wrappers with error checking.
18711         (__new_sem_wait_slow): Update EINTR handling.
18712         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
18714 2015-07-09  Martin Sebor  <msebor@redhat.com>
18716         [BZ #18435]
18717         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18718         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
18719         * nptl/Makefile (test-xfail-tst-once5): Define.
18721 2015-07-09  Roland McGrath  <roland@hack.frob.com>
18723         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
18724         * elf/dl-minimal.c: For readability, reorder some definitions and
18725         introduce more page breaks.  Include <stdio.h>.
18726         (__libc_fatal): New function.
18728         * include/unistd.h: Add rtld_hidden_proto for _exit.
18729         * posix/_exit.c: Add rtld_hidden_def.
18730         * sysdeps/mach/hurd/_exit.c: Likewise.
18731         * sysdeps/nacl/_exit.c: Likewise.
18732         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
18733         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
18735 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
18737         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
18738         bndmov encoding with zero displacement.
18740 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18741             H.J. Lu  <hongjiu.lu@intel.com>
18743         [BZ #18134]
18744         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
18745         * sysdeps/i386/configure: Regenerated.
18746         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18747         (_dl_runtime_profile): Save and restore Intel MPX return bound
18748         registers when calling _dl_call_pltexit.  Add
18749         PRESERVE_BND_REGS_PREFIX before return.
18750         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
18751         (LRV_BND1_OFFSET): Likewise.
18752         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
18753         lrv_bnd1.
18754         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
18755         typo in bndmov encoding.
18756         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
18757         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
18758         branch instructions to preserve bounds.
18760 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18763         [GLIBC_2.22]: Add fmemopen.
18765 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18767         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
18768         returns an error, also try to use host port from __mach_host_self for
18769         the __vm_wire call.
18770         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
18772 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18774         [BZ #18400]
18775         [BZ #18648]
18776         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
18777         Fix pr_uid and pr_gid members.
18778         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
18779         definition to elf_greg_t.
18781 2015-07-08  Roland McGrath  <roland@hack.frob.com>
18783         [BZ #18383]
18784         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
18785         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
18786         * sysdeps/arm/configure: Regenerated.
18787         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
18788         (test-xfail-tst-tlsalign-static): Variable removed.
18790         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
18791         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
18792         rather than explicit 'ln -s'.
18794         * resolv/rpc/netdb.h: New file.
18795         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
18797 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18799         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
18800         length buffers.
18801         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18802         test-skeleton.c.
18804         [BZ #6544]
18805         [BZ #11216]
18806         [BZ #12836]
18807         [BZ #13151]
18808         [BZ #13152]
18809         [BZ #14292]
18810         * include/stdio.h (fmemopen): Remove hidden prototype.
18811         (__fmemopen): Add new hidden prototype.
18812         * libio/Makefile: Add oldfmemopen object.
18813         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
18814         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
18815         compliance.
18816         * libio/oldfmemopen.c: New file: old fmemopen implementation for
18817         symbol compatibility.
18818         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
18819         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
18820         fmemopen.
18821         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
18822         on append and read mode.
18823         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
18824         fmemopen.
18825         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
18826         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
18827         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
18828         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
18829         Likewise.
18830         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18831         [GLIBC_2.22]: Likewise.
18832         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
18833         Likewise.
18834         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
18835         Likewise.
18836         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18837         [GLIBC_2.22]: Likewise.
18838         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18839         [GLIBC_2.22]: Likewise.
18840         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18841         [GLIBC_2.22]: Likewise.
18842         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18843         [GLIBC_2.22]: Likewise.
18844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18845         [GLIBC_2.22]: Likewise.
18846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18847         [GLIBC_2.22]: Likewise.
18848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18849         [GLIBC_2.22]: Likewise.
18850         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
18851         Likewise.
18852         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
18853         Likewise.
18854         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
18855         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18856         [GLIBC_2.22]: Likewise.
18857         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18858         [GLIBC_2.22]: Likewise.
18859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18860         [GLIBC_2.22]: Likewise.
18861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18862         [GLIBC_2.22]: Likewise.
18863         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
18864         Likewise.
18865         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
18866         Likewise.
18867         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
18868         Likewise.
18869         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
18870         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
18872 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18874         [BZ #18643]
18875         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
18876         IPV6_PATHMTU, and IPV6_DONTFRAG.
18878 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
18880         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
18881         and _IO_UNBUFFERED.
18882         * libio/oldfileops.c: Likewise.
18883         * libio/wfileops.c: Likewise.
18885 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18887         * nscd/selinux.c: Delete selinux/flask.h include.
18889 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18891         [BZ #18641]
18892         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
18893         (putpwent): Likewise.
18894         (getpwnam): Likewise.
18895         (getpwent_r): Likewise.
18896         (getpwuid_r): Likewise.
18897         (getpwnam_r): Likewise.
18898         (fgetpwent_r): Likewise.
18900 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18902         [BZ #18557]
18903         * inet/rcmd.c (__validuser2_sa): Check user first to
18904         short-circuit host check.
18906 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
18907             Mikhail Ilin  <m.ilin@samsung.com>
18909         [BZ #17833]
18910         * elf/Makefile (tests): Add tst-nodelete.
18911         (modules-names): Add tst-nodelete-uniquemod.
18912         (tst-nodelete-uniquemod.so-no-z-defs): New.
18913         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
18914         (tst-nodelete-zmod.so-no-z-defs): Likewise.
18915         ($(objpfx)tst-nodelete): Likewise.
18916         ($(objpfx)tst-nodelete.out): Likewise.
18917         (LDFLAGS-tst-nodelete): Likewise.
18918         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
18919         * elf/dl-close.c (_dl_close_worker): Add a parameter to
18920         implement forced object deletion.
18921         (_dl_close): Pass false to _dl_close_worker.
18922         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
18923         * elf/tst-nodelete.cc: New file.
18924         * elf/tst-nodeletelib.cc: Likewise.
18925         * elf/tst-znodeletelib.cc: Likewise.
18926         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
18928 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18930         [BZ #18508]
18931         * stdlib/Makefile ($(objpfx)tst-makecontext3):
18932         Depend on $(libdl).
18933         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
18934         is not called infinitely times.
18935         (backtrace_helper): New function.
18936         (trace_arg): New struct.
18937         (st1): Enlarge stack size.
18938         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18939         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
18940         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18941         Likewise.
18943 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18945         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18947 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18949         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
18950         Include sys/types.h instead of bits/types.h.
18951         Remove inclusion of bits/wordsize.h.
18953 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18955         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
18956         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
18957         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
18958         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
18959         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
18960         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
18962 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18964         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
18965         link-defines.sym.
18966         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
18967         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
18968         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
18969         and LR_SIZE.
18970         * sysdeps/i386/link-defines.sym: New file.
18972 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18974         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
18975         (modules-names): Add tst-auditmod3a tst-auditmod3b.
18976         ($(objpfx)tst-audit3): New rule.
18977         ($(objpfx)tst-audit3.out): Likewise.
18978         * sysdeps/i386/tst-audit3.c: New file.
18979         * sysdeps/i386/tst-audit3.h: Likewise.
18980         * sysdeps/i386/tst-auditmod3a.c: Likewise.
18981         * sysdeps/i386/tst-auditmod3b.c: Likewise.
18983 2015-07-07  Torvald Riegel  <triegel@redhat.com>
18985         [BZ #18633]
18986         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
18987         pointer in C code.
18988         (__strcat_c): Likewise.
18989         (__strcat_g): Likewise.
18991 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
18993         [BZ #18592]
18994         * misc/sbrk.c: Set errno to ENOMEM on overflow.
18996 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18998         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
18999         New function.  (__ieee754_sqrtf): New function.
19000         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
19001         New function.
19002         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
19003         New function.
19005 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19007         * sysdeps/ieee754/support.c: Remove unused file.
19009 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19011         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
19012         registers instead of d ones so the layout is kernel abi compatible.
19013         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
19014         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
19015         Likewise.
19017 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19019         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19021 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19023         [BZ #18619]
19024         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
19025         and return argument in case of subnormal argument.
19027 2015-07-01  Martin Sebor  <msebor@redhat.com>
19029         [BZ #18435]
19030         * nptl/Makefile: Add tst-once5.cc.
19031         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19032         Remove macro redefinitions.
19033         * nptl/tst-once5.cc: New test.
19035 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19037         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19039         * sysdeps/arm/libm-test-ulps: Regenerated.
19041         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19042         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19044 2015-06-30  Torvald Riegel  <triegel@redhat.com>
19046         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
19047         lll_lock_wait_private and lll_futex_wake probes.
19049         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19050         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
19051         Likewise.
19052         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
19053         atomic_spin_nop.
19054         * sysdeps/x86_64/bits/atomic.h: Likewise.
19055         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
19056         to atomic_spin_nop and move ...
19057         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
19058         ... here and ...
19059         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
19060         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
19061         atomic_spin_nop instead of BUSY_WAIT_NOP.
19062         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
19063         Likewise.
19064         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
19065         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19066         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
19067         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
19068         instead of atomic_delay.
19070 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
19072         [BZ #18613]
19073         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
19074         X_ADJ not X when adjusting exponent.
19075         (__ieee754_gamma_r): Do intermediate computations in
19076         round-to-nearest then adjust overflowing and underflowing results
19077         as needed.
19078         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
19079         of X_ADJ not X when adjusting exponent.
19080         (__ieee754_gammaf_r): Do intermediate computations in
19081         round-to-nearest then adjust overflowing and underflowing results
19082         as needed.
19083         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
19084         log of X_ADJ not X when adjusting exponent.
19085         (__ieee754_gammal_r): Do intermediate computations in
19086         round-to-nearest then adjust overflowing and underflowing results
19087         as needed.  Use 1.0L not 1.0f as numerator of division.
19088         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
19089         log of X_ADJ not X when adjusting exponent.
19090         (__ieee754_gammal_r): Do intermediate computations in
19091         round-to-nearest then adjust overflowing and underflowing results
19092         as needed.  Use 1.0L not 1.0f as numerator of division.
19093         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
19094         of X_ADJ not X when adjusting exponent.
19095         (__ieee754_gammal_r): Do intermediate computations in
19096         round-to-nearest then adjust overflowing and underflowing results
19097         as needed.  Use 1.0L not 1.0f as numerator of division.
19098         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
19099         to auto-libm-test-in.
19100         (tgamma_test): Use ALL_RM_TEST.
19101         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
19102         tests of tgamma with spurious-overflow.
19103         * math/auto-libm-test-out: Regenerated.
19104         * math/gen-libm-have-vector-test.sh: Do not check for START.
19105         * sysdeps/i386/fpu/libm-test-ulps: Update.
19106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19108         [BZ #18612]
19109         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
19110         arguments, just return 0.5 times the argument, with underflow
19111         forced as needed.
19112         * math/auto-libm-test-in: Add more tests of j1.
19113         * math/auto-libm-test-out: Regenerated.
19115         [BZ #16559]
19116         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
19117         (__ieee754_j1): Force underflow exception for small results.
19118         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19119         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
19120         (__ieee754_j1f): Force underflow exception for small results.
19121         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19122         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19123         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19124         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
19125         (__ieee754_j1l): Force underflow exception for small results.
19126         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19127         * math/auto-libm-test-in: Add more tests of j1 and jn.
19128         * math/auto-libm-test-out: Regenerated.
19130         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
19131         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
19132         (PF_MPLS): Likewise.
19133         (AF_IB): Likewise.
19134         (AF_MPLS): Likewise.
19135         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
19136         value and macro.
19137         (MS_RMT_MASK): Include MS_LAZYTIME.
19139 2015-06-26  Mel Gorman  <mgorman@suse.de>
19141         [BZ #18502]
19142         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
19143         already minimal.
19145 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
19147         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
19148         (DT_MIPS_NUM): Update.
19149         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
19150         DT_MIPS_RLD_MAP_REL.
19152 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
19154         [BZ #16559]
19155         [BZ #18602]
19156         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
19157         round-to-nearest internally then recompute results that
19158         underflowed to zero in the original rounding mode.
19159         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19160         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19161         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19162         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19163         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
19164         * sysdeps/i386/fpu/libm-test-ulps: Update.
19165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19167 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19169         * NEWS: Fixed description of link with vector math library.
19171 2015-06-25  Andreas Schwab  <schwab@suse.de>
19173         [BZ #18549]
19174         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
19175         * libio/test-fmemopen.c (do_test): Add test for it.
19177 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
19179         [BZ #17841]
19180         * Makeconfig (no-pie-ldflag): New.
19181         (+link): Set to $(+link-pie) if default to PIE.
19182         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
19183         * config.make.in (build-pie-default): New.
19184         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
19185         is default.  AC_SUBST.
19186         * configure: Regenerated.
19187         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
19189 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19191         * nptl/descr.h (struct pthread): Change type of field setxid_futex
19192         to 'unsigned int'.
19194         * resolv/gai_misc.h (struct waitlist): Change type of field
19195         counterp to 'volatile unsigned int *'.
19196         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
19197         FUTEXADDR and OLDVAL.
19198         * resolv/getaddrinfo_a.c (getaddrinfo_a):
19199         Give local variable TOTAL type 'volatile unsigned int'.
19200         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19201         * resolv/gai_suspend.c (gai_suspend):
19202         Give local variable CNTR type 'unsigned int'.
19204         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
19205         counterp to 'volatile unsigned int *'.
19206         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
19207         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
19208         (aio_suspend): Give local variable CNTR type 'unsigned int'.
19209         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
19210         Give local variable TOTAL type 'volatile unsigned int'.
19211         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19213 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19215         [BZ #18383]
19216         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
19217         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
19218         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
19219         comment for i386/x86-64.
19220         (test-xfail-tst-tlsalign-extern-static): Removed.
19222 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19224         * math/test-double.h: New file.
19225         * math/test-float.h: Likewise.
19226         * math/test-ldouble.h: Likewise.
19227         * math/test-math-inline.h: Likewise.
19228         * math/test-math-no-inline.h: Likewise.
19229         * math/test-math-scalar.h: Likewise.
19230         * math/test-math-vector.h: Likewise.
19231         * math/test-vec-loop.h: Remove file.  Contents moved into
19232         test-math-vector.h.
19233         * math/libm-test.inc (MATHCONST): Do not document macro.
19234         * math/test-double.c: Include test-double.h, test-math-no-inline.h
19235         and test-math-scalar.h.
19236         (FUNC): Remove macro.
19237         (FUNC_TEST): Likewise.
19238         (FLOAT): Likewise.
19239         (MATHCONST): Likewise.
19240         (PRINTF_EXPR): Likewise.
19241         (PRINTF_XEXPR): Likewise.
19242         (PRINTF_NEXPR): Likewise.
19243         (TEST_DOUBLE): Likewise.
19244         (TEST_MATHVEC): Likewise.
19245         (__NO_MATH_INLINES): Likewise.
19246         * math/test-float.c: Include test-float.h, test-math-no-inline.h
19247         and test-math-scalar.h.
19248         (FUNC): Remove macro.
19249         (FUNC_TEST): Likewise.
19250         (FLOAT): Likewise.
19251         (MATHCONST): Likewise.
19252         (PRINTF_EXPR): Likewise.
19253         (PRINTF_XEXPR): Likewise.
19254         (PRINTF_NEXPR): Likewise.
19255         (TEST_FLOAT): Likewise.
19256         (TEST_MATHVEC): Likewise.
19257         (__NO_MATH_INLINES): Likewise.
19258         * math/test-idouble.c: Include test-double.h, test-math-inline.h
19259         and test-math-scalar.h.
19260         (FUNC): Remove macro.
19261         (FUNC_TEST): Likewise.
19262         (FLOAT): Likewise.
19263         (MATHCONST): Likewise.
19264         (PRINTF_EXPR): Likewise.
19265         (PRINTF_XEXPR): Likewise.
19266         (PRINTF_NEXPR): Likewise.
19267         (TEST_DOUBLE): Likewise.
19268         (TEST_MATHVEC): Likewise.
19269         (TEST_INLINE): Likewise.
19270         (__NO_MATH_INLINES): Likewise.
19271         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
19272         test-math-scalar.h.
19273         (FUNC): Remove macro.
19274         (FUNC_TEST): Likewise.
19275         (FLOAT): Likewise.
19276         (MATHCONST): Likewise.
19277         (PRINTF_EXPR): Likewise.
19278         (PRINTF_XEXPR): Likewise.
19279         (PRINTF_NEXPR): Likewise.
19280         (TEST_FLOAT): Likewise.
19281         (TEST_MATHVEC): Likewise.
19282         (TEST_INLINE): Likewise.
19283         (__NO_MATH_INLINES): Likewise.
19284         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
19285         and test-math-scalar.h.
19286         (FUNC): Remove macro.
19287         (FUNC_TEST): Likewise.
19288         (FLOAT): Likewise.
19289         (MATHCONST): Likewise.
19290         (PRINTF_EXPR): Likewise.
19291         (PRINTF_XEXPR): Likewise.
19292         (PRINTF_NEXPR): Likewise.
19293         (TEST_LDOUBLE): Likewise.
19294         (TEST_MATHVEC): Likewise.
19295         (TEST_INLINE): Likewise.
19296         (__NO_MATH_INLINES): Likewise.
19297         * math/test-ldouble.c: Include test-ldouble.h,
19298         test-math-no-inline.h and test-math-scalar.h.
19299         (FUNC): Remove macro.
19300         (FUNC_TEST): Likewise.
19301         (FLOAT): Likewise.
19302         (MATHCONST): Likewise.
19303         (PRINTF_EXPR): Likewise.
19304         (PRINTF_XEXPR): Likewise.
19305         (PRINTF_NEXPR): Likewise.
19306         (TEST_LDOUBLE): Likewise.
19307         (TEST_MATHVEC): Likewise.
19308         (__NO_MATH_INLINES): Likewise.
19309         * math/test-double-vlen2.h: Include test-double.h,
19310         test-math-no-inline.h and test-math-vector.h.
19311         (FLOAT): Remove macro.
19312         (FUNC): Likewise.
19313         (MATHCONST): Likewise.
19314         (PRINTF_EXPR): Likewise.
19315         (PRINTF_XEXPR): Likewise.
19316         (PRINTF_NEXPR): Likewise.
19317         (TEST_DOUBLE): Likewise.
19318         (TEST_MATHVEC): Likewise.
19319         (__NO_MATH_INLINES): Likewise.
19320         (CNCT): Likewise.
19321         (CONCAT): Likewise.
19322         (WRAPPER_NAME): Likewise.
19323         (WRAPPER_DECL): Likewise.
19324         (WRAPPER_DECL_ff): Likewise.
19325         (WRAPPER_DECL_fFF): Likewise.
19326         (VECTOR_WRAPPER): Likewise.
19327         (VECTOR_WRAPPER_ff): Likewise.
19328         (VECTOR_WRAPPER_fFF): Likewise.
19329         (VEC_LEN): New macro.
19330         * math/test-double-vlen4.h: Include test-double.h,
19331         test-math-no-inline.h and test-math-vector.h.
19332         (FLOAT): Remove macro.
19333         (FUNC): Likewise.
19334         (MATHCONST): Likewise.
19335         (PRINTF_EXPR): Likewise.
19336         (PRINTF_XEXPR): Likewise.
19337         (PRINTF_NEXPR): Likewise.
19338         (TEST_DOUBLE): Likewise.
19339         (TEST_MATHVEC): Likewise.
19340         (__NO_MATH_INLINES): Likewise.
19341         (CNCT): Likewise.
19342         (CONCAT): Likewise.
19343         (WRAPPER_NAME): Likewise.
19344         (WRAPPER_DECL): Likewise.
19345         (WRAPPER_DECL_ff): Likewise.
19346         (WRAPPER_DECL_fFF): Likewise.
19347         (VECTOR_WRAPPER): Likewise.
19348         (VECTOR_WRAPPER_ff): Likewise.
19349         (VECTOR_WRAPPER_fFF): Likewise.
19350         (VEC_LEN): New macro.
19351         * math/test-double-vlen8.h: Include test-double.h,
19352         test-math-no-inline.h and test-math-vector.h.
19353         (FLOAT): Remove macro.
19354         (FUNC): Likewise.
19355         (MATHCONST): Likewise.
19356         (PRINTF_EXPR): Likewise.
19357         (PRINTF_XEXPR): Likewise.
19358         (PRINTF_NEXPR): Likewise.
19359         (TEST_DOUBLE): Likewise.
19360         (TEST_MATHVEC): Likewise.
19361         (__NO_MATH_INLINES): Likewise.
19362         (CNCT): Likewise.
19363         (CONCAT): Likewise.
19364         (WRAPPER_NAME): Likewise.
19365         (WRAPPER_DECL): Likewise.
19366         (WRAPPER_DECL_ff): Likewise.
19367         (WRAPPER_DECL_fFF): Likewise.
19368         (VECTOR_WRAPPER): Likewise.
19369         (VECTOR_WRAPPER_ff): Likewise.
19370         (VECTOR_WRAPPER_fFF): Likewise.
19371         (VEC_LEN): New macro.
19372         * math/test-float-vlen4.h: Include test-float.h,
19373         test-math-no-inline.h and test-math-vector.h.
19374         (FLOAT): Remove macro.
19375         (FUNC): Likewise.
19376         (MATHCONST): Likewise.
19377         (PRINTF_EXPR): Likewise.
19378         (PRINTF_XEXPR): Likewise.
19379         (PRINTF_NEXPR): Likewise.
19380         (TEST_FLOAT): Likewise.
19381         (TEST_MATHVEC): Likewise.
19382         (__NO_MATH_INLINES): Likewise.
19383         (CNCT): Likewise.
19384         (CONCAT): Likewise.
19385         (WRAPPER_NAME): Likewise.
19386         (WRAPPER_DECL): Likewise.
19387         (WRAPPER_DECL_ff): Likewise.
19388         (WRAPPER_DECL_fFF): Likewise.
19389         (VECTOR_WRAPPER): Likewise.
19390         (VECTOR_WRAPPER_ff): Likewise.
19391         (VECTOR_WRAPPER_fFF): Likewise.
19392         (VEC_LEN): New macro.
19393         * math/test-float-vlen8.h: Include test-float.h,
19394         test-math-no-inline.h and test-math-vector.h.
19395         (FLOAT): Remove macro.
19396         (FUNC): Likewise.
19397         (MATHCONST): Likewise.
19398         (PRINTF_EXPR): Likewise.
19399         (PRINTF_XEXPR): Likewise.
19400         (PRINTF_NEXPR): Likewise.
19401         (TEST_FLOAT): Likewise.
19402         (TEST_MATHVEC): Likewise.
19403         (__NO_MATH_INLINES): Likewise.
19404         (CNCT): Likewise.
19405         (CONCAT): Likewise.
19406         (WRAPPER_NAME): Likewise.
19407         (WRAPPER_DECL): Likewise.
19408         (WRAPPER_DECL_ff): Likewise.
19409         (WRAPPER_DECL_fFF): Likewise.
19410         (VECTOR_WRAPPER): Likewise.
19411         (VECTOR_WRAPPER_ff): Likewise.
19412         (VECTOR_WRAPPER_fFF): Likewise.
19413         (VEC_LEN): New macro.
19414         * math/test-float-vlen16.h: Include test-float.h,
19415         test-math-no-inline.h and test-math-vector.h.
19416         (FLOAT): Remove macro.
19417         (FUNC): Likewise.
19418         (MATHCONST): Likewise.
19419         (PRINTF_EXPR): Likewise.
19420         (PRINTF_XEXPR): Likewise.
19421         (PRINTF_NEXPR): Likewise.
19422         (TEST_FLOAT): Likewise.
19423         (TEST_MATHVEC): Likewise.
19424         (__NO_MATH_INLINES): Likewise.
19425         (CNCT): Likewise.
19426         (CONCAT): Likewise.
19427         (WRAPPER_NAME): Likewise.
19428         (WRAPPER_DECL): Likewise.
19429         (WRAPPER_DECL_ff): Likewise.
19430         (WRAPPER_DECL_fFF): Likewise.
19431         (VECTOR_WRAPPER): Likewise.
19432         (VECTOR_WRAPPER_ff): Likewise.
19433         (VECTOR_WRAPPER_fFF): Likewise.
19434         (VEC_LEN): New macro.
19435         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
19436         test-vec-loop.h.
19437         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19438         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19439         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19440         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19441         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19442         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19443         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19445 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19447         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
19448         (__getlogin_r): ... this.
19450 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19452         [BZ #18594]
19453         * math/s_ccosh.c (__ccosh): Compare with least normal value
19454         instead of comparing class with FP_SUBNORMAL.
19455         * math/s_ccoshf.c (__ccoshf): Likewise.
19456         * math/s_ccoshl.c (__ccoshl): Likewise.
19457         * math/s_cexp.c (__cexp): Likewise.
19458         * math/s_cexpf.c (__cexpf): Likewise.
19459         * math/s_cexpl.c (__cexpl): Likewise.
19460         * math/s_csin.c (__csin): Likewise.
19461         * math/s_csinf.c (__csinf): Likewise.
19462         * math/s_csinh.c (__csinh): Likewise.
19463         * math/s_csinhf.c (__csinhf): Likewise.
19464         * math/s_csinhl.c (__csinhl): Likewise.
19465         * math/s_csinl.c (__csinl): Likewise.
19466         * math/s_ctan.c (__ctan): Likewise.
19467         * math/s_ctanf.c (__ctanf): Likewise.
19468         * math/s_ctanh.c (__ctanh): Likewise.
19469         * math/s_ctanhf.c (__ctanhf): Likewise.
19470         * math/s_ctanhl.c (__ctanhl): Likewise.
19471         * math/s_ctanl.c (__ctanl): Likewise.
19472         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
19473         csin, csinh, ctan and ctanh.
19474         * math/auto-libm-test-out: Regenerated.
19475         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
19476         * sysdeps/i386/fpu/libm-test-ulps: Update.
19477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19479 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19481         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
19482         return value is wrong, print the expected value too.
19484 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19486         [BZ #18585]
19487         * elf/readlib.c (is_gdb_python_file): New.
19488         (process_file): Don't issue errors on filenames with -gdb.py
19489         suffix.
19491 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19493         * math/auto-libm-test-in: Add more tests of csin and csinh.
19494         * math/auto-libm-test-out: Regenerated.
19495         * math/libm-test.inc (csin_test_data): Remove tests moved to
19496         auto-libm-test-in.
19497         (csinh_test_data): Likewise.
19499         [BZ #18593]
19500         * math/s_csin.c (__csin): Negate before rather than after possibly
19501         overflowing multiplication.
19502         * math/s_csinf.c (__csinf): Likewise.
19503         * math/s_csinh.c (__csinh): Likewise.
19504         * math/s_csinhf.c (__csinhf): Likewise.
19505         * math/s_csinhl.c (__csinhl): Likewise.
19506         * math/s_csinl.c (__csinl): Likewise.
19507         * math/auto-libm-test-in: Add some tests of csin and csinh.
19508         * math/auto-libm-test-out: Regenerated.
19509         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
19510         (csinh_test_data): Likewise.
19511         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19513         [BZ #18586]
19514         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
19515         underflow exception for small results.
19517 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19519         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19520         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
19521         variable and included header.
19522         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
19523         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
19524         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
19525         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
19526         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
19527         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19528         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19529         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
19530         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
19531         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
19532         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
19533         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
19534         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
19535         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
19536         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
19537         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
19539 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19541         [BZ #16526]
19542         [BZ #16538]
19543         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
19544         (__sin): Force underflow exception for arguments with small
19545         absolute value.
19546         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
19547         (__kernel_sinf): Force underflow exception for arguments with
19548         small absolute value.
19549         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
19550         (__kernel_sincosl): Force underflow exception for arguments with
19551         small absolute value.
19552         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
19553         (__kernel_sinl): Force underflow exception for arguments with
19554         small absolute value.
19555         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
19556         (__kernel_sincosl): Force underflow exception for arguments with
19557         small absolute value.
19558         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
19559         (__kernel_sinl): Force underflow exception for arguments with
19560         small absolute value.
19561         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
19562         (__kernel_sinl): Force underflow exception for arguments with
19563         small absolute value.
19564         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
19565         (__kernel_sinf): Force underflow exception for arguments with
19566         small absolute value.
19567         * math/auto-libm-test-in: Add more tests of sin and sincos.
19568         * math/auto-libm-test-out: Regenerated.
19570         [BZ #18245]
19571         [BZ #18583]
19572         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
19573         (__kernel_standard_l): Use feholdexcept and fesetenv around
19574         conversion to double instead of special-casing overflow and
19575         underflow.
19576         * math/libm-test.inc (fmod_test_data): Add more tests.
19577         (remainder_test_data): Likewise.
19578         (sqrt_test_data): Likewise.
19580 2015-06-23  Torvald Riegel  <triegel@redhat.com>
19582         [BZ #17403]
19583         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
19584         atomic_read_barrier, atomic_write_barrier): Define.
19585         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
19586         atomic_read_barrier, atomic_write_barrier): Define.
19588 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19590         * math/Makefile [$(PERL) != no]
19591         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
19592         dependency on libm-test.stmp below the inclusion of Rules.
19594 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
19596         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19597         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
19598         and included header.
19599         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
19600         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
19601         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
19602         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
19603         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
19604         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
19605         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19606         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19607         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
19608         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
19609         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
19610         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
19611         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
19612         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
19613         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
19614         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
19615         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
19616         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
19617         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
19619 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19621         [BZ #18371]
19622         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
19623         intermediate but not final result might underflow.
19624         * math/s_csqrtf.c (__csqrtf): Likewise.
19625         * math/s_csqrtl.c (__csqrtl): Likewise.
19626         * math/auto-libm-test-in: Add more tests of csqrt.
19627         * math/auto-libm-test-out: Regenerated.
19628         * sysdeps/i386/fpu/libm-test-ulps: Update.
19630         [BZ #18219]
19631         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
19632         threshold on absolute value of exponent for which scaling is used.
19633         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19634         * math/auto-libm-test-in: Add more tests of exp2.
19635         * math/auto-libm-test-out: Regenerated.
19637 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
19639         [BZ #17977]
19640         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
19641         when initializing interface list, based on the bug analysis
19642         and the patch proposed by Eric Newton.
19643         * resolv/tst-res_hconf_reorder.c: New test.
19644         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
19645         tst-res_hconf_reorder.
19646         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
19647         and $(shared-thread-library).
19648         (tst-res_hconf_reorder-ENV): New variable.
19650         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
19651         in comment.
19653 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
19655         [BZ #16353]
19656         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
19657         (__expm1): Force underflow exception for arguments with small
19658         absolute value.
19659         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
19660         (__expm1f): Force underflow exception for arguments with small
19661         absolute value.
19662         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
19663         (__expm1): Force underflow exception for arguments with small
19664         absolute value.
19665         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
19666         (__expm1f): Force underflow exception for arguments with small
19667         absolute value.
19668         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19669         Check for small arguments before calling __expm1.
19670         * math/auto-libm-test-in: Do not mark underflow exceptions as
19671         possibly missing for bug 16353.
19672         * math/auto-libm-test-out: Regenerated.
19674 2015-06-22  Andreas Schwab  <schwab@suse.de>
19676         [BZ #18513]
19677         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
19678         PTR queries.
19680 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
19682         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
19684         * string/strcoll_l.c: Remove unused struct element idxnow.
19686 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
19688         [BZ #18569]
19689         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
19690         underflow and return argument in case of subnormal argument.
19691         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19692         Likewise.
19693         * math/auto-libm-test-in: Add more tests of expm1.
19694         * math/auto-libm-test-out: Regenerated.
19696         [BZ #16361]
19697         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19698         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19699         tiny results.
19700         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19701         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19702         tiny results.
19703         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
19704         mark underflow exceptions as possibly missing for bug 16361.
19705         * math/auto-libm-test-out: Regenerated.
19707 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
19709         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
19710         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
19711         Remove variable.
19712         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19713         (test-xfail-XOPEN2K8/utmpx.h/conform).
19715         * conform/conformtest.pl ($xerrors): New variable.
19716         (note_error): New function.
19717         (compiletest): New argument $xfail.  Use not_error.
19718         (runtest): Likewise.
19719         (top level): Handle xfail- lines.  Update calls to compiletest and
19720         runtest.  Handle xfail- and optional- in headers listed with
19721         allow-header.
19722         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
19723         (O_EXEC): Likewise.
19724         (O_SEARCH): Likewise.
19725         * conform/data/stropts.h-data (ioctl): Likewise.
19726         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
19727         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
19728         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
19729         (msghdr.msg_controllen): Likewise.
19730         (cmsghdr.cmsg_len): Likewise.
19731         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
19732         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
19733         variable.
19734         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19735         (test-xfail-XPG4/stropts.h/conform): Likewise.
19736         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19737         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19738         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19739         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19740         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19741         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19742         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19743         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19744         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19745         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19746         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19747         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19748         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19749         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19750         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19751         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19752         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19753         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19754         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19756 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19758         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
19759         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
19760         definitions for proper unfolding of __MATHDECL_VEC.
19762 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19764         * benchtests/bench-strcoll.c:
19765         Include string.h.
19766         (main): Remove unused variable res.
19768 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19770         * timezone/Makefile (%/UTC %/Universal):
19771         Generate test-result files for UTC and Universal.
19773 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19775         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19777 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
19779         [BZ #16350]
19780         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
19781         for arguments with small absolute value.
19782         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
19783         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
19784         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
19785         (__asinh): Force underflow exception for arguments with small
19786         absolute value.
19787         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
19788         (__asinhf): Force underflow exception for arguments with small
19789         absolute value.
19790         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
19791         (__asinhl): Force underflow exception for arguments with small
19792         absolute value.
19793         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
19794         (__asinhl): Force underflow exception for arguments with small
19795         absolute value.
19796         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
19797         (__asinhl): Force underflow exception for arguments with small
19798         absolute value.
19799         * math/auto-libm-test-in: Do not mark underflow exceptions as
19800         possibly missing for bug 16350.
19801         * math/auto-libm-test-out: Regenerated.
19803         * include/bits/ipc.h: Remove file.
19804         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
19805         variable.
19806         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19807         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19808         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19809         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19810         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19811         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19812         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19813         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19814         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19816         * math/auto-libm-test-in: Remove spurious underflow allowance for
19817         tests of cexp.
19818         * math/auto-libm-test-out: Regenerated.
19820         [BZ #18558]
19821         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
19822         unconditional definition.
19823         (MCAST_BLOCK_SOURCE): Likewise.
19824         (MCAST_UNBLOCK_SOURCE): Likewise.
19825         (MCAST_LEAVE_GROUP): Likewise.
19826         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19827         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19828         (MCAST_MSFILTER): Likewise.
19829         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
19830         Remove variable.
19831         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19832         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19833         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19834         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19835         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19837 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
19839         * NEWS: Mention addition of x86_64 vector sincosf.
19840         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
19841         * math/test-float-vlen4.h: Likewise.
19842         * math/test-float-vlen8.h: Likewise.
19843         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19844         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
19845         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19846         * sysdeps/x86_64/fpu/Versions: New versions added.
19847         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19848         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19849         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19850         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
19851         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19852         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
19853         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19854         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
19855         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19856         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
19857         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
19858         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
19859         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
19860         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
19861         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
19862         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
19863         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
19864         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19865         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19866         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19867         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19868         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19869         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19870         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19872         * NEWS: Mention addition of x86_64 vector sincos.
19873         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
19874         * math/math.h (__MATHDECL_VEC): New macro.
19875         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
19876         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
19877         declaration under condition.
19878         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
19879         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
19880         TEST_VEC_LOOP change.
19881         * math/test-double-vlen4.h: Likewise.
19882         * math/test-double-vlen8.h: Likewise.
19883         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
19884         * math/test-float-vlen4.h: Likewise.
19885         * math/test-float-vlen8.h: Likewise.
19886         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19887         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
19888         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19889         * sysdeps/x86_64/fpu/Versions: New versions added.
19890         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19891         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19892         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19893         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
19894         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
19895         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
19896         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
19897         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
19898         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
19899         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
19900         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
19901         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
19902         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
19903         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
19904         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
19905         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
19906         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
19907         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19908         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19909         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19910         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19911         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19912         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19913         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19915         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19916         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19917         redirections for powf.
19918         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19919         * sysdeps/x86_64/fpu/Versions: New versions added.
19920         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19921         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19922         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19923         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
19924         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
19925         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
19926         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
19927         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
19928         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
19929         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
19930         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
19931         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
19932         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
19933         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
19934         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
19935         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
19936         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
19937         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19938         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19939         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19940         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19941         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19942         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19943         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19944         * math/test-float-vlen16.h: Fixed 2 argument macro.
19945         * math/test-float-vlen4.h: Likewise.
19946         * math/test-float-vlen8.h: Likewise.
19947         * NEWS: Mention addition of x86_64 vector powf.
19949 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
19951         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19952         and redefine.
19953         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19954         and redefine.
19955         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
19956         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19957         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19959         [BZ #18553]
19960         * resource/getpriority.c (getpriority): Rename to __getpriority
19961         and define as weak alias of __getpriority.
19962         * resource/setpriority.c (setpriority): Rename to __setpriority
19963         and define as weak alias of __setpriority.
19964         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
19965         __getpriority and define as weak alias of __getpriority.
19966         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
19967         __setpriority and define as weak alias of __setpriority.
19968         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
19969         strong name.
19970         (setpriority): Use __setpriority as strong name.
19971         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
19972         __getpriority and define as weak alias of __getpriority.
19973         * include/sys/resource.h (__getpriority): Declare.  Use
19974         libc_hidden_proto.
19975         (__setpriority): Likewise.
19976         (getpriority): Don't use libc_hidden_proto.
19977         (setpriority): Likewise.
19978         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
19979         getpriority.  Call __setpriority instead of setpriority.
19980         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
19981         Remove variable.
19983         [BZ #18547]
19984         * misc/getttyent.c (getttynam): Rename to __getttynam and define
19985         as weak alias of __getttynam.  Use prototype function definition.
19986         Call __setttyent, __getttyent and __endttyent instead of
19987         setttyent, getttyent and endttyent.
19988         (getttyent): Rename to __getttyent and define as weak alias of
19989         __getttyent.  Call __setttyent instead of setttyent.  Call
19990         __fgets_unlocked instead of fgets_unlocked.
19991         (setttyent): Rename to __setttyent and define as weak alias of
19992         __setttyent.
19993         (endttyent): Rename to __endttyent and define as weak alias of
19994         __endttyent.
19995         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
19996         (__setttyent): Likewise.
19997         (__endttyent): Likewise.
19998         (getttyent): Don't use libc_hidden_proto.
19999         (setttyent): Likewise.
20000         (endttyent): Likewise.
20001         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
20002         __endttyent instead of setttyent, getttyent and endttyent.
20003         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
20004         Remove variable.
20006         [BZ #18546]
20007         * socket/recv.c (__recv): Use libc_hidden_def.
20008         * socket/socket.c (__socket): Likewise.
20009         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20010         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20011         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
20012         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
20013         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
20014         libc_hidden_def.
20015         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
20016         libc_hidden_weak.
20017         * include/sys/socket.h (__socket): Do not use attribute_hidden.
20018         Use libc_hidden_proto.
20019         (__recv): Likewise.
20020         * socket/Versions (libc): Export __recv and __socket at version
20021         GLIBC_PRIVATE.
20022         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
20023         instead of recv.
20024         (init_mq_netlink): Call __socket instead of socket.
20025         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
20026         Remove variable.
20028         [BZ #18545]
20029         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
20030         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
20031         hidden_weak.
20032         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
20033         define as alias of __mq_timedsend.  Use hidden_weak.
20034         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
20035         __mq_timedsend as strong name.
20036         (mq_timedreceive): Use __mq_timedreceive as strong name.
20037         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
20038         (__mq_timedreceive): Likewise.
20039         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
20040         __mq_timedreceive instead of mq_timedreceive.
20041         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
20042         instead of mq_timedsend.
20043         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
20044         Remove variable.
20046         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
20047         hidden_def and hidden_weak instead of libc_hidden_def and
20048         libc_hidden_weak.
20049         (top level): Refer to hidden_def in comment.
20050         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
20051         macro.  Use it instead of libc_hidden_def.
20052         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
20053         specify __GI_* name explicitly.
20054         (mq_timedreceive): Likewise.
20055         (mq_setattr): Likewise.
20057         [BZ #18544]
20058         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
20059         __pthread_barrier_init and define as weak alias of
20060         __pthread_barrier_init.
20061         * sysdeps/sparc/nptl/pthread_barrier_init.c
20062         (pthread_barrier_init): Likewise.
20063         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
20064         __pthread_barrier_wait and define as weak alias of
20065         __pthread_barrier_wait.
20066         * sysdeps/sparc/nptl/pthread_barrier_wait.c
20067         (pthread_barrier_wait): Likewise.
20068         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20069         (pthread_barrier_wait): Likewise.
20070         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
20071         (pthread_barrier_wait): Likewise.
20072         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
20073         (pthread_barrier_wait): Likewise.
20074         * nptl/Versions (libpthread): Export __pthread_barrier_init and
20075         __pthread_barrier_wait at version GLIBC_PRIVATE.
20076         * include/pthread.h (__pthread_barrier_init): Declare.
20077         (__pthread_barrier_wait): Likewise.
20078         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
20079         Call __pthread_barrier_wait instead of pthread_barrier_wait.
20080         (helper_thread): Likewise.
20081         (init_mq_netlink): Call __pthread_barrier_init instead of
20082         pthread_barrier_init.
20084         [BZ #18542]
20085         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
20086         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
20087         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
20088         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
20089         vswscanf.
20090         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
20091         Remove variable.
20093         [BZ #18540]
20094         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
20095         strong alias of _IO_fflush.  Use libc_hidden_def.
20096         * libio/iofflush_u.c (fflush_unlocked): Rename to
20097         __fflush_unlocked and define as weak alias of __fflush_unlocked.
20098         Use libc_hidden_weak.
20099         * include/stdio.h (__fflush_unlocked): Declare.  Use
20100         libc_hidden_proto.
20101         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
20102         fflush_unlocked.
20103         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
20104         Remove variable.
20106         [BZ #18539]
20107         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
20108         define as weak alias of __addseverity.
20109         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
20110         Remove variable.
20111         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20112         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20113         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20115         [BZ #18536]
20116         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
20117         (__tfind): Likewise.
20118         (__tdelete): Likewise.
20119         (__twalk): Likewise.
20120         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
20121         __twalk to GLIBC_PRIVATE.
20122         * include/search.h (__tsearch): Use libc_hidden_proto.
20123         (__tfind): Likewise.
20124         (__tdelete): Likewise.
20125         (__twalk): Likewise.
20126         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
20127         Call __tdelete instead of tdelete.
20128         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
20129         tfind.  Call __tsearch instead of tsearch.
20130         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
20131         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
20132         Remove variable.
20133         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20135         [BZ #18534]
20136         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
20137         (dprintf): Define as a weak alias of __dprintf, not a strong
20138         alias.
20139         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
20140         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
20141         dprintf.
20142         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
20143         Remove variable.
20144         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20145         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20147         [BZ #18533]
20148         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
20149         not a strong alias.
20150         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
20151         Remove variable.
20153         [BZ #18532]
20154         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
20155         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
20156         (in6addr_loopback): Rename to __in6addr_loopback and define as
20157         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
20158         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
20159         libc_hidden_proto.
20160         (__in6addr_any): Likewise.
20161         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
20162         in6addr_any.
20163         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
20164         variable.
20165         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20167 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
20169         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
20170         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
20171         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20172         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20173         redirections for pow.
20174         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20175         * sysdeps/x86_64/fpu/Versions: New versions added.
20176         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20177         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20178         build of SSE, AVX2 and AVX512 IFUNC versions.
20179         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
20180         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
20181         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
20182         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
20183         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
20184         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
20185         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
20186         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
20187         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
20188         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
20189         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
20190         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
20191         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
20192         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
20193         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20194         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20195         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20196         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20197         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20198         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20199         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20200         * NEWS: Mention addition of x86_64 vector pow.
20202         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20203         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20204         redirections for expf.
20205         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20206         * sysdeps/x86_64/fpu/Versions: New versions added.
20207         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20208         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20209         build of SSE, AVX2 and AVX512 IFUNC versions.
20210         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
20211         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
20212         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
20213         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
20214         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
20215         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
20216         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
20217         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
20218         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
20219         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
20220         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
20221         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
20222         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
20223         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20224         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20225         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20226         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20227         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20228         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20229         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20230         * NEWS: Mention addition of x86_64 vector expf.
20232         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
20233         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
20234         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20235         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20236         redirections for exp.
20237         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20238         * sysdeps/x86_64/fpu/Versions: New versions added.
20239         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20240         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20241         build of SSE, AVX2 and AVX512 IFUNC versions.
20242         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
20243         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
20244         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
20245         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
20246         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
20247         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
20248         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
20249         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
20250         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
20251         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
20252         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
20253         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
20254         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
20255         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20256         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20257         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20258         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20259         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20260         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20261         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20262         * NEWS: Mention addition of x86_64 vector exp.
20264         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20265         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20266         redirections for logf.
20267         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20268         * sysdeps/x86_64/fpu/Versions: New versions added.
20269         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20270         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20271         build of SSE, AVX2 and AVX512 IFUNC versions.
20272         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
20273         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
20274         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
20275         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
20276         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
20277         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
20278         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
20279         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
20280         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
20281         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
20282         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
20283         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
20284         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
20285         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20286         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20287         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20288         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20289         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20290         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20291         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20292         * NEWS: Mention addition of x86_64 vector logf.
20294         * bits/libm-simd-decl-stubs.h: Added stubs for log.
20295         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
20296         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20297         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20298         redirections for log.
20299         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20300         * sysdeps/x86_64/fpu/Versions: New versions added.
20301         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20302         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20303         build of SSE, AVX2 and AVX512 IFUNC versions.
20304         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
20305         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
20306         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
20307         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
20308         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
20309         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
20310         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
20311         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
20312         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
20313         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
20314         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
20315         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
20316         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
20317         test.
20318         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20319         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20320         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20321         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20322         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20323         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20324         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20325         * NEWS: Mention addition of x86_64 vector log.
20327 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20329         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
20330         cfi_adjust_cfa_offset argument.
20331         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
20332         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
20334         [BZ #18034]
20335         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
20336         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
20337         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
20338         ordering using ldar.
20339         (_dl_tlsdesc_dynamic): Likewise.
20340         (_dl_tlsdesc_return_lazy): Likewise.
20341         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
20342         relaxed atomics instead of volatile and synchronize with release store.
20343         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
20344         volatile.
20345         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20347 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
20349         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20350         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
20351         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20352         * sysdeps/x86_64/fpu/Versions: New versions added.
20353         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20354         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20355         build of SSE, AVX2 and AVX512 IFUNC versions.
20356         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
20357         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
20358         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
20359         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
20360         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
20361         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
20362         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
20363         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
20364         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
20365         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
20366         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
20367         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
20368         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
20369         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20370         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20371         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20372         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20373         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20374         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20375         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20376         * NEWS: Mention addition of x86_64 vector sinf.
20378 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
20380         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
20381         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
20382         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
20383         Remove variable.
20384         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20385         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20387 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20389         [BZ #18530]
20390         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
20391         strong alias of _IO_fputs.  Use libc_hidden_def.
20392         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
20393         and define as weak alias of __fputs_unlocked.  Use
20394         libc_hidden_weak.
20395         * include/stdio.h (__fputs_unlocked): Declare.  Use
20396         libc_hidden_proto.
20397         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
20398         fputs_unlocked.
20400         [BZ #18529]
20401         * resolv/netdb.h [__USE_POSIX]: Change condition to
20402         [__USE_XOPEN2K].
20403         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
20404         not expect.
20405         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
20406         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
20407         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
20408         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
20409         [XPG4 || UNIX98] (AI_ALL): Likewise.
20410         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
20411         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
20412         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
20413         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
20414         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
20415         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
20416         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
20417         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
20418         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
20419         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
20420         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
20421         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
20422         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
20423         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
20424         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
20425         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20426         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20427         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
20428         [XPG4 || UNIX98] (gai_strerror): Likewise.
20429         [XPG4 || UNIX98] (getaddrinfo): Likewise.
20430         [XPG4 || UNIX98] (getnameinfo): Likewise.
20432         [BZ #18528]
20433         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
20434         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
20435         __USE_XOPEN2K8].
20436         (getgrent): Likewise.
20437         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
20438         expect.
20439         [XPG3 || POSIX2008] (endgrent): Likewise.
20440         [XPG3] (setgrent): Likewise.
20441         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
20442         variable.
20443         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20445         [BZ #18527]
20446         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
20447         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
20448         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
20449         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
20450         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
20451         * include/unistd.h (__getlogin_r): Declare.  Use
20452         libc_hidden_proto.
20453         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
20454         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
20455         variable.
20456         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20457         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20458         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20460 2015-06-12  Martin Sebor  <msebor@redhat.com>
20462         [BZ #18512]
20463         * Makerules (check-install-supported): New target.
20464         (install): Add check-install-supported as a dependency.
20465         * manual/install.texi (Installing the C Library): Document
20466         that overriding prefix and exec_prefix is not supported.
20467         Mention DESTDIR.
20468         * INSTALL: Regenerate from the above.
20470 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20472         [BZ #18519]
20473         * posix/Versions (libc): Export __libc_pread at version
20474         GLIBC_PRIVATE.
20475         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
20476         instead of pread.
20477         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
20478         variable.
20480         [BZ #18522]
20481         * misc/efgcvt_r.c
20482         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
20483         (cvt_symbol): Use weak_alias instead of strong_alias.
20484         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
20485         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
20486         Remove variable.
20487         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20488         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20490         [BZ #18520]
20491         * inet/herrno.c (h_errno): Rename to __h_errno.
20492         (__libc_h_errno): Define as alias of __h_errno not h_errno.
20493         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
20494         to __h_errno instead of h_errno.
20495         * nptl/herrno.c (h_errno): Rename to __h_errno.
20496         (__h_errno_location): Refer to __h_errno not h_errno.
20497         * resolv/Versions (h_errno): Rename to __h_errno.
20498         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
20499         Remove variable.
20500         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20502 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
20504         * configure.ac: More strict check for AVX512 assembler support.
20505         * configure: Regenerated.
20507         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
20508         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
20509         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20510         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
20511         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20512         * sysdeps/x86_64/fpu/Versions: New versions added.
20513         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20514         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20515         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20516         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
20517         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
20518         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
20519         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
20520         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
20521         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
20522         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
20523         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
20524         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
20525         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
20526         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
20527         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
20528         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
20529         test.
20530         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20531         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20532         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20533         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20534         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20535         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20536         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20537         * NEWS: Mention addition of x86_64 vector sin.
20539 2015-06-11  Florian Weimer  <fweimer@redhat.com>
20541         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
20542         comment.
20544 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20546         [BZ #18479]
20547         * nptl/pt-interp.c: New file.
20548         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
20549         Add pt-interp.
20550         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
20551         $(common-objpfx)runtime-linker.h.
20553 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
20555         * Makeconfig (+interp): Remove unused variable.
20556         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
20557         only.  Depend on $(common-objpfx)runtime-linker.h instead of
20558         $(elf-objpfx)runtime-linker.h.
20559         ($(elf-objpfx)runtime-linker.h): Rename to
20560         $(common-objpfx)runtime-linker.h and move ...
20561         * Makerules [$(build-shared) = yes]: ... here.
20562         * elf/interp.c: Include <runtime-linker.h> instead of
20563         <elf/runtime-linker.h>.
20565 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20567         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
20568         (__gettimeofday_syscall): Remove vsyscall fallback.
20569         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
20570         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
20571         Add syscall fallback function.
20572         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
20573         if vDSO is not present.
20574         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
20575         fallback function.
20576         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
20577         present.
20578         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
20579         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20581 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
20583         [BZ #18497]
20584         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
20585         of wcscmp.
20586         (wcscmp): Define as weak alias of WCSCMP.
20587         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
20588         wcscoll.
20589         (USE_HIDDEN_DEF): Define.
20590         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
20591         __wcscoll.  Don't use libc_hidden_weak.
20592         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
20593         wcscmp.
20594         * sysdeps/i386/i686/multiarch/wcscmp-c.c
20595         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
20596         __GI_wcscmp.
20597         (weak_alias): Undefine and redefine.
20598         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
20599         __wcscmp and define as weak alias of __wcscmp.
20600         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
20601         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
20602         (__wcscoll): Likewise.
20603         (wcscmp): Don't use libc_hidden_proto.
20604         (wcscoll): Likewise.
20605         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
20606         wcscoll.
20607         * posix/regexec.c (check_node_accept_bytes): Likewise.
20608         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
20609         variable.
20610         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20611         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20613         [BZ #18507]
20614         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
20615         __fstatvfs and define as weak alias of __fstatvfs.  Use
20616         libc_hidden_weak.
20617         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
20618         and define as weak alias of __statvfs.  Use libc_hidden_weak.
20619         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
20620         Define as alias of __fstatvfs, not fstatvfs.
20621         (fstatvfs64): Likewise.
20622         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
20623         Define as alias of __statvfs, not statvfs.
20624         (statvfs64): Likewise.
20625         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
20626         Remove variable.
20628 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20631         (HAVE_GETCPU_VSYSCALL): Define.
20632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20633         (HAVE_GETCPU_VSYSCALL): Likewise.
20634         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
20635         * sysdeps/unix/sysv/linux/sched_getcpu.c
20636         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
20637         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
20638         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
20639         prototype.
20640         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20641         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
20642         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
20643         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
20644         Define.
20645         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
20646         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20647         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
20648         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20650 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
20652         * sysdeps/x86_64/fpu/Makefile: New file.
20653         * sysdeps/x86_64/fpu/Versions: New file.
20654         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
20655         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
20656         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
20657         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
20658         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
20659         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
20660         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
20661         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
20662         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
20663         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
20664         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
20665         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
20666         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
20667         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20668         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20669         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
20670         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
20671         * sysdeps/x86_64/configure.ac: Options for libmvec build.
20672         * sysdeps/x86_64/configure: Regenerated.
20673         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
20674         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
20675         * manual/install.texi (Configuring and compiling): Document
20676         --disable-mathvec.
20677         * INSTALL: Regenerated.
20678         * NEWS: Mention addition of libmvec and x86_64 vector cos.
20680         * math/Makefile: Added rules for vector tests.
20681         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
20682         declaration under condition.
20683         * math/test-double-vlen2.h: New file.
20684         * math/test-double-vlen4.h: New file.
20685         * math/test-double-vlen8.h: New file.
20686         * math/test-vec-loop.h: Added initialization macro.
20687         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
20688         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
20689         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
20690         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
20691         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
20692         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
20693         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
20694         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
20695         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
20696         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
20697         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
20699         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20700         * sysdeps/x86_64/fpu/Versions: New versions added.
20701         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
20702         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
20703         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
20704         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
20705         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
20706         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
20707         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
20708         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
20709         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
20710         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
20711         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
20712         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
20713         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
20714         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20715         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20716         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20717         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
20718         * NEWS: Mention addition of x86_64 vector cosf.
20720         * math/Makefile: Added CFLAGS for new tests.
20721         * math/test-float-vlen16.h: New file.
20722         * math/test-float-vlen4.h: New file.
20723         * math/test-float-vlen8.h: New file.
20724         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
20725         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
20726         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20727         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
20728         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
20729         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
20730         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
20731         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
20732         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
20733         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
20734         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
20736 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
20738         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
20739         * locale/programs/ld-ctype.c: Likewise.
20741 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
20743         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
20744         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
20745         bit_ZMM16_31_state): New macro.
20746         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20747         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
20749 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
20751         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
20753 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
20755         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
20757 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
20759         [BZ #18498]
20760         * libio/memstream.c (open_memstream): Rename to __open_memstream
20761         and define as weak alias of __open_memstream.
20762         * include/stdio.h (__open_memstream): Declare.  Use
20763         libc_hidden_proto.
20764         (open_memstream): Don't use libc_hidden_proto.
20765         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
20766         open_memstream.
20767         * posix/getopt.c (_getopt_internal_r): Likewise.
20768         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
20769         variable.
20770         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20771         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20772         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20774         [BZ #18496]
20775         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
20776         instead of wcrtomb.
20778         [BZ #18483]
20779         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
20780         [__USE_XOPEN2K8].  Remove redundant #endif.
20781         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
20782         Remove redundant #if.
20783         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
20784         Remove variable.
20785         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20786         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20788         [BZ #18495]
20789         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
20790         (__iswlower): Likewise.
20791         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
20792         (__iswlower): Likewise.
20793         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
20794         instead of towlower.
20795         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
20796         instead of iswlower.  Call __towupper instead of towupper.
20797         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
20798         instead of iswalnum.
20800 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20802         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
20803         errors to stderr.
20805 2015-06-05  Florian Weimer  <fweimer@redhat.com>
20807         [BZ #15661]
20808         [BZ #17322]
20809         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20810         Check for overflow properly.  Check for O_APPEND.  Ignore large
20811         file system block sizes.  Add comments about problems.
20812         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
20813         * manual/filesys.texi (Storage Allocation): New node.
20815 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20817         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
20818         cancellable syscalls.
20819         (SYS_ify): Add guard to no redefine it.
20820         (INLINE_SYSCALL): Likewise.
20821         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
20822         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
20823         SYSCALL_CANCEL instead.
20824         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
20825         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20826         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20827         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20828         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20829         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
20830         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
20831         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
20832         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20833         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20834         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
20835         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
20836         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
20837         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
20838         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
20839         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20840         Likewise.
20841         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20842         (__libc_pread64): Likewise.
20843         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
20844         (__libc_preadv): Likewise.
20845         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
20846         (__libc_readv64): Likewise.
20847         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20848         (__libc_pwrite): Likewise.
20849         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20850         (__libc_pwrite64): Likewise.
20851         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
20852         (__libc_pwritev): Likewise.
20853         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
20854         (__libc_pwritev64): Likewise.
20855         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
20856         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20857         (sync_file_range): Likewise.
20858         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
20859         Likewise.
20860         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
20861         Likewise.
20862         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20863         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20864         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20865         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20866         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20867         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20868         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20869         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
20870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20871         Likewise.
20872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20873         (__libc_read64): Likewise.
20874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
20875         Likewise.
20876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
20877         Likewise.
20878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
20879         Likewise.
20880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
20881         Likewise.
20882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20883         (__libc_pread64): Likewise.
20884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
20885         Likewise.
20886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20887         (__libc_pwrite64): Likewise.
20888         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
20889         (sync_file_range): Likewise.
20890         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
20891         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20892         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20893         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
20894         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
20895         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20896         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20897         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
20898         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
20899         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20900         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20901         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20902         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20903         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20904         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
20905         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20906         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20907         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20908         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20909         Likewise.
20910         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
20911         Likewise.
20912         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
20913         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
20914         Likewise.
20915         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
20916         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
20917         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
20918         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
20919         Likewise.
20920         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
20921         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
20922         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
20923         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
20924         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
20926 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
20928         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
20929         Include dl-vdso.
20930         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
20931         Use VDSO routines for gettimeofday, clock_gettime if
20932         available.
20933         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
20934         Declare VDSO symbols.
20935         * sysdeps/unix/sysv/linux/arm/sysdep.h:
20936         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
20937         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20938         * sysdeps/unix/sysv/linux/arm/Versions: Add
20939         __vdso_clock_gettime.
20941 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20943         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
20944         be an inline implementation regardless of library is built within.
20945         (open_not_cancel_2): Likewise.
20946         (__read_nocancel): Likewise.
20947         (__write_nocancel): Likewise.
20948         (openat_not_cancel): Likewise.
20949         (openat_not_cancel_3): Likewise.
20950         (openat64_not_cancel): Likewise.
20951         (openat64_not_cancel_3): Likewise.
20952         (__close_nocancel): Likewise.
20953         (pause_not_cancel): Likewise.
20954         (nanosleep_not_cancel): Likewise.
20955         (sigsuspend_not_cancel): Likewise.
20957 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20959         [BZ #14958]
20960         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
20961         wake-up.
20962         (__pthread_rwlock_rdlock_slow): Likewise.
20963         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20964         Likewise.
20965         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20966         Likewise.
20967         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
20968         * nptl/tst-rwlock16.c: New file.
20969         * nptl/Makefile (tests): Add new test.
20971 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20973         [BZ #18324]
20974         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
20975         missing wake-up of readers.
20976         * nptl/tst-rwlock15.c: New file.
20977         * nptl/Makefile (tests): Add new test.
20979 2015-06-03  Roland McGrath  <roland@hack.frob.com>
20981         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
20982         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
20983         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
20984         and __nacl_supply_interface_rtld.
20985         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
20986         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
20987         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
20988         Add __nacl_supply_interface_rtld.
20989         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
20991 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20993         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
20994         isfinite.
20995         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20996         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
20998 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21000         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
21001         __signbit* with standard C99 macros.
21002         * math/e_exp10l.c: Likewise.
21003         * math/e_exp2l.c: Likewise.
21004         * math/e_scalb.c: Likewise.
21005         * math/e_scalbf.c: Likewise.
21006         * math/e_scalbl.c: Likewise.
21007         * math/s_ldexp.c: Likewise.
21008         * math/s_ldexpf.c: Likewise.
21009         * math/s_ldexpl.c: Likewise.
21010         * math/w_atan2.c: Likewise.
21011         * math/w_atan2f.c: Likewise.
21012         * math/w_atan2l.c: Likewise.
21013         * math/w_cosh.c: Likewise.
21014         * math/w_coshf.c: Likewise.
21015         * math/w_coshl.c: Likewise.
21016         * math/w_exp10.c: Likewise.
21017         * math/w_exp10f.c: Likewise.
21018         * math/w_exp10l.c: Likewise.
21019         * math/w_exp2.c: Likewise.
21020         * math/w_exp2f.c: Likewise.
21021         * math/w_exp2l.c: Likewise.
21022         * math/w_fmod.c: Likewise.
21023         * math/w_fmodf.c: Likewise.
21024         * math/w_fmodl.c: Likewise.
21025         * math/w_hypot.c: Likewise.
21026         * math/w_hypotf.c: Likewise.
21027         * math/w_hypotl.c: Likewise.
21028         * math/w_jnl.c: Likewise.
21029         * math/w_lgamma.c: Likewise.
21030         * math/w_lgamma_r.c: Likewise.
21031         * math/w_lgammaf.c: Likewise.
21032         * math/w_lgammaf_r.c: Likewise.
21033         * math/w_lgammal.c: Likewise.
21034         * math/w_lgammal_r.c: Likewise.
21035         * math/w_pow.c: Likewise.
21036         * math/w_powf.c: Likewise.
21037         * math/w_powl.c: Likewise.
21038         * math/w_remainder.c: Likewise.
21039         * math/w_remainderf.c: Likewise.
21040         * math/w_remainderl.c: Likewise.
21041         * math/w_scalb.c: Likewise.
21042         * math/w_scalbf.c: Likewise.
21043         * math/w_scalbl.c: Likewise.
21044         * math/w_scalbln.c: Likewise.
21045         * math/w_scalblnf.c: Likewise.
21046         * math/w_scalblnl.c: Likewise.
21047         * math/w_sinh.c: Likewise.
21048         * math/w_sinhf.c: Likewise.
21049         * math/w_sinhl.c: Likewise.
21050         * math/w_tgamma.c: Likewise.
21051         * math/w_tgammaf.c: Likewise.
21052         * math/w_tgammal.c: Likewise.
21053         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21054         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
21055         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21056         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21057         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21058         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21059         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21060         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21061         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21062         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21063         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21064         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21065         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21066         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21067         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21068         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21069         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21070         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21071         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21072         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21073         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21074         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21075         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21076         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21077         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21078         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21079         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
21080         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21081         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21082         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21083         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
21084         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
21085         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
21086         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
21087         * stdio-common/printf_fp.c: Likewise.
21088         * stdio-common/printf_fphex.c: Likewise.
21089         * stdio-common/printf_size.c: Likewise.
21091 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
21093         [BZ #18470]
21094         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
21095         strnlen.
21096         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
21097         Remove variable.
21098         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21099         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21100         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21101         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21102         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21103         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21104         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21105         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21106         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21107         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21109         [BZ #18468]
21110         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
21111         weak alias of __wmemchr.  Use libc_hidden_weak.
21112         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
21113         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
21114         instead of wmemchr.
21116 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21118         [BZ #18383]
21119         * elf/tst-tlsalign-extern.c: New file.
21120         * elf/tst-tlsalign-extern-static.c: New file.
21121         * elf/tst-tlsalign-vars.c: New file.
21122         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
21123         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
21124         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
21125         ($(objpfx)tst-tlsalign-extern-static): Likewise.
21126         (test-xfail-tst-tlsalign-extern-static): New variable.
21128 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
21130         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
21131         Use variable name _sc_err instead of err.
21132         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
21133         instead of ret.
21134         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
21135         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
21136         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
21137         (INLINE_SYSCALL): Likewise.
21139         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
21140         * include/string.h (__strnlen): Use libc_hidden_proto.
21141         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
21142         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
21143         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
21144         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
21145         (libc_hidden_def): Undefine and redefine.
21146         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
21147         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
21148         __GI_strnlen.
21149         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
21150         libc_hidden_def.
21151         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
21153         [BZ #18469]
21154         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
21155         weak alias of __towlower.  Use libc_hidden_weak.
21156         (towupper): Rename to __towupper and define as weak alias of
21157         __towupper.  Use libc_hidden_weak.
21158         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
21159         (__towupper): Likewise.
21160         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
21161         __towlower instead of towlower.
21163 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21165         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
21166         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
21168 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21170         * sysdeps/aarch64/libm-test-ulps: Update.
21172 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21174         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
21175         Define.
21176         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21177         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21178         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21179         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21180         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
21181         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
21182         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
21184 2015-06-01  Martin Sebor  <msebor@redhat.com>
21186         [BZ #18116]
21187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21188         (__setcontext): Use extended four-operand version of mtsf whenever
21189         possible.
21190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21191         (__novec_swapcontext): Likewise.
21193 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21195         * benchtests/scripts/compare_bench.py: New file.
21196         * benchtests/scripts/import_bench.py (mean): New function.
21197         (split_list): Likewise.
21198         (do_for_all_timings): Likewise.
21199         (compress_timings): Likewise.
21201         * benchtests/scripts/import_bench.py: New file.
21202         * benchtests/scripts/validate_benchout.py: Import import_bench
21203         instead of jsonschema.
21204         (validate_bench): Remove function.
21205         (main): Use import_bench.
21207 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
21209         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
21210         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
21212 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21216 2015-05-28  Roland McGrath  <roland@hack.frob.com>
21218         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
21219         set THREAD_SELF->tid to a magic value and futex-wake it.
21220         Pass its address to the thread_exit system call.
21221         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
21222         bit is clear.
21223         * sysdeps/nacl/lowlevellock.h: New file.
21224         * sysdeps/nacl/lll_timedwait_tid.c: New file.
21226         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
21227         Add TIMEOUT to current time, don't subtract it.
21229 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
21231         [BZ #2981]
21232         [BZ #18422]
21233         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
21234         ($(objpfx)tst-audit2.out): Also depend on
21235         $(objpfx)tst-auditmod9b.so.
21236         * elf/tst-audit2.c: Include <dlfcn.h>.
21237         (calloc_called): New.
21238         (calloc): Allow to be called more than once.
21239         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
21241 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
21243         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
21244         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
21246 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
21248         * stdlib/monetary.h: Fix comment.
21250 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
21252         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
21253         Avoid using variables in #defines that might cause shadowing.
21254         (INTERNAL_VSYSCALL_CALL): Likewise.
21256 2015-05-26  Roland McGrath  <roland@hack.frob.com>
21258         * sysdeps/nacl/lll_timedlock_wait.c: New file.
21260         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
21261         * nptl/lll_timedlock_wait.c: ... to this new file.
21262         * nptl/Makefile (libpthread-routines): Add it.
21263         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
21264         * nptl/lll_timedwait_tid.c: ... to this new file.
21265         * nptl/Makefile (libpthread-routines): Add it.
21266         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
21267         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
21268         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
21269         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
21270         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
21271         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
21272         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
21273         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
21274         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
21275         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
21277 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21279         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
21280         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21281         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21282         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
21283         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21284         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21285         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21286         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21287         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21288         * sysdeps/unix/sysv/linux/tile/sysdep.h
21289         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21290         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
21291         using vDSO syscall macro.
21293 2015-05-26  Andriy Rysin  <arysin@gmail.com>
21295         [BZ #17293]
21296         * uk_UA: Fix sorting order for Ukrainian locale
21298 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
21300         * stdlib/monetary.h: Fix comment.
21302 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21304         [BZ #18234]
21305         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
21306         st_mtim and st_ctim members.
21307         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
21308         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
21309         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
21310         (struct stat64): Likewise.
21311         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
21312         (struct stat64): Likewise.
21313         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
21314         (struct stat64): Likewise.
21316 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21318         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
21319         Define and include sysdep-vdso.h.
21320         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
21321         Likewise.
21322         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
21323         Likewise.
21324         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
21325         Define with VDSO_SYMBOL and use PTR_MANGLE.
21326         (__vdso_clock_gettime): Likewise.
21327         (__vdso_clock_getres): Likewise.
21328         (_libc_vdso_platform_setup): Likewise.
21329         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21330         Likewise.
21331         (_libc_vdso_platform_setup): Likewise.
21332         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
21333         Likewise.
21334         (__vdso_clock_gettime): Likewise.
21335         (__vdso_clock_getres): Likewise.
21336         (__vdso_get_tbfreq): Likewise.
21337         (__vdso_getcpu): Likewise.
21338         (__vdso_time): Likewise.
21339         (__vdso_sigtramp_rt64): Likewise.
21340         (__vdso_signtramp32): Likewise.
21341         (__vdso_sigtramp_rt32): Likewise.
21342         (_libc_vdso_platform_setup): Likewise.
21343         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
21344         Likewise.
21345         (__vdso_clock_gettime): Likewise.
21346         (__vdso_clock_getres): Likewise.
21347         (_libc_vdso_platform_setup): Likewise.
21348         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
21349         Likewise.
21350         (__vdso_clock_gettime): Likewise.
21351         (_libc_vdso_platform_setup): Likewise.
21352         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21353         Likewise.
21354         (__vdso_getcpu): Likewise.
21355         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
21356         Use VDSO_SYMBOL macro to define.
21357         (__vdso_clock_gettime): Likewise.
21358         (__vdso_clock_getres): Likewise.
21359         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
21360         Likewise.
21361         (__vdso_clock_gettime): Likewise.
21362         (__vdso_clock_getres): Likewise.
21363         (__vdso_get_tbfreq): Likewise.
21364         (__vdso_getcpu): Likewise.
21365         (__vdso_time): Likewise.
21366         (__vdso_sigtramp_rt64): Likewise.
21367         (__vdso_signtramp32): Likewise.
21368         (__vdso_sigtramp_rt32): Likewise.
21369         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
21370         Likewise.
21371         (__vdso_clock_gettime): Likewise.
21372         (__vdso_clock_getres): Likewise.
21373         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
21374         Likewise.
21375         (__vdso_clock_gettime): Likewise.
21376         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21377         Likewise.
21378         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
21379         macro.
21380         (INTERNAL_VSYSCALL): Likewise.
21381         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
21382         Remove macro.
21383         (INTERNAL_VSYSCALL): Likewise.
21384         (INTERNAL_VSYSCALL_NCS): Likewise.
21385         (INTERNAL_VSYSCALL_CALL): New macro.
21386         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21387         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
21388         Likewise.
21389         (INTERNAL_VSYSCALL): Likewise.
21390         (INTERNAL_VSYSCALL_NCS): Likewise.
21391         (INTERNAL_VSYSCALL_CALL): New macro.
21392         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21394         (INLINE_VSYSCALL): Remove macro.
21395         (INTERNAL_VSYSCALL): Remove macro.
21396         (INTERNAL_VSYSCALL_NCS): Remove macro.
21397         (INTERNAL_VSYSCALL_CALL): New macro.
21398         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
21399         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
21400         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21401         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
21402         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21404         (INLINE_VSYSCALL): Remove macro.
21405         (INTERNAL_VSYSCALL): Likewise.
21406         (INTERNAL_VSYSCALL_NCS): Likewise.
21407         (INTERNAL_VSYSCALL_CALL): New macro.
21408         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
21409         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
21410         PTR_DEMANGLE on vDSO pointer.
21411         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21412         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
21413         macro.
21414         (INTERNAL_SYSCALL): Likewise.
21415         (INTERNAL_VSYSCALL_NCS): Remove macro.
21416         (INTERNAL_VSYSCALL_CALL): New macro.
21417         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
21418         Remove macro.
21419         (INTERNAL_VSYSCALL): Likewise.
21420         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
21421         sysdep-vdso.h instead of libc-vdso.h.
21422         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
21423         definition.
21424         (INLINE_VSYSCALL): Likewise.
21425         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
21426         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
21427         definition.
21428         (INLINE_VSYSCALL): Likewise.
21429         (INTERNAL_VSYSCALL): Likewise.
21430         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21431         * sysdeps/unix/sysv/linux/timespec_get.c
21432         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21433         (timespec_get): Use ANSI prototype.
21434         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
21435         and definition for Linux.
21437 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21439         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
21440         * include/libc-symbols.h: libmvec_hidden_* macro series added.
21442 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21444         [BZ #2981]
21445         [BZ #18410]
21446         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
21447         for missing DT_PLTRELSZ.
21449 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
21451         Remove obsolete aliases that broke 'locale -a'
21452         [BZ #18412]
21453         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
21454         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
21455         breaking some applications that use 'locale -a' output.
21456         Change the encoding of this file from Latin-1 to ASCII to avoid
21457         other potential problems with people grepping this file.
21459 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21461         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
21462         -fasynchronous-unwind-tables.
21463         (CFLAGS-sendto.c): Likewise.
21464         (CFLAGS-sendmsg.c): Likewise.
21465         (CFLAGS-connect.c): Likewise.
21466         (CFLAGS-recvmsg.c): Likewise.
21467         (CFLAGS-recvfrom.c): Likewise.
21468         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
21469         (SOCKETCALL): New macro: non-cancellable socketcall.
21470         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
21471         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
21472         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
21473         * sysdeps/unix/sysv/linux/accept.c: New file.
21474         * sysdeps/unix/sysv/linux/bind.c: Likewise.
21475         * sysdeps/unix/sysv/linux/connect.c: Likewise.
21476         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
21477         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
21478         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
21479         * sysdeps/unix/sysv/linux/listen.c: Likewise.
21480         * sysdeps/unix/sysv/linux/recv.c: Likewise.
21481         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
21482         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
21483         * sysdeps/unix/sysv/linux/send.c: Likewise.
21484         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
21485         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
21486         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
21487         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
21488         * sysdeps/unix/sysv/linux/socket.c: Likewise.
21489         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
21490         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
21491         prototype.
21492         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
21493         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21494         instead of __internal_xxx function.
21495         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
21496         prototype.
21497         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
21498         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21499         instead of __internal_xxx function.
21500         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
21501         prototype.
21502         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
21503         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21504         instead of __internal_xxx function.
21505         * sysdeps/unix/sysv/linux/accept.S: Remove file.
21506         * sysdeps/unix/sysv/linux/bind.S: Likewise.
21507         * sysdeps/unix/sysv/linux/connect.S: Likewise.
21508         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
21509         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
21510         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
21511         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
21512         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
21513         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
21514         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
21515         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
21516         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21517         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
21518         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
21519         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
21520         * sysdeps/unix/sysv/linux/listen.S: Likewise.
21521         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
21522         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
21523         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
21524         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
21525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
21526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
21527         * sysdeps/unix/sysv/linux/recv.S: Likewise.
21528         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
21529         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
21530         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
21531         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21532         * sysdeps/unix/sysv/linux/send.S: Likewise.
21533         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
21534         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
21535         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
21536         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
21537         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
21538         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
21539         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
21540         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
21541         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
21542         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
21543         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
21544         socketcall is implemented in GLIBC.
21546 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21548         * soft-fp/fmadf4.c: Include <libc-internal.h>.
21549         (__fma): Ignore uninitialized warnings around packing.
21550         * soft-fp/fmasf4.c: Include <libc-internal.h>.
21551         (__fmaf): Ignore uninitialized warnings around packing.
21552         * soft-fp/fmatf4.c: Include <libc-internal.h>.
21553         (__fmal): Ignore uninitialized warnings around packing.
21555         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
21556         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21557         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
21558         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21560         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
21561         switch statement into default case.
21562         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
21564         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
21565         a conditional in forcing "inexact".
21566         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21567         Likewise.
21569 2015-05-22  Roland McGrath  <roland@hack.frob.com>
21571         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21572         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
21573         for each INTERNAL_SYSCALL use.
21575 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21577         [BZ #438]
21578         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
21579         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
21580         variable.
21582         [BZ #18444]
21583         * string/basename.c (basename): Rename to __basename and define as
21584         weak alias of __basename.  Use libc_hidden_weak.
21585         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
21586         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
21587         __basename instead of basename.
21588         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
21589         Remove variable.
21590         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21592 2015-05-18  Florian Weimer  <fweimer@redhat.com>
21594         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
21595         (_IO_JUMPS_FILE_plus): New.
21596         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
21597         _IO_CAST_FIELD_ACCESS.
21598         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
21599         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
21600         * libio/freopen.c (freopen): Likewise.
21601         * libio/freopen64.c (freopen64): Likewise.
21602         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
21603         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
21604         * libio/iofwide.c (_IO_fwide): Likewise.
21605         * libio/memstream.c (open_memstream): Likewise.
21606         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21607         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21608         * libio/oldiopopen.c (_IO_old_popen): Likewise.
21610 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
21612         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
21613         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
21614         NADJ.
21615         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
21616         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
21617         NADJ.
21618         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
21619         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
21620         NADJ.
21622         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
21623         (p == 4) case.
21625         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
21626         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
21627         Remove variable.
21628         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21629         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21630         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21632 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21634         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
21635         Adjust jump table label generation macros.
21637 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21639         * stdio-common/vfprintf.c (vfprintf): Move local variables
21640         args_malloced, specs, specs_malloced, and the code after
21641         do_positional to the printf_positional function.
21642         (printf_positional): New function.
21644 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21646         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
21647         function.
21648         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
21649         STEP4_TABLE, process_arg): Move macro definitions
21650         out of the vfprintf function.  (Cosmetic change only.)
21652 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
21654         * benchtests/Makefile (stdio-common-bench): Define.
21655         (benchset): Add stdio-common-bench.
21656         * sprintf-inputs: New file.
21657         * sprintf-source.c: New file.
21659 2015-05-21  Andreas Schwab  <schwab@suse.de>
21661         [BZ #13028]
21662         [BZ #17053]
21663         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
21664         of struct __res_state.
21665         * resolv/res_send.c (__libc_res_nsend): Likewise.
21666         (get_nsaddr): New function.
21667         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
21668         statp directly.
21670 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
21672         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
21673         -D_POSIX_C_SOURCE=199506L.
21675         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
21677         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
21678         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
21679         Do not mention otherwise.
21680         [POSIX] (_XOPEN_VERSION): Do not expect.
21681         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
21682         [POSIX] (_POSIX2_C_BIND): Likewise.
21683         [POSIX] (_POSIX2_VERSION): Likewise.
21684         [POSIX] (_XOPEN_XPG2): Likewise.
21685         [POSIX] (_XOPEN_XPG3): Likewise.
21686         [POSIX] (_XOPEN_XPG4): Likewise.
21687         [POSIX] (_XOPEN_UNIX): Likewise.
21688         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
21689         [POSIX] (_POSIX_BARRIERS): Likewise.
21690         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
21691         [POSIX] (_POSIX_CPUTIME): Likewise.
21692         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
21693         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
21694         [POSIX] (_POSIX_SHELL): Likewise.
21695         [POSIX] (_POSIX_SPAWN): Likewise.
21696         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
21697         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
21698         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
21699         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
21700         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
21701         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
21702         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
21703         [POSIX] (_XBS5_LP64_OFF64): Likewise.
21704         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
21705         [POSIX] (_POSIX_TIMEOUTS): Likewise.
21706         [POSIX] (_POSIX2_PBS): Likewise.
21707         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
21708         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
21709         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
21710         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
21711         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
21712         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
21713         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
21714         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
21715         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
21716         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
21717         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
21718         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
21719         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
21720         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
21721         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
21722         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
21723         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
21724         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
21725         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
21726         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
21727         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
21728         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
21729         [POSIX] (_SC_2_C_BIND): Likewise.
21730         [POSIX] (_SC_2_C_VERSION): Likewise.
21731         [POSIX] (_SC_2_PBS): Likewise.
21732         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
21733         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
21734         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
21735         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
21736         [POSIX] (_SC_2_PBS_TRACK): Likewise.
21737         [POSIX] (_SC_ATEXIT_MAX): Likewise.
21738         [POSIX] (_SC_BARRIERS): Likewise.
21739         [POSIX] (_SC_BASE): Likewise.
21740         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
21741         [POSIX] (_SC_DEVICE_IO): Likewise.
21742         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
21743         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
21744         [POSIX] (_SC_FD_MGMT): Likewise.
21745         [POSIX] (_SC_FIFO): Likewise.
21746         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
21747         [POSIX] (_SC_FILE_LOCKING): Likewise.
21748         [POSIX] (_SC_FILE_SYSTEM): Likewise.
21749         [POSIX] (_SC_IOV_MAX): Likewise.
21750         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
21751         [POSIX] (_SC_NETWORKING): Likewise.
21752         [POSIX] (_SC_PAGE_SIZE): Likewise.
21753         [POSIX] (_SC_PASS_MAX): Likewise.
21754         [POSIX] (_SC_PIPE): Likewise.
21755         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
21756         [POSIX] (_SC_REGEXP): Likewise.
21757         [POSIX] (_SC_SHELL): Likewise.
21758         [POSIX] (_SC_SIGNALS): Likewise.
21759         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
21760         [POSIX] (_SC_SPIN_LOCKS): Likewise.
21761         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
21762         [POSIX] (_SC_USER_GROUPS): Likewise.
21763         [POSIX] (_SC_USER_GROUPS_R): Likewise.
21764         [POSIX] (_SC_STREAMS): Likewise.
21765         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
21766         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
21767         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
21768         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
21769         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
21770         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
21771         [POSIX] (_PC_FILESIZEBITS): Likewise.
21772         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
21773         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
21774         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
21775         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
21776         [POSIX] (uid_t): Likewise.
21777         [POSIX] (gid_t): Likewise.
21778         [POSIX] (off_t): Likewise.
21779         [POSIX] (pid_t): Likewise.
21780         [POSIX] (cuserid): Allow.
21781         (_SC_2_CHAR_TERM): Require constant.
21782         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
21783         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
21784         variable.
21786 2015-05-20  Roland McGrath  <roland@hack.frob.com>
21788         * sysdeps/nacl/pthread-pids.h: New file.
21789         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
21790         (create_thread): Use __nacl_get_tid to initialize PD->tid.
21792         * nptl/pthread-pids.h: New file.
21793         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
21794         * nptl/nptl-init.c: Include <pthread-pids.h>.
21795         (__pthread_initialize_minimal_internal):
21796         Call __pthread_initialize_pids instead of set_tid_address syscall.
21798         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
21799         * sysdeps/posix/usleep.c: ... here.
21801 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21803         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
21804         call_pselect6 object.
21805         [$(subdir) = io]: Remove call_sync_file_range object.
21806         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
21807         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
21808         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
21809         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
21811 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
21813         * math/s_cproj.c: Add include "math_private.h".
21814         * math/s_cprojf.c: Likewise.
21815         * math/s_cprojl.c: Likewise.
21817 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
21819         [BZ #18244]
21820         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
21821         high mantissa bit when testing whether P is a NaN.
21822         * math/libm-test.inc (remainder_test_data): Add more tests.
21823         (remquo_test_data): Likewise.
21825         [BZ #18049]
21826         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
21827         below -32, return the argument, with underflow if subnormal.
21828         * math/auto-libm-test-in: Add more tests of atanh.
21829         * math/auto-libm-test-out: Regenerated.
21831 2015-05-19  Roland McGrath  <roland@hack.frob.com>
21833         [BZ #18434]
21834         * nptl/tst-sem15.c: New file.
21835         * nptl/Makefile (tests): Add it.
21836         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
21837         s/<</>>/ to fix typo in EOVERFLOW check.
21838         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
21840 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21842         * manual/strings.texi (envz_remove): Fix typo in safety
21843         annotations.
21845 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
21846             Steve Ellcey  <sellcey@imgtec.com>
21848         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
21849         in order to avoid strict alias warnings.
21850         (iruserok_af): Ditto for ra.
21852 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
21854         [BZ #17581]
21855         * malloc/hooks.c
21856         (magicbyte): Convert to a function and avoid returning 0x01.
21857         (mem2mem_check): Avoid using a length byte equal to the magic byte.
21858         (mem2chunk_check): Fix unsigned comparisons to zero.
21859         Hoist defs of sz and magic.
21861 2015-05-19  Richard Henderson  <rth@redhat.com>
21863         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
21865         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21867 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21869         [BZ #16159]
21870         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
21871         * malloc/arena.c (arena_lock): Check if arena is corrupt.
21872         (reused_arena): Find a non-corrupt arena.
21873         (heap_trim): Pass arena to unlink.
21874         * malloc/hooks.c (malloc_check_get_size): Pass arena to
21875         malloc_printerr.
21876         (top_check): Likewise.
21877         (free_check): Likewise.
21878         (realloc_check): Likewise.
21879         * malloc/malloc.c (malloc_printerr): Add arena argument.
21880         (unlink): Likewise.
21881         (munmap_chunk): Adjust.
21882         (ARENA_CORRUPTION_BIT): New macro.
21883         (arena_is_corrupt): Likewise.
21884         (set_arena_corrupt): Likewise.
21885         (sysmalloc): Use mmap if there are no usable arenas.
21886         (_int_malloc): Likewise.
21887         (__libc_malloc): Don't fail if arena_get returns NULL.
21888         (_mid_memalign): Likewise.
21889         (__libc_calloc): Likewise.
21890         (__libc_realloc): Adjust for additional argument to
21891         malloc_printerr.
21892         (_int_free): Likewise.
21893         (malloc_consolidate): Likewise.
21894         (_int_realloc): Likewise.
21895         (_int_memalign): Don't touch corrupt arenas.
21896         * malloc/tst-malloc-backtrace.c: New test case.
21898         * Makefile (summarize-tests): Fix return value on success.
21900         * manual/string.texi (Envz Functions): Add envz_remove.
21902 2015-05-18  Roland McGrath  <roland@hack.frob.com>
21904         * sysdeps/posix/opendir.c: Include <stdbool.h>.
21905         (invalid_name): New function, broken out of ...
21906         (__opendirat): ... here.  Call it.
21907         (need_isdir_precheck): New function, broken out of ...
21908         (__opendirat): ... here.  Call it.
21909         Use __fxstatat64, not __xstatat64.
21910         (opendir_oflags): New function, broken out of ...
21911         (__opendirat): ... here.  Call it.
21912         (opendir_tail): New function, broken out of ...
21913         (__opendirat): ... here.  Call it.
21914         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
21915         opendir_tail, rather than punting to __opendirat.
21916         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
21918 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21920         * .gitignore: Ignore generated *.pyc.
21922 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
21924         * include/stdio.h: Define __need_wint_t.
21925         * test-skeleton.c: Avoid `for' loop initial declaration.
21926         * nptl/tst-initializers1.c: Use test-skeleton.c.
21928 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21930         [BZ #18418]
21931         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
21933 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21935         [BZ #16352]
21936         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
21937         (__ieee754_atanh): Force underflow exception for results with
21938         small absolute value.
21939         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
21940         (__ieee754_atanhf): Force underflow exception for results with
21941         small absolute value.
21942         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
21943         (__ieee754_atanh): Force underflow exception for results with
21944         small absolute value.
21945         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
21946         (__ieee754_atanhf): Force underflow exception for results with
21947         small absolute value.
21948         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
21949         (__ieee754_atanhl): Force underflow exception for results with
21950         small absolute value.
21951         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
21952         (__ieee754_atanhl): Force underflow exception for results with
21953         small absolute value.
21954         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
21955         (__ieee754_atanhl): Force underflow exception for results with
21956         small absolute value.
21957         * math/auto-libm-test-in: Do not allow missing underflow
21958         exceptions from atanh.
21959         * math/auto-libm-test-out: Regenerated.
21961         [BZ #18221]
21962         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
21963         2**-28 as threshold for returning x or +/- 1/x.
21964         * math/auto-libm-test-in: Add more tests of tan.
21965         * math/auto-libm-test-out: Regenerated.
21967         [BZ #18220]
21968         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21969         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
21970         * math/auto-libm-test-in: Add another test of lgamma.
21971         * math/auto-libm-test-out: Regenerated.
21973 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
21975         * stdio-common/printf_fp.c (___printf_fp): Use abs.
21976         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
21977         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
21978         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
21979         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
21980         (ADD2A): Use fabs.  (SUB2A): Use fabs.
21981         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
21982         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
21983         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
21984         (log1): Use fabs.  (my_log2): Use fabs.
21985         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
21986         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
21987         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
21988         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
21989         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
21990         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
21991         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
21992         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
21993         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
21994         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
21995         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
21997 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21999         [BZ #18217]
22000         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
22001         as threshold for returning 1 - x.
22002         * math/auto-libm-test-in: Add more tests of erfc.
22003         * math/auto-libm-test-out: Regenerated.
22005 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
22007         [BZ #18196]
22008         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
22009         threshold for large arguments.
22010         * math/auto-libm-test-in: Add another test of atan.
22011         * math/auto-libm-test-out: Regenerated.
22013         [BZ #16339]
22014         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
22015         (__log1p): Force underflow exception for results with small
22016         absolute value.
22017         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
22018         (__log1pf): Force underflow exception for results with small
22019         absolute value.
22020         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
22021         (__log1p): Force underflow exception for results with small
22022         absolute value.
22023         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
22024         (__log1pf): Force underflow exception for results with small
22025         absolute value.
22026         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
22027         (__log1pl): Force underflow exception for results with small
22028         absolute value.
22029         * math/auto-libm-test-in: Do not allow missing underflow
22030         exceptions from log1p.
22031         * math/auto-libm-test-out: Regenerated.
22033 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
22034             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22036         [BZ #16704]
22037         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
22039 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
22041         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
22042         (libmvec): New variable.
22043         * configure.ac: Added option for mathvec build.
22044         * configure: Regenerated.
22045         * mathvec/Depend: New file.
22046         * mathvec/Makefile: New file.
22047         * shlib-versions: Added libmvec.
22048         * math/Makefile: Added rule for libm.so installation.
22050         * bits/math-vector.h: New file.
22051         * bits/libm-simd-decl-stubs.h: New header.
22052         * math/Makefile (headers): Added new header
22053         libm-simd-decl-stubs.h.
22054         * math/math.h (__MATHCALL_VEC): New macro.
22056         * math/gen-libm-have-vector-test.sh: Script generates series of macros
22057         for conditions in testing functions.
22058         * math/Makefile: Added call of libm-have-vector-test.sh.
22059         * math/libm-test.inc (HAVE_VECTOR): New macros.
22061         * math/libm-test.inc: START refactored.
22062         * math/test-double.c (TEST_MATHVEC): Add define.
22063         * math/test-float.c: Likewise.
22064         * math/test-idouble.c: Likewise.
22065         * math/test-ifloat.c: Likewise.
22066         * math/test-ildoubl.c: Likewise.
22067         * math/test-ldouble.c: Likewise.
22068         * sysdeps/generic/math-tests-arch.h
22069         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
22070         architecture check.
22072         * math/test-double.c (FUNC_TEST): New macro.
22073         * math/test-float.c: Likewise.
22074         * math/test-idouble.c: Likewise.
22075         * math/test-ifloat.c: Likewise.
22076         * math/test-ildoubl.c: Likewise.
22077         * math/test-ldouble.c: Likewise.
22078         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
22080 2015-05-13  Roland McGrath  <roland@hack.frob.com>
22082         * sysdeps/nacl/fdopendir.c: New file.
22084         * dirent/scandir-tail.c: New file.
22085         * dirent/scandir64-tail.c: New file.
22086         * dirent/Makefile (routines): Add them.
22087         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
22088         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
22089         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
22090         [!SCANDIR] (SCANDIR_TAIL): New macro.
22091         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
22092         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
22093         (SCANDIRAT): Macro removed.
22094         (SCANDIR_TAIL): New macro.
22095         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
22096         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
22097         (SCANDIRAT): Just call __opendirat and __scandir_tail.
22098         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
22099         (READDIR): Macro removed.
22100         (SCANDIR_TAIL): New macro.
22101         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
22102         (SCANDIR_TAIL): New macro.
22104         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
22105         * dirent/scandir-cancel.c: ... to this new file.
22106         * dirent/Makefile (routines): Add it.
22107         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
22108         * sysdeps/unix/sysv/linux/i386/scandir64.c
22109         (SKIP_SCANDIR_CANCEL): Macro removed.
22110         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
22112         * dirent/tst-scandir.c: New file.
22113         * dirent/tst-scandir64.c: New file.
22114         * dirent/Makefile (tests): Add them.
22116 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
22118         [BZ #18409]
22119         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
22121 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22123         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
22124         list.
22126 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
22128         * benchtests/bench-strcoll.c: New benchmark.
22129         * benchtests/Makefile: Generate locales and run benchmark.
22130         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
22131         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22132         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
22133         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
22134         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
22135         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
22136         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
22137         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
22138         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
22139         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
22140         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
22141         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
22142         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
22143         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
22144         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
22145         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
22146         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
22147         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
22148         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
22149         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
22150         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
22151         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
22152         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
22153         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
22155 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
22157         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
22158         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22160 2015-05-12  Roland McGrath  <roland@hack.frob.com>
22162         * posix/uname-values.h: New file.
22163         * posix/uname.c: Include that instead of <config-name.h>.
22164         * sysdeps/nacl/uname-values.h: New file.
22165         * sysdeps/arm/nacl/uname-values.h: New file.
22167 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
22169         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
22170         splitting into fields.
22172 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
22174         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
22175         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
22176         * locale/localeinfo.h: Add enum collation_encoding_type.
22177         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
22178         * programs/ld-collate.c (collate_output): Add encoding type info.
22179         * string/strcoll_l.c (STRDIFF): New function.
22180         * (STRCOLL): Use STRDIFF to skip over equal prefix.
22181         * wcsmbs/wcscoll_l.c: Define STRDIFF.
22183 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
22185         [BZ #18397]
22186         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
22187         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
22188         <fpu_control.h> instead of <math/fpu_control.c>.
22189         * sysdeps/mips/mips32/fpu/Makefile: New file.
22191 2015-05-11  Andreas Schwab  <schwab@suse.de>
22193         [BZ #18007]
22194         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
22195         nss_endgrent.
22196         (_nss_compat_endgrent): Call nss_endgrent.
22197         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
22198         nss_endpwent.
22199         (_nss_compat_endpwent): Call nss_endpwent.
22200         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
22201         needent, call nss_setspent only if non-zero.
22202         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
22203         (internal_endspent): Don't call nss_endspent.
22204         (_nss_compat_endspent): Call nss_endspent.
22205         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
22206         Remove.  All uses removed.
22207         (internal_setent): Remove parameter stayopen, add parameter
22208         stream.  Use it instead of global variable.
22209         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
22210         (internal_endent, internal_getent): Add parameter stream.  Use it
22211         instead of global variable.
22212         (CONCAT(_nss_files_end,ENTNAME))
22213         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
22214         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
22215         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
22216         uses removed.
22217         (internal_setent, internal_endent): Add parameter stream.  Use it
22218         instead of global variable.
22219         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
22220         stream.
22221         (get_next_alias): Add parameter stream.
22222         (_nss_files_getaliasent_r): Pass global stream.
22223         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
22224         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
22225         (_nss_files_gethostbyname4_r): Pass local stream to
22226         internal_setent, internal_getent and internal_endent.  Remove
22227         locking.
22229 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22231         * tst-strfmon1.c (tests): Update expected currency symbol.
22233 2015-05-08  Roland McGrath  <roland@hack.frob.com>
22235         * sysdeps/nacl/gethostname.c: New file.
22237 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
22239         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
22240         and sinh.
22241         * math/auto-libm-test-out: Regenerated.
22242         * sysdeps/i386/fpu/libm-test-ulps: Update.
22243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22245 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
22247         [BZ #18125]
22248         * stdlib/tst-setcontext3.c: New file.
22249         * stdlib/tst-setcontext3.sh: New file.
22250         * stdlib/Makefile (tests): Add tst-setcontext3.
22251         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
22252         to verify test program created output file.
22253         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
22254         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
22255         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
22256         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
22258 2015-05-06  Roland McGrath  <roland@hack.frob.com>
22260         [BZ #18383]
22261         * elf/tst-tlsalign.c: New file.
22262         * elf/tst-tlsalign-static.c: New file.
22263         * elf/tst-tlsalign-lib.c: New file.
22264         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
22265         (tests-static): Add tst-tlsalign-static.
22266         (modules-names): Add tst-tlsalign-lib.
22267         (test-xfail-tst-tlsalign): New variable.
22268         (test-xfail-tst-tlsalign-static): New variable.
22270         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
22271         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
22273 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
22275         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
22276         csqrt, erfc, sin and sincos.
22277         * math/auto-libm-test-out: Regenerated.
22278         * sysdeps/i386/fpu/libm-test-ulps: Update.
22279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22281 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22283         * sysdeps/aarch64/libm-test-ulps: Update.
22285 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
22287         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
22288         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
22289         * math/auto-libm-test-out: Regenerated.
22290         * sysdeps/i386/fpu/libm-test-ulps: Update.
22291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22293 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
22295         [BZ #18265]
22296         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
22297         (wcsncpy): Likewise.
22299 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22301         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22302         Assume __ASSUME_FALLOCATE is always true.
22303         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22304         (__posix_fallocate64_l64): Likweise.
22305         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
22306         (posix_fallocate): Likewise.
22307         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
22308         (__posix_fallocate64_l64): Likewise.
22309         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22310         [!__ASSUME_FALLOCATE]: Add comment.
22312 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22314         * sysdeps/unix/sysv/linux/i386/Makefile
22315         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
22316         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
22317         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
22318         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22319         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22320         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
22321         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
22323 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
22325         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
22326         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
22327         tgamma.
22328         * math/auto-libm-test-out: Regenerated.
22329         * sysdeps/i386/fpu/libm-test-ulps: Update.
22330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22332 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22334         * math/auto-libm-test-in: Add more tests of tgamma.
22335         * math/auto-libm-test-out: Regenerated.
22336         * sysdeps/i386/fpu/libm-test-ulps: Update.
22337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22339         * math/auto-libm-test-in: Add more tests of tanh.
22340         * math/auto-libm-test-out: Regenerated.
22341         * sysdeps/i386/fpu/libm-test-ulps: Update.
22342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22344         * math/auto-libm-test-in: Add more tests of tan.
22345         * math/auto-libm-test-out: Regenerated.
22346         * sysdeps/i386/fpu/libm-test-ulps: Update.
22347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22349         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
22350         * math/auto-libm-test-out: Regenerated.
22351         * sysdeps/i386/fpu/libm-test-ulps: Update.
22352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22354         * math/auto-libm-test-in: Add another test of pow.
22355         * math/auto-libm-test-out: Regenerated.
22356         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22358         * math/auto-libm-test-in: Add more tests of lgamma.
22359         * math/auto-libm-test-out: Regenerated.
22360         * sysdeps/i386/fpu/libm-test-ulps: Update.
22361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22363         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
22364         log1p.
22365         * math/auto-libm-test-out: Regenerated.
22366         * sysdeps/i386/fpu/libm-test-ulps: Update.
22367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22369 2015-05-01  Mark Wielaard  <mjw@redhat.com>
22371         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
22372         Elf64_Chdr structs and ELFCOMPRESS constants.
22374 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22376         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
22377         expm1.
22378         * math/auto-libm-test-out: Regenerated.
22379         * sysdeps/i386/fpu/libm-test-ulps: Update.
22380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22382         * math/auto-libm-test-in: Add more tests of erf and erfc.
22383         * math/auto-libm-test-out: Regenerated.
22384         * sysdeps/i386/fpu/libm-test-ulps: Update.
22385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22387 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22389         * config.h.in (HAVE_AARCH64_BE): Add.
22391 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
22393         * math/auto-libm-test-in: Add more tests of csqrt.
22394         * math/auto-libm-test-out: Regenerated.
22395         * sysdeps/i386/fpu/libm-test-ulps: Update.
22396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22398         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22399         * math/auto-libm-test-out: Regenerated.
22400         * sysdeps/i386/fpu/libm-test-ulps: Update.
22401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22403         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
22405 2015-04-29  Roland McGrath  <roland@hack.frob.com>
22407         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
22408         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
22410         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
22411         (euidaccess, eaccess): Define as weak aliases.
22413         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
22414         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
22415         but __suseconds_t is often 'long int' so some sources assume that
22416         type is being used (e.g. they use %ld to print tv_usec).
22418 2015-04-29  Florian Weimer  <fweimer@redhat.com>
22420         [BZ #18007]
22421         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
22422         (CVE-2014-8121)
22423         * nss/tst-nss-getpwent.c: New file.
22424         * nss/Makefile (tests): Add new test.
22426 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
22428         [BZ #18346]
22429         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
22430         exponents less than 48 as cases where high part of mantissa needs
22431         examining to determine whether argument is integral.
22432         * math/libm-test.inc (round_test_data): Add more tests.
22434 2015-04-28  Mark Wielaard  <mjw@redhat.com>
22436         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
22438 2015-04-27  David S. Miller  <davem@davemloft.net>
22440         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
22441         __tls_get_addr.
22442         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22444 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
22446         [BZ#18333]
22447         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
22449 2015-04-27  Florian Weimer  <fweimer@redhat.com>
22451         [BZ#18333]
22452         * time/tzset.c (parse_tzname): Return error on memory allocation
22453         failure.
22454         * test-skeleton.c (struct temp_name_list): Change type of name
22455         member to non-const.
22456         (add_temp_file): Create a copy of the file name.
22457         (delete_temp_files): Deallocate memory.
22458         (create_temp_file): Add comment.
22460 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22462         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
22463         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
22465 2015-04-24  Roland McGrath  <roland@hack.frob.com>
22467         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
22468         * sysdeps/arm/configure: Regenerated.
22470 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22472         [BZ #17715]
22473         * time/tzfile.c (__tzfile_read): Check for large values of
22474         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
22475         * time/tzset.c (__tzstring_len): New function, based on the old
22476         __tzstring function.
22477         (__tzstring): Call __tzstring_len.
22478         (parse_tzname): New helper function extracted from
22479         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
22480         the input string.
22481         (parse_offset): New helper function extracted from
22482         __tzset_parse_tz.  Replace switch with fallthrough with
22483         initialization before sscanf.
22484         (parse_rule): Likewise.
22485         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
22486         new-style function definition.
22487         * timezone/Makefile (tests): Add tst-tzset.
22488         (tst-tzset.out): Dependencies on time zone files.
22489         (tst-tzset-ENV): Set TZDIR.
22490         (testdata/XT%): Copy crafted time zone files.
22491         * timezone/README: Mention crafted time zone files.
22492         * timezone/testdata/XT1, timezone/testdata/XT2,
22493         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
22494         files.
22495         * timezone/tst-tzset.c: New test.
22497 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22499         * Makeconfig (+gccwarn): Remove -Winline.
22501 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22503         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
22505 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22507         * NEWS: Mention sysconf() cache information support for s390.
22508         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
22510 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
22512         * math/k_casinh.c (__kernel_casinh): Use __copysign.
22513         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
22514         (__nearbyint): Likewise.
22515         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
22516         (copysignl): Likewise.
22518 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
22520         [BZ #18287]
22521         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
22522         based on padding.  (CVE-2015-1781)
22524 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22526         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
22527         libc-vdso.h.
22528         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
22529         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
22530         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
22531         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22532         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22533         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
22534         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
22535         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22536         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22537         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
22538         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22539         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22540         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22541         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
22542         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22543         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
22544         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
22545         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
22546         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
22547         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
22548         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
22549         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
22550         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
22552 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
22554         * stdlib/setenv.c (__add_to_environ):
22555         Dump core quickly if setenv (..., NULL, ...) is called.
22556         This time, do it the right way, and pacify GCC with a pragma.
22558 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22560         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
22561         IMAP->l_prev cannot be null, and #if out the code for the contrary
22562         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
22563         believe that NS (&_dl_ns[NSID]) could point outside the array.
22565         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
22566         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
22567         before using NSID as an index.
22569 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
22571         [BZ #17825]
22572         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
22573         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
22574         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22576 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22578         Add preliminary port to Google Native Client on ARM.
22579         * abi-tags (.*-.*-nacl.*): New entry.
22580         * sysdeps/arm/nacl: New directory.
22581         * sysdeps/nacl: New directory.
22583 2015-04-16  David S. Miller  <davem@davemloft.net>
22585         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
22586         lowlevellock-futex.h
22588 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
22590         * sysdeps/tile/configure.ac: New file.
22591         * sysdeps/tile/configure: Regenerated.
22593 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22595         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
22596         conditionals for weak_alias and libc_hidden_weak.
22597         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
22598         libc_hidden_weak and weak_alias.
22599         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
22600         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
22601         and weak_alias for static one.
22603 2015-04-15  David S. Miller  <davem@davemloft.net>
22605         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22607 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22609         [BZ #18206]
22610         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
22611           Use signed comparision instead of substraction to avoid
22612           overflow bug.
22613         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
22614           Take the sign of ret.
22615         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
22616           Do not expect precise return values. Only the sign matters.
22617         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
22618         * wcsmbs/test-wcsncmp.c: New File.
22619         * string/test-strncmp.c: Add wcsncmp support.
22621 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22623         [BZ #6792]
22624         * math/w_log1p.c: New file.
22625         * math/w_log1pf.c: Likewise.
22626         * math/w_log1pl.c: Likewise.
22627         * math/Makefile (libm-calls): Add w_log1p.
22628         * math/s_log1pl.c (log1pl): Remove weak_alias.
22629         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
22630         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
22631         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
22632         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
22633         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
22634         [NO_LONG_DOUBLE] (log1pl): Likewise.
22635         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
22636         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
22637         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
22638         (log1p): Remove long_double_symbol.
22639         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
22640         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
22641         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
22642         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
22643         remove weak_alias for corresponding log1p function.
22644         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
22645         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
22646         * sysdeps/ia64/fpu/w_log1p.c: New file.
22647         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
22648         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
22649         * math/libm-test.inc (log1p_test_data): Add errno expectations.
22651 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
22653         [BZ #18247]
22654         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
22655         decimal exponent by 1.
22656         * stdlib/tst-strtod-round-data: Add more tests.
22657         * stdlib/tst-strtod-round.c (tests): Regenerated.
22659 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
22661         * math/auto-libm-test-in: Add more tests of clog and clog10.
22662         * math/auto-libm-test-out: Regenerated.
22663         * sysdeps/i386/fpu/libm-test-ulps: Update.
22664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22666 2015-04-09  Roland McGrath  <roland@hack.frob.com>
22668         * Makeconfig (module-cppflags): Exclude all .v.i files.
22669         (skip-module-cppflags): Variable removed.
22671         * configure.ac (libc_config_ok): Initialize before reading
22672         preconfigure scripts, not after.
22673         * configure: Regenerated.
22675         * test-skeleton.c (TIMEOUT): Move #define to top level.
22676         (main): Grok environment variable TEST_DIRECT.  If set, print
22677         test expectation details into that file and then behave as if
22678         given --direct.
22680 2015-04-09  Florian Weimer  <fweimer@redhat.com>
22682         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
22683         warning on 32-bit.
22685 2015-04-08  David S. Miller  <davem@davemloft.net>
22687         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22689 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22691         * math/auto-libm-test-in: Add more tests of atanh.
22692         * math/auto-libm-test-out: Regenerated.
22693         * sysdeps/i386/fpu/libm-test-ulps: Update.
22694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22696         * math/auto-libm-test-in: Add more tests of atan.
22697         * math/auto-libm-test-out: Regenerated.
22698         * sysdeps/i386/fpu/libm-test-ulps: Update.
22699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22701 2015-04-08  Florian Weimer  <fweimer@redhat.com>
22703         * elf/pldd.c (main): Rewrite to use struct
22704         scratch_buffer instead of extend_alloca.
22705         * elf/pldd-xx.c (find_maps): Likewise.
22706         * grp/initgroups.c: Include <scratch_buffer.h> instead of
22707         <alloca.h>.
22708         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
22709         scratch_buffer instead of extend_alloca.
22710         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
22711         grp/compat-initgroups.c.
22712         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
22713         Rewrite to use struct scratch_buffer instead of extend_alloca.
22714         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
22715         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22717 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22719         * math/auto-libm-test-in: Add more tests of cbrt.
22720         * math/auto-libm-test-out: Regenerated.
22721         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22723         * math/auto-libm-test-in: Add more tests of cabs.
22724         * math/auto-libm-test-out: Regenerated.
22725         * sysdeps/i386/fpu/libm-test-ulps: Update.
22726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22728         [BZ #18210]
22729         [BZ #18211]
22730         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
22731         (__ieee754_atan2): Set FE_TONEAREST mode for internal
22732         computations.
22733         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
22734         clog10.
22735         * math/auto-libm-test-out: Regenerated.
22736         * sysdeps/i386/fpu/libm-test-ulps: Update.
22737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22739         [BZ #18197]
22740         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
22741         (atan): Set FE_TONEAREST mode for internal computations.
22742         * math/auto-libm-test-in: Add more tests of atan.
22743         * math/auto-libm-test-out: Regenerated.
22745 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
22747         [BZ #17930]
22748         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
22750 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22752         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
22754 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22756         * include/scratch_buffer.h: New file.
22757         * malloc/scratch_buffer_grow.c: Likewise.
22758         * malloc/scratch_buffer_grow_preserve.c: Likewise.
22759         * malloc/scratch_buffer_set_array_size.c: Likewise.
22760         * malloc/tst-scratch_buffer.c: Likewise.
22761         * malloc/Makefile (routines): Add scratch_buffer_grow.
22762         (tests): Add test case.
22763         * malloc/Versions (GLIBC_PRIVATE): Export
22764         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
22765         __libc_scratch_buffer_set_array_size.
22767 2015-04-06  Richard Henderson  <rth@redhat.com>
22769         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
22770         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22772         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
22773         unsigned int before printing.
22775 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22777         [BZ #17596]
22778         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
22779         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22781 2015-04-02  Florian Weimer  <fweimer@redhat.com>
22783         * include/libc-internal.h (libc_max_align_t): Define.
22785 2015-04-02  Andreas Schwab  <schwab@suse.de>
22787         [BZ #16850]
22788         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
22790 2015-04-02  Mel Gorman  <mgorman@suse.de>
22792         [BZ #17195]
22793         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
22794         as well as the main arena.
22796 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22798         [BZ #18185]
22799         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
22800         sharing L2 cache to 2 for Silvermont/Knights Landing.
22802 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22804         [BZ #17711]
22805         * config.make.in (have-protected-data): New.
22806         * configure.ac: Check linker support for protected data symbol.
22807         * configure: Regenerated.
22808         * elf/Makefile (modules-names): Add tst-protected1moda and
22809         tst-protected1modb if $(have-protected-data) is yes.
22810         (tests): Add tst-protected1a and tst-protected1b if
22811         $(have-protected-data) is yes.
22812         ($(objpfx)tst-protected1a): New.
22813         ($(objpfx)tst-protected1b): Likewise.
22814         (tst-protected1modb.so-no-z-defs): Likewise.
22815         * elf/tst-protected1a.c: New file.
22816         * elf/tst-protected1b.c: Likewise.
22817         * elf/tst-protected1mod.h: Likewise.
22818         * elf/tst-protected1moda.c: Likewise.
22819         * elf/tst-protected1modb.c: Likewise.
22821 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22823         [BZ #17711]
22824         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
22825         indicates it is called from do_lookup_x on relocation against
22826         protected data, skip the data definion in the executable from
22827         copy reloc.
22828         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
22829         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
22830         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
22831         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
22832         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
22833         otherwise to 0.
22834         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22835         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
22836         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
22837         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22838         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
22839         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
22841 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
22843         * sysdeps/nptl/pthread.h: Remove duplicate definition of
22844         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
22846 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
22848         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
22849         THREAD_SETMEM_NC.
22850         * sysdeps/x86_64/nptl/tls.h: Ditto.
22852 2015-03-27  Roland McGrath  <roland@hack.frob.com>
22854         * dlfcn/tststatic.c (main): Converted to ...
22855         (do_test): ... this.
22856         (TEST_FUNCTION): New macro.
22857         Include test-skeleton.c.
22859 2015-03-26  Alan Modra  <amodra@gmail.com>
22861         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
22862         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
22863         zero for undefined weak.
22864         (elf_machine_plt_conflict): Similarly.
22866 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22868         * math/auto-libm-test-in: Add more tests of acosh, asinh and
22869         atanh.
22870         * math/auto-libm-test-out: Regenerated.
22871         * sysdeps/i386/fpu/libm-test-ulps: Update.
22872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22874         * math/auto-libm-test-in: Add another test of asin.
22875         * math/auto-libm-test-out: Regenerated.
22876         * sysdeps/i386/fpu/libm-test-ulps: Update.
22877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22879         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
22880         Remove macro.
22881         (LLL_EBX_REG): Likewise.
22882         (LLL_ENTER_KERNEL): Likewise.
22884         * math/auto-libm-test-in: Add more tests of asin.
22885         * math/auto-libm-test-out: Regenerated.
22886         * sysdeps/i386/fpu/libm-test-ulps: Update.
22887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22889         [BZ #18138]
22890         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
22891         libc_do_syscall_args): New structure.
22892         (INTERNAL_SYSCALL_MAIN_0): New macro.
22893         (INTERNAL_SYSCALL_MAIN_1): Likewise.
22894         (INTERNAL_SYSCALL_MAIN_2): Likewise.
22895         (INTERNAL_SYSCALL_MAIN_3): Likewise.
22896         (INTERNAL_SYSCALL_MAIN_4): Likewise.
22897         (INTERNAL_SYSCALL_MAIN_5): Likewise.
22898         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
22899         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
22900         Replace conditional definitions by conditional definitions of ....
22901         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
22902         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
22903         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
22904         (libpthread-sysdep_routines): Add libc-do-syscall.
22905         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
22906         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
22907         to __NR_futex not 240.
22909 2015-03-25  Alan Modra  <amodra@gmail.com>
22911         * NEWS: Advertise TLS optimization.
22912         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
22913         (DT_PPC_NUM): Increment.
22914         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
22915         (CHECK_STATIC_TLS): Use here.
22916         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
22917         TLS descriptors.
22918         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22919         * sysdeps/powerpc/dl-tls.c: New file.
22920         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
22921         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
22922         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
22923         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
22924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
22925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
22926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
22928 2015-03-25  Alan Modra  <amodra@gmail.com>
22930         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
22931         for overlapping .opd entries" to "support...".
22932         * sysdeps/powerpc/powerpc64/configure: Regenerate
22934 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22936         * math/auto-libm-test-in: Add more tests of acos.
22937         * math/auto-libm-test-out: Regenerated.
22938         * sysdeps/i386/fpu/libm-test-ulps: Update.
22939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22941         * math/auto-libm-test-in: Add more tests of expm1.
22942         * math/auto-libm-test-out: Regenerated.
22943         * sysdeps/i386/fpu/libm-test-ulps: Update.
22944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22946 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
22948         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22949         * math/auto-libm-test-out: Regenerated.
22950         * sysdeps/i386/fpu/libm-test-ulps: Update.
22951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22953         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22956         * math/auto-libm-test-in: Add more tests of log2.
22957         * math/auto-libm-test-out: Regenerated.
22958         * sysdeps/i386/fpu/libm-test-ulps: Update.
22959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22961 2015-03-23  Roland McGrath  <roland@hack.frob.com>
22963         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
22964         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
22965         _IO_IS_APPENDING bit in READ_WRITE instead.
22967 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22969         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22970         (__determine_cpumask_size): Replace extend_alloca with a
22971         variable-length array.  Do not treat res == 0 as an error.
22973 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22975         [BZ #18100]
22976         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
22977         and integer overflow.
22978         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
22979         (main): Add integer overflow tests.
22980         * manual/pattern.texi (Calling Wordexp): Document additional use
22981         for WRDE_SYNTAX.
22983 2015-03-23  Alan Modra  <amodra@gmail.com>
22985         * config.h.in: Remove HAVE_ASM_PPC_REL16.
22986         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
22987         and false branch of conditional.
22988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22989         Likewise.
22991 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
22993         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
22994         libc-modules.h
22995         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
22996         unused declaration of _hurd_intr_rpc_msg_in_trap.
22997         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
22998         defined instead of whether it is non-zero.
22999         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
23000         input constraint instead of both input and output constraint.  Use ecx
23001         clobber instead of %ecx.
23002         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
23003         mutex_unlock): Use a statement expression instead of an expression list.
23004         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
23005         type to vm_size_t instead of vm_address_t.
23006         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
23007         defined instead of whether it is non-zero.
23008         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
23009         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
23010         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
23011         comparisons with mapaddr.
23012         * nscd/nscd-client.h: Include <time.h>.
23013         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
23014         9th parameter to __vm_region instead of int.
23015         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
23016         * scripts/check-local-headers.sh (exclude): Add device/,
23017         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
23018         cthreads.h.
23020 2015-03-19  Roland McGrath  <roland@hack.frob.com>
23022         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
23023         to account for alignment padding.
23024         * sysdeps/arm/memmove.S: Likewise.
23026 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
23028         * sysdeps/unix/sysv/linux/generic/README: New file.
23030 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
23032         [BZ #18138]
23033         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
23034         (futex_abstimed_wait)
23035         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
23036         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
23037         of lll_futex_timed_wait.
23039 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
23041         [BZ #17542]
23042         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
23044 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
23046         [BZ #17090]
23047         [BZ #17620]
23048         [BZ #17621]
23049         [BZ #17628]
23050         * NEWS: Update.
23051         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
23052         entries with Static TLS too.  Skip entries past the end of the
23053         allocated DTV, from Alan Modra.
23054         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
23055         Static TLS DTV entry set up from...
23056         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
23057         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
23058         * nptl/allocatestack.c (init_one_static_tls): ... and here...
23059         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
23060         for Static TLS.
23061         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
23062         that the slot we find is associated with the given map before
23063         using its generation count.
23064         * nptl_db/db_info.c: Include ldsodefs.h.
23065         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
23066         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
23067         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
23068         (link_map::l_tls_offset): New struct field.
23069         (dtv_t::counter): Likewise.
23070         (rtld_global): New struct.
23071         (_rtld_global): New rtld variable.
23072         (dl_tls_dtv_slotinfo_list): New rtld global field.
23073         (dtv_slotinfo_list): New struct.
23074         (dtv_slotinfo): Likewise.
23075         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
23076         (td_lookup): Rename to...
23077         (td_mod_lookup): ... this.  Use new mod parameter instead of
23078         LIBPTHREAD_SO.
23079         * nptl_db/td_thr_tlsbase.c: Include link.h.
23080         (dtv_slotinfo_list, dtv_slotinfo): New functions.
23081         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
23082         addresses even if the DTV is out of date or missing them.
23083         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
23084         index zero-length arrays.
23085         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
23086         (td_lookup): Make it a macro implemented in terms of...
23087         (td_mod_lookup): ... this declaration.
23088         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
23089         (DB_MAIN_VARIABLE): Likewise.
23091 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23093         [BZ #18134]
23094         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23096 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
23098         * stdlib/setenv.c (__add_to_environ): Revert previous change.
23100 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
23102         [BZ #18128]
23103         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
23104         (atomic_add, atomic_increment_and_test)
23105         (atomic_decrement_and_test): Fix 64-bit arithmetic.
23107 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
23109         * stdlib/setenv.c (__add_to_environ):
23110         Dump core quickly if setenv (..., NULL, ...) is called.
23112 2015-03-13  Roland McGrath  <roland@hack.frob.com>
23114         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
23115         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
23116         all the necessary asm magic in one place.
23117         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
23118         using those.
23120 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
23122         [BZ #14906]
23123         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
23124         traced file mtime. Use consistent log message.
23125         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
23126         (register_traced_file): Call install_watches. Always set mtime.
23127         (invalidate_cache): Iterate over all trace files. Call install_watches.
23128         (inotify_check_files): Don't inline. Handle watching parent
23129         directories and configuration file movement in and out.
23130         (handle_inotify_events): New function.
23131         (main_loop_poll): Call handle_inotify_events.
23132         (main_loop_epoll): Likewise.
23133         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
23134         (struct traced_file): Use array of inotify fds. Add parent directory,
23135         and basename.
23136         (struct database_dyn): Remove unused file_mtime.
23137         (init_traced_file): New inline function.
23138         (define_traced_file): New macro.
23139         * nss/nss_db/db-init.c: Use define_traced_file.
23140         (_nss_db_init): Use init_traced_file.
23141         * nss/nss_files/files-init.c: Use define_traced_file.
23142         (_nss_files_init): Use init_traced_file.
23144 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
23146         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
23147         [_LIBC]: Do not include <stdlib.h>.
23148         [!_LIBC] (abort): Remove declaration.
23149         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
23150         _FP_STATIC_ASSERT instead of conditionally calling abort.
23151         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
23152         (_FP_EXTEND_CNAN): Likewise.
23153         (FP_TRUNC): Likewise.
23154         (__FP_CLZ): Likewise.
23155         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
23157 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
23159         * manual/string.texi (XPG basename): Fix prototype.
23161 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23163         [BZ #18080]
23164         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
23165         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23166         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
23167         (__setcontext): Likewise.
23168         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
23169         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23170         Call rt_sigprocmask syscall one time to set new signal mask
23171         and retrieve the current signal mask instead of two calls.
23172         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
23173         (__swapcontext): Likewise.
23174         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
23175         * stdlib/tst-setcontext2.c: New file.
23177 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23179         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23181 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
23183         [BZ #18093]
23184         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
23185         the wrong size.
23187 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
23189         [BZ #18043]
23190         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
23192 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23194         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
23195         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
23196         Remove define.
23197         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
23198         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
23199         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
23200         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
23201         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
23202         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
23203         define.
23204         * nptl_db/td_symbol_list.c (td_lookup): Remove
23205         HAVE_ASM_GLOBAL_DOT_NAME code.
23206         * sysdeps/powerpc/powerpc64/configure.ac: Remove
23207         HAVE_ASM_GLOBAL_DOT_NAME check.
23208         * sysdeps/powerpc/powerpc64/configure: Regenerate.
23209         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
23210         (DOT_LABEL): Remove define.
23211         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
23212         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
23213         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
23214         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
23215         (__TLS_GET_ADDR): Likewise.
23216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
23217         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
23219 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
23221         [BZ #18111]
23222         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
23223         (_FPU_SETCW): Initialize cw from fpsr before storing.
23224         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
23225         (fesetexceptflag): Rewrite using fpu_control.h.
23226         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
23228 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
23230         [BZ #18110]
23231         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
23232         asms.
23233         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23235 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
23237         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
23238         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
23239         abort.
23240         (_FP_FMA): Likewise.
23241         (_FP_DIV): Likewise.
23243 2015-03-10  Roland McGrath  <roland@hack.frob.com>
23245         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
23246         with 0 in that case.
23247         * Makefile (summarize-tests): New canned sequence, factored out of
23248         commands for targets tests and xtests.  Display summary lines that
23249         don't start with PASS: or XFAIL: rather than ones that do start with
23250         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
23251         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
23252         do start with ERROR: or FAIL:.
23253         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
23254         (except for [$(build-shared) = yes]).
23255         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
23256         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
23257         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
23258         * nptl/Makefile: Revert 2015-03-04 changes.
23259         [$(CXX) empty] (tests-unsupported): New variable.
23260         * debug/Makefile: Likewise.
23262         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
23263         gnulib file.  Replace __attribute with __attribute__ throughout.
23265 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
23267         * sysdeps/hppa/fpu/libm-test-ulps: Update.
23269 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23271         [BZ #18104]
23272         * math/auto-libm-test-in: Add another test of pow.
23273         * math/auto-libm-test-out: Regenerated.
23275 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23277         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
23278         $(config-cflags-nofma).
23280 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23282         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
23283         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
23284         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
23285         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
23286         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
23287         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
23288         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
23289         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
23290         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
23291         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
23292         Add comment on closing #endif.
23294 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23296         * posix/wordexp.c (CHAR_IN_SET): New macro.
23297         (parse_param): Use it.
23299 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23301         * sysdeps/powerpc/fpu/libm-test-ulps: update.
23303 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23305         [BZ #18043]
23306         * posix/wordexp.c (parse_param): Fix buffer overflow.
23307         * posix/wordexp-test.c (test_case): Add test case.
23309 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23311         [BZ #18042]
23312         * posix/wordexp.c (parse_backtick): Fix off-by-one.
23313         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
23315 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23317         [BZ #18043]
23318         * posix/wordexp-test.c (test_case): Add test for BZ #18043
23319         (do_bz18043): Delete.
23320         (at_page_end): New.
23321         (testit): Refactor to have words at the edge of unreadable page.
23323 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23325         [BZ #16734]
23326         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
23327         Cleanup read-only streams as well.
23328         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
23330 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23332         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
23333         <bits/libc-lockP.h>
23335 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
23337         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
23338         on [__KERNEL__].
23339         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
23340         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
23341         * soft-fp/op-common.h (_FP_DECL): Likewise.
23343 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23345         * elf/ifuncdep2.c (global): Replace
23346         __attribute__((visibility("protected"))) with
23347         asm (".protected global").
23348         * elf/ifuncmod1.c (global): Likewise.
23349         * elf/ifuncmod5.c (global): Likewise.
23351 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
23353         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
23354         <asm/sfp-machine.h> instead of <sfp-machine.h>.
23356 2015-03-06  Roland McGrath  <roland@hack.frob.com>
23358         * manual/install.texi (Configuring and compiling):
23359         Document test-wrapper-env-only.
23360         * INSTALL: Regenerated.
23362 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23364         [BZ #18043]
23365         * posix/wordexp.c (parse_param): Fix buffer overflow.
23366         * posix/wordexp-test.c (do_bz18043): Add test case.
23368 2015-03-06  Vincent Bernat  <vincent@bernat.im>
23370         * time/tst-strptime2.c (do_test): Ensure failing tests are
23371         reported correctly.
23372         * time/tst-strptime3.c (do_test): Likewise.
23374 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
23376         Fix aio_error thread-safety.
23377         * sysdeps/pthread/aio_error.c: New file
23378         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
23379         synchronization.
23381 2015-03-06  Florian Weimer  <fweimer@redhat.com>
23383         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
23384         (group_number, vfprintf): Use it.
23385         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
23386         (JUMP, REF): Use it.
23387         (WORK_BUFFER_SIZE): New enum constant.
23388         (process_arg, vfprintf): Use it.
23390 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
23392         * manual/errno.texi (Error Messages): Complete example function
23393         by adding missing #define.
23394         (program_invocation_name): Add statement indicating GNU
23395         extension and reference which header file declares the variable.
23396         (program_invocation_short_name): Likewise.
23398 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
23400         * manual/errno.texi (Error Messages): Delete strerror ISO C89
23401         compatibility note.
23403 2015-03-05  Roland McGrath  <roland@hack.frob.com>
23405         * Makeconfig (test-wrapper-env-only): New variable.
23406         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
23407         then use that with $(test-wrapper-env-only) rather than using
23408         $(test-wrapper-env) $(run-program-env) $($*-ENV).
23410 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
23412         [BZ #18082]
23413         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
23414         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
23415         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
23416         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
23417         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
23418         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
23419         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
23420         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
23421         Likewise.
23422         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
23423         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
23424         Likewise.
23425         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
23426         Likewise.
23427         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
23428         Likewise.
23429         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
23430         Likewise.
23431         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
23432         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
23433         Likewise.
23434         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
23435         Likewise.
23436         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
23437         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
23439 2015-03-04  Roland McGrath  <roland@hack.frob.com>
23441         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
23442         (ETH_ALEN): New macro.
23443         (struct ether_addr): Use it for length of ether_addr_octet.
23445         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
23446         (setdb): Don't call __nss_configure_lookup for "rpc".
23447         (do_test): Don't call test_rpc.
23448         (output_rpcent, test_rpc): Functions moved ...
23449         * sunrpc/test-rpcent.c: ... to this new file.
23450         * sunrpc/Makefile (tests): Add it.
23452         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
23453         __xpg_sigpause.
23454         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
23455         * nptl/tst-signal6.c: Likewise.
23456         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
23457         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
23459         * configure.ac (libc_cv_cxx_link_ok): New check.
23460         Reset CXX to empty if it fails to link.
23461         * configure: Regenerated.
23462         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
23463         bug-atexit3-lib only if $(CXX) is nonempty.
23464         * nptl/Makefile (tests): Likewise for tst-cancel24.
23465         (tests, tests-static): Likewise for tst-cancel24-static.
23466         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
23467         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
23468         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
23469         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
23471 2015-03-04  Andreas Schwab  <schwab@suse.de>
23473         [BZ #17631]
23474         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
23475         for non-GCC compilers.
23476         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23477         Likewise.
23479 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23481         [BZ #17776]
23482         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
23483         integer before bitwise and assembly operations.
23484         (feclearexcept): Likewise.
23485         * math/test-fenvinline.c: New file.
23486         * math/Makefile: Add test-fenvinline test.
23488 2015-03-03  Alan Modra  <amodra@gmail.com>
23490         [BZ #16512]
23491         * scripts/localplt.awk: Strip off symbol version.
23492         * NEWS: Mention bug fix.
23494 2015-03-02  Roland McGrath  <roland@hack.frob.com>
23496         * sysdeps/pthread/timer_routines.c
23497         (timer_free_list, thread_free_list, thread_active_list): Make static.
23499 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
23501         [BZ #17779]
23502         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23503         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23504         Undefine.
23505         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23506         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23507         Likewise.
23508         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23509         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23510         Likewise.
23512 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
23514         [BZ #18036]
23515         * posix/fnmatch_loop.c (END): Detect invalid pattern.
23516         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
23518 2015-03-02  Andreas Schwab  <schwab@suse.de>
23520         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
23521         variable name.
23523 2015-03-02  Florian Weimer  <fweimer@redhat.com>
23525         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
23526         Return error status.
23528 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
23530         [BZ #15969]
23531         * locale/findlocale.c (_nl_find_locale): Introduce const
23532         version of loc_name and drop unsafe type casts.
23534 2015-02-27  Roland McGrath  <roland@hack.frob.com>
23536         * dlfcn/tststatic2.c (main): Converted to ...
23537         (do_test): ... this.
23538         (TEST_FUNCTION): New macro.
23539         Include test-skeleton.c.
23541 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
23543         [BZ #17711]
23544         * elf/Makefile (tests): Add vismain only if PIE is enabled.
23545         (tests-pie): Add vismain.
23546         (CFLAGS-vismain.c): New.
23547         * elf/vismain.c: Add comments for PIE requirement.
23549 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23551         [BZ #18046]
23552         [BZ #18047]
23553         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
23554         0x1p-56L as threshold for just returning the argument.
23555         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
23556         0x1p-32L as threshold for just returning the argument.
23557         * math/auto-libm-test-in: Add more tests of atanh.
23558         * math/auto-libm-test-out: Regenerated.
23559         * sysdeps/i386/fpu/libm-test-ulps: Update.
23560         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
23562 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23564         * string/bcopy.c (bcopy): Call memmove for performance.
23566 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23568         * string/bzero.c (__bzero): Call memset for performance.
23570 2015-02-27  John David Anglin  <dave.anglin@bell.net>
23572         [BZ #18068]
23573         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
23574         to 00100000.
23576 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23578         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
23580 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23582         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
23583         (__kernel_standard): Use CSTR macro when setting exc.name.
23584         * sysdeps/ieee754/Makefile [$(subdir) = math]
23585         (CFLAGS-k_standard.c): Remove variable.
23587         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
23588         setting p and q from "else if" to "else".
23589         (qzero): Likewise.
23590         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
23591         (qone): Likewise.
23592         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
23593         (qzerof): Likewise.
23594         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
23595         (qonef): Likewise.
23596         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
23597         (qzero): Likewise.
23598         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
23599         (qone): Likewise.
23601         [BZ #18038]
23602         [BZ #18039]
23603         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
23604         return pi/2 for arguments below 0x1p-113L.
23605         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
23606         return pi/2 for arguments below 0x1p-106L.
23607         * math/auto-libm-test-in: Add more tests of acos.
23608         * math/auto-libm-test-out: Regenerated.
23610         [BZ #16351]
23611         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
23612         (MO): New macro.
23613         (__ieee754_asin): Force underflow exception for results with small
23614         absolute value.
23615         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
23616         (MO): New macro.
23617         (__ieee754_asinf): Force underflow exception for results with
23618         small absolute value.
23619         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
23620         (__ieee754_asin): Force underflow exception for results with small
23621         absolute value.
23622         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
23623         (__ieee754_asinf): Force underflow exception for results with
23624         small absolute value.
23625         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
23626         (__ieee754_asinl): Force underflow exception for results with
23627         small absolute value.
23628         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
23629         (__ieee754_asinl): Force underflow exception for results with
23630         small absolute value.
23631         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
23632         (__ieee754_asinl): Force underflow exception for results with
23633         small absolute value.
23634         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23635         Include <math.h>.
23636         * math/auto-libm-test-in: Do not mark underflow exceptions as
23637         possibly missing for bug 16351.
23638         * math/auto-libm-test-out: Regenerated.
23640         [BZ #18030]
23641         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
23642         of power of 2 down when low part has opposite sign.
23643         * math/libm-test.inc (logb_test_data): Add more tests.
23645 2015-02-26  Andreas Schwab  <schwab@suse.de>
23647         [BZ #18032]
23648         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
23649         over collating symbol inside a bracket expression.  Minor cleanup.
23650         * posix/tst-fnmatch3.c (do_test): Add test case.
23652 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23654         [BZ #18029]
23655         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
23656         Adjust exponent of power of 2 down when low part has opposite
23657         sign.
23658         * math/libm-test.inc (ilogb_test_data): Add more tests.
23660 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
23662         [BZ #15969]
23663         * locale/findlocale.c (_nl_find_locale): Fix constness error in
23664         the previous change.
23666         [BZ #15969]
23667         * locale/findlocale.c (_nl_find_locale): Retry archive search
23668         after alias expansion.
23670 2015-02-25  Roland McGrath  <roland@hack.frob.com>
23672         * iconv/tst-iconv3.c (main): Converted to ...
23673         (do_test): ... this.
23674         (TEST_FUNCTION): New macro.
23675         Include test-skeleton.c.
23677         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
23678         (convert): Make function static.
23679         (test_unalign): Likewise.  Add const to argument pointee types.
23680         (main): Replace with static function do_test.
23681         Print "Succeeded." only if RET is zero.
23682         (TEST_FUNCTION): New macro.
23683         Include test-skeleton.c.
23685         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
23686         returns a null pointer.
23688 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23690         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
23691         to __memcpy_ppc only for static builds.
23693 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
23695         [BZ #18020]
23696         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
23697         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
23698         * math/auto-libm-test-in: Add more tests of asinh.
23699         * math/auto-libm-test-out: Regenerated.
23700         * sysdeps/i386/fpu/libm-test-ulps: Update.
23701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23703 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
23705         [BZ #15850]
23706         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
23707         and ip6_mtuinfo definitions here.
23708         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
23709         in this define too.  Update comment.
23711 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
23713         * elf/sprof.c (load_shobj): Tweak error message to match others.
23715 2015-02-24  Kevin Easton  <kevin@guarana.org>
23717         [BZ #16145] (partial fix)
23718         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
23719         to reduce lock contention.
23721 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
23723         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
23724         (struct timex): Update time comment.
23725         (ADJ_SETOFFSET): Define.
23727 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23729         [BZ #18019]
23730         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23731         2**56 not 2**28 as threshold for log (2x) formula.
23732         * math/auto-libm-test-in: Add more tests of acosh.
23733         * math/auto-libm-test-out: Regenerated.
23734         * sysdeps/i386/fpu/libm-test-ulps: Update.
23735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23737 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23739         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
23740         parenthesis around the buf assignment.
23741         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
23743 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23745         [BZ #16783]
23746         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
23747         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
23748         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
23749         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23750         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23751         * math/libm-test.inc (scalb_test_data): Add more tests.
23753 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
23755         [BZ #17916]
23756         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
23757         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
23759 2015-02-24  Eric Rannaud  <e@nanocritical.com>
23761         [BZ #17523]
23762         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
23763         * io/bits/fcntl2.h (open): Use it.
23764         (openat): Likewise.
23765         * io/open.c (__libc_open): Likewise.
23766         * io/open64.c (__libc_open64): Likewise.
23767         * io/open64_2.c (__open64_2): Likewise.
23768         * io/open_2.c (__open_2): Likewise.
23769         * io/openat.c (__openat): Likewise.
23770         * io/openat64.c (__openat64): Likewise.
23771         * io/openat64_2.c (__openat64_2): Likewise.
23772         * io/openat_2.c (__openat_2): Likewise.
23773         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
23774         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23775         * sysdeps/posix/open64.c (__libc_open64): Likewise.
23776         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23777         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23778         (__open_nocancel): Likewise.
23779         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23780         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23781         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
23783 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23785         [BZ #14841]
23786         * resolv/gethnamaddr.c (getanswer): Skip logging if
23787         RES_USE_DNSSEC is set.
23788         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23790 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23792         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
23794 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
23796         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23797         201304L, for Unicode 7.
23799 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
23801         [BZ #17836]
23802         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
23803         shared library.  Add gmon-start.os otherwise.
23804         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
23805         $(objpfx)gmon-start.os if builing shared library.
23806         ($(objpfx)g$(static-start-installed-name)): Likewise.
23808 2015-02-23  Andreas Schwab  <schwab@suse.de>
23810         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
23812 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23814         [BZ #17269]
23815         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
23816         (enlarge_userbuf): Likewise.
23818 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
23820         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
23821         * math/atest-exp.c (TIMEOUT): Adjust to 200.
23822         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
23823         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
23825 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
23827         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
23828         expression inside statement expression.
23830 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23832         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
23833         <sysdeps/nptl/lowlevellock.h> and remove macros and
23834         functions that are now defined there.
23835         (SYS_futex): Remove.
23836         (lll_compare_and_swap): Remove.
23837         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
23839 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
23841         [BZ #17999]
23842         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
23843         instead of scandirat.
23844         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
23845         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
23846         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
23847         __scandirat.
23848         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
23849         (__scandirat): Declare.  Use libc_hidden_proto.
23850         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
23851         Remove variable.
23852         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23854 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23856         [BZ #15319]
23857         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
23858         (MO): New macro.
23859         (__ieee754_atan2): For results with small absolute value, force
23860         underflow exception and remove excess range and precision from
23861         return value.
23862         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
23863         (MO): New macro.
23864         (__ieee754_atan2f): For results with small absolute value, force
23865         underflow exception and remove excess range and precision from
23866         return value.
23867         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
23868         (MO): New macro.
23869         (__atan): For results with small absolute value, force underflow
23870         exception and remove excess range and precision from return value.
23871         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
23872         (MO): New macro.
23873         (__atanf): For results with small absolute value, force underflow
23874         exception and remove excess range and precision from return value.
23875         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
23876         <math.h>.
23877         (__ieee754_atan2): Force underflow exception for results with
23878         small absolute value.
23879         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
23880         <math_private.h>.
23881         (atan): Force underflow exception for results with small absolute
23882         value.
23883         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
23884         (__atanf): Force underflow exception for results with small
23885         absolute value.
23886         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
23887         <math.h>.
23888         (__atanl): Force underflow exception for results with small
23889         absolute value.
23890         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
23891         (__atanl): Force underflow exception for results with small
23892         absolute value.
23893         * sysdeps/x86/fpu/bits/mathinline.h
23894         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
23895         (__ieee754_atan2): Only define inline for long double.
23896         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23897         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
23898         * math/auto-libm-test-in: Do not mark underflow exceptions as
23899         possibly missing for bug 15319.  Add more tests of atan2.
23900         * math/auto-libm-test-out: Regenerated.
23901         * math/libm-test.inc (casin_test_data): Do not mark underflow
23902         exceptions as possibly missing for bug 15319.
23903         (casinh_test_data): Likewise.
23904         * sysdeps/i386/fpu/libm-test-ulps: Update.
23906 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
23908         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
23909         * sysdeps/mips/bits/endian.h: Fix comments.
23911 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23913         [BZ #17996]
23914         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
23915         (hdestroy_r): Likewise.
23916         (hsearch_r): Likewise.
23917         (__hcreate_r): Declare and use libc_hidden_proto.
23918         (__hdestroy_r): Likewise.
23919         (__hsearch_r): Likewise.
23920         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
23921         (hcreate): Call __hcreate_r instead of hcreate_r.
23922         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
23923         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
23924         as weak alias of __hcreate_r.
23925         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
23926         __hdestroy_r.
23927         (hsearch_r): Rename to __hsearch_r and define as weak alias of
23928         __hsearch_r.
23929         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
23930         Remove variable.
23931         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23932         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23933         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23934         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23936 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23938         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
23939         arena_lock into a single arena_get.
23941 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
23943         * dl-reloc.c: Inlucde libc-internal.h.
23944         (_dl_try_allocate_static_tls): Call ALIGN_UP.
23945         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
23946         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
23947         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
23948         (grow_heap): Likewise.
23949         * malloc/malloc.c: Include libc-internal.h.
23950         (do_check_malloc): Call powerof2.
23951         (sysmalloc): Use pagesize. Call ALIGN_UP.
23952         (systrim): Use pagesize.
23953         (mremap_chunk): Use pagesize. Call ALIGN_UP.
23954         (__libc_valloc): Use pagesize.
23955         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
23957 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23959         [BZ #17991]
23960         * include/sys/resource.h (__getrlimit64): Declare.  Use
23961         libc_hidden_proto.
23962         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
23963         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
23964         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
23965         getrlimit64.
23966         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
23967         __getrlimit64.
23968         [!getrlimit64] (getrlimit64): Define as weak alias of
23969         __getrlimit64.  Use libc_hidden_weak.
23970         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
23971         using __getrlimit64 not __new_getrlimit64.
23972         (__GI_getrlimit64): Likewise.
23973         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
23974         Likewise.
23975         (__GI_getrlimit64): Likewise.
23976         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
23977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
23978         (getrlimit): Add __getrlimit64 alias.
23979         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
23980         Likewise.
23981         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
23982         Remove variable.
23983         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23984         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23986 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
23988         * libio/fileops.c: Add missing sys/mman.h
23989         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
23991 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23993         * manual/math.texi (Errors in Math Functions): Clarify goals
23994         regarding inexact and underflow exceptions.
23996 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23998         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
23999         * sysdeps/mips/memset.S: Ditto.
24001 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24003         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
24005 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24007         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
24008         (__v1longjmp): Remove versioned symbol.
24009         (__v1siglongjmp): Remove alias and versioned symbol.
24010         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
24011         (__v2siglongjmp): Likewise.
24013 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24015         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
24017 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
24019         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
24021 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24023         [BZ #17987]
24024         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
24025         zero result does not depend on the sign resulting from
24026         subtraction.
24027         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24028         Likewise.
24029         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24030         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24031         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24032         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24033         * math/libm-test.inc (remquo_test_data): Add more tests.
24035 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
24037         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
24038         Problem reported by J William Piggott.
24040 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24042         [BZ #17978]
24043         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
24044         products 4 * y and 2 * y where those would overflow.
24045         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24046         Likewise.
24047         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24048         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24049         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24050         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24051         * math/libm-test.inc (remquo_test_data): Add more tests.
24053         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
24055         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
24056         [defined _COMPILING_NEWLIB].
24057         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
24058         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
24060         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
24061         [!defined __mips_isa_rev || __mips_isa_rev < 6].
24063 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24065         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
24066         acquired.
24068 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
24070         [BZ #17792]
24071         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
24072         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
24073         HOST_STACK_END_ADDR): Likewise.
24075 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
24077         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
24078         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
24079         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
24081 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24083         * sysdeps/generic/c++-types.data: New file.
24084         * sysdeps/generic/ld.abilist: New file.
24085         * sysdeps/generic/libBrokenLocale.abilist: New file.
24086         * sysdeps/generic/libanl.abilist: New file.
24087         * sysdeps/generic/libc.abilist: New file.
24088         * sysdeps/generic/libcrypt.abilist: New file.
24089         * sysdeps/generic/libdl.abilist: New file.
24090         * sysdeps/generic/libm.abilist: New file.
24091         * sysdeps/generic/libpthread.abilist: New file.
24092         * sysdeps/generic/libresolv.abilist: New file.
24093         * sysdeps/generic/librt.abilist: New file.
24095 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24097         [BZ #17569]
24098         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24099         Compute absolute value of x as modified by fmod, not original
24100         value of x.
24101         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
24102         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
24103         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
24104         RUN_TEST_ffI_f1_mod8.
24105         (remquo_test_data): Add more tests.
24107 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24109         * sysdeps/init_array/pt-crti.S: New file.
24111 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24113         [BZ #17967]
24114         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
24115         __builtin_fmaf instead of relying on contraction of a * b + c.
24117 2015-02-12  J William Piggott  <elseifthen@gmx.com>
24119         [BZ #17969]
24120         * manual/time.texi: correct the zoneinfo path in the TZ Variable
24121         node.
24123 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24125         [BZ #17964]
24126         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
24127         __builtin_fma instead of relying on contraction of a * b + c.
24129 2015-02-12  Roland McGrath  <roland@hack.frob.com>
24131         * Makeconfig (ASFLAGS): Add -Werror=undef.
24132         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
24133         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
24134         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
24136         * Makeconfig (after-link): New variable.
24137         (+link-pie, +link-pie-tests): Use it.
24138         (+link-static, +link-static-tests): Likewise.
24139         (+link, +link-tests): Likewise.
24140         * Makerules (build-module, build-module-asneeded): Likewise.
24141         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
24142         Likewise.
24143         * elf/Makefile ($(objpfx)ld.so): Likewise.
24145 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
24147         [BZ #17965]
24148         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
24149         both struct timeval and struct timespec.
24151 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24153         [BZ #16560]
24154         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24155         and redefine.
24156         (__ieee754_exp2l): Do not multiply small fractional parts by
24157         M_LN2l.
24158         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
24159         small argument.
24160         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24161         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24162         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
24163         * math/auto-libm-test-in: Add more tests of exp2.
24164         * math/auto-libm-test-out: Regenerated.
24166 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24168         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
24169         unaligned path.
24171 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24173         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
24174         little endian.
24176 2015-02-12  Andreas Schwab  <schwab@suse.de>
24178         [BZ #15790]
24179         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
24180         Filter out elision flags from value returned in kind.
24181         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
24182         * nptl/tst-pthread-mutexattr.c: New file.
24184 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24186         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
24187         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
24188         into gnu-gnu, and update comment to refer to abi-tags.
24190 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
24192         [BZ #15467]
24193         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
24194         (__sincos): Set errno to EDOM for infinite argument.
24195         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
24196         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
24197         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
24198         (__sincosl): Set errno to EDOM for infinite argument.
24199         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
24200         (__sincosl): Set errno to EDOM for infinite argument.
24201         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
24202         (__sincosl): Set errno to EDOM for infinite argument.
24203         * math/libm-test.inc (sincos_test_data): Test errno setting.
24205 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
24207         * string/strxfrm_l.c: Remove #define STRCMP.
24208         * string/strcoll_l.c: Remove #define STRLEN.
24209         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
24210         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
24212 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
24214         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
24215         * sysdeps/mips/mips32/sfp-machine.h: ... here.
24216         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
24217         * sysdeps/mips/mips64/Makefile: ... here.
24218         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
24219         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
24220         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
24221         * sysdeps/mips/mips64/sfp-machine.h: ... here.
24222         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
24223         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
24224         * sysdeps/mips/mips64/n64/Implies: Likewise.
24226 2015-02-10  Roland McGrath  <roland@hack.frob.com>
24228         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
24229         <sys/time.h>, <string.h>, and <errno.h>.
24230         (dest_offset, dest_address, value, zero): Remove unused variables.
24231         (ldouble): Remove typedef.
24232         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
24233         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
24234         1).  Fix code style.
24235         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
24236         (check): Function removed.
24237         (CHECK): New macro.
24238         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
24239         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
24240         Don't call set_sigaction_FP and remove_sigaction_FP here.
24241         (ldouble_test): Just use 'long double' as macro argument, no need for
24242         the 'ldouble' typedef.
24243         (do_test): Set up SIGFPE handler at start, using plain signal rather
24244         than sigaction.  Fix code style.
24246 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
24248         [BZ #17949]
24249         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
24250         jump label.
24252 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24254         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
24255         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24257         * sysdeps/powerpc/configure.ac: Remove file.
24258         * sysdeps/powerpc/configure: Likewise.
24260         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24261         [sysdep_routines]: Remove wordcopy-power6 object.
24262         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24263         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
24264         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
24265         (__memmove_ppc32): Likewise.
24266         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
24267         file.
24268         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
24269         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
24270         Remove preprocessor.
24272         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24273         [sysdep_routines]: Remove wide chars objects.
24274         [wcsmbs]: New rule for wide char objects.
24276         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24277         Remove wordcopy-power6 obejct.
24278         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
24279         Use local call for wordcopy and memcpy symbols.
24280         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
24281         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
24282         implementation for loader.
24283         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
24285         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24286         Remove wordcopy-power7 object.
24287         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
24288         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
24289         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
24290         (_wordcopy_fwd_dest_aligned): Likewise.
24291         (_wordcopy_bwd_aligned): Likewise.
24292         (_wordcopy_bwd_dest_aligned): Likewise.
24294         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
24295         Rewrite to call __memmove_ppc instead of include default
24296         implementation.
24298         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24299         Remove wide chars objects.
24300         [wcsmbs]: New rule for wide char objects.
24302 2015-02-09  Andreas Schwab  <schwab@suse.de>
24304         [BZ #17912]
24305         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24306         in terms of __O_DIRECTORY.
24308 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24310         * time/getdate.c: Include <stdbool.h>.
24311         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
24312         call PTR_MANGLE.
24313         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
24314         PTR_DEMANGLE.
24316 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
24318         Add ersatz _Static_assert on older C hosts
24319         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
24320         pre-C11 C platform that is not known to support _Static_assert.
24322 2015-02-07  Richard Braun  <rbraun@sceen.net>
24324         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
24325         sigstate.
24326         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
24328 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24330         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
24331         priority against unexistent AIO_PRIO_DELTA_MAX.
24332         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
24333         instead of int.
24334         * misc/fchflags.c (fchflags): Likewise.
24335         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
24336         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
24337         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
24338         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
24339         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
24340         Declare macros.
24341         [__USE_MISC] (chflags, fchflags): Declare functions.
24342         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
24343         EINVAL when nfds is greater than FD_SETSIZE.
24344         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
24345         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
24346         45.
24347         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
24348         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
24349         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
24350         MACH_RCV_TIMED_OUT.
24351         * hurd/hurd/signal.h (_hurd_self_sigstate,
24352         _hurd_critical_section_lock, _hurd_critical_section_unlock):
24353         Explicit casts from void *.
24354         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
24355         * abi-tags: Rename gnu-gnu os into gnu.
24357         [BZ #4719]
24358         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
24359         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
24360         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
24361         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
24362         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
24363         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
24365         [BZ #17944]
24366         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
24367         duplicates ADDR->sun_path with sockaddr LEN limitation.
24368         * sysdeps/mach/hurd/connect.c: Include <string.h>
24369         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
24370         * sysdeps/mach/hurd/sendmsg.c: Likewise.
24371         * sysdeps/mach/hurd/sendto.c: Likewise.
24372         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
24373         implementing it by hand.
24375 2015-02-06  Roland McGrath  <roland@hack.frob.com>
24377         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
24378         Use sfi_breg on ldr.
24379         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
24380         Likewise.
24382         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
24383         it's defined.
24384         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
24385         Test SIGSETXID only if it's defined.
24387         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
24389         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
24390         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
24392         * nptl/tst-align2.c: Moved ...
24393         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
24394         * nptl/Makefile (tests): Remove tst-align2.
24395         * sysdeps/unix/sysv/linux/Makefile
24396         [$(subdir) = nptl] (tests): Add tst-align-clone.
24397         * nptl/tst-getpid1.c: Moved ...
24398         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
24399         * nptl/tst-getpid2.c: Moved ...
24400         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
24401         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
24402         * sysdeps/unix/sysv/linux/Makefile
24403         [$(subdir) = nptl] (tests): ... here.
24404         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
24405         * sysdeps/unix/sysv/linux/Makefile
24406         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
24408         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
24409         Drop trailing \n from perror argument.  Use return rather than exit.
24411         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
24412         on [SA_SIGINFO].
24413         * nptl/tst-cancel21.c (do_test): Likewise.
24414         * debug/tst-backtrace6.c: Include <signal.h> first thing.
24415         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
24416         [!SA_SIGINFO]: Make it a stub test.
24418         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
24419         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
24421         * posix/tst-getlogin.c: Move to ...
24422         * login/tst-getlogin.c: ... here.
24423         * posix/Makefile (tests): Move tst-getlogin to ...
24424         * login/Makefile (tests): ... here.
24426         * libio/tst-atime.c (do_test): Move local variables SV and E
24427         inside [ST_NOATIME] conditional.
24429         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
24431         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
24433         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
24434         (wait_code): New function replaces macro.
24435         Call nanosleep rather than syscall.
24437         * nptl/pt-system.c: Rewritten.  Put everything under
24438         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24439         Use IFUNC to redirect when possible.
24441         * nptl/pt-longjmp.c: Rewritten.  Put everything under
24442         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24443         Use IFUNC to redirect when possible.
24445         * nptl/pt-fork.c: Rewritten.  Put everything under
24446         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24447         Use IFUNC to redirect when possible.
24448         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
24450         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
24451         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
24452         unconditionally nowadays.  This included the only reference to
24453         __vdso_clock_gettime that appears outside libc proper.
24454         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
24455         Remove version set (containing only __vdso_clock_gettime).
24456         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24457         Add attribute_hidden.
24458         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24459         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
24460         libc_hidden_data_def.
24461         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24462         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24464         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
24465         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
24466         setrpcent, and getrpcport to ...
24467         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
24468         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
24469         getrpcbynumber_r, and getrpcent_r to ...
24470         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
24471         * inet/getrpcbyname.c: Moved ...
24472         * sunrpc/getrpcbyname.c: ... here.
24473         * inet/getrpcbyname_r.c: Moved ...
24474         * sunrpc/getrpcbyname_r.c: ... here.
24475         * inet/getrpcbynumber.c: Moved ...
24476         * sunrpc/getrpcbynumber.c: ... here.
24477         * inet/getrpcbynumber_r.c: Moved ...
24478         * sunrpc/getrpcbynumber_r.c: ... here.
24479         * inet/getrpcent.c: Moved ...
24480         * sunrpc/getrpcent.c: ... here.
24481         * inet/getrpcent_r.c: Moved ...
24482         * sunrpc/getrpcent_r.c: ... here.
24483         * inet/Makefile (routines): Move those to ...
24484         * sunrpc/Makefile (routines): ... here.
24485         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
24486         the $(subdirs) list.
24487         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
24488         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
24489         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
24490         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
24492         * elf/Makefile (routines): Include $(all-dl-routines), not just
24493         $(dl-routines).
24494         (rtld-routines): Likewise.  Use = rather than :=.
24495         * sysdeps/aarch64/Makefile [$(subdir) = elf]
24496         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
24497         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
24498         * sysdeps/arm/Makefile: Likewise.
24499         * sysdeps/i386/Makefile: Likewise.
24500         * sysdeps/x86_64/Makefile: Likewise.
24501         * sysdeps/hppa/Makefile [$(subdir) = elf]
24502         (sysdep_routines, sysdep-rtld-routines): Don't add
24503         $(sysdep-dl-routines) to these.
24504         * sysdeps/ia64/Makefile: Likewise.
24505         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
24506         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
24507         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
24508         Don't add dl-static to these; sysdep-dl-routines alone is enough.
24509         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
24510         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
24511         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
24512         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
24513         * sysdeps/powerpc/Makefile [$(subdir) = elf]
24514         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
24515         these; sysdep-dl-routines alone is enough.
24517 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
24519         [BZ #17932]
24520         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
24521         where multiplication results in zero and third argument is finite
24522         and nonzero.
24523         * math/auto-libm-test-in: Add more tests of fma.
24524         * math/auto-libm-test-out: Regenerated.
24526         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
24527         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
24528         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
24529         (_FP_CMP_EQ): Likewise.
24530         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
24532         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
24533         extra argument CHECK_NAN.  Redefine as wrapper around
24534         _FP_EXTEND_CNAN.
24536 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
24538         * version.h (RELEASE): Set to "stable".
24539         (VERSION): Set to "2.21"
24540         * include/features.h (__GLIBC_MINOR__): Set to 21.
24542         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
24544 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24545             Paul Eggert  <eggert@cs.ucla.edu>
24547         [BZ #16618]
24548         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
24549         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
24550         size in bytes. Store needed elements in wpmax. Use needed size
24551         in bytes for extend_alloca.
24553 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
24555         * manual/install.texi: Latest tested versions are GCC 4.9.2,
24556         binutls 2.25, and texinfo 5.2.
24557         * INSTALL: Regenerate.
24558         * sysdeps/nios2/configure: Regenerate.
24559         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
24560         * manual/contrib.texi: Update.
24561         * po/be.po: Update.
24562         * po/bg.po: Update.
24563         * po/ca.po: Update.
24564         * po/cs.po: Update.
24565         * po/da.po: Update.
24566         * po/de.po: Update.
24567         * po/el.po: Update.
24568         * po/eo.po: Update.
24569         * po/es.po: Update.
24570         * po/fi.po: Update.
24571         * po/fr.po: Update.
24572         * po/gl.po: Update.
24573         * po/hr.po: Update.
24574         * po/hu.po: Update.
24575         * po/ia.po: Update.
24576         * po/id.po: Update.
24577         * po/it.po: Update.
24578         * po/ja.po: Update.
24579         * po/ko.po: Update.
24580         * po/lt.po: Update.
24581         * po/nb.po: Update.
24582         * po/nl.po: Update.
24583         * po/pl.po: Update.
24584         * po/pt_BR.po: Update.
24585         * po/ru.po: Update.
24586         * po/rw.po: Update.
24587         * po/sk.po: Update.
24588         * po/sl.po: Update.
24589         * po/sv.po: Update.
24590         * po/tr.po: Update.
24591         * po/uk.po: Update.
24592         * po/vi.po: Update.
24593         * po/zh_CN.po: Update.
24594         * po/zh_TW.po: Update.
24596         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
24597         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
24598         * sysdeps/hppa/dl-irel.h: Remove #warning.
24599         * sysdeps/hppa/entry.h: Provide prototype for
24600         __canonicalize_funcptr_for_compare and cast argument.
24601         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
24602         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
24603         * sysdeps/hppa/sotruss-lib.c: New file.
24604         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
24605         (atomic_compare_and_exchange_val_acq): Use __typeof__.
24606         (atomic_compare_and_exchange_bool_acq): Likewise.
24607         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
24608         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
24610         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
24611         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
24612         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
24614 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
24616         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
24617         called function in non-PIC case.
24619 2015-01-31  David S. Miller  <davem@davemloft.net>
24621         * sysdeps/sparc/sparc32/bits/atomic.h
24622         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
24623         unlock not after it.
24624         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
24625         volatile register usage warnings from the compiler.
24627         * sysdeps/sparc/nptl/sem_init.c: Delete.
24628         * sysdeps/sparc/nptl/sem_post.c: Delete.
24629         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
24630         * sysdeps/sparc/nptl/sem_wait.c: Delete.
24631         * sysdeps/sparc/sparc32/sem_init.c: New file.
24632         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
24633         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
24634         padding explicitly initialized.
24635         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
24636         padding for in-semaphore spinlock.
24637         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
24638         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
24639         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
24640         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
24641         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
24642         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
24643         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
24644         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
24645         version.
24646         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
24647         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
24649 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
24651         [BZ #17801]
24652         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24653         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
24654         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
24655         New.
24656         (index_AVX_Fast_Unaligned_Load): Likewise.
24657         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
24658         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
24659         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
24660         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
24661         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
24662         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
24663         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
24664         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
24665         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
24667 2015-01-29  Andreas Schwab  <schwab@suse.de>
24669         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
24671 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
24673         [BZ #17892]
24674         * nscd/nscd_stat.c (send_stats): Initialize DATA.
24676 2015-01-28  Martin Sebor  <msebor@redhat.com>
24678         * math/README.libm-test: Clarify. Add "How to read the test output."
24680 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
24682         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
24683         Define to 0.
24685 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
24687         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
24688         (__HAVE_64B_ATOMICS): Define to 0.
24690 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24692         [BZ #17885]
24693         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
24694         value to set as new flag.
24696         [BZ #16576]
24697         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
24698         and use _ARCH_PPCSQ instead.
24699         (__ieee754_sqrt): Likewise.
24700         (__ieee754_sqrtf): Likewise.
24701         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
24702         _ARCH_PPCSQ is defined.
24703         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
24704         fsqrt instruction.
24705         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
24706         _ARCH_PPCSQ is defined.
24707         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
24708         fsqrts instruction.
24709         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
24711 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24713         * iconv/loop.c: Suppress array out of bound warning caused by GCC
24714         bug (GCC BZ #64739).
24716 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
24718         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
24719         Mark _retval as used.
24720         (lll_futex_wake_unlock): Likewise.
24721         (lll_futex_timed_wait_requeue_pi): Likewise.
24723         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24724         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
24725         register variables.
24727         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
24728         libm_hidden_def.
24730         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
24731         (__bswap_64): Mark as __always_inline.
24733 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
24735         [BZ #15378]
24736         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
24737         when none of the search directories exist.
24739 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24741         [BZ #17869]
24742         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
24743         power8 in .machine directive.
24745         [BZ #17868]
24746         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
24747         set dependency from opd value.
24749 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24751         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24752         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
24753         architecture.
24755 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24757         [BZ #17870]
24758         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
24759         with uint64_t.
24760         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
24761         (uint64_t) 1.
24762         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
24763         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
24764         Replace 1UL with (uint64_t) 1.
24765         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
24766         int with uint64_t.
24768 2015-01-23  Roland McGrath  <roland@hack.frob.com>
24770         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
24771         (if_freenameindex): Likewise.
24773         * resource/getrlimit64.c: Add missing libc_hidden_def.
24775 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
24777         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
24778         __label__.
24779         (_FP_FMA): Likewise.
24780         (_FP_TO_INT_ROUND): Likewise.
24781         (_FP_FROM_INT): Likewise.
24783 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24785         [BZ #16418]
24786         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
24787         Make code racy and cancel safe.
24789 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
24791         * sysdeps/arm/unwind-resume.h: Fix copyright year.
24792         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
24793         attribution.
24795         * pwd/tst-getpw.c: Rewrite.
24797         [BZ #17702]
24798         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
24799         (modules-names): Add moddummy1 and moddummy2.
24800         ($(objpfx)tst-rec-dlopen): Define.
24801         * dlfcn/moddummy1.c: New file.
24802         * dlfcn/moddummy2.c: New file.
24803         * dlfcn/tst-rec-dlopen.c: New file.
24804         * elf/dl-cache.c (_dl_load_cache_lookup):
24805         Return char*. Copy result with alloca/strcpy/strdup.
24806         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
24807         returns char*. Free cached. If not saving realname
24808         free cached.
24809         * elf/dl-open.c (dl_open_worker): Do not assert that
24810         _r_debug->r_state is RT_CONSISTENT.
24811         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
24812         returns char*.
24814 2015-01-21  Torvald Riegel  <triegel@redhat.com>
24815             Carlos O'Donell  <carlos@redhat.com>
24817         [BZ #12674]
24818         * nptl/sem_waitcommon.c: New file.
24819         * nptl/sem_wait.c: Include sem_waitcommon.c.
24820         (__sem_wait_cleanup, do_futex_wait): Remove.
24821         (__new_sem_wait): Adapt.
24822         (__new_sem_trywait): New function.
24823         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
24824         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
24825         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
24826         (sem_timedwait): Adapt.
24827         * nptl/sem_post.c (__new_sem_post): Adapt.
24828         (futex_wake): New function.
24829         (__old_sem_post): Add release MO fence.
24830         * nptl/sem_open.c (sem_open): Adapt.
24831         * nptl/sem_init.c (__new_sem_init): Adapt.
24832         (futex_private_if_supported): New function.
24833         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
24834         (__old_sem_getvalue): Add using previous code.
24835         * sysdeps/nptl/internaltypes.h: Adapt.
24836         * nptl/tst-sem13.c (do_test): Adapt.
24837         * nptl/tst-sem11.c (main): Adapt.
24838         * nptl/sem_trywait.c: Remove.
24839         * nptl/DESIGN-sem.txt: Remove.
24840         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
24841         (gen-as-const-headers): Remove structsem.sym.
24842         * nptl/structsem.sym: Remove.
24843         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
24844         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
24845         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
24846         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
24847         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
24848         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
24849         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
24850         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
24851         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
24852         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
24853         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
24854         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
24855         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
24856         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
24857         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
24858         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
24859         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
24860         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
24861         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
24862         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
24863         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
24864         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
24866 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
24868         * INSTALL: Regenerated.
24870         * po/libc.pot: Regenerated.
24872 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
24873             Sandra Loosemore  <sandra@codesourcery.com>
24874             Andrew Jenner  <andrew@codesourcery.com>
24875             Joseph Myers  <joseph@codesourcery.com>
24876             Nathan Sidwell  <nathan@codesourcery.com>
24878         * NEWS: Mention new Nios II port.
24879         * sysdeps/nios2/Implies: New file.
24880         * sysdeps/nios2/Makefile: New file.
24881         * sysdeps/nios2/Subdirs: New file.
24882         * sysdeps/nios2/Versions: New file.
24883         * sysdeps/nios2/__longjmp.S: New file.
24884         * sysdeps/nios2/abort-instr.h: New file.
24885         * sysdeps/nios2/backtrace.c: New file.
24886         * sysdeps/nios2/bits/endian.h: New file.
24887         * sysdeps/nios2/bits/fenv.h: New file.
24888         * sysdeps/nios2/bits/link.h: New file.
24889         * sysdeps/nios2/bits/setjmp.h: New file.
24890         * sysdeps/nios2/bsd-_setjmp.S: New file.
24891         * sysdeps/nios2/bsd-setjmp.S: New file.
24892         * sysdeps/nios2/configure: New generated file.
24893         * sysdeps/nios2/configure.ac: New file.
24894         * sysdeps/nios2/crti.S: New file.
24895         * sysdeps/nios2/crtn.S: New file.
24896         * sysdeps/nios2/dl-init.c: New file.
24897         * sysdeps/nios2/dl-machine.h: New file.
24898         * sysdeps/nios2/dl-sysdep.h: New file.
24899         * sysdeps/nios2/dl-tls.h: New file.
24900         * sysdeps/nios2/dl-trampoline.S: New file.
24901         * sysdeps/nios2/gccframe.h: New file.
24902         * sysdeps/nios2/gmp-mparam.h: New file.
24903         * sysdeps/nios2/jmpbuf-offsets.h: New file.
24904         * sysdeps/nios2/jmpbuf-unwind.h: New file.
24905         * sysdeps/nios2/ldsodefs.h: New file.
24906         * sysdeps/nios2/libc-tls.c: New file.
24907         * sysdeps/nios2/libm-test-ulps: New file.
24908         * sysdeps/nios2/machine-gmon.h: New file.
24909         * sysdeps/nios2/math-tests.h: New file.
24910         * sysdeps/nios2/math_private.h: New file.
24911         * sysdeps/nios2/memusage.h: New file.
24912         * sysdeps/nios2/nptl/Makefile: New file.
24913         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
24914         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
24915         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
24916         * sysdeps/nios2/nptl/pthreaddef.h: New file.
24917         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
24918         * sysdeps/nios2/nptl/tls.h: New file.
24919         * sysdeps/nios2/preconfigure: New file.
24920         * sysdeps/nios2/s_fma.c: New file.
24921         * sysdeps/nios2/s_fmaf.c: New file.
24922         * sysdeps/nios2/setjmp.S: New file.
24923         * sysdeps/nios2/sfp-machine.h: New file.
24924         * sysdeps/nios2/sotruss-lib.c: New file.
24925         * sysdeps/nios2/stackguard-macros.h: New file.
24926         * sysdeps/nios2/stackinfo.h: New file.
24927         * sysdeps/nios2/start.S: New file.
24928         * sysdeps/nios2/sysdep.h: New file.
24929         * sysdeps/nios2/tls-macros.h: New file.
24930         * sysdeps/nios2/tst-audit.h: New file.
24931         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
24932         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
24933         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
24934         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
24935         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
24936         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
24937         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
24938         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
24939         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
24940         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
24941         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
24942         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
24943         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
24944         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
24945         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
24946         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
24947         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
24948         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
24949         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
24950         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
24951         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
24952         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
24953         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
24954         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
24955         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
24956         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
24957         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
24958         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
24959         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
24960         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
24961         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
24962         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
24963         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
24964         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
24965         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
24966         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
24967         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
24968         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
24969         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
24970         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
24971         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
24972         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
24973         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
24974         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
24976 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24978         [BZ #17844]
24979         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
24980         (getutent): Use weak_alias in non SHARED case
24981         and default_symbol_version in SHARED case.
24982         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
24983         (getutent_r, pututline): Likewise.
24984         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
24985         (getutid): Likewise.
24986         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
24987         (getutid_r): Likewise.
24988         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
24989         (getutline): Likewise.
24990         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
24991         (getutline_r): Likewise.
24992         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
24993         (updwtmp): Likewise.
24995 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24997         [BZ #17848]
24998         * sysdeps/s390/s390-32/memcmp.S
24999         (memcmp_g5): Rename to __memcmp_g5.
25000         * sysdeps/s390/s390-32/memcpy.S
25001         (memcpy_g5): Rename to __memcpy_g5.
25002         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25003         (memcpy_mvcle) Rename to __memcpy_mvcle.
25004         * sysdeps/s390/s390-32/memset.S
25005         (memset_g5): Rename to __memset_g5.
25006         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25007         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25008         and use prefixed functions.
25009         * sysdeps/s390/s390-32/multiarch/memcmp.S
25010         (memcmp_z196): Rename to __memcmp_z196.
25011         (memcmp_z10): Rename to __memcmp_z10.
25012         (memcmp): Set alias to __memcmp_g5.
25013         (bcmp): Set alias to __memcmp_g5.
25014         * sysdeps/s390/s390-32/multiarch/memcpy.S
25015         (memcpy_z196): Rename to __memcpy_z196.
25016         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25017         (memcpy_z10): Rename to __memcpy_z10.
25018         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25019         (memcpy): Set alias to __memcpy_g5.
25020         * sysdeps/s390/s390-32/multiarch/memset.S
25021         (memset_z196): Rename to __memset_z196.
25022         Jump to __memset_mvcle instead of memset_mvcle.
25023         (memset_z10): Rename to __memset_z10.
25024         Jump to __memset_mvcle instead of memset_mvcle.
25025         (memset_mvcle) Rename to __memset_mvcle.
25026         (memset): Set alias to __memset_g5.
25027         * sysdeps/s390/s390-64/memcmp.S
25028         (memcmp_z900): Rename to __memcmp_z900.
25029         * sysdeps/s390/s390-64/memcpy.S
25030         (memcpy_z900): Rename to __memcpy_z900.
25031         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25032         (memcpy_mvcle) Rename to __memcpy_mvcle.
25033         * sysdeps/s390/s390-64/memset.S
25034         (memset_z900): Rename to __memset_z900.
25035         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
25036         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25037         and use prefixed functions.
25038         * sysdeps/s390/s390-64/multiarch/memcmp.S
25039         (memcmp_z196): Rename to __memcmp_z196.
25040         (memcmp_z10): Rename to __memcmp_z10.
25041         (memcmp): Set alias to __memcmp_z900.
25042         (bcmp): Set alias to __memcmp_z900.
25043         * sysdeps/s390/s390-64/multiarch/memcpy.S
25044         (memcpy_z196): Rename to __memcpy_z196.
25045         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25046         (memcpy_z10): Rename to __memcpy_z10.
25047         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25048         (memcpy): Set alias to __memcpy_z900.
25049         * sysdeps/s390/s390-64/multiarch/memset.S
25050         (memset_z196): Rename to __memset_z196.
25051         Jump to __memset_mvcle instead of memset_mvcle.
25052         (memset_z10): Rename to __memset_z10.
25053         Jump to __memset_mvcle instead of memset_mvcle.
25054         (memset_mvcle) Rename to __memset_mvcle.
25055         (memset): Set alias to __memset_z900.
25057 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
25059         [BZ #17748]
25060         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
25061         __fesetenv instead of fesetenv.
25063 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25065         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
25066         macro.
25068 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25070         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
25071         regression on LE.
25073         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
25074         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
25075         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25076         strncmp-power8 object.
25077         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25078         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
25079         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
25080         * NEWS: Update.
25082 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25083             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25085         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
25086         trailing byte check.
25088 2015-01-13  David S. Miller  <davem@davemloft.net>
25090         * include/signal.h (__sigreturn): Guard with __USE_MISC.
25092 2015-01-13  Roland McGrath  <roland@hack.frob.com>
25094         * login/logout.c (logout): Use memset rather than bzero.
25095         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
25096         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
25097         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
25098         (_gethtbyaddr): Likewise.
25099         * locale/programs/simple-hash.c (bcopy): Macro removed.
25101 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25103         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25104         Add strcmp-power8 object.
25105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25106         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
25107         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
25108         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
25109         __strcmp_power8 implementation.
25110         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
25111         * NEWS: Update.
25113         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25114         Add strncpy-power8 and stpncpy-power8 objects.
25115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25116         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
25117         implementations.
25118         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
25119         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
25120         __stpncpy_power8 implementation.
25121         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
25122         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
25123         __strncpy_power8 implementation.
25124         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
25125         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
25126         * NEWS: Update.
25128         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
25129         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
25130         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
25132         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25133         strncat-power8 object.
25134         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
25135         __strcat_power8 implementation.
25136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25137         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
25138         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
25139         optimized strcat for power8.
25141         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25142         strcpy-power8 and stpcpy-power8 objects.
25143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25144         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
25145         implementations.
25146         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
25147         multiarch stpcpy implementation for POWER8.
25148         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
25149         multiarch strcpy implementation for POWER8.
25150         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
25151         __strcpy_power8 function.
25152         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
25153         stpcpy for POWER8.
25154         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
25155         strcpy for POWER8.
25156         * NEWS: Update.
25158 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
25160         [BZ #16009]
25161         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
25162         weights and rules. Use do_xfrm_cached if data fits in cache,
25163         do_xfrm otherwise.  Moved former main loop to...
25164         * (do_xfrm_cached): New function.
25165         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
25166         find_idx, find_position and stack_push.
25167         * (find_idx): New function.
25168         * (find_position): Likewise.
25169         * localedata/sort-test.sh: Added test run for do_xfrm.
25170         * localedata/xfrm-test.c (main): Added command line option
25171         -nocache to run the test with strings that are too large for
25172         the STRXFRM cache.
25174 2015-01-13  Torvald Riegel  <triegel@redhat.com>
25176         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
25177         variable to lll_futex_wake call, not the value itself.
25179 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
25181         [BZ #17803]
25182         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
25183         twom64.  Adjust value to 0x1p-64L.
25184         (__scalblnl): Only return standard underflowing result for K <=
25185         -64 not K <= -63; adjust exponent for underflowing result by 64
25186         not 63.
25187         * math/libm-test.inc (scalbn_test_data): Add more tests.
25188         (scalbln_test_data): Likewise.
25190         [BZ #17834]
25191         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
25192         0x1p63L.
25193         (__scalblnl): Get new exponent of adjusted subnormal value from ES
25194         not HX.
25195         * math/libm-test.inc (scalbn_test_data): Add more tests.
25196         (scalbln_test_data): Likewise.
25198 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25199             Stefani Seibold  <stefani@seibold.net>
25201         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
25202         (sysdep_routines): Add dl-vdso here, ...
25203         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
25204         (sysdep_routines): ... not here.
25205         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
25206         fallback when vDSO is not presented.
25207         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25208         Define with libc_hidden_proto/libc_hidden_data_def definitions.
25209         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
25210         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
25211         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
25212         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
25213         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
25214         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
25215         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
25216         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
25217         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
25218         fallback configurable symbol when vDSO is not available.
25219         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
25220         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
25221         be able to redefine fallback symbol when vDSO is not available.
25222         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
25223         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
25225 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25227         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
25228         (TLS_INIT_TP): Add tm_capable initialization.
25229         (TLS_DEFINE_INIT_TP): Likewise.
25230         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
25231         TCB.
25232         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
25233         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
25234         calculation.
25235         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
25236         transactoion is lock elision is built and TCB tm_capable is set.
25237         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
25238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25239         (INTERNAL_SYSCALL_NCS): Likewise.
25240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25241         (INTERNAL_SYSCALL_NCS): Likewise.
25242         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
25244         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
25245         for powerpc.
25246         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25247         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
25248         and remove it for 32 bits case.
25249         [pthread_rwlock_t] (__rwelision): New field for lock elision.
25250         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
25251         initialization.
25252         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
25253         Disable lock elision with rdlocks if elision is not available.
25255         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
25256         (sysdep_routines): Add lock elision objects.
25257         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25258         [pthread_mutex_t] (__spins): Rework to add lock elision field.
25259         [pthread_mutex_t] (__elision): Add field.
25260         [__PTHREAD_SPINS]: Adjust to init lock elision field.
25261         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
25262         elision definitions for powerpc.
25263         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
25264         implementation of lock elision for powerpc.
25265         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
25266         implementation of timed lock elision for powerpc.
25267         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
25268         implementation of trylock with lock elision for powerpc.
25269         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
25270         implementaion of unlock for lock elision for powerpc.
25271         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
25272         automatic enable lock elision for mutexes.
25273         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
25274         transaction execution definitions for powerpc.
25275         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
25276         definitions.
25277         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
25278         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
25279         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
25280         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
25281         * NEWS: Update.
25283 2015-01-09  Roland McGrath  <roland@hack.frob.com>
25285         * sysdeps/posix/shm-directory.c: Use <> rather than ""
25286         for #include of <shm-directory.h>.
25288 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
25290         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
25291         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
25293 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
25295         [BZ #17791]
25296         * NEWS: Mention bug fix.
25297         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
25298         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
25299         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
25301 2015-01-09  Torvald Riegel <triegel@redhat.com>
25303         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
25305 2015-01-09  Torvald Riegel <triegel@redhat.com>
25307         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
25309 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25311         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
25312         pointer and cast to uintptr_t.
25314 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25316         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
25317         removed.
25318         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
25320 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25322         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
25323         of 0.
25325 2015-01-08  Roland McGrath  <roland@hack.frob.com>
25327         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
25328         <nptl/pthreadP.h> instead.
25329         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
25331         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
25332         already defined.
25333         [__SIGRTMIN] (init): Function removed.
25334         [__SIGRTMIN] (initialized): Variable removed.
25335         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
25336         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
25337         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
25338         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
25339         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
25340         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
25341         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
25342         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
25343         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
25344         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
25345         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
25346         * sysdeps/nptl/allocrtsig.c: New file.
25347         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
25348         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
25349         * sysdeps/generic/testrtsig.h: File removed.
25351         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
25352         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
25354         * nptl/nptl-init.c (pthread_functions): Conditionalize
25355         .ptr__nptl_setxid initialization on [SIGSETXID].
25357         * sysdeps/nptl/sys/procfs.h: New file.
25358         * nptl_db/Makefile (headers): Add it.
25359         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
25361         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
25362         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
25363         * nptl/pthread_attr_setaffinity.c: Include it.
25364         * nptl/pthread_setattr_default_np.c: Likewise.
25365         * nptl/check-cpuset.h: New file.
25367 2015-01-08  Richard Henderson  <rth@redhat.com>
25369         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
25370         (CFLAGS-tst-execstack-prog.c): Likewise.
25371         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
25373 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
25374             Sandra Loosemore  <sandra@codesourcery.com>
25375             Andrew Jenner  <andrew@codesourcery.com>
25376             Joseph Myers  <joseph@codesourcery.com>
25377             Nathan Sidwell  <nathan@codesourcery.com>
25379         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
25380         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
25381         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
25382         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
25383         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
25384         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
25385         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
25386         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
25387         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
25388         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
25389         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
25390         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
25391         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
25392         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
25393         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
25394         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
25395         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
25397 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25399         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
25400         timespec struct member in syscall macro.
25401         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25402         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
25403         first timeval struct member in syscall macro.
25404         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
25406 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
25408         [BZ #17748]
25409         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
25410         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
25411         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
25412         __feupdateenv and define as weak alias of __feupdateenv.  Use
25413         libm_hidden_weak.
25414         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
25415         libm_hidden_def.
25416         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
25417         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
25418         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25419         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
25420         libm_hidden_def.
25421         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
25422         __feupdateenv and define as weak alias of __feupdateenv.  Use
25423         libm_hidden_weak.
25424         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
25425         libm_hidden_def.
25426         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
25427         __feupdateenv and define as weak alias of __feupdateenv.  Use
25428         libm_hidden_weak.
25429         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
25430         libm_hidden_def.
25431         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25432         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25433         (__feupdateenv): Likewise.
25434         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
25435         __feupdateenv and define as weak alias of __feupdateenv.  Use
25436         libm_hidden_weak.
25437         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25438         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
25439         libm_hidden_def.
25440         * sysdeps/tile/math_private.h (__feupdateenv): New inline
25441         function.
25442         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
25443         libm_hidden_def.
25444         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
25445         __feupdateenv instead of feupdateenv.
25446         (default_libc_feupdateenv_test): Likewise.
25447         (libc_feresetround_ctx): Likewise.
25449 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25451         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
25452         prototype.
25454 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
25456         * posix/regcomp.c (parse_bracket_exp): Initialize type to
25457         COLL_SYM in a couple of places to avoid uninitialized variable
25458         wanings on tilegx gcc 4.8.2.
25460 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25462         * sysdeps/aarch64/strcpy.S: New file.
25463         * sysdeps/aarch64/stpcpy.S: New file.
25464         * NEWS: Updated.
25466 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25468         * sysdeps/aarch64/strrchr.S: New file.
25469         * NEWS: Updated.
25471 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
25473         [BZ #17658]
25474         * stdlib/setenv.c: Fix memory leak when setting large,
25475         duplicate string.
25477 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
25479         [BZ #17273]
25480         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
25481         and tabs from buffer before parsing fstab entry.
25482         * misc/tst-mntent.c (main): Add test for mount entry with
25483         trailing spaces and tabs.
25485 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
25487         [BZ #17748]
25488         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
25489         * math/fesetround.c (fesetround): Rename to __fesetround and
25490         define as weak alias of __fesetround.  Use libm_hidden_weak.
25491         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
25492         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
25493         * sysdeps/arm/fesetround.c (fesetround): Likewise.
25494         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
25495         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
25496         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
25497         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
25498         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
25499         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
25500         __fesetround_inline.
25501         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
25502         __fesetround_inline instead of __fesetround.
25503         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
25504         __fesetround and define as weak alias of __fesetround.  Use
25505         libm_hidden_weak.  Call __fesetround_inline instead of
25506         __fesetround.
25507         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
25508         __fesetround and define as weak alias of __fesetround.  Use
25509         libm_hidden_weak.
25510         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
25511         Likewise.
25512         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
25513         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25514         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
25515         * sysdeps/tile/math_private.h (__fesetround): New inline function.
25516         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
25517         __fesetround and define as weak alias of __fesetround.  Use
25518         libm_hidden_weak.
25519         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
25520         __fesetround instead of fesetround.
25521         (default_libc_feholdexcept_setround): Likewise.
25522         (libc_feholdsetround_ctx): Likewise.
25523         (libc_feholdsetround_noex_ctx): Likewise.
25525         [BZ #17748]
25526         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
25527         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
25528         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25529         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25530         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25531         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
25532         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25533         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25534         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25535         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25536         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25537         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25538         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25539         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25540         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
25541         libm_hidden_def.
25542         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
25543         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
25544         Likewise.
25545         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25546         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25547         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
25548         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25549         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
25550         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25551         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25552         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
25553         __fesetenv instead of fesetenv.
25554         (libc_feresetround_noex_ctx): Likewise.
25555         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25556         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25557         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
25558         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25559         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25560         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25561         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25562         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25563         (__feupdateenv): Likewise.
25564         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25565         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25566         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25567         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
25569 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25571         [BZ #17806]
25572         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
25573         addresses have been freed.
25575 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25577         * resolv/res_init.c (__res_vinit): Improve comments about nserv
25578         and nservall.
25580 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
25582         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
25583         Clean up check_pf allocation pattern. addresses
25585 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25587         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
25588         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
25589         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
25590         * nptl/pthread_exit.c (__pthread_exit): Likewise.
25591         * nptl/pthread_join.c (pthread_join): Likewise.
25592         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
25593         * sysdeps/posix/waitid.c (__waitid): Likewise.
25594         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25595         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25596         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25597         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25598         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25599         Likewise.
25600         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25601         (__libc_pread64): Likewise.
25602         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25603         (__libc_pwrite): Likewise.
25604         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25605         (__libc_pwrite64): Likewsie.
25606         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25607         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25608         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25609         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25610         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25611         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25612         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25614         Likewise.
25615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25616         (__libc_pread64): Likewise.
25617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
25618         Likewise.
25619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25620         (__libc_pwrite64): Likewise.
25621         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25622         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25623         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
25624         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
25625         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25626         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25627         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
25628         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25629         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25630         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25631         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
25632         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25633         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25634         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
25635         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25636         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25637         Likewise.
25639 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25641         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
25642         (CFLAGS-test-double.c): Likewise.
25643         (CFLAGS-test-ldouble.c): Likewise.
25644         (CPPFLAGS-test-ifloat.c): Likewise.
25645         (CPPFLAGS-test-idouble.c): Likewise.
25646         (CPPFLAGS-test-ildoubl.c): Likewise.
25647         (CFLAGS-test-test-fenv.c): Remove variable.
25648         (CFLAGS-test-misc.c): Likewise.
25650 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
25652         [BZ #17797]
25653         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
25654         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
25655         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
25656         CLOCKS_PER_SEC == 1000000.
25657         * time/clocktest.c (main): Replace %ld with %jd and cast to
25658         intmax_t.
25660 2015-01-05  Roland McGrath  <roland@hack.frob.com>
25662         * sysdeps/generic/unwind-resume.h: New file.
25663         * sysdeps/gnu/unwind-resume.c: Include it.
25664         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
25665         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
25666         argument list.
25667         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
25668         global rather than static.
25669         (_Unwind_Resume): Update user.
25670         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
25671         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
25672         rather than static.  Add __attribute__ ((cold)).
25673         (_Unwind_Resume, __gcc_personality_v0): Update callers.
25674         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
25675         * sysdeps/arm/arm-unwind-resume.S: New file.
25676         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
25677         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
25678         * sysdeps/arm/Makefile [$(subdir) = csu]
25679         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
25680         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25681         Add rt-arm-unwind-resume.
25682         [$(subdir) = nptl]
25683         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25684         Add pt-arm-unwind-resume.
25685         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
25686         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
25688 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25690         [BZ #17748]
25691         * include/fenv.h (__feholdexcept): Declare.  Use
25692         libm_hidden_proto.
25693         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
25694         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
25695         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25696         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
25697         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
25698         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
25699         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
25700         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25701         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
25702         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
25703         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25704         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
25705         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
25706         (feholdexcept): Likewise.
25707         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25708         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25709         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25710         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25711         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
25712         __feholdexcept instead of feholdexcept.
25713         (default_libc_feholdexcept_setround): Likewise.
25715 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25717         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
25718         to avoid using stl/str to align destination.
25720 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25722         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
25724 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25726         [BZ #17796]
25727         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
25728         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
25729         Define as weak alias not strong alias.
25731 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25733         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
25734         bltzal with addiupc.
25735         (RTLD_START): Ditto.
25737 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
25739         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
25740         for __vdso_* functions in declarations.
25741         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
25742         definitions.
25743         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
25744         INTERNAL_VSYSCALL): Use struct return types to check for error.
25746         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
25747         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
25748         function with cast from llround().
25749         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
25750         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25751         Define.
25753 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25755         [BZ #17793]
25756         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
25757         Define as weak alias not strong alias.
25759         [BZ #17635]
25760         * ctype/ctype-c99.c: New file.  isblank implementation moved from
25761         ...
25762         * ctype/ctype-extn.c: ... here.
25763         (__isblank_l): Move to ...
25764         * ctype/ctype-c99_l.c: ... here.  New file.
25765         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
25766         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
25767         Remove variable.
25768         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25769         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25770         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25771         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25772         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25774         [BZ #17777]
25775         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
25776         (posix_fadvise64): Define as weak alias not strong alias.
25777         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25778         (posix_fallocate64): Likewise.
25779         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
25780         Remove variable.
25781         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25782         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25783         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25784         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25785         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25787 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
25789         [BZ #16191]
25790         * NEWS: Mention bug fix.
25791         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
25792         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
25793         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
25794         (HOST_STACK_END_ADDR): Likewise.
25796 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25798         [BZ #17748]
25799         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
25800         * math/fegetround.c (fegetround): Rename to __fegetround and
25801         define as weak alias of __fegetround.  Use libm_hidden_weak.
25802         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
25803         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
25804         * sysdeps/arm/fegetround.c (fegetround): Likewise.
25805         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
25806         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25807         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
25808         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
25809         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
25810         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25811         Undefine after rather than before function definition; use
25812         parentheses around function name in definition.
25813         (__fegetround): Also undefine macro after function definition.
25814         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
25815         __fegetround and define as weak alias of __fegetround.  Use
25816         libm_hidden_weak.  Do not undefine as macro.
25817         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25818         Likewise.
25819         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
25820         __fegetround and define as weak alias of __fegetround.  Use
25821         libm_hidden_weak.
25822         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25823         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25824         * sysdeps/tile/math_private.h (__fegetround): New inline function.
25825         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
25826         __fegetround and define as weak alias of __fegetround.  Use
25827         libm_hidden_weak.
25828         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
25829         __fegetround instead of fegetround.
25831         [BZ #17782]
25832         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
25833         Condition macro definition on [__USE_MISC].
25835         [BZ #17781]
25836         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
25837         (struct sigaction): Change type of sa_flags field to int.
25839         [BZ #17780]
25840         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
25841         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
25842         __glibc_reserved0.
25844         * nptl/version.c (banner): Use single year in copyright notice.
25846         * NEWS: Update copyright dates.
25847         * catgets/gencat.c (print_version): Likewise.
25848         * csu/version.c (banner): Likewise.
25849         * debug/catchsegv.sh: Likewise.
25850         * debug/pcprofiledump.c (print_version): Likewise.
25851         * debug/xtrace.sh (do_version): Likewise.
25852         * elf/ldconfig.c (print_version): Likewise.
25853         * elf/ldd.bash.in: Likewise.
25854         * elf/pldd.c (print_version): Likewise.
25855         * elf/sotruss.sh: Likewise.
25856         * elf/sprof.c (print_version): Likewise.
25857         * iconv/iconv_prog.c (print_version): Likewise.
25858         * iconv/iconvconfig.c (print_version): Likewise.
25859         * locale/programs/locale.c (print_version): Likewise.
25860         * locale/programs/localedef.c (print_version): Likewise.
25861         * login/programs/pt_chown.c (print_version): Likewise.
25862         * malloc/memusage.sh (do_version): Likewise.
25863         * malloc/memusagestat.c (print_version): Likewise.
25864         * malloc/mtrace.pl: Likewise.
25865         * manual/libc.texinfo: Likewise.
25866         * nptl/version.c (banner): Likewise.
25867         * nscd/nscd.c (print_version): Likewise.
25868         * nss/getent.c (print_version): Likewise.
25869         * nss/makedb.c (print_version): Likewise.
25870         * posix/getconf.c (main): Likewise.
25871         * scripts/test-installation.pl: Likewise.
25872         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25874 2015-01-02  Will Newton  <will.newton@linaro.org>
25876         * sysdeps/arm/armv7/configure: Removed.
25877         * sysdeps/arm/armv7/configure.ac: Likewise.
25879 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25881         * All files with FSF copyright notices: Update copyright dates
25882         using scripts/update-copyrights.
25883         * intl/plural.c: Regenerated.
25884         * locale/programs/charmap-kw.h: Likewise.
25885         * locale/programs/locfile-kw.h: Likewise.
25887 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25889         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
25891 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25893         [BZ #17748]
25894         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
25895         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
25896         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25897         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25898         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25899         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
25900         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25901         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
25902         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25903         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25904         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25905         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25906         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25907         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25908         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
25909         libm_hidden_def.
25910         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
25911         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
25912         Likewise.
25913         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25914         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25915         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25916         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25917         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
25918         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25919         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25920         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
25921         __fegetenv instead of fegetenv.
25922         (libc_feholdsetround_noex_ctx): Likewise.
25924 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25926         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
25927         (Elf_MIPS_ABIFlags_v0): New structure.
25928         (EF_MIPS_FP64): Define.
25929         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
25930         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
25931         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
25932         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
25933         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
25934         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
25935         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
25936         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
25937         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
25938         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
25939         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
25940         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
25941         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
25942         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
25943         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
25944         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
25945         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
25946         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
25947         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
25948         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
25949         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
25950         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
25951         field.
25952         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
25953         EF_MIPS_FP64.
25954         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
25955         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
25956         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
25957         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
25958         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
25959         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
25960         * sysdeps/mips/tst-abi-interlink.c: Likewise.
25961         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
25962         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
25963         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
25964         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
25965         record the current FP ABI extension.
25966         (mips-mode-switch): Define to show if kernel headers support mode
25967         switching.
25968         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25969         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
25970         supported SYSV ABI version to 3.
25971         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
25972         feature.
25974 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25975             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25977         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
25978         path.
25979         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
25981 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25983         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
25984         __fegetround and redefine to call __fegetround.  Remove condition
25985         on [!__NO_MATH_INLINES].
25986         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
25987         function.
25988         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
25989         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25990         Remove macro.
25991         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
25992         instead of <fenv_libc.h>.
25993         (__llrintl): Call fegetround instead of __fegetround.
25994         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
25995         instead of <fenv_libc.h>.
25996         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25997         (__lrintl): Call fegetround instead of __fegetround.
25998         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
25999         instead of <fenv_libc.h>.
26000         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26001         (__rintl): Call fegetround instead of __fegetround.
26003 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26005         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
26006         arrays.
26008 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26010         [BZ #17775]
26011         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
26012         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
26013         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
26015 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26017         * sysdeps/i386/tls-macros.h: Include <features.h>.
26018         (TLS_LE): Use non-PIC version for GCC >= 5.0.
26019         (TLS_IE): Likewise.
26020         (TLS_LD): Likewise.
26021         (TLS_GD): Likewise.
26022         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
26023         define for GCC >= 5.0.
26025 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
26027         * math/test-fenv.c (test_single_exception, set_single_exc,
26028         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
26029         feexcp_mask_test, feenable_test, fe_single_test): Add
26030         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
26031         case where they are not used.
26032         * math/libm-test.inc: Likewise.
26033         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
26034         unused in the absence of FP rounding/exception support.
26035         * stdio-common/tst-printf-round.c: Likewise.
26036         * stdlib/tst-strtod-round.c: Likewise.
26037         * stdlib/tst-strtod-underflow.c: Likewise.
26039 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
26041         [BZ #17723]
26042         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
26043         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
26044         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26045         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26046         libm_hidden_weak.
26047         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
26048         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26049         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
26050         libm_hidden_def.
26051         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26052         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26053         libm_hidden_weak.
26054         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
26055         Likewise.
26056         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
26057         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26058         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26059         libm_hidden_weak.
26060         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26061         libm_hidden_def.
26062         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26063         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
26064         (__feraiseexcept): Likewise.
26065         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26066         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26067         libm_hidden_weak.
26068         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26069         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26070         libm_hidden_def.
26071         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
26072         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
26073         Use libm_hidden_def.
26074         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
26075         libm_hidden_def.
26076         (feraiseexcept): Define as weak not strong alias.  Use
26077         libm_hidden_weak.
26078         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
26079         New inline function.  Factored out of ...
26080         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
26081         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
26082         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
26083         feraiseexcept.
26084         * math/w_acos.c (__acos): Likewise.
26085         * math/w_asin.c (__asin): Likewise.
26086         * math/w_ilogb.c (__ilogb): Likewise.
26087         * math/w_j0.c (y0): Likewise.
26088         * math/w_j1.c (y1): Likewise.
26089         * math/w_jn.c (yn): Likewise.
26090         * math/w_log.c (__log): Likewise.
26091         * math/w_log10.c (__log10): Likewise.
26092         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
26093         * sysdeps/aarch64/fpu/math_private.h
26094         (libc_feupdateenv_test_aarch64): Likewise.
26095         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26096         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
26097         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
26098         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26099         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26100         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26101         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
26102         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26103         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26104         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26106 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26108         [BZ #17732]
26109         * io/test-utime.c (main): Replace %ld with %jd and cast to
26110         intmax_t.
26111         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
26112         * nptl/tst-mutex5.c: Include <stdint.h>.
26113         (do_test): Replace %ld with %jd and cast to intmax_t.
26114         * posix/tst-regex.c (run_test): Likewise.
26115         (run_test_backwards): Likewise.
26116         * rt/tst-clock.c: Include <stdint.h>.
26117         (clock_test): Replace %ld with %jd and cast to intmax_t.
26118         * rt/tst-cpuclock1.c: Include <stdint.h>.
26119         (do_test): Replace %lu with %ju and cast to uintmax_t.
26120         * rt/tst-cpuclock2.c: Include <stdint.h>.
26121         (do_test): Replace %lu with %ju and cast to uintmax_t.
26122         * rt/tst-mqueue1.c: Include <stdint.h>.
26123         (check_attrs): Replace %ld with %jd and cast to intmax_t.
26124         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
26125         intmax_t.
26126         * rt/tst-mqueue4.c (do_test): Likewise.
26127         * rt/tst-timer4.c: Include <stdint.h>.
26128         (check_ts): Replace %ld with %jd and cast to intmax_t.
26129         (do_test): Likewise.
26130         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
26131         and cast to intmax_t.
26132         * sysdeps/pthread/tst-timer.c (main): Likewise.
26133         * time/clocktest.c (main): Likewise.
26134         * time/tst-posixtz.c (do_test): Likewise.
26135         * timezone/tst-timezone.c (main): Likewise.
26137 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26138             H.J. Lu  <hongjiu.lu@intel.com>
26140         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
26141         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
26142         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
26143         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
26144         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
26145         version if bit_Fast_Unaligned_Load is set.
26146         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26147         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26148         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26149         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26150         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26151         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26152         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26153         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
26154         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
26155         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
26156         to 4.
26157         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
26158         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
26159         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
26160         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
26162 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
26164         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
26165         instead of #if to avoid a Wundef warning.
26166         * stdlib/tst-limits.c (do_test): Likewise.
26168         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
26169         parallel other exception macros.
26170         (fegetenv): Convert from macro to extern inline so that it applies
26171         retroactively to inline functions already seen by the compiler.
26172         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
26174         * posix/Makefile (before-compile): Use $(objpfx) for
26175         posix-conf-vars-def.h.
26177 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26179         * posix/getconf.c (main): Use size_t for type of I.
26180         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
26181         NSPEC.
26183         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
26184         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
26185         * posix/posix-envs.def: Likewise.
26186         * sysdeps/posix/sysconf.c: Likewise.
26187         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
26188         (specs): Remove array.
26189         * scripts/gen-posix-conf-vars.awk: Support generation of specs
26190         array.
26192         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
26193         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
26194         (__sysconf): Use CONF_IS_* macros.
26196         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
26197         ($(objpfx)posix-conf-vars-def.h): New target.
26198         * posix/posix-conf-vars.list: New file.
26199         * posix/posix-conf-vars.h: New file.
26200         * posix/confstr.c: Include posix-conf-vars.h.
26201         (confstr): Use CONF_IS_* macros.
26202         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
26203         CONF_IS_* macros.
26204         * scripts/gen-posix-conf-vars.awk: New file.
26206 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
26208         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
26209         fegetround): Add no-op macros to avoid linknamespace issues.
26211         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
26212         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
26214         * sysdeps/unix/sysv/linux/tile/sysdep.h
26215         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
26216         assembly-specific section to avoid a redefinition warning.
26218         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
26219         long before casting to pointer to avoid a cast warning.
26221 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
26223         * sysdeps/tile/tilegx/Implies: New file.
26225 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
26227         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
26229 2014-12-23  Florian Weimer  <fweimer@redhat.com>
26231         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
26233 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26235         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
26236         not define.
26237         * sysdeps/unix/sysv/linux/utimes.c: Do not include
26238         <kernel-features.h>.
26239         (__utimes) [__NR_utimes]: Make code unconditional.
26240         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
26241         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26242         (__ASSUME_UTIMES): Do not undefine.
26243         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26244         (__ASSUME_UTIMES): Likewise.
26245         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26246         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
26247         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
26248         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
26250 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26252         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
26254 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
26256         [BZ #17747]
26257         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
26258         alias to weak alias for j0l, y0l.
26259         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
26260         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
26262         [BZ #17746]
26263         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
26264         conversion.
26266 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26268         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
26269         to zero if not already defined.
26271 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26273         [BZ #17724]
26274         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
26275         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
26276         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
26277         (char *) casts added.
26278         * sysdeps/ieee754/k_standardf.c: New file.
26279         * sysdeps/ieee754/k_standardl.c: Likewise.
26280         * math/Makefile (libm-support): Remove k_standard.
26281         (libm-calls): Add k_standard.
26283 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26285         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26286         Optimize to avoid an unnecessary FPCR read.
26288 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26290         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26291         Optimize to reduce FPCR/FPSR accesses.
26293 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26295         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
26296         Call libc_fetestexcept_aarch64.
26298 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26300         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
26301         Call libc_fesetround_aarch64.
26303 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26305         [BZ #17733]
26306         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
26307         (__bind): Do not define as weak alias.
26308         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
26309         define.
26310         (__getsockname): Do not define as weak alias.
26312 2014-12-22  Will Newton  <will.newton@linaro.org>
26314         * manual/install.texi: Document that we require bison 2.7
26315         or above.
26316         * INSTALL: Regenerate.
26317         * configure.ac: Use AC_CHECK_PROG_VER instead of
26318         AC_PATH_PROG when checking for bison and check for
26319         version 2.7 or above.
26320         * configure: Regenerate.
26322 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
26324         [BZ #17745]
26325         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
26326         * sysdeps/tile/ffsll.c (ffsll): To here.
26328         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
26330 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26332         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
26333         if not defined.
26334         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
26335         definition.
26336         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26337         hidden ___tls_get_addr.
26338         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26339         hidden __tls_get_addr.
26340         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
26341         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
26342         Likewise.
26344 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
26346         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
26347         _dl_init call.
26349 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26351         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
26352         from "call _dl_init@PLT".
26353         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
26355 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
26357         * manual/search.texi: (Array Sort Function): Clarify stable sorting
26358         guarantees.
26360 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
26362         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
26364 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26366         [BZ #17744]
26367         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
26368         strnlen.
26370 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26372         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
26373         of multu on MIPSr6.
26374         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
26375         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
26376         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
26377         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
26378         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
26380 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26382         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
26383         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
26384         (PTR_SUBU): Use subu for mips32r6/mips64r6.
26385         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
26386         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
26387         mips32r6/mips64r6.
26388         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
26390 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
26392         * string/strncat.c (STRNCAT): Simplify implementation.
26394 2014-12-19  David S. Miller  <davem@davemloft.net>
26396         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
26397         access the quad as both a long double and as a series of 4 words.
26399         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
26400         link_map->l_info array access.
26402 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26404         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
26406         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
26407         * math/atest-exp2.c (TIMEOUT): Likewise.
26408         * math/atest-sincos.c (TIMEOUT): Likewise.
26410 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26412         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
26413         -Wno-error with -fno-builtin-lround.
26415 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26417         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
26418         Contains futex constants and functions moved over from ...
26419         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
26420         <lowlevellock-futex.h>.
26421         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26422         (lll_timedwait_tid): Add comments and parentheses around macro
26423         arguments.
26425 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26427         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
26428         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
26429         (__lll_private_flag): Remove.
26430         (lll_futex_wait): Likewise.
26431         (lll_futex_timed_wait): Likewise.
26432         (lll_futex_wake): Likewise.
26433         (lll_futex_requeue): Likewise.
26434         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26435         (__lll_timedwait_tid): Spell out argument names.
26436         (lll_timedwait_tid): Add comments and parentheses around macro
26437         arguments.
26438         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
26439         LLL_SHARED and LLL_PRIVATE usable from assembly code.
26441 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26443         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
26444         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26445         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26446         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
26447         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
26448         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
26449         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
26450         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
26451         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
26452         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
26453         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
26454         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
26455         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
26456         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
26457         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
26458         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
26459         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
26460         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
26461         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
26463 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26465         * sysdeps/x86_64/x32/Makefile: New file.
26467 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26469         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
26470         1L with (mp_limb_t) 1.
26472 2014-12-17  Roland McGrath  <roland@hack.frob.com>
26474         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
26475         * nptl/libc_pthread_init.c: ... here.
26476         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
26477         * nptl/register-atfork.c: ... here.
26479         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
26480         Use pthread_sigmask rather than INTERNAL_SYSCALL.
26481         Use assert_perror to check its return value.
26482         (__gai_create_helper_thread): Likewise.
26484         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
26486         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
26488 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
26490         [BZ #17725]
26491         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
26492         __profil_counter.
26493         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
26494         Likewise.
26495         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
26496         Likewise.
26497         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
26498         Likewise.
26499         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
26500         (profil_counter): Likewise.
26501         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
26502         (profil_counter): Likewise.
26503         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
26504         Likewise.
26505         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
26506         Likewise.
26507         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
26508         (profil_counter): Likewise.
26509         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
26510         Likewise.
26511         [!__profil_counter] (profil_counter): Define as weak alias of
26512         __profil_counter.
26513         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
26514         (profil_counter): Rename to __profil_counter.
26515         [!__profil_counter] (profil_counter): Define as weak alias of
26516         __profil_counter.
26517         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
26518         (profil_counter): Rename to __profil_counter.
26519         [!__profil_counter] (profil_counter): Define as weak alias of
26520         __profil_counter.
26521         * sysdeps/posix/profil.c: Update comment referring to
26522         profil_counter.
26523         (__profil): Use __profil_counter instead of profil_counter.
26524         * sysdeps/posix/sprofil.c (profil_counter): Rename to
26525         __profil_counter.  Use __profil_counter_ushort and
26526         __profil_counter_uint in definitions.
26527         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
26528         instead of profil_counter_uint and profil_counter_ushort.
26530         [BZ #17722]
26531         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
26532         define as weak alias of __inet_makeaddr.
26533         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
26534         as weak alias of __inet_addr.
26535         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
26536         as weak alias of __inet_pton.  Use libc_hidden_weak.
26537         * include/arpa/inet.h (__inet_pton): Declare.  Use
26538         libc_hidden_proto.
26539         (inet_makeaddr): Don't use libc_hidden_proto.
26540         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
26541         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
26542         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
26543         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
26544         Remove variable.
26545         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26546         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26548 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
26550         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
26552 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26554         * stdio-common/bug-vfprintf-nargs.c (do_test):
26555         Cast value to intptr_t to avoid format warning
26556         for usage with PRIdPTR printing macro.
26558 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26560         * libio/tst-widetext.c (do_test):
26561         Use format type %td instead of %Zd for ptrdiff_t
26562         in order to avoid format warning.
26564 2014-12-17  Andreas Schwab  <schwab@suse.de>
26566         * nscd/mem.c (gc): Add size_t cast to match printf format.
26568 2014-12-16  Roland McGrath  <roland@hack.frob.com>
26570         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
26571         (init): Apply PTR_MANGLE to pointers before storing them.
26572         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
26573         before using them.
26575 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
26577         [BZ #17719]
26578         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
26579         define as weak alias of __memrchr.
26580         (__memrchr): Do not define as strong alias of memrchr.
26581         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
26582         Remove variable.
26583         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26584         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26585         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26587         [BZ #17717]
26588         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
26589         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
26590         (if_indextoname): Rename to __if_indextoname and define as weak
26591         alias of __if_indextoname.  Use libc_hidden_weak.
26592         (if_freenameindex): Rename to __if_freenameindex and define as
26593         weak alias of __if_freenameindex.
26594         (if_nameindex): Rename to __if_nameindex and define as weak alias
26595         of __if_nameindex.
26596         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
26597         __if_nametoindex and define as weak alias of __if_nametoindex.
26598         Use libc_hidden_weak.
26599         (if_freenameindex): Rename to __if_freenameindex and define as
26600         weak alias of __if_freenameindex.
26601         (if_nameindex): Rename to __if_nameindex and define as weak alias
26602         of __if_nameindex.
26603         (if_indextoname): Rename to __if_indextoname and define as weak
26604         alias of __if_indextoname.  Use libc_hidden_weak.
26605         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
26606         __if_nametoindex and define as weak alias of __if_nametoindex.
26607         Use libc_hidden_weak.
26608         (if_freenameindex): Rename to __if_freenameindex and define as
26609         weak alias of __if_freenameindex.  Use libc_hidden_weak.
26610         (if_nameindex_netlink): Use __if_freenameindex instead of
26611         if_freenameindex.
26612         (if_nameindex): Rename to __if_nameindex and define as weak alias
26613         of __if_nameindex.  Use libc_hidden_weak.
26614         (if_indextoname): Rename to __if_indextoname and define as weak
26615         alias of __if_indextoname.  Use libc_hidden_weak.
26616         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
26617         libc_hidden_proto.
26618         [!_ISOMAC] (__if_freenameindex): Likewise.
26619         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
26620         if_nametoindex.
26621         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
26622         variable.
26623         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26624         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26625         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26626         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26627         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26628         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26629         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26631         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
26632         Remove variable.
26633         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26634         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26636 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26638         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
26639         subscript above bounds'
26641         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
26642         bounds.
26644 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
26646         * libio/tst-fopenloc.c: Use test-skeleton.c.
26648         * stdlib/tst-bsearch.c: Use test-skeleton.c.
26649         (entry): Rename to ITEM.
26650         (do_test, comp): Adjust.
26652         * stdio-common/tst-fseek.c: Use test-skeleton.c.
26654 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26656         * string/tester.c: Include <libc-internal.h>.
26657         (test_memset): Ignore -Wmemset-transposed-args.
26659 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26661         * misc/tst-mntent2.c (do_test): Fix warning.
26663 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26665         * elf/tst-unique4lib.cc(a): Mark as used.
26667 2014-12-16  Florian Weimer  <fweimer@redhat.com>
26669         [BZ #17630]
26670         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
26671         names.
26673 2014-12-16  Allan McRae  <allan@archlinux.org>
26675         * stdio-common/Makefile (tests): Re-add bug26.
26677 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
26679         [BZ #17657]
26680         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
26681         static array.
26683 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
26685         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
26686         (__lll_lock_wait): Likewise.
26687         (__lll_timedlock_wait): Likewise.
26688         (__lll_timedwait_tid): Likewise.
26689         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
26690         (__lll_robust_timedlock_wait): Likewise.
26691         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
26692         (lll_cond_trylock): Likewise.
26693         (__lll_lock): Likewise.
26694         (__lll_robust_lock): Likewise.
26695         (__lll_cond_lock): Likewise.
26696         (lll_robust_cond_lock): Likewise.
26697         (__lll_timedlock): Likewise.
26698         (__lll_robust_timedlock): Likewise.
26699         (__lll_unlock): Likewise.
26700         (__lll_robust_unlock): Likewise.
26701         (lll_wait_tid): Likewise.
26702         (lll_timedwait_tid): Likewise.
26704 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26706         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
26708 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26710         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
26712 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26714         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
26715         * stdio-common/tst-sprintf.c: Likewise.
26717 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26719         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
26721 2014-12-15  Jeff Law  <law@redhat.com>
26723         [BZ #16617]
26724         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
26725         on the heap.  (CVE-2012-3406)
26726         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
26727         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
26728         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
26730 2014-12-15  Will Newton  <will.newton@linaro.org>
26732         * manual/install.texi: Bump required version of texinfo
26733         to 4.7 from 4.5.
26734         * INSTALL: Regenerated.
26735         * configure.ac: Check for makeinfo version 4.7 and above.
26736         * configure: Regenerated.
26738 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26740         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
26741         PREFIX, string constant to insert between directory and name.
26742         * sysdeps/posix/shm_open.c: Update caller.
26743         * sysdeps/posix/shm_unlink.c: Likewise.
26744         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
26745         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
26746         (SEM_SHM_PREFIX): New macro.
26747         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
26748         [$(have-thread-library) = no].
26749         * nptl/Makefile (libpthread-routines): Add shm-directory.
26750         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
26751         * sysdeps/nptl/shm-directory.h: New file.
26752         * sysdeps/posix/shm-directory.c
26753         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
26754         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26755         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
26756         INTERNAL_SYSCALL.
26757         (__where_is_shmfs): Function removed.
26758         (mountpoint, defaultmount, defaultdir, __namedsem_once):
26759         Variables removed.
26760         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
26761         Use SHM_GET_NAME.
26762         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
26764         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
26765         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
26766         unconditional for use inside libpthread.
26767         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
26769 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26771         * nptl/pthread_getaffinity.c: New file.
26772         * nptl/pthread_setaffinity.c: New file.
26773         * nptl/pthread_getname.c: New file.
26774         * nptl/pthread_setname.c: New file.
26776         * nptl/pthread_create.c (START_THREAD_DEFN)
26777         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
26779 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26780             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26782         * resolv/res_send.c (send_vc): Disable warning resplen may
26783         be used uninitialized.
26785 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26787         * nptl/tst-mutex6.c
26788         (ATTR_NULL): New define checks ATTR against NULL.
26789         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
26790         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
26792 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
26794         [BZ #17581]
26795         * malloc/hooks.c
26796         (mem2mem_check): Revert my previous change.
26797         (malloc_check_get_size): Revert my previous change.
26798         (mem2chunk_check): Revert my previous change.
26800 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26802         * sysdeps/posix/shm-directory.c: New file.
26803         * sysdeps/posix/shm-directory.h: New file.
26804         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
26805         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
26806         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
26807         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
26808         Transmute EPERM to EACCES.
26809         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
26810         from ...
26811         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
26812         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
26814 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26816         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
26817         pointer and cast to uintptr_t.
26818         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
26819         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
26820         Add cast to avoid warning.
26821         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
26823 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26825         * nptl/semaphore.h: Move to ...
26826         * sysdeps/pthread/semaphore.h: ... here.
26827         * Makefile (installed-headers): Change nptl/semaphore.h to
26828         sysdeps/pthread/semaphore.h.
26830 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26832         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
26833         generated error format strings.
26835         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
26836         -Wformat-extra-args warnings for scanf formats.
26837         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
26838         test of zero-length format (duh).
26839         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
26840         corner-case scanf format test.
26841         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
26842         generated fprintf format string.
26843         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
26844         corner-case sprintf format tests.
26845         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
26846         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
26847         -Wformat-extra-args warnings throughout.
26848         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
26849         (CFLAGS-scanf4.c): Likewise.
26850         (CFLAGS-scanf7.c): Likewise.
26851         (CFLAGS-tst-sprintf.c): Likewise.
26852         (CFLAGS-tst-printf.c): Likewise.
26853         (CFLAGS-tst-printfsz.c): Likewise.
26855 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26857         * include/cpio.h: New file.
26858         * include/fmtmsg.h: Likewise.
26860         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
26861         corresponding format argument to size_t.
26862         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
26863         arguments.
26864         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
26865         corresponding format argument to size_t.
26866         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
26867         arguments.
26868         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
26869         corresponding format argument to size_t.
26870         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
26871         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
26872         (CFLAGS-tst-mbswcs2.c): Likewise.
26873         (CFLAGS-tst-mbswcs3.c): Likewise.
26874         (CFLAGS-tst-mbswcs4.c): Likewise.
26875         (CFLAGS-tst-mbswcs5.c): Likewise.
26876         (CFLAGS-tst-trans.c): Likewise.
26878 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26880         * posix/regexbug1.c (main): Use "%s" format with regerror results,
26881         rather than assuming they won't contain any '%'s.
26883 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
26885         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
26886         inhibit_loop_to_libcall to avoid recursive calls.
26887         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
26888         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
26890 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26892         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
26893         prototype.
26895 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26897         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
26898         integer value instead of boolean.
26900 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26902         * malloc/malloc.c: Fix powerof2 check.
26904 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26906         * locale/programs/locfile.h (maybe_swap_uint32):
26907         Remove inline and add unused attribute.
26909 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26911         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26912         Truncating assembler expression to a .long expression.
26914 2014-12-11  Andreas Schwab  <schwab@suse.de>
26916         * elf/rtld.c (struct map_args): Constify str member.
26917         (do_preload): Constify fname argument.
26919 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26921         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
26922         constants definition.
26924 2014-12-11  Andreas Schwab  <schwab@suse.de>
26926         [BZ #16657]
26927         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
26928         FORCE_ELISION instead of DO_ELISION.
26929         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
26930         Remove.
26931         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
26932         Likewise.
26934         * iconvdata/gconv-modules: Remove duplicate entry.
26936 2014-12-11  Will Newton  <will.newton@linaro.org>
26938         Merge gettext 0.19.3 into intl/.
26940         This involves a number of cosmetic changes to comments
26941         and ANSI function definitions and prototypes throughout
26942         all the files. The gettext copyright header is used but
26943         with the date ranges taken from the glibc copy.
26945         * NEWS: Add gettext merge to 2.21.
26946         * intl/bindtextdom.c: Switch to gettext copyright.
26947         Use ANSI definitions and prototypes.
26948         Use gl_* locking primitives rather than __libc_* ones.
26949         Use __builtin_expect rather than __glibc_likely/unlikely.
26950         * intl/dcgettext.c: Switch to gettext copyright.
26951         Use ANSI definitions and prototypes.
26952         * intl/dcigettext.c: Switch to gettext copyright.
26953         Use ANSI definitions and prototypes.
26954         (INTDIV0_RAISES_SIGFPE): New define.
26955         Use gl_* locking primitives rather than __libc_* ones.
26956         Include eval-plural.h instead of plural-eval.c.
26957         Use __builtin_expect rather than __glibc_likely/unlikely.
26958         * intl/dcngettext.c: Switch to gettext copyright.
26959         Use ANSI definitions and prototypes.
26960         * intl/dgettext.c: Likewise.
26961         * intl/dngettext.c: Likewise.
26962         * intl/plural-eval.c: Renamed to...
26963         * intl/eval-plural.h: ...this.
26964         * intl/explodename.c: Switch to gettext copyright.
26965         Use ANSI definitions and prototypes.
26966         (_nl_explode_name): Use strchr instead of __rawmemchr.
26967         * intl/finddomain.c: Switch to gettext copyright.
26968         Use ANSI definitions and prototypes.
26969         Use gl_* locking primitives rather than __libc_* ones.
26970         (_nl_find_domain): Use malloc rather than alloca for
26971         allocation of temporary locale name.
26972         * intl/gettext.c: Switch to gettext copyright.
26973         Use ANSI definitions and prototypes.
26974         * intl/gettextP.h: Switch to gettext copyright.
26975         Use ANSI definitions and prototypes.
26976         Use gl_* locking primitives rather than __libc_* ones.
26977         * intl/gmo.h: Switch to gettext copyright.
26978         (struct sysdep_string): Move struct segment_pair outside of
26979         struct definition.
26980         * intl/hash-string.c: Use ANSI definitions and prototypes.
26981         * intl/hash-string.h: Switch to gettext copyright.
26982         Use ANSI definitions and prototypes.
26983         * intl/l10nflist.c: Switch to gettext copyright.
26984         Use ANSI definitions and prototypes.
26985         (_nl_normalize_codeset): Avoid integer overflow.
26986         * intl/loadinfo.h: Switch to gettext copyright.
26987         Use ANSI definitions and prototypes.
26988         (LIBINTL_DLL_EXPORTED): New define.
26989         (PATH_SEPARATOR): New define.
26990         * intl/loadmsgcat.c: Switch to gettext copyright.
26991         * intl/localealias.c: Switch to gettext copyright.
26992         Use ANSI definitions and prototypes.
26993         (_nl_expand_alias): Use PATH_SEPARATOR.
26994         * intl/ngettext.c: Switch to gettext copyright.
26995         Use ANSI definitions and prototypes.
26996         * intl/plural-exp.c: Likewise.
26997         * intl/plural-exp.h: Switch to gettext copyright.
26998         Use ANSI definitions and prototypes.
26999         (struct expression): Move definition of enum operator outside
27000         of struct definition.
27001         * intl/plural.c: Regenerate.
27002         * intl/plural.y: Switch to gettext copyright.
27003         Use ANSI definitions and prototypes.
27004         Port to bison 3.0.
27005         * intl/textdomain.c: Switch to gettext copyright.
27006         Use ANSI definitions and prototypes.
27007         Use gl_* locking primitives rather than __libc_* ones.
27009 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
27011         * debug/warning-nop.c: Add used atrribute.
27013 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27015         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
27017         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
27018         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
27019         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
27021 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27022             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27024         [BZ #17634]
27025         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
27026         Undefine after defining function.  Define as weak alias of
27027         __wcschr.  Use libc_hidden_weak.
27028         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
27029         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
27030         (libc_hidden_def): Also define __GI___wcschr alias.
27031         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
27032         __wcschr and define as weak alias of __wcschr.
27033         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
27034         __wcschr.
27035         [!WCSCHR] (DEFAULT_WCSCHR): Define.
27036         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
27037         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
27038         libc_hidden_weak.  Do not use libc_hidden_def.
27039         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
27040         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
27041         __GI___wcschr alias.
27042         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
27043         [IS_IN (libc)] (wcschr): Define as macro expanding to
27044         __redirect_wcschr.
27045         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
27046         [IS_IN (libc)] (__wcschr_power6): Likewise.
27047         [IS_IN (libc)] (__wcschr_power7): Likewise.
27048         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
27049         instead of wcschr.
27050         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
27051         __libc_wcschr.
27052         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
27053         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
27054         __wcschr and define as weak alias of __wcschr.  Use
27055         libc_hidden_builtin_def.
27056         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
27057         as weak alias of __wcschr.  Use libc_hidden_weak.
27058         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
27059         wcschr.
27060         * time/era.c (_nl_init_era_entries): Likewise.
27061         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
27062         variable.
27063         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27064         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27066 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27068         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
27069         format for long int variable.
27071 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
27073         [BZ #10672]
27074         * manual/search.texi: (Array Sort Function): Remove claim how to make
27075         qsort stable.
27077 2014-12-10  Andreas Schwab  <schwab@suse.de>
27079         [BZ #12847]
27080         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
27081         user-controlled locks.
27083 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
27085         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
27086         register.
27088 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27090         * configure.ac (--disable-werror): New configure option.
27091         (enable_werror): New AC_SUBST.
27092         * configure: Regenerated.
27093         * config.make.in (enable-werror): New variable.
27094         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
27095         -Wno-error=undef.
27096         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
27097         * manual/install.texi (Configuring and compiling): Document
27098         --disable-werror.
27099         * INSTALL: Regenerated.
27100         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
27101         (CFLAGS-tst-chk2.c): Likewise.
27102         (CFLAGS-tst-chk3.c): Likewise.
27103         (CFLAGS-tst-chk4.cc): Likewise.
27104         (CFLAGS-tst-chk5.cc): Likewise.
27105         (CFLAGS-tst-chk6.cc): Likewise.
27106         (CFLAGS-tst-lfschk1.c): Likewise.
27107         (CFLAGS-tst-lfschk2.c): Likewise.
27108         (CFLAGS-tst-lfschk3.c): Likewise.
27109         (CFLAGS-tst-lfschk4.cc): Likewise.
27110         (CFLAGS-tst-lfschk5.cc): Likewise.
27111         (CFLAGS-tst-lfschk6.cc): Likewise.
27113         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
27114         (main): Disable -Wdeprecated-declarations around calls to
27115         register_printf_function.
27117         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
27118         (do_test): Disable -Wdiv-by-zero around some calls to
27119         fwrite_unlocked and fread_unlocked.
27121         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
27122         (DIAG_POP_NEEDS_COMMENT): Likewise.
27123         (_DIAG_STR1): Likewise.
27124         (_DIAG_STR): Likewise.
27125         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
27126         * stdio-common/bug21.c: Include <libc-internal.h>.
27127         (do_test): Disable -Wformat around call to sscanf.
27128         * stdio-common/scanf14.c: Include <libc-internal.h>.
27129         (main): Disable -Wformat around some calls to scanf functions.
27131 2014-12-09  Torvald Riegel  <triegel@redhat.com>
27133         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
27135 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27137         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
27138         stack variable alignment.
27140 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
27142         [BZ #17682]
27143         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
27144         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
27145         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
27146         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
27147         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
27148         __getrlimit instead of getrlimit.
27149         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
27150         __gettimeofday instead of gettimeofday.
27151         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27152         Likewise.
27153         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27154         Likewise.
27155         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27156         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
27157         Remove variable.
27158         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27159         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27161 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27163         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
27164         for wide-character tests.
27166 2014-12-04  Roland McGrath  <roland@hack.frob.com>
27168         * io/openat64.c: #include <libc-internal.h>
27169         (__openat64): Prototypify.  Use ignore_value on MODE.
27170         * io/openat.c: Likewise.
27171         * misc/reboot.c: #include <libc-internal.h>
27172         (reboot): Prototypify.  Use ignore_value on HOWTO.
27173         * misc/ptrace.c: #include <libc-internal.h>
27174         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
27176 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
27178         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
27179         XPG4, UNIX98 and XOPEN2K.
27180         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
27181         Remove variable.
27182         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27184 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27186         * libio/fileops.c: Use ISO C style for function definitions.
27187         * libio/iofopen.c: Likewise.
27188         * libio/wfileops.c: Likewise.
27190         [BZ #17653]
27191         * libio/fileops.c (_IO_new_file_underflow): Unset cached
27192         offset on EOF.
27193         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
27194         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
27195         (fgets_func): Function pointer to fgets and fgetws.
27196         (do_ftell_test): Add test to verify ftell value after read
27197         EOF.
27198         (do_test): Set fgets_func.
27200         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
27201         O_TRUNC flag for w and w+ modes.
27202         (do_rewind_test): Likewise.
27203         (do_ftell_test): Likewise.
27204         (do_write_test): Likewise.
27206         [BZ #17647]
27207         * libio/fileops.c (do_ftell): Seek only when there are
27208         unflushed writes.
27209         * libio/wfileops.c (do_ftell_wide): Likewise.
27210         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
27211         test case.
27212         (do_one_test): Call it.
27214 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
27216         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
27217         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
27218         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
27219         Remove variable.
27220         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27221         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27222         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27224 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27226         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
27227         Remove variable.
27228         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27230         [BZ #17668]
27231         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
27232         as weak alias of __getifaddrs.  Use libc_hidden_weak.
27233         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27234         __freeifaddrs.  Use libc_hidden_weak.
27235         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
27236         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
27237         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27238         __freeifaddrs.  Use libc_hidden_weak.
27239         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
27240         __getifaddrs and define as weak alias of __getifaddrs.  Use
27241         libc_hidden_weak.
27242         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27243         __freeifaddrs.  Use libc_hidden_weak.
27244         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
27245         Remove variable.
27246         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27247         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27249 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
27251         [BZ #17601]
27252         * sysdeps/mips/start.S (__start): Use indirect jump to call
27253         __libc_start_main.
27255 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27257         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
27259         * nptl/tst-mutex1.c: Include <stdbool.h>.
27260         [!ATTR] (ATTR_NULL): New macro.
27261         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
27262         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
27263         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
27265         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
27266         to char *.
27268         [BZ #17665]
27269         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
27270         Change conditional to [__USE_MISC].
27272         [BZ #17664]
27273         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
27274         fgets_unlocked.
27275         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
27276         __fgets_unlocked.
27277         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
27278         fgets_unlocked.
27279         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
27280         Remove variable.
27281         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27282         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27283         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27284         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27285         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27286         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27287         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27288         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27289         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27291         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
27293 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27295         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27296         Remove strpbrk objects.
27297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27298         (__libc_ifunc_impl_list): Remove strpbrk implementation.
27299         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
27300         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
27301         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
27302         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
27304         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27305         Remove strcspn objects.
27306         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27307         (__libc_ifunc_impl_list): Remove strcspn implementation.
27308         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
27309         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
27310         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
27311         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
27313         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27314         Remove strspn objetcs.
27315         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27316         (__libc_ifunc_impl_list): Remove strspn implementation.
27317         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
27318         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27319         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
27320         * sysdeps/powerpc/powerpc64/strspn.S: New file.
27322 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
27324         [BZ #17581]
27325         * malloc/hooks.c
27326         (mem2mem_check): Add a terminator to the chain of checking blocks.
27327         (malloc_check_get_size): Use it here.
27328         (mem2chunk_check): Ditto.
27330 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27332         * sysdeps/powerpc/powerpc64/strtok.S: New file.
27333         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
27335 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
27337         * bits/ioctl-types.h: Indent preprocessor directives correctly.
27339         * nptl/nptl-init.c: Include libc-internal.h.
27340         (__pthread_initialize_minimal_internal): Use ROUND_UP.
27342         * elf/ldconfig.c (search_dir): Expand comment.
27344 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
27346         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
27347         variable.
27348         (linknamespace-symlist-stdlibs-tests): Likewise.
27349         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
27350         instead of $(objpfx)symlist-stdlibs.
27351         (linknamespace-libs-isoc): New variable.
27352         (linknamespace-libs): Use $(linknamespace-libs-isoc).
27353         (linknamespace-libs-ISO): New variable.
27354         (linknamespace-libs-ISO99): Likewise.
27355         (linknamespace-libs-ISO11): Likewise.
27356         (linknamespace-libs-XPG3): Likewise.
27357         (linknamespace-libs-XPG4): Likewise.
27358         (linknamespace-libs-POSIX): Likewise.
27359         (linknamespace-libs-UNIX98): Likewise.
27360         (linknamespace-libs-XOPEN2K): Likewise.
27361         (linknamespace-libs-POSIX2008): Likewise.
27362         (linknamespace-libs-XOPEN2K8): Likewise.
27363         ($(objpfx)symlist-stdlibs): Replace by
27364         $(linknamespace-symlist-stdlibs-tests).  Use
27365         $(linknamespace-libs-$*) as set of libraries.
27366         ($(linknamespace-header-tests)): Update dependencies.  Use
27367         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
27368         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
27369         * conform/linknamespace.pl: Remove comment about considering
27370         definitions of symbols from irrelevant libraries.
27372 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
27374         [BZ #13862]
27375         * elf/dl-tls.c: Include <atomic.h>.
27376         (oom): Remove #ifdef SHARED/#endif.
27377         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
27378         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
27379         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
27380         big enough.
27381         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
27382         * nptl/Makefile (tests): Add tst-stack4.
27383         (modules-names): Add tst-stack4mod.
27384         ($(objpfx)tst-stack4): New.
27385         (tst-stack4mod.sos): Likewise.
27386         ($(objpfx)tst-stack4.out): Likewise.
27387         ($(tst-stack4mod.sos)): Likewise.
27388         (clean): Likewise.
27389         * nptl/tst-stack4.c: New file.
27390         * nptl/tst-stack4mod.c: Likewise.
27392 2014-11-27  J. Brown  <jb999@gmx.de>
27394         * sysdeps/x86/bits/string.h: Add recent CPUs.
27396 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27398         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
27399         sigblock.
27401         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
27402         feof.
27404         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
27405         variable.
27407 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
27409         * nscd/connections.c: Include libc-internal.h because of macro
27410         usage ignore_value.
27412 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27414         * string/bits/string3.h (__warn_memset_zero_len): Don't
27415         declare for gcc newer than 5.0.
27416         (memset): Don't test for zero-length __LEN for gcc newer than
27417         5.0.
27419 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27421         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
27422         size_t for %zu format.
27424         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
27425         difference, not %ju.
27427 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27429         * include/libc-internal.h (ignore_value): New macro.
27430         * nscd/connections.c (restart): Wrap calls to setuid and setgid
27431         with ignore_value.
27433         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
27434         definition.
27436         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
27437         pthread_cleanup_push to void *.
27439         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
27440         Undefine.
27442         [BZ #16619]
27443         [BZ #16740]
27444         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
27445         instead of 1L << 52.
27447         * libio/bug-rewind.c (do_test): Check fwscanf return values.
27448         * libio/bug-rewind2.c (do_test): Likewise.
27450         * debug/test-stpcpy_chk-ifunc.c: Remove file.
27451         * debug/test-strcpy_chk-ifunc.c: Likewise.
27452         * wcsmbs/test-wcschr-ifunc.c: Likewise.
27453         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27454         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27455         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27456         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27457         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27458         * Rules [$(multi-arch) = no] (tests): Do not filter out
27459         $(tests-ifunc).
27460         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
27461         * debug/Makefile (tests-ifunc): Remove variable.
27462         (tests): Do not add $(tests-ifunc).
27463         * wcsmbs/Makefile (tests-ifunc): Remove variable.
27464         (tests): Do not add $(tests-ifunc).
27465         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
27466         [TEST_IFUNC]: Remove conditionals.
27467         * string/test-string.h (TEST_IFUNC): Remove macro.
27468         [TEST_IFUNC]: Remove conditionals.
27470         * string/test-strchr.c [!WIDE] (L): New macro.
27471         [WIDE] (L): Likewise.
27472         (check1): Use CHAR instead of char.  Use L on string and character
27473         constants.
27475 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
27477         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
27478         tests.
27479         * sysdeps/powerpc/bits/atomic.h
27480         (__arch_atomic_exchange_and_add_32_acq): Add definition.
27481         (__arch_atomic_exchange_and_add_32_rel): Likewise.
27482         (atomic_exchange_and_add_acq): Likewise.
27483         (atomic_exchange_and_add_rel): Likewise.
27484         * sysdeps/powerpc/powerpc32/bits/atomic.h
27485         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27486         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27487         * sysdeps/powerpc/powerpc64/bits/atomic.h
27488         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27489         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27491 2014-11-26  Torvald Riegel  <triegel@redhat.com>
27493         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
27494         Change synchronization of __sched_fifo_min_prio and
27495         __sched_fifo_max_prio.
27496         * nptl/pthread_mutexattr_getprioceiling.c
27497         (pthread_mutexattr_getprioceiling): Likewise.
27498         * nptl/pthread_mutexattr_setprioceiling.c
27499         (pthread_mutexattr_setprioceiling): Likewise.
27500         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27501         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
27502         Likewise.
27504 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27506         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
27507         void.
27509 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27511         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
27512         third argument const.
27514 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
27516         fnmatch: work around GCC compiler warning bug with uninit var
27517         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
27518         This works around a bug with x86-64 GCC 4.9.2 and earlier
27519         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
27520         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
27521         used uninitialized in this function [-Wmaybe-uninitialized]".
27523 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27525         * posix/bug-regex31.c (main): Return RES not 0.
27527 2014-11-25  Anton Blanchard <anton@samba.org>
27529         * sysdeps/powerpc/bits/atomic.h
27530         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
27532 2014-11-24  Sterling Augustine  <saugustine@google.com>
27534         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
27536 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
27538         [BZ #17608]
27539         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
27541 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
27543         [BZ #17633]
27544         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
27545         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
27546         variable.
27547         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27548         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27550 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27552         * string/strncpy.c (strncpy): Improve performance by using memset.
27554 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27556         * string/strcpy.c (strcpy):
27557         Improve performance by using strlen and memcpy.
27559 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
27561         * string/strcoll_l.c (get_next_seq): __always_inline.
27562         * string/strcoll_l.c (do_compare): __always_inline.
27564 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27566         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
27567         defined.
27568         * include/mqueue.h: Likewise.
27569         * include/stdlib.h: Likewise.
27571         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
27572         (get_null_defines): Adjust.
27573         * sunrpc/Makefile: Adjust comment.
27574         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
27575         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
27576         (CFLAGS-interp.c): Likewise.
27577         (CFLAGS-ldconfig.c): Likewise.
27578         (CPPFLAGS-.os): Likewise.
27579         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27580         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27581         * extra-modules.mk (extra-modules.mk): Likewise.
27582         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
27583         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
27584         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
27585         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
27586         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
27587         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
27588         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
27589         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
27590         * iconvdata/Makefile (CPPFLAGS): Likewise.
27591         (cpp-srcs-left): Add libof for all iconvdata routines.
27592         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
27593         * include/assert.h: Likewise.
27594         * include/ctype.h: Likewise.
27595         * include/errno.h: Likewise.
27596         * include/libc-symbols.h: Likewise.
27597         * include/math.h: Likewise.
27598         * include/netdb.h: Likewise.
27599         * include/resolv.h: Likewise.
27600         * include/stdio.h: Likewise.
27601         * include/stdlib.h: Likewise.
27602         * include/string.h: Likewise.
27603         * include/sys/stat.h: Likewise.
27604         * include/wctype.h: Likewise.
27605         * intl/l10nflist.c: Likewise.
27606         * libidn/idn-stub.c: Likewise.
27607         * libio/libioP.h: Likewise.
27608         * nptl/libc_multiple_threads.c: Likewise.
27609         * nptl/pthreadP.h: Likewise.
27610         * posix/regex_internal.h: Likewise.
27611         * resolv/res_hconf.c: Likewise.
27612         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
27613         * sysdeps/arm/memmove.S: Likewise.
27614         * sysdeps/arm/sysdep.h: Likewise.
27615         * sysdeps/generic/_itoa.h: Likewise.
27616         * sysdeps/generic/symbol-hacks.h: Likewise.
27617         * sysdeps/gnu/errlist.awk: Likewise.
27618         * sysdeps/gnu/errlist.c: Likewise.
27619         * sysdeps/i386/i586/memcpy.S: Likewise.
27620         * sysdeps/i386/i586/memset.S: Likewise.
27621         * sysdeps/i386/i686/memcpy.S: Likewise.
27622         * sysdeps/i386/i686/memmove.S: Likewise.
27623         * sysdeps/i386/i686/mempcpy.S: Likewise.
27624         * sysdeps/i386/i686/memset.S: Likewise.
27625         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27626         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27627         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
27628         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
27629         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27630         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27631         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
27632         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27633         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27634         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27635         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27636         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27637         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27638         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27639         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27640         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27641         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
27642         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
27643         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
27644         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27645         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27646         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27647         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27648         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27649         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27650         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27651         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
27652         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27653         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
27654         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27655         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27656         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27657         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27658         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27659         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27660         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27661         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27662         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27663         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27664         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27665         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27666         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27667         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27668         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27669         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27670         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27671         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
27672         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
27673         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27674         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27675         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27676         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
27677         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
27678         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27679         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27680         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
27681         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27682         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
27683         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
27684         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27685         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27686         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27687         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
27688         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27689         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27690         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
27691         * sysdeps/posix/closedir.c: Likewise.
27692         * sysdeps/posix/opendir.c: Likewise.
27693         * sysdeps/posix/readdir.c: Likewise.
27694         * sysdeps/posix/rewinddir.c: Likewise.
27695         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
27696         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
27697         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27698         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27699         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27700         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
27701         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
27702         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
27703         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
27704         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
27705         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
27706         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
27707         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
27708         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
27709         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
27710         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
27711         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
27712         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
27713         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
27714         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
27715         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
27716         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
27717         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
27718         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
27719         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
27720         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
27721         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
27722         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
27723         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
27724         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
27725         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
27726         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
27727         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
27728         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
27729         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
27730         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
27731         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27732         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27733         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
27734         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
27735         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
27736         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
27737         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
27738         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27739         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
27740         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
27741         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
27742         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
27743         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
27744         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
27745         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
27746         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
27747         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27748         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
27749         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
27750         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
27751         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
27752         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
27753         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
27754         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
27755         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27756         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
27757         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27758         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
27759         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
27760         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27761         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
27762         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
27763         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
27764         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
27765         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27766         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
27767         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
27768         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
27769         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
27770         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
27771         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
27772         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
27773         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27774         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
27775         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
27776         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27777         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
27778         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
27779         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27780         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
27781         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
27782         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27783         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27784         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27785         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
27786         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
27787         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
27788         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27789         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27790         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
27791         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27792         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27793         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
27794         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
27795         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27796         * sysdeps/unix/alpha/sysdep.S: Likewise.
27797         * sysdeps/unix/alpha/sysdep.h: Likewise.
27798         * sysdeps/unix/make-syscalls.sh: Likewise.
27799         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27800         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27801         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27802         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
27803         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27804         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27805         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
27806         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27807         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27808         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
27809         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27810         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27811         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27812         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27813         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27814         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27815         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27816         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27817         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27818         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27819         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27820         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27821         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27822         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27823         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27824         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27825         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27828         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
27829         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27830         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27831         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27832         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27833         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27834         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27835         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27836         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27837         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27838         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27839         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27840         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27841         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27842         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27843         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27844         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27845         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27846         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27847         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27848         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27849         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27850         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27851         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27852         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27853         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
27854         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27855         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27856         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27857         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
27858         * sysdeps/x86_64/memcpy.S: Likewise.
27859         * sysdeps/x86_64/memmove.c: Likewise.
27860         * sysdeps/x86_64/memset.S: Likewise.
27861         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
27862         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27863         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27864         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
27865         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
27866         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27867         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27868         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27869         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27870         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27871         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27872         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27873         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
27874         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27875         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27876         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
27877         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27878         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27879         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27880         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27881         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
27882         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27883         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27884         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27885         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27886         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27887         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27888         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
27889         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27890         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27891         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
27892         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27893         * sysdeps/x86_64/strcmp.S: Likewise.
27895         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
27897         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
27898         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
27899         * elf/rtld-Rules: Likewise.
27900         * elf/setup-vdso.h: Likewise.
27901         * include/assert.h: Likewise.
27902         * include/bits/stdlib-float.h: Likewise.
27903         * include/errno.h: Likewise.
27904         * include/sys/stat.h: Likewise.
27905         * include/unistd.h: Likewise.
27906         * sysdeps/aarch64/setjmp.S: Likewise.
27907         * sysdeps/alpha/setjmp.S: Likewise.
27908         * sysdeps/arm/__longjmp.S: Likewise.
27909         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
27910         * sysdeps/arm/setjmp.S: Likewise.
27911         * sysdeps/arm/sysdep.h: Likewise.
27912         * sysdeps/generic/_itoa.h: Likewise.
27913         * sysdeps/generic/dl-sysdep.h: Likewise.
27914         * sysdeps/generic/ldsodefs.h: Likewise.
27915         * sysdeps/i386/dl-tls.h: Likewise.
27916         * sysdeps/i386/setjmp.S: Likewise.
27917         * sysdeps/m68k/setjmp.c: Likewise.
27918         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
27919         * sysdeps/mach/hurd/opendir.c: Likewise.
27920         * sysdeps/posix/getcwd.c: Likewise.
27921         * sysdeps/posix/opendir.c: Likewise.
27922         * sysdeps/posix/profil.c: Likewise.
27923         * sysdeps/powerpc/dl-procinfo.h: Likewise.
27924         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27925         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27926         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27927         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27928         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
27929         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27930         * sysdeps/s390/dl-tls.h: Likewise.
27931         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27932         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27933         * sysdeps/sh/sh3/setjmp.S: Likewise.
27934         * sysdeps/sh/sh4/setjmp.S: Likewise.
27935         * sysdeps/unix/alpha/sysdep.h: Likewise.
27936         * sysdeps/unix/arm/sysdep.S: Likewise.
27937         * sysdeps/unix/i386/sysdep.S: Likewise.
27938         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27939         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27940         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27941         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27942         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27943         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27944         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27945         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27946         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27947         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27948         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27949         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27950         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27953         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27954         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27955         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27956         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27957         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27958         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27959         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27960         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27961         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27962         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27963         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27964         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27965         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27966         * sysdeps/x86_64/setjmp.S: Likewise.
27968         * include/math.h: Use IS_IN instead of IS_IN_libm.
27969         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
27970         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27971         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27972         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
27973         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27974         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27975         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27976         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27977         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27978         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27979         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
27980         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
27981         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
27982         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
27983         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
27984         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
27985         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27986         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
27987         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27988         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
27989         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
27990         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
27991         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
27992         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
27993         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
27994         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
27995         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
27996         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27997         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27998         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
27999         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
28000         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28001         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
28003         Likewise.
28004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
28005         Likewise.
28006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
28007         Likewise.
28008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
28009         Likewise.
28010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
28011         Likewise.
28012         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28013         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
28014         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28015         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28016         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28017         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
28019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
28020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
28021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
28022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
28023         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
28024         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
28025         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28026         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28027         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28028         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28029         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28030         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28031         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28032         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
28033         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
28034         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
28035         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
28036         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
28037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28038         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
28040         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
28041         * nptl/pthreadP.h: Likewise.
28042         * nptl_db/structs.def: Likewise.
28043         * sysdeps/arm/sysdep.h: Likewise.
28044         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28045         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28046         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
28047         * sysdeps/unix/alpha/sysdep.h: Likewise.
28048         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28049         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28050         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28051         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28052         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28053         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28054         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28055         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28056         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28057         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28058         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28059         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28060         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28061         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28064         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28065         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28066         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28067         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28068         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28069         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28070         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28071         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28072         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
28073         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28075         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
28076         * nptl/pthreadP.h: Likewise.
28077         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28078         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28079         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28080         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28081         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28082         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28083         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28084         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28085         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28086         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28087         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28088         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28090         Likewise.
28091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28092         Likewise.
28093         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28094         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28095         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28096         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28097         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28098         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28099         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28100         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28102         * dlfcn/dladdr.c: Use IS_IN.
28103         * dlfcn/dladdr1.c: Likewise.
28104         * dlfcn/dlclose.c: Likewise.
28105         * dlfcn/dlerror.c: Likewise.
28106         * dlfcn/dlinfo.c: Likewise.
28107         * dlfcn/dlmopen.c: Likewise.
28108         * dlfcn/dlopen.c: Likewise.
28109         * dlfcn/dlsym.c: Likewise.
28110         * dlfcn/dlvsym.c: Likewise.
28112         * include/ifaddrs.h: Use IS_IN.
28113         * inet/check_pf.c: Likewise.
28114         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28115         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
28117         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
28118         IS_IN_ldconfig.
28119         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
28120         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
28122         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
28123         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
28124         IS_IN (libc).
28126         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
28128         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
28129         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28130         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28131         * include/libc-symbols.h (IS_IN_LIB): New macro.
28132         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
28133         * include/netdb.h: Likewise.
28134         * include/stap-probe.h: Remove all uses of IN_LIB.
28136         * Makeconfig (module-cppflags-real): Define MODULE_NAME
28137         instead of IN_MODULE.
28138         * include/libc-symbols.h (IN_MODULE): Define using
28139         MODULE_NAME.
28140         (PASTE_NAME, PASTE_NAME1): New macros.
28141         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
28142         of IN_LIB.
28143         (STAP_PROBE_ASM): Likewise.
28145 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28147         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
28148         __mach_init in dlopened libc.
28150 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
28152         * sysdeps/arm/preconfigure.ac: Delete EABI check.
28153         * sysdeps/arm/preconfigure: Regenerate.
28155 2014-11-21  Roland McGrath  <roland@hack.frob.com>
28157         * nptl/pthread_create.c (__pthread_create_2_1): Set
28158         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
28159         when copying values from IATTR into PD.
28161 2014-11-21  Will Newton  <will.newton@linaro.org>
28162             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
28164         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
28165         Refactor inline-asm.  Also add comment.
28167         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
28168         ElfW macro instead of hardcoded Elf64 types.
28169         (la_aarch64_gnu_pltenter): Likewise.
28170         * sysdeps/aarch64/dl-machine.h
28171         (elf_machine_runtime_setup): Use ElfW(Addr).
28173         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
28174         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
28175         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
28176         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
28177         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
28178         (R_AARCH64_TLS_DTPMOD64): Rename to ..
28179         (R_AARCH64_TLS_DTPMOD): This.
28180         (R_AARCH64_TLS_DTPREL64): Rename to ...
28181         (R_AARCH64_TLS_DTPREL): This.
28182         (R_AARCH64_TLS_TPREL64): Rename to ...
28183         (R_AARCH64_TLS_TPREL): This.
28184         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
28185         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
28186         R_AARCH64_TLS_TPREL64.
28187         (elf_machine_rela): Likewise.
28189 2014-11-21  Torvald Riegel  <triegel@redhat.com>
28191         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
28192         by setting it to 0.  64b atomics are not supported currently.
28194 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28196         [BZ #16469]
28197         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
28198         search domain names.
28200 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28202         [BZ #16469]
28203         * NEWS: Update.
28204         * resolv/res_query.c (__libc_res_nquerydomain): Retain
28205         trailing dot.
28206         * posix/tst-getaddrinfo5.c: New.
28207         * posix/Makefile (tests): Add it.
28209 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28211         [BZ #14498]
28212         * NEWS: Fixed.
28213         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
28214         after parsing line but before break_if_match.
28215         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
28216         if there is a protocol mismatch.
28218 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
28220         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
28221         because the potential race is on the user-supplied stream.
28223 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28225         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
28226         string literal if not passed a buffer.
28227         * manual/job.texi (ctermid): Update reasoning, note deviation
28228         from posix, suggest mtasurace when not passed a buffer, for
28229         future non-preliminary safety notes.
28231 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28233         * manual/users.texi (cuserid): Fix MT-Safety note for the case
28234         of not passing it a buffer.
28235         Reported by Peng Haitao.
28237 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28239         * manual/Makefile ($(objpfx)stamp-summary): Require
28240         check-safety.sh to pass.
28241         * manual/check-safety.sh: Wish for verification that every
28242         @deftypefn and @deftypefun is followed by a @safety remark.
28244 2014-11-20  Roland McGrath  <roland@hack.frob.com>
28246         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
28248         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
28249         PTHREAD_CANCEL_ASYNCHRONOUS.
28250         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
28251         send SIGCANCEL.
28253         * nptl/default-sched.h: New file.
28254         * sysdeps/unix/sysv/linux/default-sched.h: New file.
28255         * nptl/pthread_create.c: Include it.
28256         (__pthread_create_2_1): Use collect_default_sched instead of making
28257         Linux syscalls here directly.
28259 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28261         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
28262         __pthread_once): Use C11 atomics.
28264 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28266         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
28268 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28270         * include/atomic.h (__atomic_link_error, __atomic_check_size,
28271         atomic_thread_fence_acquire, atomic_thread_fence_release,
28272         atomic_thread_fence_seq_cst, atomic_load_relaxed,
28273         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
28274         atomic_compare_exchange_weak_relaxed,
28275         atomic_compare_exchange_weak_acquire,
28276         atomic_compare_exchange_weak_release,
28277         atomic_exchange_acquire, atomic_exchange_release,
28278         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
28279         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
28280         atomic_fetch_and_acquire,
28281         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
28283 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28285         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
28286         USE_ATOMIC_COMPILER_BUILTINS): Define.
28287         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
28288         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28289         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
28290         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28291         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
28292         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28293         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
28294         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28295         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
28296         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28297         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
28298         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28299         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
28300         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28301         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
28302         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28303         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28304         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28305         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28306         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28307         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
28308         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28309         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28310         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28311         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
28312         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28313         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28314         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28315         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
28316         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28317         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
28318         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28319         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
28320         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28321         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
28322         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28323         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
28324         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28325         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
28326         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28328 2014-11-19  Roland McGrath  <roland@hack.frob.com>
28330         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
28331         the sched_priority value here.  It was already checked when the user
28332         called pthread_attr_setschedparam.
28334         * nptl/tst-bad-schedattr.c: New file.
28335         * nptl/Makefile (tests): Add it.
28337 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
28338             Florian Weimer  <fweimer@redhat.com>
28339             Joseph Myers  <joseph@codesourcery.com>
28340             Adam Conrad  <adconrad@0c3.net>
28341             Andreas Schwab  <schwab@suse.de>
28342             Brooks  <bmoses@google.com>
28344         [BZ #17625]
28345         * wordexp-test.c (__dso_handle): Add prototype.
28346         (__register_atfork): Likewise.
28347         (__app_register_atfork): New function.
28348         (registered_forks): New global.
28349         (register_fork): New function.
28350         (test_case): Add 3 new tests for WRDE_CMDSUB.
28351         (main): Call __app_register_atfork.
28352         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
28353         fork count is non-zero fail the test.
28354         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
28355         is set.
28356         (parse_dollars): Remove check for WRDE_NOCMD.
28357         (parse_dquote): Likewise.
28359 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28361         * Makeconfig (built-modules): List non-library modules to be
28362         built.
28363         (module-cppflags): Include libc-modules.h for
28364         everything except shlib-versions.v.i.
28365         (CPPFLAGS): Use it.
28366         (before-compile): Add libc-modules.h.
28367         ($(common-objpfx)libc-modules.h,
28368         $(common-objpfx)libc-modules.stmp): New targets.
28369         (common-generated): Add libc-modules.h and libc-modules.stmp.
28370         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
28371         * include/libc-symbols.h: Don't include libc-modules.h.
28372         * include/libc-modules.h: Remove file.
28373         * scripts/gen-libc-modules.awk: New script to generate
28374         libc-modules.h.
28375         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
28376         Depend on libc-modules.stmp.
28378         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
28380         * Makeconfig (in-module): Get value of libof set for the
28381         translation unit.
28382         (CPPFLAGS): Use $(in-module).
28383         * Makerules: Don't suffix routine names for nonlib.
28384         * include/libc-modules.h: New file.
28385         * include/libc-symbols.h: Include libc-modules.h
28386         (IS_IN): New macro to replace IS_IN_* macros.
28387         * elf/Makefile: Set libof-* for each routine.
28388         * elf/rtld-Rules: Likewise.
28389         * extra-modules.mk: Likewise.
28390         * iconv/Makefile: Likewise.
28391         * iconvdata/Makefile: Likewise.
28392         * locale/Makefile: Likewise.
28393         * malloc/Makefile: Likewise.
28394         * nss/Makefile: Likewise.
28395         * sysdeps/gnu/Makefile: Likewise.
28396         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
28397         * sysdeps/unix/sysv/linux/Makefile: Likewise.
28398         * sysdeps/s390/s390-64/Makefile: Likewise.
28399         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
28400         CPPFLAGS for nscd instead of nonlib.
28402 2014-11-18  Roland McGrath  <roland@hack.frob.com>
28404         * nptl/createthread.c: New file.
28406         * nptl/createthread.c: Moved ...
28407         * sysdeps/unix/sysv/linux/createthread.c: ... here.
28409         * nptl/createthread.c: Add proper top-line comment.
28410         (do_clone): Folded into ...
28411         (create_thread): ... here.  Take new arguments STOPPED_START and
28412         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
28413         increment __nptl_threads, do event-reporting logic, do
28414         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
28415         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
28416         resource cleanup if sched_setaffinity or sched_setscheduler fails,
28417         just send SIGCANCEL.
28418         * nptl/pthread_create.c: Forward-declare create_thread before
28419         including createthread.c.
28420         (start_thread): Use new macro START_THREAD_DEFN to replace defining
28421         declaration, and new macro START_THREAD_SELF to replace argument.
28422         Remove return statement.
28423         (report_thread_creation): New function.
28424         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
28425         synchronization logic, and __nptl_nthreads increment here, around
28426         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
28427         PD->parent_cancelhandling here, before create_thread.  When
28428         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
28429         __deallocate_stack, and ENOMEM translation here.
28431 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
28433         [BZ #17616]
28434         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
28435         (mptwo): Rename to __mptwo.
28436         (__inv): Use __mptwo instead of mptwo.
28437         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
28438         (mptwo): Rename to __mptwo.
28439         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
28440         of mpone and __mptwo instead of mptwo.
28441         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
28442         instead of mpone.
28443         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28444         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
28445         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
28446         of mpone and __mptwo instead of mptwo.
28447         (__mpranred): Use __mpone instead of mpone.
28448         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
28449         variable.
28450         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28451         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28452         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28453         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28454         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28455         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28456         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28457         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28458         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28459         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28460         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28461         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28462         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28463         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28464         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28465         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28466         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28467         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28468         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28470 2014-11-18  Tom de Vries  <tom@codesoucery.com>
28472         * manual/signal.texi (Primitives Interrupted by Signals): In section,
28473         replace BSD Handler xref with BSD Signal Handling.
28475 2014-11-17  Richard Henderson  <rth@redhat.com>
28477         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
28478         (_FP_PACK_RAW_2): Remove.
28479         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
28480         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
28481         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
28482         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
28483         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
28484         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
28485         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
28486         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
28487         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
28488         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
28489         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
28490         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
28491         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
28492         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
28493         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
28494         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
28496 2014-11-14  Roland McGrath  <roland@hack.frob.com>
28498         * signal/signal.h [__USE_MISC]
28499         (struct sigvec): Remove type.
28500         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
28501         (sigvec): Remove declaration.
28502         * sysdeps/posix/sigvec.c: Moved ...
28503         * signal/sigvec.c: ... here, replacing old file.
28504         (struct sigvec): New type, copied from old signal.h definition.
28505         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
28506         (__sigvec): Convert definition to prototype.
28507         (sigvec): Replace weak_alias with compat_symbol.
28508         * signal/Versions (libc: GLIBC_2.21): New version set.
28509         * include/signal.h: Remove __sigvec declaration.
28510         * sysdeps/unix/bsd/sigvec.c: Remove file.
28511         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
28512         * manual/signal.texi (BSD Handler): Remove subsection.
28513         Move siginterrupt up to ...
28514         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
28515         (Blocking in BSD): Fold subsection into its parent.
28516         * NEWS: Mention sigvec removal.
28518 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28520         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
28521         (DLA_FMS): Make definition conditional only on [__FMA4__].
28522         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
28523         definition.
28525         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
28526         Make definition conditional only on [PROF].
28527         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
28528         definition.
28529         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
28530         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
28532         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
28533         !__GNUC__].
28534         * include/signal.h (__sigpause): Move declaration above call to
28535         libc_hidden_proto.
28536         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
28537         variable.
28538         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28539         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28541 2014-11-14  David S. Miller  <davem@davemloft.net>
28543         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
28544         Define before including <string/memcpy.c> and <string/mempcpy.c>.
28546 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28548         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
28549         * configure: Regenerated.
28550         * manual/install.texi (Tools for Compilation): Document a
28551         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
28552         compiler verified to work.
28553         * INSTALL: Regenerated.
28555         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
28556         redeclare with asm name.
28557         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
28558         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
28559         including <string.h>.
28560         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28561         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
28562         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28563         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
28564         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28565         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28566         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28568 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
28570         * stdlib/strtol.c (__strtol): Use prototype definition.
28572         [BZ #17594]
28573         * stdlib/strtol.c (SYM__): New macro.
28574         (SYM__1): Likewise.
28575         (__strtol): Likewise.
28576         (strtol): Rename to __strtol and define as weak alias of
28577         __strtol.  Use libc_hidden_weak.
28579 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28581         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
28582         Use numbered labels in inline assembly.
28584 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28586         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
28587         Add setjmp LIBC_PROBE.
28588         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
28589         Likewise.
28590         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
28591         Add longjmp, longjmp_target LIBC_PROBE.
28592         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
28593         Likewise.
28595 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28597         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28598         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
28599         to get rid of unused variable warning.
28601 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28603         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
28604         Check for unwind_backtrace ==  NULL only in SHARED case.
28605         (__backchain_backtrace): Compile only in SHARED case.
28606         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
28607         Likewise.
28608         (__backchain_backtrace): Declare as static.
28610 2014-11-12  Roland McGrath  <roland@hack.frob.com>
28612         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
28613         (__libc_multiple_threads_ptr): Variable moved ...
28614         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
28616 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
28618         * conform/GlibcConform.pm: New file.
28619         * conform/conformtest.pl: Use GlibcConform module.
28620         * conform/linknamespace.pl: New file.
28621         * conform/list-header-symbols.pl: Likewise.
28622         * conform/Makefile (linknamespace-symlists-base): New variable.
28623         (linknamespace-symlists-tests): Likewise.
28624         (linknamespace-header-base): Likewise.
28625         (linknamespace-header-tests): Likewise.
28626         (tests-special): Add new tests.
28627         ($(linknamespace-symlists-tests)): New rule.
28628         (linknamespace-libs): New variable.
28629         ($(objpfx)symlist-stdlibs): New rule.
28630         ($(linknamespace-header-tests)): Likewise.
28631         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
28632         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
28633         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
28634         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
28635         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
28636         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
28637         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
28638         (test-xfail-ISO/math.h/linknamespace): Likewise.
28639         (test-xfail-ISO/signal.h/linknamespace): Likewise.
28640         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
28641         (test-xfail-ISO/time.h/linknamespace): Likewise.
28642         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28643         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
28644         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28645         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28646         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28647         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28648         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28649         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28650         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28651         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28652         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28653         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28654         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28655         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
28656         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
28657         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28658         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
28659         (test-xfail-XPG3/search.h/linknamespace): Likewise.
28660         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
28661         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28662         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
28663         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28664         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28665         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
28666         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28667         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28668         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
28669         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
28670         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28671         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
28672         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28673         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28674         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28675         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28676         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
28677         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
28678         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
28679         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
28680         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28681         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
28682         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28683         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
28684         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28685         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28686         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28687         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
28688         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
28689         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28690         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28691         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
28692         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28693         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28694         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
28695         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28696         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28697         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28698         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28699         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28700         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28701         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28702         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28703         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28704         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
28705         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28706         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28707         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28708         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
28709         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28710         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28711         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
28712         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28713         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28714         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28715         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28716         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28717         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28718         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
28719         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
28720         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28721         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
28722         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28723         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
28724         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28725         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28726         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28727         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
28728         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28729         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28730         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28731         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
28732         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
28733         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
28734         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28735         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28736         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28737         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28738         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
28739         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
28740         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28741         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28742         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28743         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28744         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28745         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28746         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28747         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28748         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28749         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28750         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
28751         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28752         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28753         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
28754         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28755         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28756         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28757         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28758         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28759         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28760         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28761         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28762         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28763         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28764         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28765         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28766         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28767         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28768         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
28769         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28770         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28771         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28772         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28773         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28774         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
28775         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28776         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28777         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28778         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28779         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28780         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28781         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28782         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28783         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28784         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28785         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28786         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28787         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28788         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
28789         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28790         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28791         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28793         [BZ #17589]
28794         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
28795         of fgets_unlocked.
28797         [BZ #17585]
28798         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
28799         (memmem): Rename to __memmem and define as weak alias of
28800         __memmem.  Use libc_hidden_weak.
28801         (__memmem): Use libc_hidden_def.
28802         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
28803         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
28804         memmem.
28806         [BZ #17582]
28807         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
28808         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
28809         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
28810         and define as weak alias of __fgets_unlocked.  Use
28811         libc_hidden_weak.
28812         (__fgets_unlocked): Use libc_hidden_def.
28813         * include/stdio.h (__fgets_unlocked): Declare.  Use
28814         libc_hidden_proto.
28815         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
28816         __fgets_unlocked instead of fgets_unlocked.
28817         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
28818         (GET_NPROCS_CONF_PARSER): Likewise.
28819         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
28820         (GET_NPROCS_CONF_PARSER): Likewise.
28822         [BZ #17574]
28823         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
28824         weak alias of __wmemset.  Use libc_hidden_weak.
28825         (__wmemset): Use libc_hidden_def.
28826         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
28827         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
28828         of wmemset.
28830         [BZ #17573]
28831         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
28832         with asm name __mempcpy.
28833         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
28835         [BZ #17572]
28836         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
28837         and define as weak alias of __rawmemchr.
28838         (__rawmemchr): Do not define as strong alias of rawmemchr.
28840         [BZ #17571]
28841         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
28842         alias of __qsort_r.
28843         (qsort): Call __qsort_r instead of qsort_r.
28844         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
28845         (__qsort_r): Declare.  Call libc_hidden_proto.
28846         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
28847         instead of qsort_r.
28848         * nscd/gai.c (__qsort_r): Define to qsort_r.
28849         * posix/tst-rfc3484.c (__qsort_r): Likewise.
28850         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
28851         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
28853         [BZ #17570]
28854         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
28855         define as weak alias of __malloc_info.
28857         [BZ #17584]
28858         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
28859         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28860         (__rewinddir): Use libc_hidden_def.
28861         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
28862         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28863         (__rewinddir): Use libc_hidden_def.
28864         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
28865         weak alias of __rewinddir.  Don't use libc_hidden_def.
28866         (__rewinddir): Use libc_hidden_def.
28867         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
28868         (__rewinddir): Use libc_hidden_proto.
28869         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
28870         rewinddir.
28871         (__getcwd): Use __rewinddir instead of rewinddir.
28873         [BZ #17583]
28874         * libio/fileno.c (fileno): Rename to __fileno and define as weak
28875         alias of __fileno.  Use libc_hidden_weak.
28876         (__fileno): Use libc_hidden_def.
28877         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
28878         * libio/ftello.c (ftello): Rename to __ftello and define as weak
28879         alias of __ftello.
28880         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
28881         __ftello.
28882         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
28883         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
28884         libc_hidden_def.
28885         (fread_unlocked): Don't use libc_hidden_ver.
28886         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
28887         and define as weak alias of __fread_unlocked.  Don't use
28888         libc_hidden_def.
28889         (__fread_unlocked): Use libc_hidden_def.
28890         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
28891         (ftello): Don't use libc_hidden_proto.
28892         (__ftello): Declare.  Use libc_hidden_proto.
28893         (fread_unlocked): Don't use libc_hidden_proto.
28894         (__fread_unlocked): Declare.  Use libc_hidden_proto.
28895         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
28896         and __ftello instead of fileno, fread_unlocked and ftello.
28898 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28900         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
28901         GOT12.
28902         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28903         Likewise.
28904         (_dl_start_user): Likewise.
28905         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
28907 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
28908             Siddhesh Poyarekar  <siddhesh@redhat.com>
28910         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
28911         Move argv and envp down instead of moving argc up.
28912         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
28914 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
28916         [BZ #17506]
28917         * test-skeleton.c (main): Return successful if one of
28918         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
28919         * string/tst-strcoll-overflow.c: Define expected status.
28921 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
28923         [BZ #17475]
28924         * locale/iso-639.def: Define Bhili and Tulu language codes.
28926 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
28928         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
28930 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
28932         [BZ #17555]
28933         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
28935 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28937         * configure.ac: Updated check of minimal required version to
28938         2.22.
28939         * manual/install.texi (Tools for Compilation): Updated version
28940         number.
28941         * configure: Regenerated.
28942         * INSTALL: Likewise.
28944 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
28946         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
28947         __tls_get_addr.
28949 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
28951         * include/sys/wait.h (__libc_waitpid): Remove declaration.
28952         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
28953         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28954         libc_hidden_weak.
28955         (waitpid): Define as alias of __waitpid.
28956         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
28957         __waitpid.
28958         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28959         libc_hidden_weak.
28960         (waitpid): Define as alias of __waitpid.
28961         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
28962         __libc_waitpid alias.
28963         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
28964         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
28965         Likewise.
28966         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
28967         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
28968         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
28969         alias.
28970         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
28971         __waitpid.
28972         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28973         libc_hidden_weak.
28974         (waitpid): Define as alias of __waitpid.
28976 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
28978         * manual/llio.texi: Add comment that write safety has been
28979         fixed in Linux.
28981         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
28982         (localplt-build-dso): Add elf/ld.so.
28983         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
28984         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
28985         and free for ld.so.
28986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
28987         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
28988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
28989         Likewise.
28990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28991         Likewise.
28992         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
28993         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
28994         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
28995         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
28996         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
28997         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
28998         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
28999         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
29000         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
29001         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
29002         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29004 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
29006         [BZ #14132]
29007         * include/libc-symbols.h (INTUSE): Remove macro.
29008         (INTDEF): Likewise.
29009         (INTVARDEF): Likewise.
29010         (_INTVARDEF): Likewise.
29011         (INTDEF2): Likewise.
29012         (INTVARDEF2): Likewise.
29013         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
29014         rtld_hidden_def instead of INTVARDEF.
29015         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
29016         (_dl_starting_up_internal): Remove declaration.
29017         (_dl_starting_up): Use rtld_hidden_proto.
29018         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
29019         declaration.
29020         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
29021         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
29022         _dl_starting_up.
29023         * elf/dl-writev.h (_dl_writev): Likewise.
29024         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
29025         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
29026         _dl_starting_up_internal.
29028 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29030         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
29031         test-skeleton.c.
29033 2014-11-05  Will Newton  <will.newton@linaro.org>
29035         * benchtests/Makefile: (bench-malloc): Add malloc thread
29036         scalability benchmark.
29037         * benchtests/bench-malloc-threads.c: New file.
29039 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
29041         * sysdeps/aarch64/strchrnul.S: New file.
29043 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29045         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
29046         definition.
29047         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29048         Likwise.
29049         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29050         Likewise.
29051         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29052         Likewise.
29053         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29054         Likewise.
29055         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29056         Likewise.
29058 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
29060         * catgets/test-gencat.c: Use test-skeleton.c.
29061         * catgets/tst-catgets.c: Likewise.
29062         * csu/tst-empty.c: Likewise.
29063         * elf/tst-audit2.c: Likewise.
29064         * elf/tst-global1.c: Likewise.
29065         * elf/tst-pathopt.c: Likewise.
29066         * elf/tst-piemod1.c: Likewise.
29067         * elf/tst-tls10.c: Likewise.
29068         * elf/tst-tls11.c: Likewise.
29069         * elf/tst-tls12.c: Likewise.
29070         * gnulib/tst-gcc.c: Likewise.
29071         * iconvdata/tst-e2big.c: Likewise.
29072         * iconvdata/tst-loading.c: Likewise.
29073         * iconv/tst-iconv1.c: Likewise.
29074         * iconv/tst-iconv2.c: Likewise.
29075         * inet/test-inet6_opt.c: Likewise.
29076         * inet/tst-gethnm.c: Likewise.
29077         * inet/tst-network.c: Likewise.
29078         * inet/tst-ntoa.c: Likewise.
29079         * intl/tst-codeset.c: Likewise.
29080         * intl/tst-gettext2.c: Likewise.
29081         * intl/tst-gettext3.c: Likewise.
29082         * intl/tst-ngettext.c: Likewise.
29083         * intl/tst-translit.c: Likewise.
29084         * io/test-stat.c: Likewise.
29085         * libio/test-fmemopen.c: Likewise.
29086         * libio/tst-freopen.c: Likewise.
29087         * libio/tst-sscanf.c: Likewise.
29088         * libio/tst-ungetwc1.c: Likewise.
29089         * libio/tst-ungetwc2.c: Likewise.
29090         * libio/tst-widetext.c: Likewise.
29091         * localedata/tst-ctype.c: Likewise.
29092         * localedata/tst-digits.c: Likewise.
29093         * localedata/tst-leaks.c: Likewise.
29094         * localedata/tst-mbswcs1.c: Likewise.
29095         * localedata/tst-mbswcs2.c: Likewise.
29096         * localedata/tst-mbswcs3.c: Likewise.
29097         * localedata/tst-mbswcs4.c: Likewise.
29098         * localedata/tst-mbswcs5.c: Likewise.
29099         * localedata/tst-setlocale.c: Likewise.
29100         * localedata/tst-trans.c: Likewise.
29101         * localedata/tst-wctype.c: Likewise.
29102         * localedata/tst-xlocale1.c: Likewise.
29103         * login/tst-grantpt.c: Likewise.
29104         * malloc/tst-calloc.c: Likewise.
29105         * malloc/tst-malloc.c: Likewise.
29106         * malloc/tst-mallocstate.c: Likewise.
29107         * malloc/tst-mcheck.c: Likewise.
29108         * malloc/tst-mtrace.c: Likewise.
29109         * malloc/tst-obstack.c: Likewise.
29110         * math/atest-exp2.c: Likewise.
29111         * math/atest-exp.c: Likewise.
29112         * math/atest-sincos.c: Likewise.
29113         * math/test-matherr.c: Likewise.
29114         * math/test-misc.c: Likewise.
29115         * math/test-powl.c: Likewise.
29116         * math/tst-definitions.c: Likewise.
29117         * misc/tst-dirname.c: Likewise.
29118         * misc/tst-efgcvt.c: Likewise.
29119         * misc/tst-fdset.c: Likewise.
29120         * misc/tst-hsearch.c: Likewise.
29121         * misc/tst-mntent2.c: Likewise.
29122         * nptl/tst-sem7.c: Likewise.
29123         * nptl/tst-sem8.c: Likewise.
29124         * nptl/tst-sem9.c: Likewise.
29125         * nss/test-netdb.c: Likewise.
29126         * posix/tst-fnmatch.c: Likewise.
29127         * posix/tst-getlogin.c: Likewise.
29128         * posix/tst-gnuglob.c: Likewise.
29129         * posix/tst-mmap.c: Likewise.
29130         * pwd/tst-getpw.c: Likewise.
29131         * resolv/tst-inet_ntop.c: Likewise.
29132         * rt/tst-timer.c: Likewise.
29133         * stdio-common/test-fseek.c: Likewise.
29134         * stdio-common/test-popen.c: Likewise.
29135         * stdio-common/test-vfprintf.c: Likewise.
29136         * stdio-common/tst-cookie.c: Likewise.
29137         * stdio-common/tst-fileno.c: Likewise.
29138         * stdio-common/tst-gets.c: Likewise.
29139         * stdio-common/tst-obprintf.c: Likewise.
29140         * stdio-common/tst-perror.c: Likewise.
29141         * stdio-common/tst-sprintf2.c: Likewise.
29142         * stdio-common/tst-sprintf3.c: Likewise.
29143         * stdio-common/tst-sprintf.c: Likewise.
29144         * stdio-common/tst-swprintf.c: Likewise.
29145         * stdio-common/tst-tmpnam.c: Likewise.
29146         * stdio-common/tst-unbputc.c: Likewise.
29147         * stdio-common/tst-wc-printf.c: Likewise.
29148         * stdlib/tst-environ.c: Likewise.
29149         * stdlib/tst-fmtmsg.c: Likewise.
29150         * stdlib/tst-limits.c: Likewise.
29151         * stdlib/tst-rand48-2.c: Likewise.
29152         * stdlib/tst-rand48.c: Likewise.
29153         * stdlib/tst-random2.c: Likewise.
29154         * stdlib/tst-random.c: Likewise.
29155         * stdlib/tst-strtol.c: Likewise.
29156         * stdlib/tst-strtoll.c: Likewise.
29157         * stdlib/tst-tls-atexit.c: Likewise.
29158         * stdlib/tst-xpg-basename.c: Likewise.
29159         * string/test-ffs.c: Likewise.
29160         * string/tst-bswap.c: Likewise.
29161         * string/tst-inlcall.c: Likewise.
29162         * string/tst-strtok.c: Likewise.
29163         * string/tst-strxfrm.c: Likewise.
29164         * sysdeps/x86_64/tst-audit10.c: Likewise.
29165         * sysdeps/x86_64/tst-audit3.c: Likewise.
29166         * sysdeps/x86_64/tst-audit4.c: Likewise.
29167         * sysdeps/x86_64/tst-audit5.c: Likewise.
29168         * time/tst-ftime_l.c: Likewise.
29169         * time/tst-getdate.c: Likewise.
29170         * time/tst-mktime3.c: Likewise.
29171         * time/tst-mktime.c: Likewise.
29172         * time/tst-posixtz.c: Likewise.
29173         * time/tst-strptime2.c: Likewise.
29174         * time/tst-strptime3.c: Likewise.
29175         * wcsmbs/tst-btowc.c: Likewise.
29176         * wcsmbs/tst-mbrtowc.c: Likewise.
29177         * wcsmbs/tst-mbsrtowcs.c: Likewise.
29178         * wcsmbs/tst-wchar-h.c: Likewise.
29179         * wcsmbs/tst-wcpncpy.c: Likewise.
29180         * wcsmbs/tst-wcrtomb.c: Likewise.
29181         * wcsmbs/tst-wcsnlen.c: Likewise.
29182         * wcsmbs/tst-wcstof.c: Likewise.
29184 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
29186         [BZ #14132]
29187         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
29188         INTDEF.
29189         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
29190         declaration.
29191         (_dl_mcount): Use rtld_hidden_proto.
29192         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
29193         _dl_mcount.
29194         * elf/rtld.c (_rtld_global_ro): Likewise.
29196         [BZ #14132]
29197         * elf/dl-init.c (_dl_init): Don't use INTDEF.
29198         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
29199         of _dl_init_internal.
29200         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
29201         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
29202         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
29203         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
29204         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
29205         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
29206         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
29207         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
29208         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
29209         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
29210         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
29211         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
29212         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29213         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29214         * sysdeps/tile/dl-start.S (_start): Likewise.
29215         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
29216         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
29218         [BZ #14132]
29219         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
29220         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
29221         (rtld_progname): Make macro definition unconditional.
29222         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
29223         INTDEF.
29224         (dlmopen_doit): Do not use INTUSE with _dl_argv.
29225         (dl_main): Likewise.
29226         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29227         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
29228         instead of _dl_argv_internal.
29229         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29230         __GI__dl_argv instead of INTUSE(_dl_argv).
29231         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
29232         __GI__dl_argv instead of _dl_argv_internal.
29234         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
29235         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
29236         macro.
29237         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
29238         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
29239         New macro.
29240         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
29241         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
29242         macro.
29243         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
29244         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
29246 2014-11-04  Andreas Schwab  <schwab@suse.de>
29248         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
29250 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29252         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
29253         mtvsrd instruction in binary form.
29255 2014-11-03  Andreas Schwab  <schwab@suse.de>
29257         [BZ #17522]
29258         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
29259         for less than MB_LEN_MAX use a local buffer of that size.
29260         * libio/tst-fputws.c: New file.
29261         * libio/Makefile (tests): Add tst-fputws.
29263 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
29265         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
29266         the size of the fpu_fr.fpu_dregs[] array.
29268 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
29270         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
29271         (__nanosleep): Do not define as alias.
29272         (nanosleep): Define as alias of __nanosleep.
29273         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
29274         __libc_nanosleep name.
29276 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29278         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
29279         install.texi in comment.
29281 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29283         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
29284         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
29285         ... add here and use lwsync or sync ...
29286         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
29287         ... and add here using lwsync.
29289 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
29291         * elf/dl-machine-reject-phdr.h: New file.
29292         * elf/dl-load.c: #include that.
29293         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
29294         if that returned true.
29296 2014-10-31  Roland McGrath  <roland@hack.frob.com>
29298         [BZ #17496]
29299         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
29300         gen-as-const-headers chunk.  Add a big scare comment after the last
29301         safe place to touch before-compile.
29303 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29305         * manual/install.texi (Tools for Compilation): Update autoconf
29306         version requirements.
29307         * INSTALL: Regenerated.
29309         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
29310         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
29311         (__libc_pselect): Likewise.
29313         [BZ #14138]
29314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
29315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29319 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29321         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
29322         correct barrier instruction.
29323         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
29324         Likewise.
29325         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
29326         Likewise.
29328 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29330         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
29331         after defining inlines.  Instead, just use parens to defeat macro
29332         expansion of __isctype in its declaration.
29334 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29336         * include/sys/uio.h (__libc_readv): Remove declaration.
29337         (__libc_writev): Likewise.
29338         * misc/readv.c (__libc_readv): Rename to __readv.
29339         (__readv): Do not define as alias.
29340         (readv): Define as alias of __readv.
29341         * misc/writev.c (__libc_writev): Rename to __writev.
29342         (__writev): Do not define as alias.
29343         (writev): Define as alias of __writev.
29344         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
29345         (__readv): Do not define as alias.
29346         (readv): Define unconditionally as alias of __readv.
29347         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
29348         (__writev): Do not define as alias.
29349         (writev): Define unconditionally as alias of __writev.
29350         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
29351         name.
29352         (writev): Do not define __libc_writev name.
29354 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29356         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
29357         (convert_charseq): New function, broken out of ...
29358         (use_from_charmap): ... here.  Call it.
29359         (use_to_charmap): Use convert_charseq and free instead of duplicating
29360         its code with a variable-length stack struct.
29362 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29364         * include/fcntl.h (__libc_creat): Remove declaration.
29365         * io/creat.c (__libc_creat): Rename to creat.
29366         (creat): Do not define as alias.
29367         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
29368         of creat instead of __libc_creat.
29369         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
29370         to creat.
29371         (creat): Do not define as alias.
29372         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
29373         __libc_creat.
29374         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
29375         __libc_creat name.
29376         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
29377         Likewise.
29379 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
29381         * manual/llio.texi: Add comments discussing why write() may be
29382         considered MT-unsafe on Linux.
29384 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
29386         * dl-load.c (local_strdup): Remove.
29387         (expand_dynamic_string_token): Use __strdup.
29388         (decompose_rpath): Likewise.
29389         (_dl_map_object): Likewise.
29391 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
29393         [BZ #14132]
29394         * sysdeps/generic/unwind-dw2-fde.c
29395         (__register_frame_info_bases_internal): Do not declare.
29396         (__register_frame_info_table_bases_internal): Likewise.
29397         (__deregister_frame_info_bases_internal): Likewise.
29398         (__register_frame_info_bases): Declare and use hidden_proto before
29399         definition.  Use hidden_def instead of INTDEF.
29400         (__register_frame_info_table_bases): Likewise.
29401         (__deregister_frame_info_bases): Likewise.
29402         (__register_frame_info): Do not use INTUSE.
29403         (__register_frame): Likewise.
29404         (__register_frame_info_table): Likewise.
29405         (__register_frame_table): Likewise.
29406         (__deregister_frame_info): Likewise.
29407         (__deregister_frame): Likewise.
29409 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
29411         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29412         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
29413         not undefine.
29414         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
29415         Likewise.
29416         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
29417         Likewise.
29419 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
29421         [BZ #14138]
29422         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
29423         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
29424         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
29425         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
29426         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
29427         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
29428         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
29429         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
29430         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
29431         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
29432         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
29433         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
29434         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
29435         syscall.
29436         (setfsuid): Likewise.
29437         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
29438         (setfsuid): Likewise.
29439         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
29440         (setfsuid): Likewise.
29441         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
29442         Likewise.
29443         (setfsuid): Likewise.
29444         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
29445         (setfsuid): Likewise.
29446         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
29447         Likewise.
29448         (setfsuid): Likewise.
29450 2014-10-27  Andreas Schwab  <schwab@suse.de>
29452         [BZ #17501]
29453         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
29454         check for Slow_SSE4_2 feature bit.
29455         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
29456         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29457         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
29458         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
29460 2014-10-24  Roland McGrath  <roland@hack.frob.com>
29462         * configure.ac: Validate compiler version with a empirical test of
29463         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
29464         $CC -v output.
29465         * configure: Regenerated.
29467         * inet/htons.c (htons): Prototypify.
29468         * inet/htonl.c (htonl): Likewise.
29470 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29472         * string/strncat.c (strncat): Improve performance by using strlen.
29474 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29476         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
29478 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29480         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
29481         Call libc_fetestexcept_aarch64.
29483 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29485         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
29486         Call libc_feholdexcept_aarch64.
29488 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29490         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
29491         Call get_rounding_mode.
29493 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29495         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29496         Simplify logic.
29498 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29500         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
29501         Simplify logic.
29503 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
29505         [BZ #14138]
29506         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
29507         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
29508         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
29509         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
29510         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
29511         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
29512         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
29513         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
29514         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
29515         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
29516         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29517         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
29518         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
29519         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
29520         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
29521         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
29522         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
29523         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
29524         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
29525         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
29526         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
29527         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
29528         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
29529         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
29530         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
29531         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
29532         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
29533         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
29534         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
29535         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
29536         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
29537         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
29538         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
29539         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
29540         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
29541         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
29542         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
29543         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
29544         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
29545         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
29546         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
29547         syscall.
29548         (geteuid): Likewise.
29549         (getgid): Likewise.
29550         (getuid): Likewise.
29551         (getresgid): Likewise.
29552         (getresuid): Likewise.
29553         (getgroups): Likewise.
29554         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
29555         (geteuid): Likewise.
29556         (getgid): Likewise.
29557         (getuid): Likewise.
29558         (getresgid): Likewise.
29559         (getresuid): Likewise.
29560         (getgroups): Likewise.
29561         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
29562         (geteuid): Likewise.
29563         (getgid): Likewise.
29564         (getuid): Likewise.
29565         (getresgid): Likewise.
29566         (getresuid): Likewise.
29567         (getgroups): Likewise.
29568         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
29569         Likewise.
29570         (geteuid): Likewise.
29571         (getgid): Likewise.
29572         (getuid): Likewise.
29573         (getresgid): Likewise.
29574         (getresuid): Likewise.
29575         (getgroups): Likewise.
29576         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
29577         (geteuid): Likewise.
29578         (getgid): Likewise.
29579         (getuid): Likewise.
29580         (getresgid): Likewise.
29581         (getresuid): Likewise.
29582         (getgroups): Likewise.
29583         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
29584         Likewise.
29585         (geteuid): Likewise.
29586         (getgid): Likewise.
29587         (getuid): Likewise.
29588         (getgroups): Likewise.
29590         [BZ #14138]
29591         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
29592         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
29593         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
29594         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29595         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
29596         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
29597         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
29598         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
29599         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
29600         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
29601         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
29602         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
29603         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
29604         __chown.
29605         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
29606         (lchown): Likewise.
29607         (fchown): Likewise.
29608         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
29609         Likewise.
29610         (lchown): Likewise.
29611         (fchown): Likewise.
29612         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
29613         (lchown): Likewise.
29614         (fchown): Likewise.
29615         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
29616         Likewise.
29617         (lchown): Likewise.
29618         (fchown): Likewise.
29620 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29622         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
29623         Simplify logic.
29625 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29627         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29628         Cleanup logic.
29630 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29632         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29633         Remove unused include.
29635 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29637         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
29638         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
29639         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
29640         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
29642 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
29643             Helge Deller <deller@gmx.de>
29645         [BZ #17508]
29646         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
29647         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
29648         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
29650 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
29652         [BZ #14132]
29653         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
29654         Remove macro definition.
29655         (__ashrdi3_v_glibc20): Likewise.
29656         (__lshrdi3_v_glibc20): Likewise.
29657         (__cmpdi2_v_glibc20): Likewise.
29658         (__ucmpdi2_v_glibc20): Likewise.
29659         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
29660         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
29661         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
29662         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29663         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29664         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
29666 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29668         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
29669         old GNU extension [0] syntax.
29670         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
29671         alloca rather than an array member with variable length.
29672         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
29673         * nscd/nscd.c (invalidate_db): New function, broken out of ...
29674         (parse_opt): ... here.  Likewise use alloca there.
29675         Validate the -i argument before checking for rootness.
29676         (send_shutdown): New function, broken out of ...
29677         (parse_opt): ... here.
29679 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29681         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
29682         macro to get at the _rt_local_ro field.
29683         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
29684         ([PIC] case) or _dl_hwcap ([!PIC] case).
29685         * sysdeps/arm/setjmp.S: Likewise.
29687         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
29688         * sysdeps/arm/configure.ac: New check to define it.
29689         * sysdeps/arm/configure: Regenerated.
29690         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
29691         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
29692         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
29693         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
29694         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
29695         Use move/movt pair instead of a load.
29696         (LDST_GLOBAL): Macro removed.
29697         (LDR_GLOBAL): New macro replaces it.
29698         (LDR_HIDDEN): New macro.
29699         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
29700         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
29702         * setjmp/tst-setjmp-static.c: New file.
29703         * setjmp/Makefile (tests): Add it.
29704         (tests-static): New variable.
29706 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
29708         [BZ #17485]
29709         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
29711 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
29713         [BZ #14132]
29714         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
29716 2014-10-21  Roland McGrath  <roland@hack.frob.com>
29718         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
29720 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29722         * io/fts.c (dirent_not_directory): New function.
29723         (fts_build): Call it.
29725 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29727         * nptl/version.c (__nptl_main): Use normal __write rather than
29728         INTERNAL_SYSCALL.
29729         (banner): Update copyright years.
29731         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
29732         gettimeofday.
29733         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29734         * nptl/pthread_cond_timedwait.c: Likewise.
29735         * nptl/pthread_mutex_timedlock.c: Likewise.
29736         * nptl/sem_timedwait.c: Likewise.
29738         * sysdeps/nptl/bits/libc-lock.h
29739         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29740         (__libc_lock_init_recursive): Return void, not 0.
29741         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
29742         (__libc_rwlock_init): Likewise.
29743         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
29745 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29747         [BZ #15215]
29748         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
29749         (__pthread_once_slow): ... here.
29750         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
29751         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
29753 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29755         [BZ #15215]
29756         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
29757         __PTHREAD_ONCE_FORK_GEN_INCR): New.
29758         * sysdeps/nptl/fork.c (__libc_fork): Use them.
29759         * nptl/pthread_once.c (__pthread_once): Likewise.
29760         Update comments.
29762 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
29764         [BZ #14138]
29765         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
29766         name.
29767         (writev): Use __libc_writev as strong name.
29768         * sysdeps/unix/sysv/linux/readv.c: Remove file.
29769         * sysdeps/unix/sysv/linux/writev.c: Likewise.
29771 2014-10-17  Roland McGrath  <roland@hack.frob.com>
29773         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
29775         * sysdeps/i386/nptl/tls.h
29776         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
29777         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
29778         New macros.
29779         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
29780         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
29781         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
29782         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
29783         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
29784         Call CHECK_THREAD_SYSINFO instead of doing an assert.
29786         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29787         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
29788         on [__NR_futex].
29789         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
29790         broken out of ...
29791         (__pthread_mutex_init): ... here.  Call it.
29792         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
29793         Conditionalize PI cases on [__NR_futex].
29794         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
29795         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
29796         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
29798         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
29799         conditional on [SIGSETXID].
29800         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
29801         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
29802         is defined.  Likewise for SIGSETXID.
29803         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
29804         Conditionalize definitions on [SIGSETXID].
29805         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
29806         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
29807         unblocking on [SIGCANCEL].
29809         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
29810         [__NR_set_robust_list].
29812 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29814         * string/strcoll_l.c (get_next_seq): Fix up formatting.
29815         (do_compare): Likewise.
29817 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
29819         [BZ #15884]
29820         * string/strcoll_l.c: Don't include stdio.h.
29821         (coll_seq): Remove members idxarr and rulearr.
29822         (get_next_seq_cached): Remove function.
29823         (get_next_seq): Likewise.
29824         (get_next_seq_nocache): Rename to get_next_seq.
29825         (do_compare): Remove function.
29826         (do_compare_nocache): Rename to do_compare.
29827         (STRCOLL): Remove weight and rules cache.
29829 2014-10-16  Roland McGrath  <roland@hack.frob.com>
29831         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
29832         * sysdeps/arm/sfp-machine.h: ... to here.
29833         * sysdeps/arm/Implies: Remove arm/soft-fp.
29835 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
29837         * conform/data/sys/utsname.h-data (*_t): Allow.
29838         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
29839         [POSIX] (WEXITED): Do not expect constant.
29840         [POSIX] (WSTOPPED): Likewise.
29841         [POSIX] (WNOHANG): Likewise.
29842         [POSIX] (WNOWAIT): Likewise.
29843         [POSIX] (siginfo_t): Do not expect type or elements.
29844         [POSIX] (pid_t): Do not expect type.
29845         [POSIX] (signal.h): Do not allow header.
29846         [POSIX] (sys/resource.h): Likewise.
29847         [POSIX] (si_*): Do not allow pattern.
29848         [POSIX] (W*): Likewise.
29849         [POSIX] (P_*): Likewise.
29850         [POSIX] (BUS_*): Likewise.
29851         [POSIX] (CLD_*): Likewise.
29852         [POSIX] (FPE_*): Likewise.
29853         [POSIX] (ILL_*): Likewise.
29854         [POSIX] (POLL_*): Likewise.
29855         [POSIX] (SEGV_*): Likewise.
29856         [POSIX] (SI_*): Likewise.
29857         [POSIX] (TRAP_*): Likewise.
29858         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
29859         variable.
29861 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29863         [BZ #12926]
29864         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
29865         infinite loop when __recvmsg returns 0.
29867 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
29869         * CANCEL-FCT-WAIVE: Remove file.
29870         * CANCEL-FILE-WAIVE: Likewise.
29872         [BZ #14132]
29873         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
29874         instead of INTVARDEF.
29875         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29876         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
29877         rtld_hidden_data_def instead of INTVARDEF.
29878         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29879         * elf/dl-deps.c (expand_dst): Likewise.
29880         * elf/dl-load.c (_dl_dst_count): Likewise.
29881         (_dl_dst_substitute): Likewise.
29882         (decompose_rpath): Likewise.
29883         (_dl_init_paths): Likewise.
29884         (open_path): Likewise.
29885         (_dl_map_object): Likewise.
29886         * elf/rtld.c (dl_main): Likewise.
29887         (process_dl_audit): Likewise.
29888         (process_envvars): Likewise.
29889         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
29890         Remove declaration.
29891         (__libc_enable_secure): Use rtld_hidden_proto.
29893 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29895         * elf/dl-load.c
29896         (add_path): New function broken out of _dl_rtld_di_serinfo.
29897         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
29899 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29901         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
29902         parentheses around macro arguments.
29903         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
29904         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
29905         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
29906         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
29907         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
29908         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29909         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29910         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
29911         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
29912         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
29913         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
29914         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
29915         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
29916         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
29917         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
29918         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
29919         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
29920         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
29921         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
29922         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
29923         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
29924         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
29925         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
29926         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29927         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29928         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
29929         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
29930         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
29931         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
29932         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
29933         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
29934         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
29935         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
29936         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
29937         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
29938         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
29939         Likewise.
29940         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
29941         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29942         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29943         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
29944         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
29945         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
29946         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
29947         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
29948         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
29949         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
29950         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
29951         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
29952         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
29953         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
29954         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
29955         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29956         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29957         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
29958         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
29959         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
29960         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
29961         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
29962         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
29963         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
29964         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
29965         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
29966         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
29967         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
29968         (_FP_FRAC_SRS_1): Likewise.
29969         (_FP_FRAC_CLZ_1): Likewise.
29970         (_FP_MUL_MEAT_1_imm): Likewise.
29971         (_FP_MUL_MEAT_1_wide): Likewise.
29972         (_FP_MUL_MEAT_1_hard): Likewise.
29973         (_FP_SQRT_MEAT_1): Likewise.
29974         (_FP_FRAC_ASSEMBLE_1): Likewise.
29975         (_FP_FRAC_DISASSEMBLE_1): Likewise.
29976         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
29977         (__FP_CLZ_2): Likewise.
29978         (_FP_MUL_MEAT_2_wide): Likewise.
29979         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29980         (_FP_MUL_MEAT_2_gmp): Likewise.
29981         (_FP_MUL_MEAT_2_120_240_double): Likewise.
29982         (_FP_SQRT_MEAT_2): Likewise.
29983         (_FP_FRAC_ASSEMBLE_2): Likewise.
29984         (_FP_FRAC_DISASSEMBLE_2): Likewise.
29985         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
29986         (_FP_FRAC_CLZ_4): Likewise.
29987         (_FP_MUL_MEAT_4_wide): Likewise.
29988         (_FP_MUL_MEAT_4_gmp): Likewise.
29989         (_FP_SQRT_MEAT_4): Likewise.
29990         (_FP_FRAC_ASSEMBLE_4): Likewise.
29991         (_FP_FRAC_DISASSEMBLE_4): Likewise.
29992         * soft-fp/op-common.h (_FP_CMP): Likewise.
29993         (_FP_CMP_EQ): Likewise.
29994         (_FP_CMP_UNORD): Likewise.
29995         (_FP_TO_INT): Likewise.
29996         (_FP_FROM_INT): Likewise.
29997         [!__FP_CLZ] (__FP_CLZ): Likewise.
29998         (_FP_DIV_HELP_imm): Likewise.
29999         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
30000         Likewise.
30001         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
30002         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
30003         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
30004         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
30005         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
30006         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30007         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30008         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
30009         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
30010         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
30011         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
30012         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
30013         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
30014         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
30015         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
30016         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
30017         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
30018         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
30019         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
30020         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
30021         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
30022         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
30023         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
30024         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30025         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30026         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
30027         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
30028         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
30029         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
30030         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
30031         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
30032         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
30033         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
30034         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
30035         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
30036         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
30037         (FP_UNPACK_RAW_SP): Likewise.
30038         (FP_PACK_RAW_S): Likewise.
30039         (FP_PACK_RAW_SP): Likewise.
30040         (FP_UNPACK_S): Likewise.
30041         (FP_UNPACK_SP): Likewise.
30042         (FP_UNPACK_SEMIRAW_S): Likewise.
30043         (FP_UNPACK_SEMIRAW_SP): Likewise.
30044         (FP_PACK_S): Likewise.
30045         (FP_PACK_SP): Likewise.
30046         (FP_PACK_SEMIRAW_S): Likewise.
30047         (FP_PACK_SEMIRAW_SP): Likewise.
30048         (_FP_SQRT_MEAT_S): Likewise.
30049         (FP_CMP_S): Likewise.
30050         (FP_CMP_EQ_S): Likewise.
30051         (FP_CMP_UNORD_S): Likewise.
30052         (FP_TO_INT_S): Likewise.
30053         (FP_FROM_INT_S): Likewise.
30055         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
30057         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
30058         (FP_EX_INVALID_IMZ): Likewise.
30059         (FP_EX_INVALID_IMZ_FMA): Likewise.
30060         (FP_EX_INVALID_ISI): Likewise.
30061         (FP_EX_INVALID_ZDZ): Likewise.
30062         (FP_EX_INVALID_IDI): Likewise.
30063         (FP_EX_INVALID_SQRT): Likewise.
30064         (FP_EX_INVALID_CVI): Likewise.
30065         (FP_EX_INVALID_VC): Likewise.
30066         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
30067         "invalid" exceptions.
30068         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
30069         (_FP_ADD_INTERNAL): Likewise.
30070         (_FP_MUL): Likewise.
30071         (_FP_FMA): Likewise.
30072         (_FP_DIV): Likewise.
30073         (_FP_CMP_CHECK_NAN): Likewise.
30074         (_FP_SQRT): Likewise.
30075         (_FP_TO_INT): Likewise.
30076         (FP_EXTEND): Likewise.
30078 2014-10-09  Allan McRae  <allan@archlinux.org>
30080         * po/fr.po: Update French translation from translation project.
30082 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30084         [BZ #14132]
30085         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
30086         of INTDEF.
30087         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
30088         (__cxa_atexit): Use libc_hidden_proto.
30089         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
30091         [BZ #14132]
30092         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
30093         declaration.
30094         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
30095         [!_ISOMAC] (__iswspace_l_internal): Likewise.
30096         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
30097         [!_ISOMAC] (__iswctype_internal): Likewise.
30098         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
30099         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
30100         alias.
30101         (fcntl): Remove __fcntl_internal alias.
30102         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
30103         __connect_internal alias.
30104         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
30105         Likewise.
30107         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
30108         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
30109         FP_DENORM_ZERO.
30110         (_FP_CHECK_FLUSH_ZERO): New macro.
30111         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
30112         (_FP_CMP): Likewise.
30113         (_FP_CMP_EQ): Likewise.
30114         (_FP_TO_INT): Do not set inexact for subnormal arguments if
30115         FP_DENORM_ZERO.
30116         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
30117         (FP_TRUNC): Likewise.
30119         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
30120         treated as invalid conversion, not as normal exponent.
30122         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
30123         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
30124         (_FP_CMP_EQ): Likewise.
30125         (_FP_CMP_UNORD): Likewise.
30126         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
30127         (FP_CMP_EQ_D): Likewise.
30128         (FP_CMP_UNORD_D): Likewise.
30129         * soft-fp/extended.h (FP_CMP_E): Likewise.
30130         (FP_CMP_EQ_E): Likewise.
30131         (FP_CMP_UNORD_E): Likewise.
30132         * soft-fp/quad.h (FP_CMP_Q): Likewise.
30133         (FP_CMP_EQ_Q): Likewise.
30134         (FP_CMP_UNORD_Q): Likewise.
30135         * soft-fp/single.h (FP_CMP_S): Likewise.
30136         (FP_CMP_EQ_S): Likewise.
30137         (FP_CMP_UNORD_S): Likewise.
30138         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
30139         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
30140         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
30141         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
30142         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
30143         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
30144         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
30145         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
30146         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
30147         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
30148         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
30149         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
30150         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
30151         to FP_CMP_Q.
30152         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
30153         FP_CMP_Q.
30154         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
30155         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
30156         FP_CMP_EQ_Q.
30157         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
30158         FP_CMP_Q.
30159         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
30160         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
30161         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
30162         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
30163         FP_CMP_EQ_Q.
30164         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
30165         FP_CMP_Q.
30166         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
30167         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
30168         FP_CMP_EQ_Q.
30169         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
30170         FP_CMP_Q.
30171         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
30172         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
30173         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
30174         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
30175         FP_CMP_EQ_Q.
30177         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
30178         a subnormal result, set the underflow exception if trapping on
30179         underflow is enabled.
30180         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
30181         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
30182         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
30183         redefine to 0.
30184         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
30185         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30186         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30187         * soft-fp/extendxftf2.c (__extendxftf2): Use
30188         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
30190         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
30191         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
30192         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30193         FP_HANDLE_EXCEPTIONS.
30194         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
30195         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30196         FP_HANDLE_EXCEPTIONS.
30197         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
30198         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30199         FP_HANDLE_EXCEPTIONS.
30200         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
30201         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30202         FP_HANDLE_EXCEPTIONS.
30204 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
30206         [BZ #14132]
30207         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
30208         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
30209         use INTUSE.
30210         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
30211         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
30212         Remove alias.
30213         (__adjtimex): Define using libc_hidden_ver.
30214         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
30215         Remove declaration.
30216         (ntp_gettime): Call __adjtimex directly.
30217         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
30218         Remove declaration.
30219         (ntp_gettimex): Call __adjtimex directly.
30220         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
30221         __adjtimex_internal alias.
30223 2014-10-08  Roland McGrath  <roland@hack.frob.com>
30225         [BZ #17460]
30226         * nscd/nscd.c (more_help): Rewrite list of tables collection
30227         using xstrdup and asprintf.
30229         * nscd/nscd_conf.c: Remove local xstrdup declaration.
30231 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30232             Roland McGrath  <roland@hack.frob.com>
30234         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
30235         (do_lookup_unique): ... local function 'enter' here; update callers.
30237 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
30239         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
30240         compat_symbol calls on [SHARED].
30241         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
30242         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
30243         Remove.
30244         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30245         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
30246         (oldsetrlimit): Remove.
30247         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30249         (lchown): New syscall entry.
30250         (oldsetrlimit): Remove.
30251         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30252         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
30253         (oldsetrlimit): Remove.
30254         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30256         [BZ #14138]
30257         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
30258         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
30259         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
30260         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
30261         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30262         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
30263         (fchown): Likewise.
30264         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
30265         (fchown): Likewise.
30266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
30267         Likewise.
30269 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30271         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
30272         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
30273         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
30274         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
30275         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
30276         Likewise.
30277         (__old_sem_post): Likewise.
30279 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
30281         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
30282         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
30283         HAVE_CLOCK_GETTIME_VSYSCALL macros.
30284         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
30285         Use INLINE_VSYSCALL macro.
30286         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
30287         __vdso_clock_gettime.
30288         * sysdeps/unix/sysv/linux/tile/init-first.c
30289         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
30290         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
30291         __vdso_clock_gettime.
30293         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
30294         to set up frame more cleanly.
30296         * sysdeps/tile/memcmp.c: New file.
30298         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
30300         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
30301         * sysdeps/tile/tilegx/strcasestr.c: New file.
30302         * sysdeps/tile/tilegx/strnlen.c: New file.
30303         * sysdeps/tile/tilegx/strstr.c: New file.
30305         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
30307 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
30309         * nptl/tst-setuid3.c: Write errors to stdout.
30311 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30313         * elf/dl-deps.c
30314         (preload): New functions broken out of _dl_map_object_deps.
30315         (_dl_map_object_deps):  Remove a nested function. Update call sites.
30317 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
30319         [BZ #14138]
30320         * sysdeps/unix/sysv/linux/execve.c: Remove file.
30321         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
30323 2014-10-01  Steve Ellcey  <sellcey@mips.com>
30325         * sysdeps/mips/strcmp.S: New.
30327 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
30329         [BZ #14138]
30330         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
30331         (linkat): Likewise.
30332         (mkdirat): Likewise.
30333         (readlinkat): Likewise.
30334         (renameat): Likewise.
30335         (symlinkat): Likewise.
30336         (unlinkat): Likewise.
30337         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
30338         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
30339         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
30340         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
30341         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
30342         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
30343         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
30345 2014-09-30  Will Newton  <will.newton@linaro.org>
30347         * math/math.h: Define long double math functions if
30348         _LIBC_TEST is defined.
30349         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
30351         * localedata/Makefile: Move assignment to tests-special
30352         into an ifdef testing run-built-tests.
30353         * timezone/Makefile: Likewise.
30355 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
30357         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
30358         with $(BASH) not $(SHELL).
30360 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
30361             Matthew LeGendre  <legendre1@llnl.gov>
30363         [BZ #17411]
30364         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
30365         l_reloc_result.
30367 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30369         * stdio-common/printf_fp.c
30370         (hack_digit): New function, broken out of ...
30371         (__printf_fp): ... local function here.  Update call sites.
30372         hack_digit now takes an additional parameter that is a pointer
30373         to a struct of the referenced locals.  Those locals moved inside
30374         the struct and references updated.
30376 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
30378         * aclocal.m4: Require autoconf 2.69.
30379         * configure: Regenerated.
30380         * sysdeps/aarch64/configure: Likewise.
30381         * sysdeps/alpha/configure: Likewise.
30382         * sysdeps/arm/armv7/configure: Likewise.
30383         * sysdeps/arm/configure: Likewise.
30384         * sysdeps/ia64/configure: Likewise.
30385         * sysdeps/mach/configure: Likewise.
30386         * sysdeps/mips/configure: Likewise.
30387         * sysdeps/s390/configure: Likewise.
30388         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
30389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
30391         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
30392         file.
30393         * sysdeps/ia64/configure.ac: Likewise.
30395 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
30397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
30398         specify symbol version for ld.so.  Do not include entry for
30399         libpthread.
30400         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30401         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30402         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30404         [BZ #14171]
30405         * Makeconfig [$(build-shared) = yes]
30406         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
30407         makefiles.
30408         [$(build-shared) = yes && $(soversions.mk-done) = t]
30409         ($(common-objpfx)gnu/lib-names.h): Remove rule.
30410         [$(build-shared) = yes && $(soversions.mk-done) = t]
30411         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
30412         to Makerules.
30413         [$(build-shared) = yes && $(soversions.mk-done) = t]
30414         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
30415         here.
30416         [$(build-shared) = yes && $(soversions.mk-done) = t]
30417         (common-generated): Don't append gnu/lib-names.h and
30418         gnu/lib-names.stmp here.
30419         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
30420         (lib-names-h-abi): New variable.
30421         [$(build-shared) = yes && $(soversions.mk-done) = t]
30422         (lib-names-stmp-abi): Likewise.
30423         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30424         abi-variants] (before-compile): Append
30425         $(common-objpfx)$(lib-names-h-abi).
30426         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30427         abi-variants] (common-generated): Append gnu/lib-names.h.
30428         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30429         abi-variants] (install-others-nosubdir): Depend on
30430         $(inst_includedir)/$(lib-names-h-abi).
30431         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30432         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
30433         [$(build-shared) = yes && $(soversions.mk-done) = t]
30434         ($(common-objpfx)$(lib-names-h-abi)): New rule.
30435         [$(build-shared) = yes && $(soversions.mk-done) = t]
30436         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
30437         [$(build-shared) = yes && $(soversions.mk-done) = t]
30438         (common-generated): Append $(lib-names-h-abi) and
30439         $(lib-names-stmp-abi).
30440         * scripts/lib-names.awk: Do not handle multi being set.
30441         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
30442         Remove variable.
30443         (abi-lp64_be-ld-soname): Likewise.
30444         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
30445         Likewise.
30446         (abi-hard-ld-soname): Likewise.
30447         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
30448         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
30449         Remove variable.
30450         (abi-o32_hard-ld-soname): Likewise.
30451         (abi-o32_soft_2008-ld-soname): Likewise.
30452         (abi-o32_hard_2008-ld-soname): Likewise.
30453         (abi-n32_soft-ld-soname): Likewise.
30454         (abi-n32_hard-ld-soname): Likewise.
30455         (abi-n32_soft_2008-ld-soname): Likewise.
30456         (abi-n32_hard_2008-ld-soname): Likewise.
30457         (abi-n64_soft-ld-soname): Likewise.
30458         (abi-n64_hard-ld-soname): Likewise.
30459         (abi-n64_soft_2008-ld-soname): Likewise.
30460         (abi-n64_hard_2008-ld-soname): Likewise.
30461         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
30462         Likewise.
30463         (abi-64-v2-ld-soname): Likewise.
30464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
30465         ld.so entries.
30466         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
30467         variable.
30468         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
30469         entry.
30470         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
30471         variable.
30472         (abi-64-ld-soname): Likewise.
30473         (abi-x32-ld-soname): Likewise.
30474         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
30475         entry.
30476         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30478 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
30480         [BZ #14138]
30481         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
30482         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
30483         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
30484         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
30485         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
30486         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
30487         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
30488         syscall entry for GLIBC_2.2 symbol version.
30489         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
30490         Likewise.
30491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30492         (setrlimit): Likewise.
30493         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
30494         Likewise.
30496 2014-09-23  Will Newton  <will.newton@linaro.org>
30498         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
30499         _LINUX_ARM_SYSDEP_H include guard too.
30500         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
30501         define.
30503 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30505         * sysdeps/unix/sysv/linux/eventfd.c:
30506         Make first argument unsigned.
30507         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
30508         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
30510 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
30512         [BZ #16852]
30513         * socket/recvmmsg.c (recvmmsg): Drop const argument.
30514         * socket/sys/socket.h: Likewise.
30515         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
30517 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30519         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
30521 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
30523         * time/tst-ftime.c: New test.
30524         * time/Makefile (tests): Add tst-ftime.
30526 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
30528         * soft-fp/extended.h: Fix comment formatting.
30529         * soft-fp/op-1.h: Likewise.
30530         * soft-fp/op-2.h: Likewise.
30531         * soft-fp/op-4.h: Likewise.
30532         * soft-fp/op-8.h: Likewise.
30533         * soft-fp/op-common.h: Likewise.
30534         * soft-fp/soft-fp.h: Likewise.
30536         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
30538 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
30540         [BZ #6652]
30541         * Makeconfig (soversions-default-setname): Remove variable.
30542         ($(common-objpfx)soversions.i): Don't pass default_setname to
30543         soversions.awk.
30544         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
30545         oldest_abi to abi-versions.awk.
30546         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
30547         * config.make.in (oldest-abi): Remove variable.
30548         * configure.ac (--enable-oldest-abi): Remove configure option.
30549         * configure: Regenerated.
30550         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
30551         text.
30552         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
30553         * scripts/soversions.awk: Do not handle default_setname variable.
30554         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
30555         variable.
30556         * sysdeps/mach/hurd/configure: Regenerated.
30557         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
30558         variable.
30559         * sysdeps/unix/sysv/linux/configure: Regenerated.
30561 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30563         * elf/Makefile (CFLAGS-interp.c): Remove.
30564         ($(elf-objpfx)runtime-linker.h): Generate header with linker
30565         path string.
30566         * elf/interp.c: Include generated runtime-linker.h
30568         * Makerules (lib%.so): Don't include $(+interp) in
30569         prerequisites.
30570         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
30571         * dlfcn/eval.c: Remove file.
30573         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
30574         macros.
30576         [BZ #17266]
30577         * misc/sys/cdefs.h: Define __extern_always_inline for clang
30578         4.2 and newer.
30580         [BZ #17370]
30581         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
30583 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30584             Jakub Jelinek  <jakub@redhat.com>
30586         [BZ #17266]
30587         * libio/stdio.h: Check definition of __fortify_function
30588         instead of __extern_always_inline to include bits/stdio2.h.
30589         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
30590         check if __extern_always_inline is defined.
30591         [__USE_MISC || __USE_XOPEN]: Likewise.
30592         [__USE_ISOC99] Likewise.
30593         * misc/sys/cdefs.h (__fortify_function): Define only if
30594         __extern_always_inline is defined.
30595         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
30596         __extern_always_inline and __extern_inline only for g++-4.3
30597         and newer or a compatible gcc.
30599 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
30601         [BZ #17371]
30602         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30603         last change to handle zero prefix length.
30605 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30607         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
30608         _SC_REGEX_VERSION.
30610         * posix/getconf.c (vars): Add _POSIX_IPV6 and
30611         _POSIX_RAW_SOCKETS.
30613 2014-09-13  Allan McRae  <allan@archlinux.org>
30615         * po/ru.po: Update Russian translation from translation project.
30617 2014-09-12  Roland McGrath  <roland@hack.frob.com>
30619         * locale/programs/locale.c (show_locale_vars): Inline local function
30620         into its sole call site.  Clean up some style nits.
30621         (print_item): New function, broken out of ...
30622         (show_info): ... local function here.  Clean up style nits.
30624         * locale/programs/ld-ctype.c (set_one_default): New function, broken
30625         out of ...
30626         (set_class_defaults): ... local function set_default here.
30627         Define set_default as a macro locally to pass constant parameters.
30628         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
30629         rather than a shared local.
30631         * stdlib/rpmatch.c (try): New function, broken out of ...
30632         (rpmatch): ... local function here.  Also, prototypify definition.
30634 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
30636         * scripts/soversions.awk: Do not handle configuration names.
30637         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
30638         vendor and os variables to soversions.awk.
30639         * configure.ac: Do not modify gnu-* host_os.
30640         * configure: Regenerated
30641         * shlib-versions: Remove first column with configuration names.
30642         * nptl/shlib-versions: Likewise.
30643         * nptl_db/shlib-versions: Likewise.
30644         * sysdeps/hppa/shlib-versions: Likewise.
30645         * sysdeps/m68k/shlib-versions: Likewise.
30646         * sysdeps/mach/hurd/shlib-versions: Likewise.
30647         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
30648         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
30649         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
30650         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
30651         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
30652         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
30653         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
30654         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
30655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30656         Likewise.
30657         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30658         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30659         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30660         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30661         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30662         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
30663         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30664         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30667         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
30668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30669         Regenerated.
30670         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
30671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30672         Condition symbol version definitions on [HAVE_ELFV2_ABI].
30674         * shlib-versions: Remove OS-specific entries.  Moved to files in
30675         sysdeps.
30676         * sysdeps/mach/hurd/shlib-versions: New file.
30677         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30679         * nptl/shlib-versions: Remove architecture-specific entries.
30680         Moved to files in sysdeps.
30681         * shlib-versions: Likewise.
30682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
30683         file.
30684         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30685         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30686         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30687         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30689         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
30690         (UDP_NO_CHECK6_RX): Likewise.
30692 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30694         * sysdeps/posix/sysconf.c (__sysconf): Spell
30695         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
30697 2014-08-12  Florian Weimer  <fweimer@redhat.com>
30699         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
30700         loading.
30701         * iconv/Versions (__gconv_transliterate): Export for use from
30702         gconv modules.
30703         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
30704         (struct __gconv_trans_data, __gconv_trans_fct,
30705         __gconv_trans_context_fct, __gconv_trans_query_fct,
30706         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
30707         definitions.
30708         (struct __gconv_step_data): Remove __trans member.
30709         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
30710         longer hidden.  Remove unused trans_data argument.
30711         * iconv/gconv_int.h (struct trans_struct): Remove definition.
30712         (__gconv_translit_find): Remove declaration.
30713         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
30714         prototype.
30715         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
30716         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
30717         trans_data argument.  Add hidden definition.
30718         (__gconv_translit_find): Remove.
30719         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
30720         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
30721         * iconv/skeleton.c: Remove transliteration initialization.
30722         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
30723         __gconv_step_data initialization.
30724         * libio/iofwide.c (__libio_translit_): Remove.
30725         (_IO_fwide): Adjust struct __gconv_step_data initialization.
30726         * wcsmbs/btowc.c (__btowc): Likewise.
30727         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30728         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30729         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
30730         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
30731         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
30732         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
30733         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
30734         * wcsmbs/wctob.c (wctob): Likewise.
30736 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30738         [BZ #16194]
30739         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
30740         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
30741         register usage.
30742         * sysdeps/x86/Makefile: Adjust.
30744 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30745             Roland McGrath  <roland@hack.frob.com>
30747         * locale/weight.h: Add include guard.
30748         (findidx): Make static rather than auto; take new parameters
30749         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
30750         * locale/weightwc.h: Likewise.
30751         * posix/fnmatch_loop.c
30752         (FCT): Change type of EXTRA from int32_t to wint_t.
30753         Don't include either header inside the function.
30754         Call FINDIDX rather than findidx, and pass new arguments.
30755         #undef FINDIDX at the end of the file.
30756         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
30757         FINDIDX before including fnmatch_loop.c for the non-wide version.
30758         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
30759         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
30760         for the wide version.
30761         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
30762         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
30763         Pass new arguments to findidx.
30764         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
30765         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
30766         Don't #include it inside the function.  Pass new arguments to findidx.
30767         * posix/regex_internal.h
30768         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
30769         (re_string_elem_size_at): Don't #include it inside the function.
30770         Pass new arguments to findidx.
30771         * string/strcoll_l.c: #include WEIGHT_H at top level.
30772         (get_next_seq): Don't #include it inside the function.
30773         Pass new arguments to findidx.
30774         (get_next_seq_nocache): Likewise.
30775         * string/strxfrm_l.c: #include WEIGHT_H at top level.
30776         (STRXFRM): Don't #include it inside the function.
30777         Pass new arguments to findidx.
30779 2014-09-11  Florian Weimer  <fweimer@redhat.com>
30781         [BZ #17344]
30782         * malloc/malloc.c (unlink): Turn asserts into a call to
30783         malloc_printerr.
30785 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
30787         [BZ #17370]
30788         * libio/wfileops (do_ftell_wide): Free OUT.
30790 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
30792         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
30794 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30796         [BZ #17363]
30797         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
30798         group if the current group is empty.
30800 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30802         * benchtests/bench-memset.c (test_main): Add more test from size
30803         from 32 to 512 bytes.
30804         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30805         Add POWER8 memset object.
30806         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30807         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
30808         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
30809         implementation.
30810         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
30811         Likewise.
30812         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
30813         multiarch POWER8 memset optimization.
30814         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
30815         POWER8 memset optimization.
30817         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30818         Remove bzero multiarch objects.
30819         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
30820         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
30821         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
30822         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
30823         Remove define.
30824         [__bzero]: Redefine to specific name.
30825         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
30826         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
30827         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
30828         define.
30829         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30830         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30832 2014-09-10  Florian Weimer  <fweimer@redhat.com>
30834         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
30835         warnings into errors.
30837         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
30838         __cxa_thread_atexit_impl prototype.
30840 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30842         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
30843         Fix capitalization of error message.
30845 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30847         * sysdeps/mips/preconfigure: Modify ABI tests.
30849 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
30851         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
30853 2014-09-07  Roland McGrath  <roland@hack.frob.com>
30854             Carlos O'Donell  <carlos@systemhalted.org>
30856         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
30857         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
30858         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
30859         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
30860         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
30861         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
30862         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
30863         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
30864         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
30865         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
30866         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
30867         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
30868         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
30869         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
30870         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
30871         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
30872         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
30873         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
30874         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
30875         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
30876         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
30877         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
30878         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
30879         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
30880         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
30881         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
30882         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
30883         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
30884         Deconditionalize the code that was previously under [RESET_PID].
30885         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
30886         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
30887         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
30888         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
30889         include sysdep.h.
30891 2014-09-08  Allan McRae  <allan@archlinux.org>
30893         * version.h (RELEASE): Set to "development".
30894         (VERSION): Set to "2.20.90"
30896 2014-09-07  Allan McRae  <allan@archlinux.org
30898         * version.h (RELEASE): Set to "stable".
30899         (VERSION): Set to "2.20"
30900         * include/features.h (__GLIBC_MINOR__): Set to 20.
30902         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
30903         Liebler.
30905         * po/ko.po: Update Korean translation from translation project.
30907 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
30909         [BZ #17354]
30910         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
30911         macro for handling signed relocations.
30913 2014-09-03  Florian Weimer  <fweimer@redhat.com>
30915         [BZ #17325]
30916         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
30917         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
30918         assert.
30919         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
30920         * iconvdata/ibm935.c (BODY): Likewise.
30921         * iconvdata/ibm937.c (BODY): Likewise.
30922         * iconvdata/ibm939.c (BODY): Likewise.
30923         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
30924         assert.
30925         * iconvdata/Makefile (iconv-test.out): Pass module list to test
30926         script.
30927         * iconvdata/run-iconv-test.sh: New test loop for checking for
30928         decoder crashers.
30930 2014-09-02  Khem Raj  <raj.khem@gmail.com>
30932         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
30933         libm_hidden_ver.
30935 2014-09-01  Allan McRae  <allan@archlinux.org>
30937         * po/eo.po: Update Esperanto translation from translation project.
30939         * po/ca.po: Update Catalan translation from translation project.
30941 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30943         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
30944         __proc_dostop call.
30946 2014-08-27  Mark Wielaard  <mjw@redhat.com>
30948         [BZ #17319]
30949         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
30950         to call set_thread_area instead of hand written asm.
30951         (__NR_set_thread_area): Removed define.
30952         (TLS_FLAG_WRITABLE): Likewise.
30953         (__ASSUME_SET_THREAD_AREA): Remove check.
30954         (TLS_EBX_ARG): Remove define.
30955         (TLS_LOAD_EBX): Likewise.
30957 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30959         Simplify atomicity of socket creation in bind.
30961         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
30962         looking up the name after linking the file.
30964 2014-08-27  Allan McRae  <allan@archlinux.org>
30966         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30968 2014-08-26  Florian Weimer  <fweimer@redhat.com>
30970         [BZ #17187]
30971         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
30972         trans_compare, open_translit, __gconv_translit_find):
30973         Remove module loading code.
30975 2014-08-26  Allan McRae  <allan@archlinux.org>
30977         * po/vi.po: Update Vietnamese translation from translation project.
30979         * po/uk.po: Update Ukrainian translation from translation project.
30981         * po/fr.po: Update French translation from translation project.
30983         * po/ru.po: Update Russian translation from translation project.
30985         * po/pl.po: Update Polish translation from translation project.
30987         * po/cs.po: Update Czech translation from translation project.
30989         * po/de.po: Update German translation from translation project.
30991         * po/bg.po: Update Bulgarian translation from translation project.
30993         * po/sv.po: Update Sweedish translation from translation project.
30995         * po/nl.po: Update Dutch translation from translation project.
30997         * po/es.po: Update Spanish translation from translation project.
30999 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31001         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
31003         * catgets/Makefile (CPPFLAGS-gencat): Remove.
31004         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
31005         (CPPFLAGS-iconvconfig): Likewise.
31006         * timezone/Makefile (CPPFLAGS-zic): Likewise.
31008         * include/libc-symbols.h: Remove unnecessary check for
31009         NOT_IN_libc.
31010         * nptl/pthreadP.h: Likewise.
31011         * sysdeps/aarch64/setjmp.S: Likewise.
31012         * sysdeps/alpha/setjmp.S: Likewise.
31013         * sysdeps/arm/sysdep.h: Likewise.
31014         * sysdeps/i386/setjmp.S: Likewise.
31015         * sysdeps/m68k/setjmp.c: Likewise.
31016         * sysdeps/posix/getcwd.c: Likewise.
31017         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
31018         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
31019         * sysdeps/s390/s390-32/setjmp.S: Likewise.
31020         * sysdeps/s390/s390-64/setjmp.S: Likewise.
31021         * sysdeps/sh/sh3/setjmp.S: Likewise.
31022         * sysdeps/sh/sh4/setjmp.S: Likewise.
31023         * sysdeps/unix/alpha/sysdep.h: Likewise.
31024         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31025         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31026         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
31027         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31030         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31031         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31032         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31033         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31034         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31035         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31036         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31037         * sysdeps/x86_64/setjmp.S: Likewise.
31039 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
31041         [BZ #17263]
31042         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
31043         <stdint.h>.
31044         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
31045         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
31047 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31049         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
31051         [BZ #17262]
31052         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
31053         and __x86_64__ when disabling x87 inline functions.
31055 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
31057         [BZ #17259]
31058         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
31059         asm statement with __cpuid_count.
31061 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
31063         * configure.ac: Change __ehdr_start code to dereference the struct.
31064         Run readelf on the output to look for relocations.
31065         * configure: Regenerated.
31067 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
31069         [BZ #17261]
31070         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
31071         value to 0.
31072         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
31074 2014-08-12  Roland McGrath  <roland@hack.frob.com>
31076         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
31078 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
31080         [BZ #16892]
31081         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
31082         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
31084 2014-08-12  Sean Anderson  <seanga2@gmail.com>
31086         * malloc/malloc.c: Fix typo in comment.
31088 2014-08-09  Allan McRae  <allan@archlinux.org>
31090         * Regenerate libc.po.
31092 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
31094         * intl/tst-gettext2.sh: Check every lang file for creation.
31096 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31098         * sysdeps/aarch64/fpu/math_private.h
31099         (libc_feholdsetround_noex_aarch64_ctx): New function.
31101 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31103         * sysdeps/arm/armv6/strcpy.S (strcpy):
31104         Fix performance issue in misaligned cases.
31106 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31108         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
31109         Move definition from termios.h.
31110         (struct termio): Likewise.
31111         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31112         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31113         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31114         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31115         Likewise.
31116         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
31117         Move definition to ioctl-types.h
31118         (struct termio): Likewise.
31119         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31120         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31121         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31122         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31123         Likewise.
31125 2014-08-05  Richard Henderson  <rth@redhat.com>
31127         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
31128         exceptions.
31129         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
31130         Add fraiseexcpt.
31131         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
31132         Use __feraiseexcept.
31133         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
31134         Protect libm symbols with IS_IN_libm.
31136         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
31138 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
31140         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
31142 2014-08-04  Will Newton  <will.newton@linaro.org>
31144         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
31145         file.
31147 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
31149         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
31150         variants for each function.
31152 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31154         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
31155         appended ...
31156         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
31157         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
31158         appended ...
31159         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
31160         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
31161         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
31162         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
31163         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
31164         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
31165         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
31166         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
31167         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
31168         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
31169         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
31170         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
31171         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
31172         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
31173         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
31174         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
31175         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
31176         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
31177         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
31178         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
31179         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
31180         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
31181         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
31182         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
31183         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
31184         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
31185         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
31186         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
31187         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
31188         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
31189         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
31190         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
31191         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
31192         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
31193         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
31194         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
31195         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
31196         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
31197         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
31198         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
31199         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
31200         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
31201         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
31202         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
31203         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
31204         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
31205         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
31206         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
31207         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
31208         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
31209         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
31210         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
31211         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
31212         Update #include.
31213         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
31214         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
31216 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31218         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
31219         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
31220         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
31221         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
31222         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
31223         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
31225 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31227         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
31228         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
31229         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31230         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
31232 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31234         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
31235         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
31236         (__libc_vfork): Define function under this name.
31237         (__vfork): Define as an alias.
31238         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
31239         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
31241 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31243         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
31244         that was previously under [RESET_PID].
31245         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
31247 2014-08-04  Andreas Schwab  <schwab@suse.de>
31249         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
31251 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
31253         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
31254         (main): Likewise.
31256 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31258         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
31260 2014-08-01  Richard Henderon  <rth@redhat.com>
31262         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
31263         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
31264         typo in exact zero test.
31265         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31266         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31267         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31269 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31271         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
31272         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
31273         * sysdeps/arm/sysdep.h: ... here.
31274         [!__ASSEMBLER__]: Include <stdint.h>.
31276 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31278         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
31279         (HAVE_WCTYPE_H): Likewise.
31280         (HAVE_ISWCTYPE): Likewise.
31281         (ENABLE_NLS): Likewise.
31282         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
31283         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
31285         * posix/regex_internal.c: Check if DEBUG is defined and is
31286         set.
31288         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
31289         (HAVE_MBSRTOWCS): Likewise.
31290         * posix/fnmatch.c: Include string.h unconditionally.
31292 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31294         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
31295         reversal.
31297 2014-07-31  Roland McGrath  <roland@hack.frob.com>
31299         * sysdeps/generic/safe-fatal.h: New file.
31300         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
31301         * nptl/forward.c: Include it.
31302         (__pthread_unwind): Use __safe_fatal as default action, rather
31303         than a bogus use of INTERNAL_SYSCALL that could never work.
31305         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
31306         * configure.ac (libc_cv_builtin_trap): New test.
31307         * configure: Regenerated.
31308         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
31309         (ABORT_INSTRUCTION): Define using __builtin_trap.
31311         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
31312         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
31313         * sysdeps/nptl/nptl-signals.h: New file.
31314         * nptl/pthreadP.h: Include <nptl-signals.h>.
31316 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31318         * sysdeps/s390/s390-64/utf16-utf32-z9.c
31319         (ONE_DIRECTION): Define.
31320         * sysdeps/s390/s390-64/utf8-utf16-z9.c
31321         (ONE_DIRECTION): Define.
31322         * sysdeps/s390/s390-64/utf8-utf32-z9.c
31323         (ONE_DIRECTION): Define.
31325 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31327         * sysdeps/s390/Makefile: Delete file.
31328         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
31329         * sysdeps/s390/__longjmp.c: Delete file.
31330         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
31331         Remove fields __flags and __reserved.
31332         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
31333         and add versioning.
31334         * sysdeps/s390/rtld-__longjmp.c: Delete file.
31335         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
31336         * sysdeps/s390/rtld-setjmp.S: Likewise.
31337         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
31338         * sysdeps/s390/s390-32/__longjmp.c: ... here.
31339         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
31340         * sysdeps/s390/s390-32/setjmp.S: ... here.
31341         Add versioning.
31342         (__sigsetjmp): Remove setting __flags field.
31343         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
31344         * sysdeps/s390/s390-64/__longjmp.c: ... here.
31345         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
31346         * sysdeps/s390/s390-64/setjmp.S: ... here.
31347         Add versioning.
31348         (__sigsetjmp): Remove setting __flags field.
31349         * sysdeps/s390/setjmp.S: Delete file.
31350         * sysdeps/s390/sigjmp.c: Likewise.
31351         * sysdeps/s390/v1-longjmp.c: Likewise.
31352         * sysdeps/s390/v1-setjmp.h: Likewise.
31353         * sysdeps/s390/v1-sigjmp.c: Likewise.
31354         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
31355         Remove v1-longjmp_chk.
31356         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
31357         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
31358         Include debug/longjmp_chk.c and add versioning.
31359         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
31360         Include nptl/pt-longjmp.c and add versioning.
31361         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
31362         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
31363         Include __longjmp.c.
31364         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31365         Move to ...
31366         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
31367         (__getcontext): Remove setting __flags field.
31368         Add versioning.
31369         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31370         Don't restore upper high grps.
31371         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
31372         Likewise.
31373         (__swapcontext): Remove setting uc_flags field.
31374         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
31375         Delete file.
31376         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31377         Include __longjmp.c.
31378         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31379         Move to ...
31380         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
31381         (__getcontext): Remove setting __flags field.
31382         Add versioning.
31383         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
31384         (__swapcontext): Remove setting uc_flags field.
31385         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
31386         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
31387         Remove fields uc_high_gprs and __reserved.
31388         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
31389         New file with reverted content.
31390         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
31391         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
31392         Regenerated.
31393         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
31394         Regenerated.
31396 2014-07-31  Andreas Schwab  <schwab@suse.de>
31398         * config.h.in (HAVE_IFUNC): Define to 0.
31399         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
31400         definedness.
31402 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
31404         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31405         memmove-avx-unaligned, memcpy-avx-unaligned and
31406         mempcpy-avx-unaligned.
31407         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31408         Add tests for AVX memcpy functions.
31409         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
31410         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
31411         memcpy_chk.
31412         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
31413         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
31414         memmove_chk.
31415         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
31416         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
31417         mempcpy_chk.
31418         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
31419         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
31420         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
31422 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31424         [BZ #17213]
31425         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
31426         powerpc64le.
31428 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
31430         [BZ #16839]
31431         * manual/llio.texi: Add section about open file description locks.
31432         * manual/examples/ofdlocks.c: Example of open file description
31433         lock usage.
31434         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
31435         F_OFD_SETLK, and F_OFD_SETLKW.
31437 2014-07-23  Allan McRae  <allan@archlinux.org>
31439         * po/es.po: Update Spanish translation from translation project.
31441 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
31443         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
31445 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
31447         [BZ #17078]
31448         * sysdeps/arm/dl-machine.h (elf_machine_rela)
31449         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
31450         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
31452 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
31454         [BZ #17088]
31455         * math/fesetenv.c (__fesetenv)
31456         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
31457         * math/feupdateenv.c (__feupdateenv)
31458         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
31460         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
31461         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31462         (__ASSUME_SOCKETCALL): Do not define.
31464         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
31465         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
31466         (__ASSUME_SOCKETCALL): Do not define.
31467         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
31468         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31469         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31470         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31471         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31472         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
31473         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31474         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31476         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
31477         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
31478         (__ASSUME_SOCKETCALL): Do not define.
31479         (__ASSUME_IPC64): Define unconditionally.
31480         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31481         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31482         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31483         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31484         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
31485         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31486         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
31487         Likewise.
31489         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
31490         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
31491         (__ASSUME_SOCKETCALL): Do not define.
31492         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
31493         (__ASSUME_FUTEX_LOCK_PI): Likewise.
31494         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31495         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31496         (__ASSUME_REQUEUE_PI): Define unconditionally.
31497         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
31498         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
31499         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31500         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
31501         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31502         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31504         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
31505         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
31506         (__ASSUME_SOCKETCALL): Do not define.
31507         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
31508         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31509         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31510         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
31511         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31512         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31514         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
31515         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
31516         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31517         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
31518         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31519         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
31520         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31521         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
31522         (__ASSUME_GETCPU_SYSCALL): Likewise.
31524         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
31525         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
31526         cases for individual architectures.
31527         * sysdeps/gnu/configure: Regenerated.
31528         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
31529         LIBC_SLIBDIR_RTLDDIR.
31530         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
31531         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
31532         LIBC_SLIBDIR_RTLDDIR.
31533         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
31534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
31535         LIBC_SLIBDIR_RTLDDIR.
31536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31537         Regenerated.
31538         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
31539         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
31540         file.
31541         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
31542         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
31543         file.
31544         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
31545         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
31546         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
31547         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
31549         * sysdeps/aarch64/shlib-versions: Move to ...
31550         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
31551         * sysdeps/alpha/shlib-versions: Move to ...
31552         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
31553         * sysdeps/arm/shlib-versions: Move to ...
31554         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
31555         * sysdeps/hppa/shlib-versions: Move all contents except for
31556         libgcc_s entry to ...
31557         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
31558         entry from ...
31559         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
31560         * sysdeps/ia64/shlib-versions: Move to ...
31561         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
31562         entry from ...
31563         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
31564         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
31565         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
31566         * sysdeps/microblaze/shlib-versions: Move to ...
31567         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
31568         * sysdeps/mips/shlib-versions: Move to ...
31569         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
31570         entry from ...
31571         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
31572         * sysdeps/tile/shlib-versions: Move to ...
31573         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
31574         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
31575         from ...
31576         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
31577         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
31578         entry from ...
31579         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
31581 2014-07-17  Will Newton  <will.newton@linaro.org>
31583         * sysdeps/arm/bits/atomic.h
31584         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
31585         (__arch_compare_and_exchange_bool_16_int): Likewise.
31586         (__arch_compare_and_exchange_bool_64_int): Likewise.
31588         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
31589         into an #else block.
31591 2014-07-16  Roland McGrath  <roland@hack.frob.com>
31593         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
31594         just Linux configurations.  Test empirically that the compiler sets
31595         __ARM_EABI__, rather than using the tuple to decide.
31596         * sysdeps/arm/preconfigure: Regenerated.
31597         * sysdeps/unix/sysv/linux/arm/configure: File removed.
31598         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
31599         contents appended ...
31600         * sysdeps/arm/configure.ac: ... here.
31601         * sysdeps/arm/configure: Regenerated.
31603 2014-07-15  Roland McGrath  <roland@hack.frob.com>
31605         * nptl/pthread_kill.c: New file.
31606         * nptl/pthread_sigmask.c: New file.
31607         * nptl/pthread_sigqueue.c: New file.
31609         * sysdeps/nptl/lowlevellock.h: New file.
31610         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
31611         * sysdeps/nptl/lowlevellock-futex.h: New file.
31613         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
31614         Remove dead declarations.
31616 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
31618         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
31619         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
31620         config-cflags-avx2.
31621         * sysdeps/x86_64/configure.ac: Likewise.
31622         * sysdeps/i386/configure: Regenerated.
31623         * sysdeps/x86_64/configure: Likewise.
31624         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31625         memset-avx2 only if config-cflags-avx2 is yes.
31626         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31627         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
31628         defined.
31629         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
31630         only if HAVE_AVX2_SUPPORT is defined.
31631         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31633 2014-07-14  Alan Modra  <amodra@gmail.com>
31635         [BZ #17153]
31636         * elf/elf.h (DT_PPC64_NUM): Correct value.
31637         * NEWS: Add to fixed bug list.
31639 2014-07-13  Jim Meyering  <meyering@fb.com>
31641         [BZ 17150]
31642         regex: don't deref NULL upon heap allocation failure
31643         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
31644         failure in one more place.
31645         To trigger the segfault, configure grep -with-included-regex,
31646         build it, and run these commands:
31647         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
31649 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
31651         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31653 2014-07-11  Richard Henderson  <rth@redhat.com>
31655         * sysdeps/aarch64/libm-test-ulps: Update.
31657 2014-07-10  Florian Weimer  <fweimer@redhat.com>
31659         [BZ #17135]
31660         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
31661         * nptl/allocatestack.c (__nptl_setxid_error): New function.
31662         (__nptl_setxid): Initialize error member.  Call
31663         __nptl_setxid_error.
31664         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
31665         * nptl/descr.h (struct xid_command): Add error member.
31666         * nptl/tst-setuid3.c: New file.
31667         * nptl/Makefile (tests): Add it.
31669 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31671         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
31672         New define.
31673         (__lll_trylock): Use __lll_base_trylock.
31674         (__lll_cond_trylock): Likewise.
31676 2014-07-10  Roland McGrath  <roland@hack.frob.com>
31678         * nptl/pthread_create.c (start_thread): Use atomic_or and
31679         lll_futex_wake directly rather than lll_robust_dead.
31680         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31681         (lll_robust_dead): Macro removed.
31682         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
31683         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31684         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31685         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31686         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31687         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31688         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31689         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31690         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31691         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31692         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31693         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31694         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31695         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31696         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31698         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
31699         Use atomic_compare_and_exchange_val_acq directly rather than
31700         lll_robust_trylock.
31701         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31702         (__lll_robust_trylock, lll_robust_trylock): Removed.
31703         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31704         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31705         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31706         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31707         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31708         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31709         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31710         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31711         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31712         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31713         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31714         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31715         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31716         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31718 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31720         * manual/locale.texi (Locale Names): New section documenting
31721         locale name syntax.  Adjust menu and node chaining accordingly.
31722         (Choosing Locale): Reference Locale Names, Locale Categories.
31723         Mention setting LC_ALL=C.  Reflect that name syntax is now
31724         documented.
31725         (Locale Categories): New section title.  Reference Locale Names.
31726         LC_ALL is an environment variable, but not a category.
31727         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
31728         description, now in Locale Name.  Reference that section.  Locale
31729         name syntax is now documented.
31731 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31733         [BZ #17137]
31734         * locale/findlocale.c (name_present, valid_locale_name): New
31735         functions.
31736         (_nl_find_locale): Use the loc_name variable to store name
31737         candidates.  Call name_present and valid_locale_name to check and
31738         validate locale names.  Return an error if the locale is invalid.
31740 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31742         * locale/setlocale.c (setlocale): Use strdup for allocating
31743         composite name copy.
31745 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31747         Sync up with gnulib.
31748         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
31749         [!_LIBC && ENABLE_NLS]: Include gettext.h.
31750         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
31751         and _GL_ARG_NONNULL.
31752         [USE_UNLOCKED_IO]: Include unlocked-io.h.
31753         [!_LIBC]: Include code for Windows and Cygwin.
31754         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
31755         Include prototype for int strerror_r.
31756         [!_LIBC] (is_open): New function.
31757         (flush_stdout): New function.
31758         (print_errno_message): Use it.
31759         (error): Likewise.
31760         (error_at_line): Likewise.
31761         (error_tail) Add function attribute macros.  Use
31762         __builtin_expect.
31764         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
31766         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
31768         * io/ftw.c: Include sys/param.h unconditionally.
31770         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
31772         [BZ #17125]
31773         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
31774         libc_freeres_ptr.
31775         (freecache): New function to free CACHE on exit.
31777         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
31778         initialization.
31780 2014-07-09  David S. Miller  <davem@davemloft.net>
31782         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31784         * sysdeps/sparc/nptl/internaltypes.h: Delete.
31785         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
31786         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
31787         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
31788         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
31789         * sysdeps/sparc/nptl/sem_init.c: Likewise.
31790         * sysdeps/sparc/nptl/sem_post.c: Likewise.
31791         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
31792         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
31793         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
31794         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
31795         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
31796         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
31798 2014-07-09  Andreas Schwab  <schwab@suse.de>
31800         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
31801         output.
31802         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
31803         (do_test): Likewise.
31805         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31807 2014-07-09  Will Newton  <will.newton@linaro.org>
31809         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
31810         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
31811         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31812         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31813         * sysdeps/hppa/start.S (_start): Likewise.
31815 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31817         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
31819         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
31820         defined.
31822 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31824         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
31825         after checking that it is non-NULL.
31827         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
31829 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31831         * sysdeps/powerpc/memmove.c: Remove file.
31832         * sysdeps/powerpc/powerpc32/power4/memcopy.h
31833         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
31834         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31835         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
31836         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
31837         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
31838         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
31839         string memmove instead of removed powerpc one.
31841         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
31842         [weak_alias]: Fix compiler warning due trailing data.
31843         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
31844         [weak_alias]: Likewise.
31845         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
31846         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
31848         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31849         (__libc_ifunc_impl_list): Add memmove functions.
31851 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31853         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
31854         Remove code.
31855         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
31856         Likewise.
31857         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
31858         Likewise.
31859         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
31860         Likewise.
31861         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
31862         Likewise.
31863         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
31864         Likewise.
31865         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
31866         Likewise.
31867         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
31868         Likewise.
31869         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
31870         Likewise.
31871         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
31872         Likewise.
31873         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
31874         Likewise.
31875         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
31876         Likewise.
31877         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
31878         Likewise.
31879         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
31880         Likewise.
31881         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
31882         Likewise.
31883         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
31884         Likewise.
31885         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
31886         Likewise.
31888 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31890         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
31891         to avoid alignment traps in non-cacheable memory.
31892         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31894         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
31895         multiarch objects.
31896         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
31897         file: multiarch power7 memmove.
31898         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
31899         multiarch default memmove.
31900         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
31901         multiarch memove for powerpc32/power4.
31903         * string/bcopy.c: Use full path to include memmove.c.
31904         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
31905         multiarch objects.
31906         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
31907         bcopy for powerpc64.
31908         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
31909         bcopy for powerpc64.
31910         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
31911         and memmove implementations.
31912         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
31913         optimized multiarch memmove for POWER7/powerpc64.
31914         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
31915         default multiarch memmove for powerpc64.
31916         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
31917         multiarch for powerpc64.
31918         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
31919         for POWER7/powerpc64.
31920         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
31921         memmove for POWER7/powerpc64.
31923         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
31924         glibc default one.
31926         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
31927         __ELF_NATIVE_CLASS equal to 64.
31929 2014-07-07  Roland McGrath  <roland@hack.frob.com>
31931         * sysdeps/nptl/lowlevellock.h: File removed.
31933         * NEWS: NPTL is no longer an add-on!
31934         * nptl/internaltypes.h: Moved ...
31935         * sysdeps/nptl/internaltypes.h: ... here.
31936         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
31937         * sysdeps/nptl/fork.c: Likewise.
31938         * sysdeps/nptl/gai_misc.h: Likewise.
31939         * sysdeps/nptl/librt-cancellation.c: Likewise.
31940         * sysdeps/nptl/jmp-unwind.c: Likewise.
31941         * sysdeps/nptl/setxid.h: Likewise.
31942         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
31943         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
31944         * sysdeps/unix/sysv/linux/arm/Implies: New file.
31945         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
31946         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
31947         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
31948         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
31949         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
31950         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
31951         * sysdeps/unix/sysv/linux/mips/Implies: New file.
31952         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
31953         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
31954         * sysdeps/unix/sysv/linux/sh/Implies: New file.
31955         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
31956         * sysdeps/unix/sysv/linux/tile/Implies: New file.
31957         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
31958         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
31959         * nptl/Makeconfig: Moved ...
31960         * sysdeps/nptl/Makeconfig: ... here.
31961         * nptl/configure: File removed.
31962         * nptl/ANNOUNCE: File removed.
31963         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
31964         * sysdeps/unix/sysv/linux/configure: Regenerated.
31966         * nptl/Makefile (routines): Add libc_pthread_init,
31967         libc_multiple_threads, register-atfork and unregister-atfork.
31968         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
31969         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
31970         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
31971         pthread-pi-defines.sym, structsem.sym.
31972         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
31973         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
31974         [$(subdir) = nptl] (tests): Add tst-setgetname.
31975         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
31976         * sysdeps/unix/sysv/linux/sigaction.c: Just include
31977         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
31978         [!LIBC_SIGACTION]: Remove aliases.
31979         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31980         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31981         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31982         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
31983         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31984         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
31985         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31986         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31987         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31988         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
31989         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
31990         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
31991         __libc_allocate_rtsig_private.
31992         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
31993         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
31994         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
31995         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
31996         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
31997         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
31998         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
31999         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
32000         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
32001         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
32002         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
32003         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
32004         * nptl/internaltypes.h: ... here.
32005         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
32006         * sysdeps/nptl/jmp-unwind.c: ... here.
32007         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
32008         * nptl/libc-lowlevellock.c: ... here.
32009         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
32010         * nptl/libc_multiple_threads.c: ... here.
32011         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
32012         * nptl/libc_pthread_init.c: ... here.
32013         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
32014         * nptl/lowlevelbarrier.sym: ... here.
32015         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
32016         * nptl/lowlevelcond.sym: ... here.
32017         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
32018         * nptl/lowlevellock.c: ... here.
32019         * nptl/lowlevellock.h: Moved ...
32020         * sysdeps/nptl/lowlevellock.h: ... here.
32021         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
32022         * nptl/lowlevelrobustlock.c: ... here.
32023         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
32024         * nptl/lowlevelrobustlock.sym: ... here.
32025         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
32026         * nptl/lowlevelrwlock.sym: ... here.
32027         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
32028         * nptl/pt-fork.c: ... here.
32029         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
32030         * nptl/pthread-pi-defines.sym: ... here.
32031         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
32032         * nptl/pthread_attr_getaffinity.c: ... here.
32033         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
32034         * nptl/pthread_attr_setaffinity.c: ... here.
32035         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
32036         * nptl/pthread_mutex_cond_lock.c: ... here.
32037         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32038         Update #include.
32039         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
32040         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
32041         * nptl/pthread_once.c: ... here, replacing old file.
32042         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
32043         * nptl/pthread_yield.c: ... here.
32044         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
32045         * nptl/register-atfork.c: ... here.
32046         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
32047         * nptl/sem_post.c: ... here.
32048         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
32049         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
32050         * nptl/sem_timedwait.c: ... here.
32051         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
32052         * nptl/sem_trywait.c: ... here.
32053         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
32054         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
32055         * nptl/sem_wait.c: ... here.
32056         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
32057         * nptl/structsem.sym: ... here.
32058         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
32059         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
32060         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
32061         * nptl/unregister-atfork.c: ... here.
32062         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
32063         * nptl/unwindbuf.sym: ... here.
32064         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
32065         * sysdeps/nptl/fork.c: ... here.
32066         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
32067         * sysdeps/nptl/fork.h: ... here.
32068         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
32069         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
32070         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
32071         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
32072         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
32073         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
32074         * sysdeps/unix/sysv/linux/getpid.c: ... here.
32075         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
32076         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
32077         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
32078         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
32079         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
32080         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
32081         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
32082         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
32083         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
32084         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
32085         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
32086         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
32087         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
32088         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
32089         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
32090         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
32091         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
32092         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
32093         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
32094         * sysdeps/unix/sysv/linux/raise.c: ... here.
32095         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
32096         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
32097         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
32098         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
32099         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
32100         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
32101         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
32102         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
32103         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
32104         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
32105         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
32106         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
32107         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
32108         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
32109         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
32111 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32113         * sysdeps/generic/memcopy.h: Add comment for
32114         MEMCPY_OK_FOR_FWD_MEMMOVE.
32116 2014-07-04  Will Newton  <will.newton@linaro.org>
32118         * string/memchr.c: Merge from gnulib.
32119         [_LIBC]: Remove conditionals.
32120         (__ptr_t): Remove define.
32121         (LONG_MAX_32_BITS): Likewise.
32122         (LONG_MAX): Likewise.
32123         (MEMCHR): Use ANSI prototype and optimize algorithm.
32125         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
32127 2014-07-03  Roland McGrath  <roland@hack.frob.com>
32129         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
32130         (lll_futex_timed_wait_bitset): Fix syscall argument count.
32132         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
32133         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
32134         in a bare environment with no <stdlib.h> installed.
32135         * sysdeps/nptl/configure: Regenerated.
32137         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
32139         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
32140         AC_EGREP_CPP for kernel header checks, so they only succeed if
32141         including <linux/version.h> actually works right.
32142         * sysdeps/unix/sysv/linux/configure: Regenerated.
32144         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
32145         value so it's not diagnosed as unused.
32147         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
32148         thing) with "ifeq ($(subdir),rt)".
32150 2014-07-03  Richard Henderson  <rth@redhat.com>
32152         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
32153         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
32154         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
32156         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
32157         (math_force_eval): New.
32159         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
32160         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
32162         * sysdeps/alpha/fpu/s_round.c: Remove file.
32163         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
32165         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
32166         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
32167         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
32168         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
32169         (_dl_start, print_statistics): Likewise.
32170         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
32171         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
32173         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32174         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32175         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32176         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32177         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32178         (HP_SMALL_TIMING_AVAIL): Define.
32179         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32180         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32181         (HP_SMALL_TIMING_AVAIL): Define.
32182         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32183         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32185         * sysdeps/aarch64/hp-timing.h: New file.
32187         * sysdeps/generic/hp-timing.h: Remove dead comment.
32188         * sysdeps/generic/hp-timing-common.h: New file.
32189         * sysdeps/alpha/hp-timing.h: Include it.
32190         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
32191         * sysdeps/i386/i686/hp-timing.h: Likewise.
32192         * sysdeps/ia64/hp-timing.h: Likewise.
32193         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32194         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32195         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32196         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32197         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
32198         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
32199         (hp_timing_t): New.
32201         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
32202         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
32203         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
32204         * elf/rtld.c (_dl_start_final): Likewise.
32205         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
32206         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32207         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32208         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32209         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32210         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32211         (HP_TIMING_DIFF_INIT): Remove.
32212         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32213         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32214         (HP_TIMING_DIFF_INIT): Remove.
32215         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32216         * sysdeps/i386/i686/hp-timing.c: Remove file.
32217         * sysdeps/x86_64/hp-timing.c: Remove file.
32218         * sysdeps/ia64/hp-timing.c: Remove file.
32219         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
32220         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
32221         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
32222         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
32224         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
32225         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
32226         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
32227         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32228         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32229         (HP_TIMING_ACCUM): Remove.
32230         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32231         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
32232         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32234         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
32235         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
32236         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
32237         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
32238         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
32239         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32240         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
32241         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32243         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
32245 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
32247         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
32249 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32251         Sync up with gettext.
32252         * intl/loadmsgcat.c: Define O_BINARY if not defined.
32253         [_MSC_VER]: Include malloc.h
32254         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
32255         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
32256         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
32257         TEMP_FAILURE_RETRY.  Cast return of alloca.
32258         [!_LIBC] Call gl_rwlock_init.
32259         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
32261 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32263         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
32264         before checking its value.
32266 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32268         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
32270         * debug/memcpy_chk.c: Don't include pagecopy.h.
32271         * debug/mempcpy_chk.c: Likewise.
32272         * string/memcpy.c: Likewise.
32273         * string/memmove.c: Likewise.
32274         * sysdeps/powerpc/memmove.c: Likewise.
32275         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
32276         definition of PAGE_COPY_FWD_MAYBE here...
32277         * sysdeps/generic/pagecopy.h: ... from here.
32278         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
32280 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32281             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32283         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
32284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
32285         optimizations.
32286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32287         (__libc_ifunc_impl_list): Likewise.
32288         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
32289         multiarch strcat for PPC64.
32290         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
32291         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
32293 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32295         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
32297 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32299         * intl/loadmsgcat.c: Remove declaration of
32300         get_sysdep_segment_value.
32301         (get_sysdep_segment_value): Use ISO C style.
32302         (_nl_load_domain): Use ISO C style.  Get rid of redundant
32303         semicolon.  Fix typo and formatting in comment.
32304         (_nl_unload_domain): Use ISO C style.
32306         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
32308 2014-07-02  Will Newton  <will.newton@linaro.org>
32310         * malloc/obstack.c: Merge from gnulib master.
32311         [HAVE_CONFIG_H]: Remove conditional code.
32312         [!_LIBC]: Include config.h.
32313         [!ELIDE_CODE]: Don't include inttypes.h, include
32314         stdint.h unconditionally.
32315         (print_and_abort): Mark as _Noreturn.
32316         (_obstack_allocated_p): Mark as __attribute_pure__.
32317         (obstack_free): Rename to __obstack_free.
32318         [!__attribute__]: Remove conditional code.
32319         * malloc/obstack.h: Merge from gnulib master.
32320         [__cplusplus]: Move conditional down.
32321         [!__attribute_pure__]: Define __attribute_pure__ here
32322         if it is not already defined.
32323         (_obstack_memory_used): Mark as __attribute_pure__.
32324         [!__obstack_free]: Define as obstack_free.
32325         [__GNUC__]: Remove check for ancient NeXT gcc.
32327 2014-07-02  Will Newton  <will.newton@linaro.org>
32328             Paul Eggert  <eggert@cs.ucla.edu>
32330         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
32332 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32334         * resolv/gethnamaddr.c: Add comment warning that the file is
32335         not maintained.
32337 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
32339         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
32340         entries.
32342         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
32343         entry for aio_cancel and aio_cancel64.
32344         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
32345         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
32346         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
32347         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
32348         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
32349         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
32350         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
32351         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
32352         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
32353         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
32354         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
32355         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
32356         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
32358 2014-07-01  Roland McGrath  <roland@hack.frob.com>
32360         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
32361         * nptl/pthread_mutex_lock.c: Likewise.
32362         * nptl/pthread_mutex_timedlock.c: Likewise.
32363         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
32365 2014-07-01  Richard henderson  <rth@redhat.com>
32367         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
32368         (__isnan, __isnanl): Remove.
32369         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
32371         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32373 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32375         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32377 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32379         * resolv/nss_dns/dns-host.c (getanswer_r)
32380         [MULTI_PTRS_ARE_ALIASES]: Remove code.
32382 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
32384         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32385         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
32386         undefine.
32387         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
32388         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
32390 2014-07-01  Roland McGrath <roland@hack.frob.com>
32392         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
32393         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
32395         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
32396         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
32398         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
32399         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
32400         ... here.
32401         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
32402         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
32404         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
32405         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
32406         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
32407         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
32409         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
32410         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
32411         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
32412         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
32413         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
32414         Moved ...
32415         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
32416         ... here.
32417         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
32418         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
32419         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
32420         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
32421         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
32422         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
32423         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
32424         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
32425         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
32426         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
32427         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
32428         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
32429         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
32430         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
32431         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
32432         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
32433         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
32434         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
32435         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
32436         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
32437         ... here.
32438         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
32439         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
32440         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
32441         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
32442         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
32443         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
32444         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
32445         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
32447 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
32449         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
32450         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
32451         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
32452         Add sysdep.
32454 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32458 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32460         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32461         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32463         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32465         * sysdeps/arm/libm-test-ulps: Regenerated.
32467 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32468             Roland McGrath <roland@hack.frob.com>
32470         * test-skeleton.c (signal_handler): Kill the whole process group
32471         before killing the child individually.
32472         (main): Report any failure on `setpgid'.
32474 2014-06-30  Roland McGrath  <roland@hack.frob.com>
32476         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
32477         from _TLS_H to _ARM_NPTL_TLS_H.
32478         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
32479         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
32481 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32483         [BZ #16539]
32484         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
32485         (__expm1l): Return argument unchanged when small but not
32486         subnormal.
32488         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
32489         include macro name.
32490         (_FP_UNPACK_RAW_1_P): Likewise.
32491         (_FP_PACK_RAW_1): Likewise.
32492         (_FP_PACK_RAW_1_P): Likewise.
32493         (_FP_MUL_MEAT_1_wide): Likewise.
32494         (_FP_MUL_MEAT_DW_1_hard): Likewise.
32495         (_FP_MUL_MEAT_1_hard): Likewise.
32496         (_FP_DIV_MEAT_1_imm): Likewise.
32497         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
32498         (_FP_DIV_MEAT_1_udiv): Likewise.
32499         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
32500         (_FP_UNPACK_RAW_2): Likewise.
32501         (_FP_UNPACK_RAW_2_P): Likewise.
32502         (_FP_PACK_RAW_2): Likewise.
32503         (_FP_PACK_RAW_2_P): Likewise.
32504         (_FP_MUL_MEAT_DW_2_wide): Likewise.
32505         (_FP_MUL_MEAT_2_wide): Likewise.
32506         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
32507         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32508         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
32509         (_FP_MUL_MEAT_2_gmp): Likewise.
32510         (_FP_DIV_MEAT_2_udiv): Likewise.
32511         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
32512         (_FP_FRAC_SRL_4): Likewise.
32513         (_FP_FRAC_SRST_4): Likewise.
32514         (_FP_FRAC_SRS_4): Likewise.
32515         (_FP_UNPACK_RAW_4): Likewise.
32516         (_FP_UNPACK_RAW_4_P): Likewise.
32517         (_FP_PACK_RAW_4): Likewise.
32518         (_FP_PACK_RAW_4_P): Likewise.
32519         (_FP_MUL_MEAT_DW_4_wide): Likewise.
32520         (_FP_MUL_MEAT_4_wide): Likewise.
32521         (_FP_MUL_MEAT_4_gmp): Likewise.
32522         (umul_ppppmnnn): Likewise.
32523         (_FP_DIV_MEAT_4_udiv): Likewise.
32524         (__FP_FRAC_ADD_4): Likewise.
32525         (__FP_FRAC_SUB_3): Likewise.
32526         (__FP_FRAC_SUB_4): Likewise.
32527         (__FP_FRAC_DEC_3): Likewise.
32528         (__FP_FRAC_DEC_4): Likewise.
32529         (__FP_FRAC_ADDI_4): Likewise.
32530         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
32531         (_FP_FRAC_SRL_8): Likewise.
32532         (_FP_FRAC_SRS_8): Likewise.
32534         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
32535         include macro name.
32536         (FP_UNPACK_RAW_EP): Likewise.
32537         (FP_PACK_RAW_E): Likewise.
32538         (FP_PACK_RAW_EP): Likewise.
32539         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
32540         (_FP_ISSIGNAN): Likewise.
32541         (_FP_ADD_INTERNAL): Likewise.
32542         (_FP_FMA): Likewise.
32543         (_FP_CMP): Likewise.
32544         (_FP_SQRT): Likewise.
32545         (_FP_TO_INT): Likewise.
32546         (_FP_FROM_INT): Likewise.
32547         (FP_EXTEND): Likewise.
32548         (_FP_DIV_MEAT_N_loop): Likewise.
32550 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32552         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
32553         throughout.
32555 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
32557         [BZ #17097]
32558         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
32559         result with correct sign in case of exponents that produce
32560         overflow except for X very close to 1.
32562 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
32564         mktime: merge #if/#ifdef usage from glibc
32565         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
32566         as that works with both Glibc's and Gnulib's style.
32567         See thread starting at Siddhesh Poyarekar's bug report at:
32568         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
32570 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32572         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
32573         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
32574         * sysdeps/tile/tilegx/memmove.c: Remove file.
32576 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32578         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
32579         abi-name definition.
32580         * scripts/soversions.awk: Do not handle or generate ABI lines.
32581         * shlib-versions: Remove ABI entries.
32582         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
32583         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
32585 2014-06-27  Roland McGrath  <roland@hack.frob.com>
32587         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
32588         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
32589         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
32590         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
32591         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
32592         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
32593         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
32594         Moved ...
32595         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
32596         ... here.
32597         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
32598         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
32599         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
32600         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
32601         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
32602         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
32603         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
32604         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
32605         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
32606         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
32607         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
32608         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
32609         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
32610         Moved ...
32611         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
32612         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
32613         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
32614         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
32615         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
32616         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
32617         Moved ...
32618         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
32619         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
32620         Moved ...
32621         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
32622         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
32623         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
32624         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
32625         Moved ...
32626         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
32627         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
32628         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
32629         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
32630         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
32631         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
32632         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
32633         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
32634         Moved ...
32635         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
32636         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
32637         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
32638         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
32639         Moved ...
32640         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
32641         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
32642         Moved ...
32643         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
32644         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
32645         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
32646         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
32647         Moved ...
32648         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
32649         ... here.
32650         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
32651         Identical file removed.
32652         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
32653         Moved ...
32654         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
32655         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
32656         Identical file removed.
32657         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
32658         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
32659         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
32660         Moved ...
32661         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
32662         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
32663         Identical file removed.
32664         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
32665         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
32666         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
32667         Identical file removed.
32668         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
32669         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
32670         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
32671         Identical file removed.
32672         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
32673         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
32674         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
32675         Identical file removed.
32676         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
32677         Moved ...
32678         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
32679         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
32680         Identical file removed.
32681         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
32682         Moved ...
32683         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
32684         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
32685         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
32686         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
32687         Identical file removed.
32688         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
32689         Moved ...
32690         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
32691         ... here.
32692         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
32693         Identical file removed.
32694         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
32695         Moved ...
32696         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
32697         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
32698         Identical file removed.
32699         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
32700         Moved ...
32701         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
32702         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
32703         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
32704         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
32705         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
32706         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
32707         Moved ...
32708         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
32709         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
32710         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
32712         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
32713         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
32714         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
32715         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
32716         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
32718 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
32720         [BZ #17092]
32721         * nscd/nscd.c (monitor_child): Return exit status of child
32722         instead of return value from wait syscall.
32724 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32726         * configure.ac (libc_commonpagesize): Remove variable.
32727         (libc_relro_required): Likewise.
32728         (libc_cv_z_relro): Remove configure test.
32729         * configure: Regenerated.
32730         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
32731         variable.
32732         (libc_relro_required): Likewise.
32733         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
32734         (libc_relro_required): Likewise.
32735         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
32736         (libc_relro_required): Likewise.
32737         * sysdeps/arm/preconfigure: Regenerated.
32738         * sysdeps/ia64/preconfigure: Remove file.
32739         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
32740         variable.
32741         (libc_relro_required): Likewise.
32743         [BZ #16561]
32744         [BZ #16562]
32745         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
32746         (__ieee754_yn): Set FE_TONEAREST mode internally and then
32747         recompute overflowing results in original rounding mode.
32748         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
32749         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
32750         recompute overflowing results in original rounding mode.
32751         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
32752         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32753         recompute overflowing results in original rounding mode.
32754         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
32755         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32756         recompute overflowing results in original rounding mode.
32757         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
32758         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32759         recompute overflowing results in original rounding mode.
32760         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
32761         (libc_feholdsetround_ctx): New macro.
32762         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
32763         * sysdeps/i386/fpu/libm-test-ulps: Update.
32764         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
32766 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32768         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
32769         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
32770         corresponding .cpsetup call.
32772 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32774         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
32775         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
32776         * sysdeps/arm/Makefile [$(subdir) = csu]
32777         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
32778         (static-only-routines): Add aeabi_read_tp here.
32779         (shared-only-routines): Add libc-aeabi_read_tp here.
32780         (CFLAGS-libc-start.c): Add -fexceptions here.
32781         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
32782         (sysdep_routines, static-only-routines, shared-only-routines):
32783         Don't add to these here.
32784         (CFLAGS-libc-start.c): Likewise.
32786         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
32787         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32788         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
32789         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32790         * sysdeps/arm/Makefile [$(subdir) = rt]
32791         (librt-sysdep_routines, librt-shared-only-routines):
32792         Append rt-aeabi_unwind_cpp_pr1 here.
32793         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
32794         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
32795         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
32796         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32797         Append nptl-aeabi_unwind_cpp_pr1 here.
32798         (tests): Filter out tst-cleanupx4 here.
32799         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
32800         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
32801         Don't do those here.
32803 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32805         * scripts/list-sources.sh: Do not handle ports specially.
32807 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32809         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
32810         * sysdeps/arm/feupdateenv.c: Likewise.
32812         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
32814 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32816         * manual/texinfo.tex: Update to version 2014-05-05.10 with
32817         trailing whitespace removed.
32818         * scripts/config.guess: Update to version 2014-03-23.
32819         * scripts/config.sub: Update to version 2014-05-01
32820         * scripts/install-sh: Update to version 2013-12-25.23.
32821         * scripts/move-if-change: Update from gnulib.
32823 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32825         * debug/memmove_chk.c: Remove pagecopy.h include.
32827 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
32829         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
32830         identical to gnulib mktime.
32832 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32834         * configure.ac: Do not test for machine being rs6000.  Do not test
32835         for powerpc*-*soft.
32836         * configure: Regenerated.
32838         [BZ #11505]
32839         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
32840         test.
32841         * configure: Regenerated.
32842         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
32843         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
32844         Remove configure test.
32845         * sysdeps/arm/configure: Regenerated.
32846         * sysdeps/nptl/configure.ac: Do not check
32847         libc_cv_asm_cfi_directives.
32848         * sysdeps/nptl/configure: Regenerated.
32849         * sysdeps/x86_64/nptl/configure.ac: Remove file.
32850         * sysdeps/x86_64/nptl/configure: Remove generated file.
32851         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
32852         unconditional.
32853         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
32855 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32857         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
32858         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
32859         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
32860         it is defined.
32862         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
32863         instead of whether it is defined.
32864         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
32865         * sysdeps/hppa/dl-machine.h: Likewise.
32866         * sysdeps/ia64/dl-machine.h: Likewise.
32867         * sysdeps/m68k/dl-machine.h: Likewise.
32868         * sysdeps/microblaze/dl-machine.h: Likewise.
32869         * sysdeps/mips/dl-machine.: Likewise.
32870         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32871         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32872         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32873         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32874         * sysdeps/sh/dl-machine.h: Likewise.
32875         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32876         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32877         * sysdeps/tile/dl-machine.h: Likewise.
32878         * sysdeps/x86_64/dl-machine.h: Likewise.
32880         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
32881         code.
32882         (verify_persistent_db): Likewise.
32884 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
32887         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
32888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
32889         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
32890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32891         Moved ...
32892         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
32893         ... here.
32894         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
32895         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
32896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
32897         Identical file removed.
32898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
32899         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
32900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
32901         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
32902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
32903         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
32904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
32905         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
32906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
32907         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
32908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32909         Moved ...
32910         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
32911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
32912         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
32913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
32914         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
32915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32916         Moved ...
32917         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
32918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
32919         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
32920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
32921         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
32922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32923         Identical file removed.
32924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
32925         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
32926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
32927         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
32928         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32929         Moved ...
32930         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
32931         ... here.
32932         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
32933         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
32934         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
32935         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
32936         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
32937         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
32938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
32939         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
32940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
32941         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
32942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32943         Moved ...
32944         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
32945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
32946         Moved ...
32947         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
32948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
32949         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
32950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32951         Moved ...
32952         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
32953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
32954         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
32956         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
32957         folded into ...
32958         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
32959         * sysdeps/unix/sysv/linux/s390/Versions
32960         (libpthread: GLIBC_2.19): New version set.
32961         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
32962         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
32963         (librt: GLIBC_2.3.3): New version set.
32964         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
32965         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
32966         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
32967         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
32968         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
32969         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
32970         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
32971         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
32972         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
32973         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
32974         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
32975         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
32976         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
32977         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
32978         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
32979         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
32980         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
32981         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
32982         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
32983         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
32984         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
32985         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
32986         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
32987         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
32988         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
32989         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
32990         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
32991         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
32992         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
32993         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
32994         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
32995         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
32996         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
32997         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
32998         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
32999         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
33000         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
33001         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
33002         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
33003         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
33004         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
33005         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
33006         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
33007         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
33008         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
33010         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
33011         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
33012         (__libc_vfork): Define the function under this name.
33013         [!NOT_IN_libc] (__vfork): Make this an alias.
33014         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33015         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
33016         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
33017         (__libc_vfork): Define the function under this name.
33018         [!NOT_IN_libc] (__vfork): Make this an alias.
33019         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33020         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
33021         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
33022         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
33023         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
33024         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33026         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
33027         code that was previously under [RESET_PID].
33028         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
33029         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
33030         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
33032         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
33033         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
33034         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
33035         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
33036         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
33037         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
33038         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
33039         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
33040         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
33041         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
33042         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
33043         Moved ...
33044         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
33045         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
33046         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
33047         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
33048         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
33049         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
33050         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
33051         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
33052         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
33053         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
33054         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
33055         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
33056         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
33057         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
33058         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
33059         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
33060         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
33061         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
33062         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
33063         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
33064         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
33065         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
33066         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
33067         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
33068         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
33069         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
33070         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
33071         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
33072         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
33074 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33076         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
33077         that was previously under [RESET_PID].
33078         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
33080 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33082         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
33083         not undefine and redefine.
33084         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
33085         [O_CLOEXEC]: Make code unconditional.
33086         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
33087         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
33088         <kernel-features.h>.
33089         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
33090         conditional variable definition.
33091         (shm_open) [O_CLOEXEC]: Make code unconditional.
33092         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
33093         code.
33095         * configure.ac (USE_REGPARMS): Don't define here.
33096         * configure: Regenerated.
33097         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
33098         * sysdeps/i386/configure: Regenerated.
33100         * nptl/createthread.c: Don't include kernel-features.h.
33101         * nptl/pthread_cancel.c: Likewise.
33102         * nptl/pthread_condattr_setclock.c: Likewise.
33103         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
33104         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
33105         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
33106         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
33107         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
33108         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
33109         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33110         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
33111         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33112         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
33113         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
33114         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
33115         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
33116         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
33117         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
33118         * nscd/gai.c: Likewise.
33119         * nss/nss_db/db-open.c: Likewise.
33120         * sysdeps/generic/ldsodefs.h: Likewise.
33121         * sysdeps/sh/nptl/tls.h: Likewise.
33122         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
33123         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
33124         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
33125         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
33126         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
33127         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
33128         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
33129         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33130         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33131         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
33132         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
33133         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33134         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
33135         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
33136         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
33137         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
33138         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
33139         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
33140         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
33141         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
33142         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
33143         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
33144         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
33145         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
33146         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
33147         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
33148         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
33149         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
33150         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33151         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
33152         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
33153         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
33154         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
33155         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33156         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33157         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
33158         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33159         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
33160         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
33161         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
33162         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33163         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
33164         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
33165         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33166         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
33167         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
33168         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
33169         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
33170         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
33171         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
33172         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
33173         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
33174         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
33175         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
33176         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
33177         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33178         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
33179         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
33180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
33182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
33183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
33184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
33185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
33186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
33187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
33188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
33191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
33192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
33193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
33194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
33195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
33200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
33201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
33202         * sysdeps/unix/sysv/linux/pread.c: Likewise.
33203         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
33204         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
33205         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
33206         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
33207         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
33208         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
33209         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
33210         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
33211         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
33212         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
33213         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
33214         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
33215         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
33216         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
33217         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
33218         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33219         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
33220         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
33221         * sysdeps/unix/sysv/linux/system.c: Likewise.
33222         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
33223         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
33224         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33225         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33226         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33227         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
33228         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33230         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
33231         * configure: Regenerated.
33232         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
33234         * configure.ac (base_machine): Do not set specially for particular
33235         machines here.
33236         * configure: Regenerated.
33237         * sysdeps/powerpc/preconfigure: Move machine and base_machine
33238         settings from configure.ac.
33239         * sysdeps/i386/preconfigure: New file.
33240         * sysdeps/s390/preconfigure: Likewise.
33241         * sysdeps/sh/preconfigure: Likewise.
33242         * sysdeps/sparc/preconfigure: Likewise.
33244 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33246         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
33247         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
33248         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
33249         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
33250         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
33251         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
33252         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
33253         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
33254         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
33255         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
33256         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
33257         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
33258         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
33259         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
33260         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
33261         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
33262         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
33263         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
33264         * sysdeps/sparc/sparc64/Makefile: ... appended here.
33266         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
33267         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
33268         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
33269         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
33270         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
33271         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
33272         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
33273         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
33274         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
33275         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
33276         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
33277         * sysdeps/sparc/sparc32/sem_post.c: ... here.
33278         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
33279         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
33280         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
33281         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
33282         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
33283         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
33284         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
33285         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
33286         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
33287         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
33288         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
33289         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
33290         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
33291         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
33292         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
33293         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
33294         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
33295         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
33296         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
33297         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
33298         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
33299         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
33300         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
33301         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
33302         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
33303         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
33305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
33306         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
33307         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
33308         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
33309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33310         Moved ...
33311         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
33312         ... here.
33313         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
33314         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
33315         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
33316         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
33317         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
33318         Moved ...
33319         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
33320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
33321         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
33322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
33323         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
33324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
33325         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
33326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33327         Moved ...
33328         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
33329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33330         Moved ...
33331         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
33332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
33333         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
33334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33335         Moved ...
33336         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
33337         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
33338         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
33339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
33340         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
33341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
33342         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
33343         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
33344         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
33345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33346         Moved ...
33347         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
33348         ... here.
33349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
33350         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
33351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
33352         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
33353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
33354         Moved ...
33355         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
33356         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
33357         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
33358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
33359         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
33360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
33361         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
33362         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33363         Moved ...
33364         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
33365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33366         Moved ...
33367         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
33368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
33369         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
33370         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33371         Moved ...
33372         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
33373         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
33374         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
33375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
33376         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
33378 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33380         * timezone/checktab.awk: Update from tzcode 2014e.
33381         * timezone/private.h: Likewise.
33382         * timezone/tzfile.h: Likewise.
33383         * timezone/zdump.c: Likewise.
33384         * timezone/zic.c: Likewise.
33386         * sysdeps/unix/sysv/linux/kernel-features.h
33387         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
33388         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
33389         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
33390         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33391         Remove conditional code.
33393 2014-06-25  Will Newton  <will.newton@linaro.org>
33395         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
33396         (_dl_arm_cap_flags): Add HWCAP2 values.
33397         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
33398         (_DL_HWCAP_COUNT): Increase to 37.
33399         (_DL_HWCAP_LAST): New define.
33400         (_DL_HWCAP2_LAST): New define.
33401         (_dl_procinfo): Add support for printing
33402         AT_HWCAP2 entries.
33403         (_dl_string_hwcap): Use _dl_hwcap_string.
33405 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33409 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33411         * README: Do not mention ports directory.
33413         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
33414         Remove macro.
33415         * sysdeps/unix/sysv/linux/futimes.c: Do not include
33416         <kernel-features.h>.
33417         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
33418         conditional variable definition.
33419         (__futimes): Update comment.
33420         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
33421         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
33423         [BZ #16560]
33424         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
33425         arguments close to 0.
33426         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
33427         Likewise.
33428         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
33429         Likewise.
33430         * math/auto-libm-test-in: Add more tests of exp10.
33431         * math/auto-libm-test-out: Regenerated.
33432         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33434         * sysdeps/unix/sysv/linux/kernel-features.h
33435         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
33436         * sysdeps/unix/sysv/linux/readv.c: Do not include
33437         <kernel-features.h>.
33438         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33439         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33440         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33441         unconditional.
33442         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33443         conditional code.
33444         * sysdeps/unix/sysv/linux/writev.c: Do not include
33445         <kernel-features.h>.
33446         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33447         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33448         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33449         unconditional.
33450         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33451         conditional code.
33453 2014-06-25  Will Newton  <will.newton@linaro.org>
33455         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
33456         comment changes throughout the file.  Remove checks
33457         for HAVE_*_H definitions that are not required.
33458         (__gen_tempname): Call abort if an unknown kind value is
33459         passed.
33461 2014-06-25  Andreas Schwab  <schwab@suse.de>
33463         [BZ #17086]
33464         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
33465         scalbln, scalblnf, scalblnl in libc.
33467 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33469         [BZ #17086]
33470         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
33471         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33472         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33474 2014-06-24  Roland McGrath  <roland@hack.frob.com>
33476         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
33477         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
33478         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
33479         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
33480         Update #include.
33481         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
33482         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
33483         Update #include.
33484         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
33485         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
33486         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
33487         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
33488         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
33489         * sysdeps/x86/bits/pthreadtypes.h: ... here.
33490         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
33491         * sysdeps/x86/bits/semaphore.h: ... here.
33492         * sysdeps/x86/nptl/elide.h: Moved ...
33493         * sysdeps/x86/elide.h: ... here.
33494         * sysdeps/x86_64/nptl/Implies: File removed.
33495         * sysdeps/i386/nptl/Implies: File removed.
33497 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
33499         [BZ #16539]
33500         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
33501         return the argument for normal arguments with exponent below -64.
33502         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33503         Likewise.
33504         * math/auto-libm-test-in: Add another test of expm1.
33505         * math/auto-libm-test-out: Regenerated.
33507         [BZ #16287]
33508         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
33509         calling __erfcl for arguments at least 16.
33510         * math/auto-libm-test-in: Add more tests of erf.
33511         * math/auto-libm-test-out: Regenerated.
33513         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
33514         individual architectures.
33515         * sysdeps/unix/sysv/linux/configure: Regenerated.
33516         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
33517         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
33518         * sysdeps/unix/sysv/linux/powerpc/configure.ac
33519         (ldd_rewrite_script): Define variable.
33520         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
33522         file.
33523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
33524         generated file.
33525         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
33526         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
33527         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
33528         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
33529         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
33530         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
33531         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
33532         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
33534 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33536         [BZ #17084]
33537         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
33538         Rename member __data.d to __data.__elision_data.
33540 2014-06-24  Wilco  <wdijkstr@arm.com>
33542         * NEWS: Add 16918 to fixed bug list.
33544 2014-06-24  Wilco  <wdijkstr@arm.com>
33546         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
33548 2014-06-24  Wilco  <wdijkstr@arm.com>
33550         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
33551         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
33552         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
33553         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
33554         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
33555         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
33556         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
33557         Use _FPU_MASK_RM.
33559 2014-06-24  Wilco  <wdijkstr@arm.com>
33561         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
33563 2014-06-24  Wilco  <wdijkstr@arm.com>
33565         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
33566         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
33567         * sysdeps/arm/fesetround.c (fesetround): Remove space.
33568         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
33570 2014-06-24  Wilco  <wdijkstr@arm.com>
33572         [BZ #16918]
33573         * sysdeps/arm/feupdateenv.c (feupdateenv):
33574         Rewrite to reduce FPSCR accesses and fix return value.
33576 2014-06-24  Wilco  <wdijkstr@arm.com>
33578         * sysdeps/arm/fclrexcpt.c (feclearexcept):
33579         Optimize to avoid unnecessary FPSCR writes.
33580         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
33581         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
33582         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
33583         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
33585 2014-06-24  Wilco  <wdijkstr@arm.com>
33587         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
33588         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
33589         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
33590         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
33591         Call libc_fetestexcept_vfp.
33592         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
33593         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
33594         __SOFTFP__ ifdef so that they can be built for softfp.
33596 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33598         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
33599         argument type signed char.
33601         * Makerules (check-abi): Dump diff of symlist if the test
33602         fails.
33604 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33606         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
33607         using abort.
33609         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33610         Remove unused variable ST.
33612 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33614         [BZ #16354]
33615         [BZ #17061]
33616         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
33617         small arguments before calling __expm1.
33618         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
33619         small arguments before calling __expm1f.
33620         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
33621         small arguments before calling __expm1l.
33622         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33623         Likewise.
33624         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33625         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
33626         spurious underflow for some cosh tests.
33627         * math/auto-libm-test-out: Regenerated.
33628         * sysdeps/i386/fpu/libm-test-ulps: Update.
33630         [BZ #17050]
33631         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
33632         (__ieee754_y1): Set errno if return value overflows.
33633         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
33634         (__ieee754_y1f): Set errno if return value overflows.
33635         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
33636         (__ieee754_y1l): Set errno if return value overflows.
33637         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
33638         (__ieee754_y1l): Set errno if return value overflows.
33639         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
33640         * math/auto-libm-test-out: Regenerated.
33642         * math/gen-auto-libm-tests.c: Document use of
33643         ignore-zero-inf-sign.
33644         (input_flag_type): Add value flag_ignore_zero_inf_sign.
33645         (input_flags): Add ignore-zero-inf-sign.
33646         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
33647         * math/gen-libm-test.pl (generate_testfile): Handle
33648         ignore-zero-inf-sign.
33649         * math/auto-libm-test-in: Mark some cpow tests with
33650         ignore-zero-inf-sign and some with xfail-rounding.
33651         * math/auto-libm-test-out: Regenerated.
33652         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
33653         * sysdeps/i386/fpu/libm-test-ulps: Update.
33654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33656         [BZ #16315]
33657         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
33658         overflowing or underflowing operations take place with sign of
33659         result.
33660         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33661         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33662         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
33663         (__ieee754_pow): Recompute overflowing and underflowing results in
33664         original rounding mode.
33665         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
33666         (__powl_helper): Allow negative argument X and scale negated value
33667         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
33668         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
33669         overflowing or underflowing operations take place with sign of
33670         result.
33671         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
33672         Include <math.h>.
33673         * math/auto-libm-test-in: Add more tests of pow.
33674         * math/auto-libm-test-out: Regenerated.
33675         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
33676         (pow_tonearest_test_data): Remove.
33677         (pow_test_tonearest): Likewise.
33678         (pow_towardzero_test_data): Likewise.
33679         (pow_test_towardzero): Likewise.
33680         (pow_downward_test_data): Likewise.
33681         (pow_test_downward): Likewise.
33682         (pow_upward_test_data): Likewise.
33683         (pow_test_upward): Likewise.
33684         (main): Don't call removed functions.
33685         * sysdeps/i386/fpu/libm-test-ulps: Update.
33686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33688 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
33691         Moved ...
33692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
33693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33694         Moved ...
33695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
33696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33697         Moved ...
33698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
33699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33700         Moved ...
33701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
33702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33703         File removed.
33704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33705         File removed.
33706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
33707         File removed.
33708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
33709         File removed.
33710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
33711         File removed.
33712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
33713         File removed.
33714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
33715         File removed.
33716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33717         File removed.
33718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
33719         File removed.
33720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33721         File removed.
33722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
33723         File removed.
33724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
33725         File removed.
33726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
33727         Moved ...
33728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
33729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
33730         Moved ...
33731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
33732         ... here.
33733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
33734         Moved ...
33735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
33736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
33737         Moved ...
33738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
33739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
33740         Moved ...
33741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
33742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
33743         Moved ...
33744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
33745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
33746         Moved ...
33747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
33748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
33749         Moved ...
33750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
33751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
33752         Moved ...
33753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
33754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
33755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
33756         ... here.
33757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
33758         Moved ...
33759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
33760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33761         Moved ...
33762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
33763         ... here.
33764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
33765         Moved ...
33766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33767         ... here.
33768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33769         Moved ...
33770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33771         ... here.
33772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33773         Moved ...
33774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
33775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33776         Moved ...
33777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
33778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
33779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
33780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33781         Moved ...
33782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
33783         ... here.
33784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33785         Moved ...
33786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
33787         ... here.
33788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33789         Moved ...
33790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
33791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33792         Moved ...
33793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
33794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33795         Moved ...
33796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
33797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33798         Moved ...
33799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
33800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33801         Moved ...
33802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
33803         ... here.
33804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33805         Moved ...
33806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
33807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33808         Moved ...
33809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
33810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33811         Moved ...
33812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
33813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33814         Moved ...
33815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
33816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
33817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
33818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33819         Moved ...
33820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
33821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33822         Moved ...
33823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
33824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33825         Moved ...
33826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
33827         ... here.
33828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33829         Moved ...
33830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
33831         ... here.
33832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33833         Moved ...
33834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
33835         ... here.
33836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33837         Moved ...
33838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
33839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33840         Moved ...
33841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
33842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33843         Moved ...
33844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
33845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33846         Moved ...
33847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
33848         ... here.
33849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33850         Moved ...
33851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
33852         ... here.
33853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33854         Moved ...
33855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
33856         ... here.
33857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33858         Moved ...
33859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
33860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33861         Moved ...
33862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
33864 2014-06-23  Will Newton  <will.newton@linaro.org>
33865             Wilco  <wdijkstr@arm.com>
33867         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
33868         implementation.  Include get-rounding-mode.h.
33869         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
33870         [!libc_feholdsetround_noex_ctx]: Define
33871         libc_feholdsetround_noex_ctx.
33872         [!libc_feholdsetround_noexf_ctx]: Define
33873         libc_feholdsetround_noexf_ctx.
33874         [!libc_feholdsetround_noexl_ctx]: Define
33875         libc_feholdsetround_noexl_ctx.
33876         (libc_feholdsetround_ctx): New function.
33877         (libc_feresetround_ctx): New function.
33878         (libc_feholdsetround_noex_ctx): New function.
33879         (libc_feresetround_noex_ctx): New function.
33881 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33883         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
33884         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
33885         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
33886         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
33887         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
33888         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
33890         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
33891         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
33892         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
33893         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
33894         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
33895         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
33896         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
33897         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
33898         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
33899         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
33900         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
33901         Moved ...
33902         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
33903         ... here.
33904         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
33905         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
33906         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
33907         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
33908         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
33909         Moved ...
33910         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
33911         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
33912         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
33913         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
33914         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
33915         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
33916         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
33917         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
33918         Moved ...
33919         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
33920         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
33921         Moved ...
33922         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
33923         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
33924         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
33925         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
33926         Moved ...
33927         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
33928         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
33929         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
33930         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
33931         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
33932         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
33933         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
33934         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
33935         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
33936         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
33937         Moved ...
33938         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
33939         ... here.
33940         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
33941         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
33942         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
33943         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
33944         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
33945         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
33946         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
33947         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
33948         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
33949         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
33950         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
33951         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
33952         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
33953         Moved ...
33954         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
33955         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
33956         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
33957         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
33958         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
33959         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
33960         Moved ...
33961         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
33962         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
33963         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
33964         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
33965         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
33967         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
33968         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
33969         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
33970         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
33971         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
33972         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
33973         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
33974         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
33975         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
33976         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
33977         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
33978         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
33979         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
33980         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
33981         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
33982         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
33983         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
33984         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
33985         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
33986         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
33987         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
33988         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
33989         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
33990         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
33991         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
33992         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
33993         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
33994         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
33996 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33998         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33999         (FALLOC_FL_COLLAPSE_RANGE): New macro.
34000         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
34001         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
34002         (IPV6_PMTUDISC_INTERFACE): Likewise.
34003         (IPV6_PMTUDISC_OMIT): Likewise.
34005 2014-06-23  Andreas Schwab  <schwab@suse.de>
34007         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
34008         Remove unused errout label.
34010 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34012         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
34013         macro: hardware supports Vector Crypto instructions.
34015 2014-06-23  Will Newton  <will.newton@linaro.org>
34017         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
34018         rather than __builtin_expect.
34020         * elf/dl-lookup.c (undefined_msg): Remove variable.
34021         (_dl_lookup_symbol_x): Replace undefined_msg with string
34022         literal.
34024         * elf/dl-lookup.c (do_lookup_unique): New function.
34025         (do_lookup_x): Move STB_GNU_UNIQUE handling code
34026         to a separate function.
34028 2014-06-23  Andreas Schwab  <schwab@suse.de>
34030         [BZ #17079]
34031         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
34032         before reading the next line.
34034 2014-06-23  Will Newton  <will.newton@linaro.org>
34036         * test-skeleton.c (signal_handler): Use printf and %m
34037         rather than perror.  Use printf rather than fprintf to
34038         stderr.  Use puts rather than fputs to stderr.
34039         (main): Likewise.
34041 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
34043         * nscd/nscd.c (thread_info_t): Remove typedef.
34044         (thread_info): Remove variable.
34046 2014-06-21  Allan McRae  <allan@archlinux.org>
34048         * NEWS: Mention CVE-2014-4043.
34050 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34052         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
34053         * nptl/smp.h: ... here.
34055         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
34057         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
34058         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
34059         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
34060         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
34062         * nptl/allocatestack.c: Include <stack-aliasing.h>.
34063         * nptl/stack-aliasing.h: New file.
34064         * sysdeps/i386/i686/stack-aliasing.h: New file.
34065         * sysdeps/i386/i686/nptl/Makefile: File removed.
34066         * sysdeps/x86_64/stack-aliasing.h: New file.
34067         * sysdeps/x86_64/nptl/Makefile
34068         (CFLAGS-pthread_create.c): Variable removed.
34070         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
34071         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
34072         old file.
34073         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
34074         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
34075         old file.
34077 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
34079         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34080         (__ASSUME_SIGFRAME_V2): Remove macro.
34081         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
34082         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
34083         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
34084         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
34085         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
34086         Declare as function.  Remove conditional macro definitions.
34087         (__default_rt_sa_restorer): Likewise.
34088         (__default_sa_restorer_v1): Remove declaration.
34089         (__default_sa_restorer_v2): Likewise.
34090         (__default_rt_sa_restorer_v1): Likewise.
34091         (__default_rt_sa_restorer_v2): Likewise.
34092         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
34093         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
34094         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
34096 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34098         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
34099         (libpthread-routines): Add sysdep.
34100         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
34101         * sysdeps/unix/sysv/linux/sparc/Versions
34102         (libpthread: GLIBC_2.3.3): New version set.
34103         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
34104         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
34105         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
34106         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
34107         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
34108         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
34109         Moved ...
34110         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
34111         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
34112         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
34113         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
34114         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
34115         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
34116         * sysdeps/sparc/nptl/sem_init.c: ... here.
34117         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
34118         * sysdeps/sparc/nptl/sem_post.c: ... here.
34119         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
34120         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
34121         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
34122         * sysdeps/sparc/nptl/sem_wait.c: ... here.
34123         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
34124         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
34125         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
34126         (libpthread-routines): Add cpu_relax.
34127         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
34128         File removed.
34129         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
34130         (librt: GLIBC_2.3.3): New version set.
34131         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
34132         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
34133         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
34134         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
34135         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
34136         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
34137         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
34138         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
34139         Moved ...
34140         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
34141         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
34142         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
34143         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
34144         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
34145         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
34146         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
34147         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
34148         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
34149         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
34150         Moved ...
34151         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
34152         Update #include.
34153         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
34154         Moved ...
34155         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
34156         Update #include.
34157         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
34158         Moved ...
34159         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
34160         Update #include.
34161         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
34162         Moved ...
34163         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
34164         Update #include.
34165         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
34166         Moved ...
34167         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
34168         Update #include.
34169         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
34170         Moved ...
34171         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
34172         Update #include.
34173         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
34174         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
34175         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
34176         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
34177         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
34178         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
34179         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
34180         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
34181         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
34182         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
34183         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34184         Moved ...
34185         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
34186         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
34187         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
34188         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
34189         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
34191 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34193         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
34194         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
34195         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34196         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
34197         * nscd/nscd.c: Likewise.
34198         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
34199         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
34200         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
34201         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
34203         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
34204         <kernel-features.h>.
34205         (init_mq_netlink): Remove conditional have_sock_cloexec
34206         definitions.  Remove code conditional on have_sock_cloexec < 0.
34207         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
34208         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
34209         * sysdeps/unix/sysv/linux/opensock.c: Do not include
34210         <kernel-features.h>.
34211         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
34212         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
34214 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34216         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34217         Add tests for memset_chk and memset.
34219         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
34220         with AVX2_Usable.
34222 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34224         [BZ #16046]
34225         * elf/tst-dl-iter-static.c: New file.
34226         * elf/Makefile (tests-static): Add tst-dl-iter-static.
34228         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
34229         error.
34231 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34233         * sysdeps/unix/sysv/linux/kernel-features.h
34234         (__ASSUME_F_GETOWN_EX): Remove macro.
34235         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
34236         <kernel-features.h>.
34237         (miss_F_GETOWN_EX): Remove variable or macro.
34238         (do_fcntl): Do not check miss_F_GETOWN_EX.
34239         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
34241         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
34242         Remove macro.
34243         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
34244         [!__ASSUME_AT_RANDOM]: Remove conditional code.
34245         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
34247         * sysdeps/unix/sysv/linux/kernel-features.h
34248         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
34249         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
34250         [ADJ_OFFSET_SS_READ]: Make code unconditional.
34251         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
34253 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34255         [BZ #17075]
34256         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
34257         Fix calculation of the symbol's value.
34258         * sysdeps/arm/tst-armtlsdescloc.c: New file.
34259         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
34260         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
34261         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
34262         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
34263         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
34264         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
34265         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
34266         (modules-names): Add `tst-armtlsdescmod',
34267         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
34268         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
34269         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34270         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
34271         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
34272         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34273         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
34274         ($(objpfx)tst-armtlsdescloc): New dependency.
34275         ($(objpfx)tst-armtlsdescextnow): Likewise.
34276         ($(objpfx)tst-armtlsdescextlazy): Likewise.
34277         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
34278         TLS scheme support.
34279         * sysdeps/arm/configure: Regenerate.
34281 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34283         * include/fcntl.h (__atfct_seterrno): Remove prototype.
34284         (__atfct_seterrno_2): Likewise.
34285         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
34286         <kernel-features.h>.
34287         (__ASSUME_ATFCTS): Do not undefine and redefine.
34288         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
34289         (__have_atfcts): Remove conditional definition.
34290         (__fxstatat([__NR_fstatat64]: Make code unconditional.
34291         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
34292         unreachable if [__ASSUME_ATFCTS].
34293         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
34294         not undefine and redefine.
34295         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
34296         <kernel-features.h>.
34297         (faccessat) [__NR_faccessat]: Make code unconditional.
34298         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
34299         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
34300         <kernel-features.h>.
34301         (fchmodat) [__NR_fchmodat]: Make code unconditional.
34302         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34303         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
34304         <kernel-features.h>.
34305         (fchownat) [__NR_fchownat]: Make code unconditional.
34306         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
34307         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
34308         <kernel-features.h>.
34309         (futimesat) [__NR_futimesat]: Make code unconditional.
34310         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
34311         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34312         <kernel-features.h>.
34313         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34314         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34315         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34316         <kernel-features.h>.
34317         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
34318         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34319         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
34320         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34321         <kernel-features.h>.
34322         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
34323         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34324         * sysdeps/unix/sysv/linux/linkat.c: Do not include
34325         <kernel-features.h>.
34326         (linkat) [__NR_linkat]: Make code unconditional.
34327         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34328         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
34329         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
34330         <kernel-features.h>.
34331         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
34332         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34333         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
34334         <kernel-features.h>.
34335         (mkdirat) [__NR_mkdirat]: Make code unconditional.
34336         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
34337         * sysdeps/unix/sysv/linux/openat.c: Do not include
34338         <kernel-features.h>.
34339         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
34340         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
34341         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
34342         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
34343         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
34344         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
34345         <kernel-features.h>.
34346         (readlinkat) [__NR_readlinkat]: Make code unconditional.
34347         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
34348         result of INLINE_SYSCALL directly, not via int variable.
34349         * sysdeps/unix/sysv/linux/renameat.c: Do not include
34350         <kernel-features.h>.
34351         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
34352         (renameat) [__NR_renameat]: Make code unconditional.
34353         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
34354         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
34355         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
34356         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
34357         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
34358         (__ASSUME_ATFCTS): Do not undefine and redefine.
34359         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
34360         <kernel-features.h>.
34361         (symlinkat) [__NR_symlinkat]: Make code unconditional.
34362         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34363         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
34364         <kernel-features.h>.
34365         (unlinkat) [__NR_unlinkat]: Make code unconditional.
34366         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34367         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
34368         (__ASSUME_ATFCTS): Do not undefine and redefine.
34369         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34370         <kernel-features.h>.
34371         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34372         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34373         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34374         <kernel-features.h>.
34375         (__xmknodat) [__NR_mknodat]: Make code unconditional.
34376         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34378 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34380         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
34382 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
34384         [BZ #17069]
34385         * posix/regcomp.c (parse_reg_exp): Deallocate partially
34386         constructed tree before returning error.
34387         * posix/bug-regexp36.c: Expand test case.
34389 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
34391         [BZ #6803]
34392         * math/libm-test.inc (scalbln_test_date):
34393         Add errno expectations.
34394         * math/w_scalblnf.c: New File.
34395         Add wrapper which checks for setting errno to ERANGE.
34396         Add weak_alias for corresponding scalbln function.
34397         * math/w_scalbln.c: Likewise.
34398         * math/w_scalblnl.c: Likewise.
34399         * math/Makefile (libm-calls): Add w_scalbln.
34400         * sysdeps/ieee754/flt-32/s_scalblnf.c:
34401         Remove weak_alias for corresponding scalbln function.
34402         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34403         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34404         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34405         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34406         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
34407         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34408         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
34409         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34410         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
34411         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
34412         Remove long_double_symbol for scalblnl function in libm, libc.
34413         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
34414         Add wrapper which checks for setting errno to ERANGE.
34415         Add long_double_symbol for scalblnl function in libm, libc.
34416         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
34417         Remove long_double_symbol for scalblnl in libm.
34418         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
34419         Add wrapper which checks for setting errno to ERANGE.
34420         Add long_double_symbol for scalblnl function in libm.
34421         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
34422         Do not use wrapper because of own implementation.
34424 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
34426         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
34427         3 bytes for __pad1 for x32.
34428         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
34430 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
34431             H.J. Lu  <hongjiu.lu@intel.com>
34433         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
34434         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
34435         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34436         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34437         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
34439 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
34441         [BZ #17069]
34442         * posix/regcomp.c (parse_expression): Deallocate partially
34443         constructed tree before returning error.
34444         * posix/Makefile.c (tests): Add bug-regex36.
34445         (generated): Add bug-regex36.mtrace.
34446         (tests-special): Add $(objpfx)bug-regex36-mem.out
34447         (bug-regex36-ENV): New variable.
34448         ($(objpfx)bug-regex36-mem.out): New rule.
34449         * posix/bug-regex36.c: New file.
34451 2014-06-19  Will Newton  <will.newton@linaro.org>
34453         * malloc/malloc.c (systrim): If extra is zero then return
34454         early.
34456 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34458         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
34460 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
34462         * sysdeps/aarch64/strchr.S: New file.
34464 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34466         [BZ #17022]
34467         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
34468         from arguments -2 or below.
34469         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34470         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
34472 2014-06-18  Andreas Schwab  <schwab@suse.de>
34474         [BZ #17062]
34475         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
34476         of a bracket expr not to run off the end of the string.
34477         * posix/Makefile (tests): Add tst-fnmatch3.
34478         * posix/tst-fnmatch3.c: New file.
34480 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34482         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
34483         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34484         [$(cross-compiling) = no]: Likewise.
34485         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34486         [$(cross-compiling) = no]: Likewise.
34488 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34490         [BZ #17031]
34491         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
34492         double, adjusted for any remainder from the high double.
34493         * math/libm-test.inc (nearbyint): Add tests.
34494         (rint): Likewise.
34496 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34498         * nptl/sysdeps/powerpc/Makefile: Moved ...
34499         * sysdeps/powerpc/nptl/Makefile: ... here.
34500         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
34501         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
34502         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
34503         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
34504         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
34505         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
34506         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
34507         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
34508         * nptl/sysdeps/powerpc/tls.h: Moved ...
34509         * sysdeps/powerpc/nptl/tls.h: ... here.
34511 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
34513         [BZ #16681]
34514         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
34515         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
34516         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
34517         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
34518         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
34519         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
34520         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
34521         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
34522         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
34524 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
34526         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34528 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
34530         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
34531         defined operator.
34533         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
34534         $TIMEOUTFACTOR.
34536 2014-06-16  Florian Weimer  <fweimer@redhat.com>
34538         [BZ #17058]
34539         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
34540         non-executed part of the test.
34542 2014-06-16  Andreas Schwab  <schwab@suse.de>
34544         * string/bits/string2.h (strdup, strndup): Update feature guard.
34546 2014-06-14  David S. Miller  <davem@davemloft.net>
34548         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34550 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
34552         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
34553         that was previously under [RESET_PID].
34554         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
34556         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
34557         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
34558         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
34559         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34560         (__libc_vfork): New strong alias.
34561         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
34563 2014-06-14 Andi Kleen  <ak@linux.intel.com>
34565         * sysdeps/generic/elide.h: New file.
34567 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34569         * Makefile (installed-headers): Adjust path of pthread.h header.
34571 2014-06-13  Roland McGrath  <roland@hack.frob.com>
34573         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
34574         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
34575         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
34576         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
34578         * nptl/sysdeps/s390/Makefile: Moved ...
34579         * sysdeps/s390/nptl/Makefile: ... here.
34580         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
34581         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
34582         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
34583         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
34584         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
34585         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
34586         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
34587         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
34588         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
34589         * sysdeps/s390/nptl/pthreaddef.h: ... here.
34590         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
34591         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
34592         * nptl/sysdeps/s390/tls.h: Moved ...
34593         * sysdeps/s390/nptl/tls.h: ... here.
34595         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
34596         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
34598 2014-06-13  David S. Miller  <davem@davemloft.net>
34600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
34601         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
34602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
34603         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
34604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
34605         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
34606         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
34607         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
34608         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
34609         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
34610         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
34611         Remove RESET_PID cpp guards.
34612         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
34613         Remove RESET_PID cpp guards.
34614         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
34616 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
34618         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
34619         __sp to uintptr_t.
34621 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34623         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
34624         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
34625         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
34626         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
34627         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
34628         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
34629         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
34630         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
34631         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
34632         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
34633         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
34634         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
34635         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
34636         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
34637         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
34638         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
34639         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
34640         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
34641         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
34642         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
34644         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
34645         (pthread_rwlock_rdlock): Add elision.
34646         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
34647         (pthread_rwlock_wrlock): Add elision.
34648         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
34649         (pthread_rwlock_trywrlock): Add elision.
34650         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
34651         (pthread_rwlock_tryrdlock): Add elision.
34652         * nptl/pthread_rwlock_unlock.c: Include elide.h.
34653         (pthread_rwlock_tryrdlock): Add elision unlock.
34654         * nptl/sysdeps/pthread/pthread.h:
34655         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
34656         (PTHREAD_RWLOCK_INITIALIZER,
34657         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
34658         Handle new elision field.
34659         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
34660         * sysdeps/arm/nptl/bits/pthreadtypes.h
34661         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34662         * sysdeps/sh/nptl/bits/pthreadtypes.h
34663         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34664         * sysdeps/tile/nptl/bits/pthreadtypes.h
34665         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34666         * sysdeps/a/nptl/bits/pthreadtypes.h
34667         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34668         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34669         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34670         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34671         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34672         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
34673         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34674         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34675         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34676         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34677         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34678         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34679         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34680         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34681         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34682         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
34683         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34684         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
34685         (elision_init): Set try_xbegin to zero when no RTM.
34686         * sysdeps/x86/nptl/bits/pthreadtypes.h
34687         (pthread_rwlock_t): Change __pad1 to __rwelision.
34688         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34690 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34692         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
34693         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
34694         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
34695         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
34697 2014-06-13  Meador Inge  <meadori@codesourcery.com>
34699         [BZ #16996]
34700         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
34701         that the cached result has been set before returning it.
34703 2014-06-12  Roland McGrath  <roland@hack.frob.com>
34705         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
34706         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
34707         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
34708         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
34709         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
34710         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
34712         * nptl/sysdeps/sparc/Makefile: Moved ...
34713         * sysdeps/sparc/nptl/Makefile: ... here.
34714         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
34715         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
34716         * nptl/sysdeps/sparc/tls.h: Moved ...
34717         * sysdeps/sparc/nptl/tls.h: ... here.
34718         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
34719         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
34720         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
34721         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
34722         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
34723         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
34724         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
34725         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
34726         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
34727         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
34728         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
34729         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
34730         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
34731         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
34732         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
34733         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
34734         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
34735         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
34736         Update #include.
34737         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
34738         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
34739         Update #include.
34740         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
34741         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
34742         Update #include.
34743         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
34744         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
34745         Update #include.
34747         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34749         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
34750         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
34752         * sysdeps/pthread/posix-timer.h: Include <list.h>.
34753         (struct list_links): Type removed.
34754         (struct thread_node, struct timer_node): Replace struct list_links
34755         with struct list_head.
34756         (list_unlink_ip): Likewise.
34757         * sysdeps/pthread/timer_routines.c
34758         (timer_free_list, thread_free_list, thread_active_list): Likewise.
34759         (list_append, list_insbefore): Likewise.
34760         (list_init): Function removed.
34761         (thread_init, init_module): Use INIT_LIST_HEAD instead.
34762         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
34763         * sysdeps/pthread/Makefile: ... here, new file.
34765         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
34766         * sysdeps/nptl/Implies: ... here.
34767         * sysdeps/unix/sysv/linux/Implies: Add nptl.
34768         * nptl/sysdeps/pthread/list.h: Moved ...
34769         * include/list.h: ... here.
34770         * nptl/sysdeps/pthread/createthread.c: Moved ...
34771         * nptl/createthread.c: ... here.
34772         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
34773         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
34774         * nptl/pt-longjmp.c: ... here.
34775         * nptl/sysdeps/pthread/Makefile: Moved ...
34776         * sysdeps/nptl/Makefile: ... here.
34777         * nptl/sysdeps/pthread/Subdirs: Moved ...
34778         * sysdeps/nptl/Subdirs: ... here.
34779         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
34780         * sysdeps/nptl/aio_misc.h: ... here.
34781         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
34782         * sysdeps/nptl/bits/libc-lock.h: ... here.
34783         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
34784         * sysdeps/nptl/bits/libc-lockP.h: ... here.
34785         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
34786         * sysdeps/nptl/bits/stdio-lock.h: ... here.
34787         * nptl/sysdeps/pthread/configure: Moved ...
34788         * sysdeps/nptl/configure: ... here.
34789         * nptl/sysdeps/pthread/configure.ac: Moved ...
34790         * sysdeps/nptl/configure.ac: ... here.
34791         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
34792         * sysdeps/nptl/gai_misc.h: ... here.
34793         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
34794         * sysdeps/nptl/librt-cancellation.c: ... here.
34795         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
34796         * sysdeps/nptl/malloc-machine.h: ... here.
34797         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
34798         * sysdeps/nptl/pthread-functions.h: ... here.
34799         * nptl/sysdeps/pthread/pthread.h: Moved ...
34800         * sysdeps/nptl/pthread.h: ... here.
34801         * nptl/sysdeps/pthread/setxid.h: Moved ...
34802         * sysdeps/nptl/setxid.h: ... here.
34803         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
34804         * sysdeps/nptl/sigfillset.c: ... here.
34805         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
34806         * sysdeps/nptl/tcb-offsets.h: ... here.
34807         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
34808         * sysdeps/nptl/tst-mqueue8x.c: ... here.
34809         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
34810         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
34811         * nptl/sysdeps/pthread/allocalim.h: Moved ...
34812         * sysdeps/pthread/allocalim.h: ... here.
34813         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
34814         * sysdeps/pthread/bits/sigthread.h: ... here.
34815         * nptl/sysdeps/pthread/flockfile.c: Moved ...
34816         * sysdeps/pthread/flockfile.c: ... here.
34817         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
34818         * sysdeps/pthread/ftrylockfile.c: ... here.
34819         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
34820         * sysdeps/pthread/funlockfile.c: ... here.
34821         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
34822         * sysdeps/pthread/posix-timer.h: ... here.
34823         * nptl/sysdeps/pthread/timer_create.c: Moved ...
34824         * sysdeps/pthread/timer_create.c: ... here.
34825         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
34826         * sysdeps/pthread/timer_delete.c: ... here.
34827         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
34828         * sysdeps/pthread/timer_getoverr.c: ... here.
34829         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
34830         * sysdeps/pthread/timer_gettime.c: ... here.
34831         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
34832         * sysdeps/pthread/timer_routines.c: ... here.
34833         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
34834         * sysdeps/pthread/timer_settime.c: ... here.
34835         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
34836         * sysdeps/pthread/tst-timer.c: ... here.
34837         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
34838         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
34840         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
34841         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
34843         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
34844         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
34845         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
34846         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
34847         Update #include target.
34848         * nptl/sysdeps/i386/i686/Makefile: Moved ...
34849         * sysdeps/i386/i686/nptl/Makefile: ... here.
34850         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
34851         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
34852         Update #include target.
34853         * nptl/sysdeps/i386/i686/tls.h: Moved ...
34854         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
34855         * nptl/sysdeps/i386/Makefile: Moved ...
34856         * sysdeps/i386/nptl/Makefile: ... here.
34857         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
34858         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
34859         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
34860         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
34861         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
34862         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
34863         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
34864         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
34865         * sysdeps/i386/nptl/pthreaddef.h: ... here.
34866         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
34867         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
34868         * nptl/sysdeps/i386/tls.h: Moved ...
34869         * sysdeps/i386/nptl/tls.h: ... here.
34871         * sysdeps/sh/Makefile [$(subdir) = csu]
34872         (gen-as-const-headers): Add tcb-offsets.sym.
34873         * nptl/sysdeps/sh/Makefile: File removed.
34874         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
34875         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
34876         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
34877         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
34878         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
34879         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
34880         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
34881         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
34882         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
34883         * sysdeps/sh/nptl/pthreaddef.h: ... here.
34884         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
34885         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
34886         * nptl/sysdeps/sh/tls.h: Moved ...
34887         * sysdeps/sh/nptl/tls.h: ... here.
34888         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
34889         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
34890         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
34891         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
34892         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
34893         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
34894         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
34895         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
34896         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
34897         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
34898         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
34899         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
34900         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
34901         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
34902         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
34903         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
34904         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
34905         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
34906         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
34907         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
34908         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
34909         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
34910         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
34911         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
34912         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
34913         Moved ...
34914         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
34915         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
34916         Moved ...
34917         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
34918         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
34919         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
34920         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
34921         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
34922         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
34923         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
34924         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
34925         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
34926         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
34927         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
34928         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
34929         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
34930         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
34931         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
34932         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
34933         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
34934         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
34935         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
34937 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34939         * posix/spawn_faction_addopen.c: Include string.h.
34941 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34943         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
34944         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
34945         * nptl/sysdeps/x86_64/Makefile: Moved ...
34946         * sysdeps/x86_64/nptl/Makefile: ... here.
34947         * nptl/sysdeps/x86_64/configure: Moved ...
34948         * sysdeps/x86_64/nptl/configure: ... here.
34949         * nptl/sysdeps/x86_64/configure.ac: Moved ...
34950         * sysdeps/x86_64/nptl/configure.ac: ... here.
34951         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
34952         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
34953         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
34954         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
34955         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
34956         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
34957         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
34958         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
34959         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
34960         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
34961         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
34962         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
34963         * nptl/sysdeps/x86_64/tls.h: Moved ...
34964         * sysdeps/x86_64/nptl/tls.h: ... here.
34965         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
34966         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
34967         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
34968         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
34970         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
34972 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34976 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
34978         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
34979         type.
34980         [POSIX] (off_t): Likewise.
34981         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
34982         [POSIX] (S_ISBLK): Require macro.
34983         [POSIX] (S_ISCHR): Likewise.
34984         [POSIX] (S_ISDIR): Likewise.
34985         [POSIX] (S_ISFIFO): Likewise.
34986         [POSIX] (S_ISREG): Likewise.
34987         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
34988         optional-macro.
34989         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
34990         type.
34991         [POSIX] (time_t): Likewise.
34992         [POSIX] (timer_t): Likewise.
34994 2014-06-11  Florian Weimer  <fweimer@redhat.com>
34996         [BZ #17048]
34997         * posix/spawn_int.h (struct __spawn_action): Make the path string
34998         non-const to support deallocation.
34999         * posix/spawn_faction_addopen.c
35000         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
35001         * posix/spawn_faction_destroy.c
35002         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
35003         path in all spawn_do_open actions.
35004         * posix/tst-spawn.c (do_test): Exercise the copy operation in
35005         posix_spawn_file_actions_addopen.
35007 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
35009         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
35010         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
35011         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
35012         conditional code always true.
35013         (__libc_vfork): New alias.
35015 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35017         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35018         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
35020         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
35022         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35023         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
35025         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35026         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
35028         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35029         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
35031 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35033         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
35034         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
35035         multiarch strcmp for PPC64.
35036         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
35037         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
35038         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
35039         multiarch optimizations.
35040         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35041         (__libc_ifunc_impl_list): Likewise.
35043 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35045         * benchtests/scripts/validate_benchout.py: New script.
35046         * benchtests/Makefile (bench-func): Call it.
35047         * benchtests/scripts/benchout.schema.json: New file.
35049 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
35051         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
35052         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
35053         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
35054         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
35055         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
35056         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
35057         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
35058         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
35059         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
35060         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
35061         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
35062         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
35063         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
35064         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
35065         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
35066         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
35067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
35068         Moved ...
35069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
35070         ... here.
35071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
35072         Moved ...
35073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
35074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
35075         Moved ...
35076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
35077         ... here.
35078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
35079         Moved ...
35080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
35081         ... here.
35082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
35083         Moved ...
35084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
35085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
35086         Moved ...
35087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
35088         ... here.
35089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
35090         Moved ...
35091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
35092         ... here.
35093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
35094         Moved ...
35095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
35096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
35097         Moved ...
35098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
35099         ... here.
35100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
35101         Moved ...
35102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
35103         ... here.
35104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
35105         Moved ...
35106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
35107         ... here.
35108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
35109         Moved ...
35110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
35111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
35112         Moved ...
35113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
35114         ... here.
35115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
35116         Moved ...
35117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
35118         ... here.
35119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
35120         Moved ...
35121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
35122         ... here.
35123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
35124         Moved ...
35125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
35126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
35127         Moved ...
35128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
35129         ... here.
35130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
35131         Moved ...
35132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
35133         ... here.
35134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
35135         Moved ...
35136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
35137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
35138         Moved ...
35139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
35140         ... here.
35141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
35142         Moved ...
35143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
35144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
35145         Moved ...
35146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
35147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
35148         Moved ...
35149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
35150         ... here.
35151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
35152         Moved ...
35153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
35154         ... here.
35155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
35156         Moved ...
35157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
35158         ... here.
35159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
35160         Moved ...
35161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
35162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
35163         Moved ...
35164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
35165         ... here.
35166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
35167         Moved ...
35168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
35169         ... here.
35170         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
35171         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
35172         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
35173         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
35174         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
35175         Moved ...
35176         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
35177         ... here.
35178         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
35179         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
35180         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
35181         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
35182         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
35183         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
35184         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
35185         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
35186         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
35187         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
35188         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
35189         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
35190         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
35191         Moved ...
35192         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
35193         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
35194         Moved ...
35195         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
35196         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
35197         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
35198         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
35199         Moved ...
35200         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
35201         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
35202         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
35203         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
35204         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
35205         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
35206         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
35208 2014-06-10  Wilco  <wdijkstr@arm.com>
35210         * math/test-fenv-return.c: New file.
35211         * math/Makefile: Add new test test-fenv-return.
35213 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
35215         [BZ #17042]
35216         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
35217         when x - 1 is zero.
35218         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
35219         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
35220         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
35221         0.0L for an argument of 1.0L.
35222         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
35223         Likewise.
35224         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
35225         value when x - 1 is zero.
35226         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
35227         * sysdeps/i386/fpu/libm-test-ulps: Update.
35228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35230 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
35232         [BZ #15119]
35233         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
35235 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35237         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
35238         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
35240 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35242         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35243         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
35245         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35246         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
35248         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35249         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
35251         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35252         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
35254         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
35255         if not already defined.
35256         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
35257         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
35258         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
35259         (TLS_INIT_TP): Use it.
35260         (TLS_DEFINE_INIT_TP): New macro.
35261         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
35263 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
35265         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
35266         constant.
35267         [POSIX] (IXANY): Likewise.
35268         [POSIX] (OLCUC): Likewise.
35269         [POSIX || POSIX2008] (CBAUD): Do not allow.
35270         [POSIX || POSIX2008] (DEFECHO): Likewise.
35271         [POSIX || POSIX2008] (ECHOCTL): Likewise.
35272         [POSIX || POSIX2008] (ECHOKE): Likewise.
35273         [POSIX || POSIX2008] (ECHOPRT): Likewise.
35274         [POSIX || POSIX2008] (EXTA): Likewise.
35275         [POSIX || POSIX2008] (EXTB): Likewise.
35276         [POSIX || POSIX2008] (FLUSHO): Likewise.
35277         [POSIX || POSIX2008] (LOBLK): Likewise.
35278         [POSIX || POSIX2008] (PENDIN): Likewise.
35279         [POSIX || POSIX2008] (SWTCH): Likewise.
35280         [POSIX || POSIX2008] (VDISCARD): Likewise.
35281         [POSIX || POSIX2008] (VDSUSP): Likewise.
35282         [POSIX || POSIX2008] (VLNEXT): Likewise.
35283         [POSIX || POSIX2008] (VREPRINT): Likewise.
35284         [POSIX || POSIX2008] (VSTATUS): Likewise.
35285         [POSIX || POSIX2008] (VWERASE): Likewise.
35286         (B*): Change to B[0123456789]*.
35287         * conform/data/time.h-data [POSIX || UNIX98]
35288         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
35289         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35290         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
35291         [POSIX] (tm_*): Do not allow.
35293 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
35295         * Makefile (install): Don't set LANGUAGE.
35296         * Makefile.in (install): Likewise.
35297         * assert/Makefile (test-assert-ENV): Remove variable.
35298         (test-assert-perr-ENV): Likewise.
35299         * elf/Makefile (neededtest4-ENV): Likewise.
35300         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35301         [$(cross-compiling) = no]: Don't set LANGUAGE.
35302         * io/ftwtest-sh (LANG): Remove variable.
35303         * libio/Makefile (tst-widetext-ENV): Likewise.
35304         * manual/install.texi (Running make install): Don't refer to
35305         environment settings for make install.
35306         * INSTALL: Regenerated.
35307         * nptl/tst-tls6.sh: Don't set LANG.
35308         * posix/globtest.sh (LANG): Remove variable.
35309         * string/Makefile (tester-ENV): Likewise.
35310         (inl-tester-ENV): Likewise.
35311         (noinl-tester-ENV): Likewise.
35312         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35313         [$(cross-compiling) = no]: Don't set LANGUAGE.
35314         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
35315         without explicit environment settings.
35317 2014-06-06  Roland McGrath  <roland@hack.frob.com>
35319         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
35320         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
35321         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
35322         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
35324 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
35326         * crypt/crypt-private.h [DOS]: Add some includes taken from the
35327         other files in the crypt directory.
35328         * crypt/crypt.c: Remove duplicate includes.
35329         * crypt/crypt-entry.c: Likewise.
35330         * crypt/crypt_util.c: Likewise.
35332 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
35334         * Makeconfig (run-program-env): New variable.
35335         (run-program-prefix-before-env): Likewise.
35336         (run-program-prefix-after-env): Likewise.
35337         (run-program-prefix): Define in terms of new variables.
35338         (built-program-cmd-before-env): New variable.
35339         (built-program-cmd-after-env): Likewise.
35340         (built-program-cmd): Define in terms of new variables.
35341         (test-program-prefix-before-env): New variable.
35342         (test-program-prefix-after-env): Likewise.
35343         (test-program-prefix): Define in terms of new variables.
35344         (test-program-cmd-before-env): New variable.
35345         (test-program-cmd-after-env): Likewise.
35346         (test-program-cmd): Define in terms of new variables.
35347         * Rules (make-test-out): Use $(run-program-env).
35348         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
35349         (help): Do not mention environment variables.  Mention
35350         --timeoutfactor option.
35351         (timeoutfactor): New variable.
35352         (blacklist_exports): Remove function.
35353         (exports): Remove variable.
35354         (command): Do not include ${exports}.
35355         * manual/install.texi (Configuring and compiling): Do not mention
35356         test wrappers preserving environment variables.  Mention that last
35357         assignment to a variable must take precedence.
35358         * INSTALL: Regenerated.
35359         * benchtests/Makefile (run-bench): Use $(run-program-env).
35360         * catgets/Makefile ($(objpfx)test1.cat): Use
35361         $(built-program-cmd-before-env), $(run-program-env) and
35362         $(built-program-cmd-after-env).
35363         ($(objpfx)test2.cat): Do not specify environment variables
35364         explicitly.
35365         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
35366         $(run-program-env) and $(built-program-cmd-after-env).
35367         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
35368         $(run-program-env) and $(test-program-cmd-after-env).
35369         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
35370         explicitly.
35371         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
35372         run_program_env and test_program_cmd_after_env arguments.
35373         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
35374         * elf/tst-pathopt.sh: Use run_program_env argument.
35375         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
35376         $(test-wrapper-env) and $(run-program-env).
35377         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
35378         run_program_env arguments.
35379         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
35380         * intl/Makefile ($(objpfx)tst-gettext.out): Use
35381         $(test-program-prefix-before-env), $(run-program-env) and
35382         $(test-program-prefix-after-env).
35383         ($(objpfx)tst-gettext2.out): Likewise.
35384         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
35385         run_program_env and test_program_prefix_after_env arguments.
35386         * intl/tst-gettext2.sh: Likewise.
35387         * intl/tst-gettext4.sh: Do not set environment variables
35388         explicitly.
35389         * intl/tst-gettext6.sh: Likewise.
35390         * intl/tst-translit.sh: Likewise.
35391         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
35392         $(test-program-prefix-before-env), $(run-program-env) and
35393         $(test-program-prefix-after-env).
35394         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
35395         run_program_env and test_program_prefix_after_env arguments.
35396         * math/Makefile (run-regen-ulps): Use $(run-program-env).
35397         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
35398         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
35399         explicitly with each use of ${test_wrapper_env}.
35400         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
35401         $(test-program-prefix-before-env), $(run-program-env) and
35402         $(test-program-prefix-after-env).
35403         * posix/tst-getconf.sh: Do not set environment variables
35404         explicitly.
35405         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
35406         run_program_env and test_program_prefix_after_env arguments.
35407         * stdio-common/tst-printf.sh: Do not set environment variables
35408         explicitly.
35409         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
35410         $(test-program-prefix-before-env), $(run-program-env) and
35411         $(test-program-prefix-after-env).
35412         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
35413         run_program_env and test_program_prefix_after_env arguments.
35414         Split $test calls into $test_pre and $test.
35415         * timezone/Makefile (build-testdata): Use
35416         $(built-program-cmd-before-env), $(run-program-env) and
35417         $(built-program-cmd-after-env).
35419 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35421         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
35422         strlen for non SHARED builds.
35424 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35426         * nptl/allocatestack.c (check_list): Inlined function...
35427         (__reclaim_stacks): ... here.
35429 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35431         [BZ #15698]
35432         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35433         memory overrun.
35435 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
35437         * Rules (make-test-out): Include
35438         LOCPATH=$(common-objpfx)localedata in default environment.
35439         * debug/Makefile (tst-chk1-ENV): Remove variable.
35440         (tst-chk2-ENV): Likewise.
35441         (tst-chk3-ENV): Likewise.
35442         (tst-chk4-ENV): Likewise.
35443         (tst-chk5-ENV): Likewise.
35444         (tst-chk6-ENV): Likewise.
35445         (tst-lfschk1-ENV): Likewise.
35446         (tst-lfschk2-ENV): Likewise.
35447         (tst-lfschk3-ENV): Likewise.
35448         (tst-lfschk4-ENV): Likewise.
35449         (tst-lfschk5-ENV): Likewise.
35450         (tst-lfschk6-ENV): Likewise.
35451         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
35452         (tst-iconv7-ENV): Likewise.
35453         * intl/Makefile (LOCPATH-ENV): Likewise.
35454         (tst-codeset-ENV): Likewise.
35455         (tst-gettext3-ENV): Likewise.
35456         (tst-gettext5-ENV): Likewise.
35457         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
35458         (tst-fopenloc-ENV): Likewise.
35459         (tst-fgetws-ENV): Remove variable.
35460         (tst-ungetwc1-ENV): Likewise.
35461         (tst-ungetwc2-ENV): Likewise.
35462         (bug-ungetwc2-ENV): Likewise.
35463         (tst-swscanf-ENV): Likewise.
35464         (bug-ftell-ENV): Likewise.
35465         (tst-fgetwc-ENV): Likewise.
35466         (tst-fseek-ENV): Likewise.
35467         (tst-ftell-partial-wide-ENV): Likewise.
35468         (tst-ftell-active-handler-ENV): Likewise.
35469         (tst-ftell-append-ENV): Likewise.
35470         * posix/Makefile (tst-fnmatch-ENV): Likewise.
35471         (tst-regexloc-ENV): Likewise.
35472         (bug-regex1-ENV): Likewise.
35473         (tst-regex-ENV): Likewise.
35474         (tst-regex2-ENV): Likewise.
35475         (bug-regex5-ENV): Likewise.
35476         (bug-regex6-ENV): Likewise.
35477         (bug-regex17-ENV): Likewise.
35478         (bug-regex18-ENV): Likewise.
35479         (bug-regex19-ENV): Likewise.
35480         (bug-regex20-ENV): Likewise.
35481         (bug-regex22-ENV): Likewise.
35482         (bug-regex23-ENV): Likewise.
35483         (bug-regex25-ENV): Likewise.
35484         (bug-regex26-ENV): Likewise.
35485         (bug-regex30-ENV): Likewise.
35486         (bug-regex32-ENV): Likewise.
35487         (bug-regex33-ENV): Likewise.
35488         (bug-regex34-ENV): Likewise.
35489         (bug-regex35-ENV): Likewise.
35490         (tst-rxspencer-ENV): Likewise.
35491         (tst-rxspencer-no-utf8-ENV): Likewise.
35492         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
35493         (tst-sscanf-ENV): Likewise.
35494         (tst-swprintf-ENV): Likewise.
35495         (tst-swscanf-ENV): Likewise.
35496         (test-vfprintf-ENV): Likewise.
35497         (scanf13-ENV): Likewise.
35498         (bug14-ENV): Likewise.
35499         (tst-grouping-ENV): Likewise.
35500         * stdlib/Makefile (tst-strtod-ENV): Likewise.
35501         (tst-strtod3-ENV): Likewise.
35502         (tst-strtod4-ENV): Likewise.
35503         (tst-strtod5-ENV): Likewise.
35504         (testmb2-ENV): Likewise./
35505         * string/Makefile (tst-strxfrm-ENV): Likewise.
35506         (tst-strxfrm2-ENV): Likewise.
35507         (bug-strcoll1-ENV): Likewise.
35508         (test-strcasecmp-ENV): Likewise.
35509         (test-strncasecmp-ENV): Likewise.
35510         * time/Makefile (tst-strptime-ENV): Likewise.
35511         (tst-ftime_l-ENV): Likewise.
35512         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
35513         (tst-mbrtowc-ENV): Likewise.
35514         (tst-wcrtomb-ENV): Likewise.
35515         (tst-mbrtowc2-ENV): Likewise.
35516         (tst-c16c32-1-ENV): Likewise.
35517         (tst-mbsnrtowcs-ENV): Likewise.
35519 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35521         * manual/resource.texi (How to get information about the memory
35522         subsystem?): Fix typo.
35523         Reported by Peon de la Parra Ivan <peon@keba.com>
35525 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
35527         [BZ #16882]
35528         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
35529         (pthread_spin_lock): Branch out of spin loop to proper location.
35530         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
35531         (pthread_spin_lock): Likewise.
35533         * nptl/tst-spin4.c: New test.
35534         * nptl/Makefile (tests): Add tst-spin4.
35536 2014-06-03  Andreas Schwab  <schwab@suse.de>
35538         [BZ #15946]
35539         * resolv/res_send.c (send_dg): Reload file descriptor after
35540         calling reopen.
35542 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
35544         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35546 2014-06-03  Richard Henderson  <rth@redhat.com>
35548         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
35549         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
35550         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
35551         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
35552         in the SAVE_PID block.
35553         (__libc_vfork): New alias.
35554         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
35556         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
35557         child in registers, not on the stack.  Remove RESET_PID conditionals.
35558         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
35560 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35562         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35564 2014-06-03  Wilco  <wdijkstr@arm.com>
35566         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
35567         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
35568         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35569         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
35570         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
35571         Likewise.
35573 2014-06-03  Wilco  <wdijkstr@arm.com>
35575         * sysdeps/aarch64/fpu/math_private.h
35576         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
35577         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
35578         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
35579         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35580         Fix declarations.
35582 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35584         * crypt/crypt-private.h: Include ufc-crypt.h.
35585         (__b64_from_24bit): Declare extern.
35586         * crypt/crypt_util.c(__b64_from_24bit): New function.
35587         (b64t): New static const variable.
35588         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
35589         (b64t): Remove variable.
35590         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
35591         * crypt/sha256-crypt.c: Include crypt-private.h.
35592         (b64t): Remove variable.
35593         (__sha256_crypt_r): Remove b64_from_24bit and replace
35594         with __b64_from_24bit.
35595         * crypt/sha512-crypt.c: Likewise.
35597 2014-06-02  Roland McGrath  <roland@hack.frob.com>
35599         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
35600         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
35601         Label the code __libc_vfork rather than __vfork.
35602         [!NOT_IN_libc] (vfork): Define as weak alias.
35603         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
35604         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
35605         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
35607 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35609         * malloc/malloc.c (malloc_info): Fix format specifier for
35610         n_mmaps.
35612 2014-06-02  Wilco  <wdijkstr@arm.com>
35614         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
35615         FPCR write.
35617 2014-06-02  Wilco  <wdijkstr@arm.com>
35619         [BZ #17009]
35620         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
35621         Rewrite to reduce FPCR/FPSR accesses.
35623 2014-06-01  David S. Miller  <davem@davemloft.net>
35625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35627 2014-05-31  David S. Miller  <davem@davemloft.net>
35629         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
35630         to occur in round to nearest mode when |x| >= 2.0
35632 2014-05-30  Richard Henderson  <rth@twiddle.net>
35634         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
35635         (PSEUDO_RET_NOERRNO): Remove.
35636         (ret): Don't redefine.
35637         (ret_NOERRNO): Define in terms of ret.
35638         (ret_ERRVAL): Likewise.
35640         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
35641         use of PSEUDO_RET; perform the error check directly.
35643 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
35645         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
35646         with __int128_t.
35648 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35650         * malloc/malloc (malloc_info): Fix formatting.
35652 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35653             Roland McGrath  <roland@hack.frob.com>
35655         * malloc/malloc (malloc_info): Also print mmapped statistics.
35657 2014-05-30  Roland McGrath  <roland@hack.frob.com>
35659         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
35660         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
35662 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
35664         * malloc/malloc.c (malloc_info): Inline mi_arena.
35666 2014-05-29  Richard Henderson  <rth@twiddle.net>
35668         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
35669         Remove comma before expanding ASM_ARGS_##nr.
35670         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
35671         Make _x0 a strict output; make _x8 a strict input; adjust expansion
35672         of ASM_ARGS_##nr.
35673         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
35674         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
35675         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
35676         (ASM_ARGS_1): Add leading comma.
35678         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
35679         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
35680         to __errno_location.
35681         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
35682         Remove the expected plt for __errno_location.
35684         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35685         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
35686         call to __read_tp.
35688         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35689         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
35690         it and break it down.
35691         (DOCARGS_0, DOCARGS_1): Do nothing.
35692         (DOCARGS_2): Update to store into the new stack frame.
35693         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
35694         (UNDOCARGS_1): Update to restore from the new stack frame.
35695         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
35696         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
35698         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35699         (SINGLE_THREAD_P): New parameter for result regno.
35700         (PSEUDO): Update to match; use cbz instead of beq.
35702         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35703         Use ENTRY to define the _nocancel entry point.  Share the syscall
35704         and syscall error check paths with the cancel path.
35705         (PSEUDO_END): New.
35707         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
35708         whitespace; tabs before and after asm mnemonics.
35710 2014-05-29  Eric Wong  <normalperson@yhbt.net>
35712         [BZ #15132]
35713         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35714         Call fstat64 or stat64 internally, depending on arguments passed.
35715         Replace stat buffer argument with file descriptor argument.
35716         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
35717         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35718         Pass fd to __internal_statvfs instead of calling fstat64.
35719         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
35720         Pass fd to __internal_statvfs64 instead of calling fstat64.
35721         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
35722         Pass -1 to __internal_statvfs instead of calling stat64.
35723         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
35724         Pass -1 to __internal_statvfs64 instead of calling stat64.
35726 2014-05-28  Roland McGrath  <roland@hack.frob.com>
35728         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
35729         that was previously under [RESET_PID].
35730         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
35732         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
35733         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
35735 2014-05-27  Roland McGrath  <roland@hack.frob.com>
35737         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
35739         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
35740         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
35742 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
35744         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
35746 2014-05-27  Andreas Schwab  <schwab@suse.de>
35748         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
35749         TLS_INIT_TP macro.
35750         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
35751         * elf/rtld.c (init_tls, dl_main): Likewise.
35752         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
35753         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
35754         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
35755         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
35756         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
35757         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
35758         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
35759         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
35760         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
35761         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
35762         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
35763         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
35764         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
35765         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
35766         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
35767         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
35768         * sysdeps/generic/tls.h: Update description.
35770 2014-05-27  Will Newton  <will.newton@linaro.org>
35772         [BZ #16990]
35773         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
35774         and restore r2 rather than just restoring.
35776 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35778         [BZ #16724]
35779         * libio/tst-ftell-append.c: New test case.
35780         * libio/Makefile (tests): Add test case.
35781         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
35782         append mode.
35783         * libio/wfileops.c (do_ftell_wide): Likewise.
35785 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35789         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
35790         ...
35791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
35792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35793         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
35794         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
35795         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
35796         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
35797         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
35798         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
35799         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35800         Moved ...
35801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
35802         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35803         Moved ...
35804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
35805         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
35806         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
35807         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
35808         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
35809         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
35810         ...
35811         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
35812         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
35813         Moved ...
35814         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
35815         here.
35816         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
35817         ...
35818         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
35819         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
35820         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
35822         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
35823         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
35824         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
35825         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
35827         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
35828         merge into ...
35829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
35830         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
35831         ...
35832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
35833         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
35834         ...
35835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
35836         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35837         Moved ...
35838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
35839         here.
35840         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35841         Moved ...
35842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
35843         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35844         Moved ...
35845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
35847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
35848         conditional [RESET_PID].
35849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
35850         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
35851         removed.
35852         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
35853         removed.
35855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
35856         <tcb-offsets.h>.
35857         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35858         (__libc_vfork): New strong alias.
35859         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
35860         removed.
35861         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
35862         Removed.
35864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
35865         <tcb-offsets.h>.
35866         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
35867         (__libc_vfork): New strong alias.
35868         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
35869         removed.
35870         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
35871         removed.
35873 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
35875         * malloc/malloc.c (mi_arena): New function.
35876         (malloc_info): Remove nested function mi_arena. Call non-nosted
35877         function mi_arena.
35879 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35881         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
35882         by insrwi.
35883         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35884         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35885         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
35886         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
35887         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
35888         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
35889         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
35891 2014-05-26  Andreas Schwab  <schwab@suse.de>
35893         [BZ #16984]
35894         * locale/programs/repertoire.c (repertoire_read): Add slash
35895         between I18NPATH element and file name.
35896         * locale/programs/locfile.c (locfile_read): Likewise.
35898 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35900         * nptl/pthread_mutexattr_settype.c
35901         (__pthread_mutexattr_settype):
35902         Disable lock elision for PTHREAD_MUTEX_NORMAL.
35904 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35906         * nptl/tst-mutex5 (do_test):
35907         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
35909 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35911         * benchtests/README: Document 'init' directive.
35912         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
35913         BENCH_INIT.
35914         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
35915         (parse_file): Recognize 'init' directive.
35917 2014-05-26  Kyle McMartin  <kyle@redhat.com>
35919         [BZ #16796]
35920         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
35921         alignment of struct pthread.
35923 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35925         [BZ #16878]
35926         * nscd/netgroupcache.c (addgetnetgrentX): Look for
35927         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35928         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
35929         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35931 2014-05-25  Richard Henderson  <rth@twiddle.net>
35933         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35934         (SINGLE_THREAD_P_PIC): Remove.
35935         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
35936         (SINGLE_THREAD_P_PIC): Remove.
35938         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
35939         branch to syscall error ...
35940         (PSEUDO): ... here.
35941         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
35942         from __local_syscall_error to .Lsyscall_error.
35943         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
35944         (SYSCALL_ERROR): Update label name.
35946         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35947         Do not use DOARGS/UNDOARGS.
35948         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
35949         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
35950         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
35951         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
35952         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
35954         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
35955         block comment.
35957         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
35958         define if !NOT_IN_libc.
35959         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
35960         define with non-default symbol versions.
35962 2014-05-23  Richard Henderson  <rth@twiddle.net>
35964         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
35965         (vfork, __vfork): Define via compat_symbol.
35967         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
35968         [!HAVE_IFUNC] (vfork_compat): Remove.
35969         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
35971 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35973         [BZ #16978]
35974         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
35975         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
35976         variable.
35978 2014-05-23  Richard Henderson  <rth@twiddle.net>
35980         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
35981         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
35982         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
35983         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
35985         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
35986         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
35987         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
35988         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
35989         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
35990         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
35991         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
35992         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
35993         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
35994         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
35995         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
35996         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
35997         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
35998         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
35999         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
36000         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
36001         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
36002         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
36003         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
36004         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
36005         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
36006         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
36007         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
36008         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
36009         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
36010         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
36011         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
36012         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
36013         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
36014         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
36015         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
36016         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
36017         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
36018         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
36019         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
36020         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
36021         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
36022         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
36023         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
36024         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
36025         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
36026         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
36027         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
36028         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
36029         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
36030         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
36031         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
36032         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
36033         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
36034         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
36035         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
36036         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
36037         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
36038         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
36039         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
36040         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
36042         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
36043         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
36044         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
36045         before exiting on error.
36046         (__libc_vfork): New strong alias.
36047         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
36048         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
36050         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
36051         that was previously under [RESET_PID].
36052         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
36054         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
36056 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36058         [BZ #16977]
36059         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
36060         value when x - 1 is zero.
36061         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
36062         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
36063         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
36064         0.0L for an argument of 1.0L.
36065         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
36066         Likewise.
36067         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
36068         value when x - 1 is zero.
36069         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
36070         * sysdeps/i386/fpu/libm-test-ulps: Update.
36071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36073 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
36075         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
36076         alphasort and versionsort.
36078 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36080         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
36081         macro.
36082         [copysignf]: Likewise.
36084 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36086         * crypt/md5-crypt.c: Fix formatting.
36088 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36090         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
36091         (b64_from_24bit): New function.
36093 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36095         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
36096         libc_hidden_builtin_def to ifunc.
36097         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36098         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
36100 2014-05-21  Roland McGrath  <roland@hack.frob.com>
36102         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
36103         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
36105 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
36107         * nscd/Depend (linuxthreads): Remove.
36108         (nptl): Add.
36109         * resolv/Depend (linuxthreads): Remove.
36110         * rt/Depend (linuxthreads): Remove.
36112         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
36113         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
36114         $(common-objpfx)elf/.
36115         (link-libc-before-gnulib): Likewise.
36116         (elfobjdir): Remove variable.
36117         * Makefile (install): Use $(elf-objpfx) instead of
36118         $(common-objpfx)elf/.
36119         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
36120         $(elfobjdir)/.
36121         (link-libc-deps): Likewise.
36122         ($(common-objpfx)libc.so): Likewise.
36123         ($(common-objpfx)linkobj/libc.so): Likewise.
36124         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
36125         instead of $(common-objpfx)elf/.
36126         (symbolic-link-list): Likewise.
36127         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36128         [$(cross-compiling) = no]: Likewise.
36129         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
36130         $(elfobjdir)/.
36131         (static-gnulib-arch): Likewise.
36132         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36133         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
36134         $(common-objpfx)elf/.
36136 2014-05-21  Richard Henderson  <rth@redhat.com>
36138         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36139         (SINGLE_THREAD_P): Use the correct width load.  Fold
36140         into the ldr offset.
36142         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
36143         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
36145 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
36147         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
36148         (libgcc_s_resume): Use __attribute_used__.
36149         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
36150         Likewise.
36152 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36154         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
36155         optimization when used with float constants.
36157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36159 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
36161         [BZ #16915]
36162         * locale/nl_langinfo_l.c: Make direct reference to every
36163         _nl_current_CATEGORY symbol.
36164         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
36165         (tests-static): Add tst-langinfo-static.
36166         (tests-special): Add tst-langinfo-static.out.
36167         ($(objpfx)tst-langinfo.out): Redirect output.
36168         ($(objpfx)tst-langinfo-static.out): New.
36169         * localedata/tst-langinfo.sh: Send output to stdout.
36170         * localedata/tst-langinfo-static.c: New file.
36172         [BZ #16965]
36173         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
36174         when the shift amount is modulo the limb size.
36176 2014-05-20  Richard Henderson  <rth@redhat.com>
36178         [BZ #16967]
36179         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
36180         Change type of sa_flags from unsigned int to int.
36182         [BZ #16966]
36183         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
36185         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
36187 2014-05-20  Will Newton  <will.newton@linaro.org>
36189         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36190         Test the return value of the system call in the nocancel case.
36192 2014-05-20  Will Newton  <will.newton@linaro.org>
36193             Yvan Roux  <yvan.roux@linaro.org>
36195         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
36196         #include of asm/ptrace.h.
36197         (PTRACE_GET_THREAD_AREA): Remove #undef.
36198         (PTRACE_GETHBPREGS): Likewise.
36199         (PTRACE_SETHBPREGS): Likewise.
36200         (struct user_regs_struct): New structure.
36201         (struct user_fpsimd_struct): New structure.
36202         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
36203         #include of asm/ptrace.h and second #include of sys/user.h.
36204         (PTRACE_GET_THREAD_AREA): Remove #undef.
36205         (PTRACE_GETHBPREGS): Likewise.
36206         (PTRACE_SETHBPREGS): Likewise.
36207         (ELF_NGREG): Use new struct user_regs_struct.
36208         (elf_fpregset_t): Use new struct user_fpsimd_struct.
36210 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36212         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
36213         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
36215 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
36217         [BZ #16958]
36218         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
36219         membar to avoid block loads/stores to overlap previous stores.
36221 2014-05-17  Richard Henderson  <rth@redhat.com>
36223         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
36224         Create the __##syscall_name##_nocancel entry point.
36225         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
36226         Remove; let the sysdep-cancel.h code create it.
36228 2014-05-17  David S. Miller  <davem@davemloft.net>
36230         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
36231         Protect with __USE_GNU.
36232         (TIOCSET_TEMPT): Likewise.
36233         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36234         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
36235         these are already provided in bits/ioctl-types.h
36237 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36239         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
36240         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
36242         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
36243         Use wait4 regardless of [__NR_waitpid].
36245 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
36247         PR libgcc/60166
36248         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36249         (_FP_NANSIGN_Q): Set the quiet bit.
36251 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
36253         * benchtests/Makefile
36254         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
36255         not $(common-objpfx)math/libm.so.
36256         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
36257         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
36258         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
36259         $(common-objpfx)dlfcn/libdl.so.
36260         ($(objpfx)tst-audit8): Depend on $(libm), not
36261         $(common-objpfx)math/libm.so.
36262         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
36263         not $(common-objpfx)dlfcn/libdl.so.
36264         * math/Makefile
36265         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
36266         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
36267         [$(build-shared) = yes].
36268         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
36269         $(common-objpfx)nptl/libpthread.so.
36270         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
36271         $(common-objpfx)math/libm.so$(libm.so-version) or
36272         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
36273         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
36274         $(common-objpfx)dlfcn/libdl.so.
36275         * setjmp/Makefile (link-libm): Remove variable.
36276         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
36277         * stdio-common/Makefile (link-libm): Remove variable.
36278         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
36279         * stdlib/Makefile (link-libm): Remove variable.
36280         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
36281         ($(objpfx)tst-strtod-round): Likewise.
36282         ($(objpfx)tst-tininess): Likewise.
36283         ($(objpfx)tst-strtod-underflow): Likewise.
36284         ($(objpfx)tst-strtod6): Likewise.
36285         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
36286         $(libdl), not $(common-objpfx)nptl/libpthread.so and
36287         $(common-objpfx)dlfcn/libdl.so.
36289 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36291         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
36292         BSD terminal modes definitions.
36294 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36296         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
36297         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
36299         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
36300         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
36301         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
36302         Don't do #include_next.
36303         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
36304         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
36305         Don't do #include_next.
36306         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
36307         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
36308         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
36309         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
36311 2014-05-16  Allan McRae  <allan@archlinux.org>
36313         * po/sv.po: Update Swedish translation from translation project.
36315         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
36316         in sed expression.
36318 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
36320         [BZ #16917]
36321         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
36322         errno if the TIOCGPTN ioctl fails with an error different than
36323         EINVAL.
36324         * login/tst-ptsname.c: New file.
36325         * login/Makefile (tests): Add tst-ptsname.
36327         [BZ #16943]
36328         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
36329         and prlimit64.
36331 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36333         [BZ #16849]
36334         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
36335         herrno to return EAI_AGAIN.
36337 2014-05-14  Roland McGrath  <roland@hack.frob.com>
36339         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
36340         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
36341         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
36342         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
36343         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
36344         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
36345         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
36346         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
36347         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
36348         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
36349         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
36350         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
36351         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
36352         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
36353         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
36354         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
36355         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
36356         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
36357         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
36358         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
36359         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
36360         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
36361         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
36362         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
36363         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
36364         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
36365         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
36366         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
36367         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
36368         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
36369         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
36370         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
36371         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
36372         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
36373         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36374         Moved ...
36375         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
36376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
36377         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
36378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
36379         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
36380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
36381         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
36382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
36383         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
36384         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
36385         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
36386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
36387         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
36388         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
36389         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
36390         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
36391         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
36392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
36393         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
36394         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
36395         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
36396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
36397         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
36398         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
36399         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
36400         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
36401         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
36402         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36403         Moved ...
36404         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
36405         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
36406         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
36407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
36408         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
36409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
36410         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
36411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
36412         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
36413         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
36414         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
36415         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
36416         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
36417         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
36418         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
36419         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
36420         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
36421         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
36422         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
36423         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36424         Moved ...
36425         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
36426         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
36427         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
36429         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
36430         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
36431         (libpthread-sysdep_routines): Add elision-related stuff here instead.
36432         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
36433         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
36434         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
36435         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
36436         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
36437         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
36438         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
36439         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
36440         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
36441         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
36442         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
36443         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
36444         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
36445         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
36446         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
36447         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
36448         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
36449         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
36450         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
36451         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
36452         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
36453         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
36454         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
36455         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
36456         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
36457         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
36458         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
36459         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
36461         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
36462         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
36464         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
36465         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
36466         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
36467         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
36468         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
36469         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
36470         Moved ...
36471         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
36472         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
36473         Moved ...
36474         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
36475         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
36476         Moved ...
36477         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
36478         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
36479         Moved ...
36480         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
36481         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
36482         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
36483         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
36484         Moved ...
36485         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
36486         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
36487         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
36488         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
36489         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
36490         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
36491         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
36492         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
36493         Moved ...
36494         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
36495         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36496         Moved ...
36497         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36498         ... here.
36499         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
36500         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
36501         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
36502         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
36503         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36504         Moved ...
36505         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36506         ... here.
36507         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
36508         Moved ...
36509         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
36510         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
36511         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
36512         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
36513         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
36514         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
36515         Moved ...
36516         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
36517         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
36518         Moved ...
36519         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
36520         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
36521         Moved ...
36522         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
36523         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
36524         Moved ...
36525         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
36526         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
36527         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
36528         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
36529         Moved ...
36530         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
36531         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
36532         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
36533         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
36534         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
36535         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
36536         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
36537         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
36538         Moved ...
36539         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
36540         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36541         Moved ...
36542         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36543         ... here.
36544         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
36545         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
36546         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
36547         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
36548         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36549         Moved ...
36550         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36551         ... here.
36552         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
36553         Moved ...
36554         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
36555         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
36556         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
36557         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
36558         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
36559         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
36560         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
36561         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
36562         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
36563         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
36564         Moved ...
36565         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
36566         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
36567         Moved ...
36568         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
36569         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
36570         Moved ...
36571         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
36572         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
36573         Moved ...
36574         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
36575         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
36576         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
36577         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
36578         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
36579         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
36580         Moved ...
36581         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
36582         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
36583         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
36584         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
36585         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
36586         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
36587         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
36588         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
36589         Moved ...
36590         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
36591         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36592         Moved ...
36593         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36594         ... here.
36595         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
36596         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
36597         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
36598         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
36599         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36600         Moved ...
36601         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36602         ... here.
36603         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
36604         Moved ...
36605         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
36606         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
36607         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
36608         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
36609         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
36610         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
36611         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
36612         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
36613         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
36614         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
36615         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
36617         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
36618         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
36620         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
36621         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
36623         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
36624         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
36625         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
36626         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
36627         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
36628         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
36629         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
36630         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
36631         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
36632         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
36633         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
36634         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
36635         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
36636         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
36637         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
36638         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
36639         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
36640         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
36641         Moved ...
36642         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
36643         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
36644         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
36645         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
36646         Moved ...
36647         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
36648         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
36649         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
36650         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
36651         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
36652         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
36653         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
36654         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
36655         Moved ...
36656         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
36657         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
36658         Moved ...
36659         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
36660         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
36661         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
36662         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
36663         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
36664         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
36665         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
36666         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
36667         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
36668         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
36669         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
36670         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
36671         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
36672         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
36673         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
36674         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
36675         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
36677         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
36678         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
36679         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
36680         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
36681         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
36683         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
36684         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
36685         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
36686         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
36687         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
36688         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
36689         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
36690         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
36691         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
36692         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
36694         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
36695         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
36697         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
36698         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
36699         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
36700         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
36701         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
36702         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
36703         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
36704         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
36705         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
36706         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
36707         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
36708         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
36709         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
36710         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
36711         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
36712         Update #include.
36713         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
36714         Likewise.
36715         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36716         Likewise.
36717         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36718         Likewise.
36719         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36720         Likewise.
36721         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
36722         Likewise.
36723         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
36724         Likewise.
36725         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36726         Likewise.
36727         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
36728         Likewise.
36729         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
36730         Likewise.
36731         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
36732         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
36733         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
36734         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
36735         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
36736         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
36737         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
36738         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
36739         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
36740         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
36741         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
36742         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
36743         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
36744         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
36745         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
36747         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
36748         that was previously under [RESET_PID].
36749         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36750         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
36751         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
36753         * sysdeps/i386/nptl/Implies: New file.
36754         * sysdeps/x86_64/nptl/Implies: New file.
36755         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
36756         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
36757         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
36758         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
36760         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
36761         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36762         (__libc_vfork): New strong alias.
36763         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
36764         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
36766         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
36767         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36768         (__libc_vfork): New strong alias.
36769         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
36770         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
36772         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
36773         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36774         (__libc_vfork): New strong alias.
36775         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
36776         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
36777         * nptl/pt-vfork.c: New file.
36778         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
36779         (libpthread: GLIBC_2.20): New version set (empty).
36781 2014-05-14  Will Newton  <will.newton@linaro.org>
36783         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
36784         rather than #if.
36786 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36788         [BZ #16564]
36789         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
36790         arguments with exponent 65 or above.
36791         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
36792         arguments 0x1p113L or above.
36793         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
36794         to arguments 0x1p107L or above.
36795         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
36796         positive arguments with exponent 65 or above.
36797         * math/auto-libm-test-in: Add more tests of log1p.
36798         * math/auto-libm-test-out: Regenerated.
36800         [BZ #16928]
36801         * math/s_cacos.c (__cacos): Ensure zero real part of result from
36802         non-finite arguments is +0.
36803         * math/s_cacosf.c (__cacosf): Likewise.
36804         * math/s_cacosl.c (__cacosl): Likewise.
36805         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
36806         * sysdeps/i386/fpu/libm-test-ulps: Update.
36807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36809         [BZ #16927]
36810         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
36811         value.
36812         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
36813         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
36814         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
36815         for explicit high bit of mantissa when testing for argument equal
36816         to 1.
36817         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
36818         * sysdeps/i386/fpu/libm-test-ulps: Update.
36819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36821         [BZ #16516]
36822         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
36823         (__erf): Scale by 16 instead of 8 in potentially underflowing
36824         case.  Ensure exception if result actually underflows.
36825         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
36826         (__erff): Scale by 16 instead of 8 in potentially underflowing
36827         case.  Ensure exception if result actually underflows.
36828         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
36829         (efx8): Remove variable.
36830         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36831         case.  Ensure exception if result actually underflows.
36832         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
36833         (efx8): Remove variable.
36834         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36835         case.  Ensure exception if result actually underflows.
36836         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
36837         (efx8): Remove variable.
36838         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36839         case.  Ensure exception if result actually underflows.
36840         * math/auto-libm-test-in: Add more tests of erf.
36841         * math/auto-libm-test-out: Regenerated.
36843 2014-05-14  Andreas Schwab  <schwab@suse.de>
36845         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
36846         Remove code conditionalized on USE___THREAD.
36848         * config.h.in (HAVE_PT_CHOWN): Define as 0.
36849         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
36850         not definedness.
36852 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36854         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
36855         Define unconditionally.
36856         (__ASSUME_O_CLOEXEC): Likewise.
36857         (__ASSUME_SOCK_CLOEXEC): Likewise.
36858         (__ASSUME_IN_NONBLOCK): Likewise.
36859         (__ASSUME_PIPE2): Likewise.
36860         (__ASSUME_EVENTFD2): Likewise.
36861         (__ASSUME_SIGNALFD4): Likewise.
36862         (__ASSUME_DUP3): Likewise.
36863         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36864         (__ASSUME_DUP3): Do not define.
36865         (__ASSUME_EVENTFD2): Likewise.
36866         (__ASSUME_IN_NONBLOCK): Likewise.
36867         (__ASSUME_O_CLOEXEC): Likewise.
36868         (__ASSUME_PIPE2): Likewise.
36869         (__ASSUME_SIGNALFD4): Likewise.
36870         (__ASSUME_SOCK_CLOEXEC): Likewise.
36871         (__ASSUME_UTIMES): Undefine.
36872         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36873         (__ASSUME_UTIMES): Do not define.
36874         (__ASSUME_O_CLOEXEC): Likewise.
36875         (__ASSUME_SOCK_CLOEXEC): Likewise.
36876         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
36877         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
36878         0x020621].
36879         (__ASSUME_PIPE2): Likewise.
36880         (__ASSUME_EVENTFD2): Likewise.
36881         (__ASSUME_SIGNALFD4): Likewise.
36882         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
36883         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
36884         Do not define.
36885         (__ASSUME_EVENTFD2): Likewise.
36886         (__ASSUME_SIGNALFD4): Likewise.
36887         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36888         (__ASSUME_32BITUIDS): Likewise.
36889         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36890         (__ASSUME_IPC64): Likewise.
36891         (__ASSUME_ST_INO_64_BIT): Likewise.
36892         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
36893         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
36894         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36895         (__ASSUME_UTIMES): Do not define.
36896         (__ASSUME_PSELECT): Likewise.
36897         (__ASSUME_PPOLL): Likewise.
36898         (__ASSUME_O_CLOEXEC): Likewise.
36899         (__ASSUME_SOCK_CLOEXEC): Likewise.
36900         (__ASSUME_IN_NONBLOCK): Likewise.
36901         (__ASSUME_PIPE2): Likewise.
36902         (__ASSUME_EVENTFD2): Likewise.
36903         (__ASSUME_SIGNALFD4): Likewise.
36904         (__ASSUME_DUP3): Likewise.
36905         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36906         (__ASSUME_UTIMES): Likewise.
36907         (__ASSUME_O_CLOEXEC): Likewise.
36908         (__ASSUME_SOCK_CLOEXEC): Likewise.
36909         (__ASSUME_IN_NONBLOCK): Likewise.
36910         (__ASSUME_PIPE2): Likewise.
36911         (__ASSUME_EVENTFD2): Likewise.
36912         (__ASSUME_SIGNALFD4): Likewise.
36913         (__ASSUME_DUP3): Likewise.
36914         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36915         (__ASSUME_UTIMES): Likewise.
36916         (__ASSUME_O_CLOEXEC): Likewise.
36917         (__ASSUME_SOCK_CLOEXEC): Likewise.
36918         (__ASSUME_IN_NONBLOCK): Likewise.
36919         (__ASSUME_PIPE2): Likewise.
36920         (__ASSUME_EVENTFD2): Likewise.
36921         (__ASSUME_SIGNALFD4): Likewise.
36922         (__ASSUME_DUP3): Likewise.
36923         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
36924         Likewise.
36925         (__ASSUME_UTIMES): Likewise.
36926         (__ASSUME_EVENTFD2): Likewise.
36927         (__ASSUME_SIGNALFD4): Likewise.
36928         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36929         (__ASSUME_O_CLOEXEC): Likewise.
36930         (__ASSUME_SOCK_CLOEXEC): Likewise.
36931         (__ASSUME_IN_NONBLOCK): Likewise.
36932         (__ASSUME_PIPE2): Likewise.
36933         (__ASSUME_EVENTFD2): Likewise.
36934         (__ASSUME_SIGNALFD4): Likewise.
36935         (__ASSUME_DUP3): Likewise.
36936         (__ASSUME_UTIMES): Undefine.
36938         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
36939         feclearexcept.  Remove symbol versioning code.
36940         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
36941         symbol versioning code.
36942         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
36943         symbol versioning code.
36944         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
36945         feupdateenv.  Remove symbol versioning code.
36946         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
36947         fegetexceptflag.  Remove symbol versioning code.
36948         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
36949         fesetexceptflag.  Remove symbol versioning code.
36950         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
36951         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
36952         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
36953         (__posix_fadvise64_l32): Remove prototype.
36954         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
36955         code.
36957 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36959         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
36960         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
36961         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
36962         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
36964 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
36966         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
36967         current working directory
36969 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36971         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
36972         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
36973         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
36974         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
36975         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
36976         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
36977         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
36978         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
36979         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
36980         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
36981         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
36982         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
36983         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
36984         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
36985         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
36986         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
36987         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
36988         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
36989         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
36990         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
36991         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
36992         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
36993         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
36994         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
36995         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
36996         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
36997         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
36998         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
36999         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
37000         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
37001         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
37002         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
37003         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
37004         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
37005         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
37006         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
37007         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
37008         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
37009         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
37010         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
37011         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
37012         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
37014         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
37015         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
37017         * sysdeps/unix/sysv/linux/arm/Makefile
37018         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37019         Add rt-aeabi_unwind_cpp_pr1.
37020         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
37021         Add nptl-aeabi_unwind_cpp_pr1.
37022         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
37023         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
37024         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
37025         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37026         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
37027         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37029         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
37030         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
37031         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
37032         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
37034         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
37035         Deconditionalize the code that was previously under [RESET_PID].
37036         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
37038         * sysdeps/generic/exit-thread.h: New file.
37039         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
37040         * include/unistd.h (__exit_thread): Remove declaration.
37041         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
37042         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
37043         * csu/libc-start.c: Include <exit-thread.h>.
37044         (LIBC_START_MAIN): Pass no argument to __exit_thread.
37045         * nptl/pthread_create.c: Include <exit-thread.h>.
37046         (start_thread): Call __exit_thread in place of __exit_thread_inline.
37047         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
37048         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
37049         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
37050         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
37051         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
37052         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
37053         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
37054         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
37055         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
37056         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
37057         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
37058         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
37059         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
37060         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
37061         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
37062         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
37064 2014-05-13  Andreas Schwab  <schwab@suse.de>
37066         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
37068 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
37070         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
37071         (__ASSUME_UTIMES): Do not condition on kernel version.
37072         (__ASSUME_PSELECT): Define unconditionally.
37073         (__ASSUME_PPOLL): Likewise.
37074         (__ASSUME_ATFCTS): Likewise.
37075         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
37076         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
37077         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
37078         (__ASSUME_UTIMENSAT): Define unconditionally.
37079         (__ASSUME_PRIVATE_FUTEX): Likewise.
37080         (__ASSUME_FALLOCATE): Likewise.
37081         (__ASSUME_O_CLOEXEC): Likewise.
37082         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
37083         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
37084         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
37085         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
37086         (__ASSUME_IN_NONBLOCK): Likewise.
37087         (__ASSUME_PIPE2): Likewise.
37088         (__ASSUME_EVENTFD2): Likewise.
37089         (__ASSUME_SIGNALFD4): Likewise.
37090         (__ASSUME_DUP3): Likewise.
37091         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37092         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
37093         (__ASSUME_AT_RANDOM): Likewise.
37094         (__ASSUME_PREADV): Likewise.
37095         (__ASSUME_PWRITEV): Likewise.
37096         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
37097         (__ASSUME_F_GETOWN_EX): Define unconditionally.
37098         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
37099         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37100         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
37101         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37102         (__ASSUME_O_CLOEXEC): Define unconditionally.
37103         (__ASSUME_PSELECT): Do not undefine conditionally.
37104         (__ASSUME_PPOLL): Likewise.
37105         (__ASSUME_ATFCTS): Likewise.
37106         (__ASSUME_SET_ROBUST_LIST): Likewise.
37107         (__ASSUME_UTIMENSAT): Likewise.
37108         (__ASSUME_FDATASYNC): Define unconditionally.
37109         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37110         (__ASSUME_SIGFRAME_V2): Likewise.
37111         )__ASSUME_EVENTFD2): Likewise.
37112         (__ASSUME_SIGNALFD4): Likewise.
37113         (__ASSUME_PSELECT): Do not undefine conditionally.
37114         (__ASSUME_PPOLL): Likewise.
37115         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37116         (__ASSUME_PSELECT): Define unconditionally.
37117         (__ASSUME_PPOLL): Likewise.
37118         (__ASSUME_O_CLOEXEC): Likewise.
37119         (__ASSUME_SOCK_CLOEXEC): Likewise.
37120         (__ASSUME_IN_NONBLOCK): Likewise.
37121         (__ASSUME_PIPE2): Likewise.
37122         (__ASSUME_EVENTFD2): Likewise.
37123         (__ASSUME_SIGNALFD4): Likewise.
37124         (__ASSUME_DUP3): Likewise.
37125         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37126         (__ASSUME_O_CLOEXEC): Likewise.
37127         (__ASSUME_SOCK_CLOEXEC): Likewise.
37128         (__ASSUME_IN_NONBLOCK): Likewise.
37129         (__ASSUME_PIPE2): Likewise.
37130         (__ASSUME_EVENTFD2): Likewise.
37131         (__ASSUME_SIGNALFD4): Likewise.
37132         (__ASSUME_DUP3): Likewise.
37133         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37134         (__ASSUME_EVENTFD2): Likewise.
37135         (__ASSUME_SIGNALFD4): Likewise.
37136         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37138 2014-05-12  Andreas Schwab  <schwab@suse.de>
37140         [BZ #16932]
37141         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
37142         (_nss_nis_gethostbyname4_r): Return error if item length is larger
37143         than maximum RPC packet size.
37144         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
37145         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
37146         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
37147         (_nss_nis_getservbyport_r): Likewise.
37149 2014-05-12  Will Newton  <will.newton@linaro.org>
37151         * malloc/Makefile (tests): Add tst-mallopt.
37152         * malloc/tst-mallopt.c: New file.
37154 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37156         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
37157         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
37159 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37161         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
37162         (tst-tlsmod6.so): Likewise.
37164 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37166         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
37168 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
37170         [BZ #16064]
37171         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
37172         and <dl-procinfo.h>.
37173         (__fegetenv): Save SSE state in envp->__eip if supported.
37174         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
37175         envp->__eip if supported.
37176         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
37177         and <dl-procinfo.h>.
37178         (__fesetenv): Always set __eip, __cs_selector, __opcode,
37179         __data_offset and __data_selector in environment to 0.  Set SSE
37180         state if supported.
37181         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
37182         test-fenv-sse.
37183         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
37184         -mfpmath=sse.
37185         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
37187 2014-05-09  Will Newton  <will.newton@linaro.org>
37189         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
37190         and libc_relro_required for ARM.
37191         * sysdeps/arm/preconfigure: Regenerate.
37193 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
37194             Stefan Liebler  <stli@linux.vnet.ibm.com>
37196         * config.make.in (enable-lock-elision): New Makefile variable.
37197         * configure.ac: Likewise.
37198         * configure: Regenerate.
37199         * sysdeps/s390/configure.ac:
37200         Add check for gcc transactions support.
37201         * sysdeps/s390/configure: Regenerate.
37202         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
37203         Build elision files if enabled.
37204         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
37205         Add lock elision support for s390.
37206         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
37207         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
37208         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
37209         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
37210         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
37211         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
37212         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37213         Likewise.
37214         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
37215         Likewise.
37216         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
37217         Likewise.
37218         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
37219         Likewise.
37220         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
37221         (__lll_timedlock_elision, __lll_lock_elision)
37222         (__lll_unlock_elision, __lll_trylock_elision)
37223         (lll_timedlock_elision, lll_lock_elision)
37224         (lll_unlock_elision, lll_trylock_elision): Add.
37225         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37226         (pthread_mutex_t): Add lock elision support for s390.
37228 2014-05-14  Wilco  <wdijkstr@arm.com>
37230         * sysdeps/arm/fclrexcpt.c: Cleanup.
37231         * sysdeps/arm/fedisblxcpt.c: Cleanup.
37232         * sysdeps/arm/feenablxcpt.c: Cleanup.
37233         * sysdeps/arm/fegetenv.c: Cleanup.
37234         * sysdeps/arm/fegetexcept.c: Cleanup.
37235         * sysdeps/arm/fegetround.c: Cleanup.
37236         * sysdeps/arm/feholdexcpt.c: Cleanup.
37237         * sysdeps/arm/fesetenv.c: Cleanup.
37238         * sysdeps/arm/fesetround.c: Cleanup.
37239         * sysdeps/arm/feupdateenv.c: Cleanup.
37240         * sysdeps/arm/fgetexcptflg.c: Cleanup.
37241         * sysdeps/arm/fraiseexcpt.c: Cleanup.
37242         * sysdeps/arm/fsetexcptflg.c: Cleanup.
37243         * sysdeps/arm/ftestexcept.c: Cleanup.
37244         * sysdeps/arm/get-rounding-mode.h: Cleanup.
37245         * sysdeps/arm/setfpucw.c: Cleanup.
37247 2014-05-09  Will Newton  <will.newton@linaro.org>
37249         * sysdeps/arm/armv7/strcmp.S: New file.
37250         * NEWS: Mention addition of ARMv7 optimized strcmp.
37252 2014-05-08  Roland McGrath  <roland@hack.frob.com>
37254         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
37255         look for %.ac rather than %.in.
37257         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
37258         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
37259         * sysdeps/mach/hurd/configure: Regenerated.
37260         * sysdeps/unix/sysv/linux/configure: Regenerated.
37262         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
37264 2014-05-07  Steve Ellcey  <sellcey@mips.com>
37266         [BZ# 16922]
37267         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
37268         (LONG_SUB): Ditto.
37269         (PTR_SUB): Ditto.
37271 2014-05-07  Andreas Schwab  <schwab@suse.de>
37273         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
37274         when skipping over non-matching result from nscd.
37276 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
37278         [BZ #16876]
37279         * nptl/sockperf.c (client): Check socket return value.
37281         [BZ #16877]
37282         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
37283         nscd security class.
37285 2014-05-06  Roland McGrath  <roland@hack.frob.com>
37287         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
37288         * sysdeps/arm/unwind.h: ... here.
37290 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
37292         [BZ# 16916]
37293         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
37294         Define.
37296 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37298         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
37299         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
37300         multiarch strncpy for PPC64.
37301         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
37302         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
37303         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
37304         multiarch optimizations.
37305         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37306         (__libc_ifunc_impl_list): Likewise.
37307         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
37308         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
37309         multiarch stpncpy for PPC64.
37310         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
37311         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
37313 2014-05-06  Andreas Schwab  <schwab@suse.de>
37315         [BZ #16912]
37316         * gmon/mcount.c (_MCOUNT_DECL): Use
37317         atomic_compare_and_exchange_bool_acq instead of
37318         catomic_compare_and_exchange_bool_acq.
37320 2014-05-05  Roland McGrath  <roland@hack.frob.com>
37322         * elf/Makefile (others, install-bin): Remove pldd.
37323         (pldd-modules): Variable removed.
37324         ($(objpfx)pldd): Target removed.
37325         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
37326         (others, install-bin): Append pldd here.
37327         ($(objpfx)pldd): New target.
37329         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
37330         to 0, so the first #if test emitted later doesn't see it undefined.
37331         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
37332         * sysdeps/gnu/errlist.c: Regenerated.
37334 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37336         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37337         [libc_hidden_builtin_def]: Define to empty value.
37338         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
37339         [libc_hidden_builtin_def]: Likewise.
37340         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
37341         [libc_hidden_builtin_def]: Likewise.
37342         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
37343         [libc_hidden_builtin_def]: Likewise.
37344         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
37345         __redirect_memcpy and define ifunc as default hidden symbol.
37346         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
37347         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
37349 2014-05-04  Adam Conrad  <adconrad@0c3.net>
37351         * locale/iso-4217.def: Reintroduce XDR currency.
37353 2014-05-04  Allan McRae  <allan@archlinux.org>
37355         * po/eo.po: Update Esperanto translation from translation project.
37357 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
37359         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
37360         and FEATURE_INDEX_MAX to 1.
37361         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
37363 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37365         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
37366         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
37367         * iconvdata/big5.c (ONE_DIRECTION): Define.
37368         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
37369         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
37370         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
37371         * iconvdata/cp932.c (ONE_DIRECTION): Define.
37372         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
37373         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
37374         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
37375         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
37376         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
37377         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
37378         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
37379         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
37380         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
37381         * iconvdata/gbk.c (ONE_DIRECTION): Define.
37382         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
37383         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
37384         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
37385         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
37386         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
37387         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
37388         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
37389         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
37390         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
37391         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
37392         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
37393         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
37394         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
37395         * iconvdata/iso646.c (ONE_DIRECTION): Define.
37396         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
37397         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
37398         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
37399         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
37400         * iconvdata/johab.c (ONE_DIRECTION): Define.
37401         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
37402         * iconvdata/sjis.c (ONE_DIRECTION): Define.
37403         * iconvdata/t.61.c (ONE_DIRECTION): Define.
37404         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
37405         * iconvdata/tscii.c (ONE_DIRECTION): Define.
37406         * iconvdata/uhc.c (ONE_DIRECTION): Define.
37407         * iconvdata/unicode.c (ONE_DIRECTION): Define.
37408         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
37409         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
37410         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
37412 2014-05-01  Roland McGrath  <roland@hack.frob.com>
37414         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
37415         (_IO_JUMPS_OFFSET): Define to 0.
37417         * nptl/sysdeps/pthread/bits/libc-lock.h
37418         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37419         (__libc_lock_define_initialized_recursive): Always define using
37420         initializer.  Modern compilers treat uninitialized (implicit zero) and
37421         explicit zero initializers the same (i.e. put the datum in bss).
37423 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37425         * nscd/nscd-client.h: Include <string.h>.
37427 2014-05-01  David S. Miller  <davem@davemloft.net>
37429         [BZ #16885]
37430         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
37431         multiple zero bytes exist at the end of a string.
37432         Reported by Aurelien Jarno <aurelien@aurel32.net>
37434         * string/test-strcmp.c (check): Add explicit test for situations where
37435         there are multiple zero bytes after the first.
37437 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37439         [BZ #16890]
37440         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
37441         when compiling wprintf.
37442         * stdio-common/tstdiomisc.c (t3): New function.
37443         (main): Call it.
37445 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37447         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
37448         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
37449         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
37450         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
37452 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37454         * stdlib/longlong.h: Updated from GCC.
37456 2014-05-01  Will Newton  <will.newton@linaro.org>
37457             Bernard Ogden  <bernie.ogden@linaro.org>
37459         * NEWS: Update fixed bug list.
37461         [BZ #15119]
37462         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
37464 2014-04-30  David S. Miller  <davem@davemloft.net>
37466         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
37467         (libc_feholdexcept_setround_sparc_ctx): New function.
37468         (libc_fesetenv_sparc_ctx): Likewise.
37469         (libc_feupdateenv_sparc_ctx): Likewise.
37470         (libc_feholdsetround_sparc_ctx): Likewise.
37471         (libc_feholdexcept_setround_ctx): Define.
37472         (libc_feholdexcept_setroundf_ctx): Likewise.
37473         (libc_feholdexcept_setroundl_ctx): Likewise.
37474         (libc_fesetenv_ctx): Likewise.
37475         (libc_fesetenvf_ctx): Likewise.
37476         (libc_fesetenvl_ctx): Likewise.
37477         (libc_feupdateenv_ctx): Likewise.
37478         (libc_feupdateenvf_ctx): Likewise.
37479         (libc_feupdateenvl_ctx): Likewise.
37480         (libc_feresetround_ctx): Likewise.
37481         (libc_feresetroundf_ctx): Likewise.
37482         (libc_feresetroundl_ctx): Likewise.
37483         (libc_feholdsetround_ctx): Likewise.
37484         (libc_feholdsetroundf_ctx): Likewise.
37485         (libc_feholdsetroundl_ctx): Likewise.
37487         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37488         with __USE_GNU instead of XOPEN cpp guards.
37490         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
37491         0.
37493         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37494         with XOPEN cpp guards.
37496 2014-04-30  Julian Brown  <julian@codesourcery.com>
37498         [BZ #16888]
37499         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
37500         handling.
37502 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
37504         [BZ #9894]
37505         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
37506         Change to 2.6.32.
37507         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
37508         * sysdeps/unix/sysv/linux/configure: Regenerated.
37509         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
37510         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
37511         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
37512         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
37513         * README: Update reference to required Linux kernel version.
37514         * manual/install.texi (Linux): Update reference to required Linux
37515         kernel headers version.
37516         * INSTALL: Regenerated.
37518         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
37519         header inclusion.
37520         [POSIX] (limits.h): Likewise.
37521         [POSIX] (math.h): Likewise.
37522         [POSIX] (sys/wait.h): Likewise.
37523         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
37524         function.
37525         [POSIX] (stddef.h): Do not allow header inclusion.
37527 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37529         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
37531 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
37533         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
37534         Return immediately after lll_futex_wake.
37536 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37538         [BZ #16791]
37539         * nscd/nscd-client.h (datahead_init_common): Initialize entire
37540         structure.
37541         (datahead_init_pos): Call datahead_init_common early.
37542         (datahead_init_neg): Likewise.
37544         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
37545         datahead_init_neg): New functions.
37546         * nscd/aicache.c (addhstaiX): Use them.
37547         * nscd/grpcache.c (cache_addgr): Likewise.
37548         * nscd/hstcache.c (cache_addhst): Likewise.
37549         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37550         * nscd/netgroupcache.c (do_notfound): Likewise.
37551         (addgetnetgrentX): Likewise.
37552         (addinnetgrX): Likewise.
37553         * nscd/pwdcache.c (cache_addpw): Likewise.
37554         * nscd/servicescache.c (cache_addserv): Likewise.
37556 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37557             Atsushi Onoe  <atsushi@onoe.org>
37559         [BZ #14308]
37560         [BZ #12994]
37561         [BZ #13651]
37562         * resolv/res_query.c (__libc_res_nsearch): Return if at least
37563         one response is valid.
37564         * resolv/res_send.c (send_dg): Check for validity of other
37565         response if the current response is a referral.
37567 2014-04-29  Steve Ellcey  <sellcey@mips.com>
37569         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
37571 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
37573         [BZ #16823]
37574         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
37575         Always divide by positive zero when computing -Inf result.
37576         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37577         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
37579 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37581         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
37582         FPSCR if value do not change.
37583         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37584         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
37585         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37586         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37587         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
37588         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
37589         function.
37591 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
37593         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
37594         * sysdeps/unix/sysv/linux/hppa: Move directory from
37595         ports/systeps/unix/sysv/linux/hppa.
37596         * README: Update listing for hppa-*-linux-gnu.
37598 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
37600         [BZ #16754]
37601         * manual/stdio.texi (Hook functions): Fix types of stream hook
37602         functions.
37603         [BZ #16854]
37604         * socket/sys/socket.h: Fix typo in comment.
37606 2014-04-28  Wilco  <wdijkstr@arm.com>
37608         * sysdeps/arm/fenv_private.h: New file.
37609         * sysdeps/arm/math_private.h: New file.
37610         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
37612 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
37614         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
37615         with __int128_t.
37616         (La_x86_64_retval): Likewise.
37618 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
37620         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
37621         fpsr if value didn't change.
37622         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
37623         to fpcr if value didn't change.
37624         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
37625         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
37626         fpsr or fpcr if value didn't change.
37627         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37628         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
37629         fpcr if value didn't change.
37630         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
37631         to fpsr if value didn't change.
37633 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37635         * nptl/tst-sem3.c: Use test-skeleton.c
37636         (main): Rename to do_test.  Use return instead of
37637         exit.
37638         * nptl/tst-sem4.c: Use test-skeleton.c
37639         (main): Rename to do_test.
37641 2014-04-22  David S. Miller  <davem@davemloft.net>
37643         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37644         (struct sigaction): New struct member __glibc_reserved0, change
37645         type of sa_flags to int.
37647 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
37649         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
37650         (COUNT_LEADING_ZEROS_0): Define for AArch64.
37652 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37654         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
37655         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
37657 2014-04-22  Will Newton  <will.newton@linaro.org>
37658             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
37660         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
37661         (__longjmp): Add longjmp and longjmp_target SystemTap
37662         probes.
37663         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
37664         (__sigsetjmp): Add setjmp SystemTap probe.
37666 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
37668         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
37669         match manual order.
37671 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37673         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
37675         * sysdeps/powerpc/fpu/fenv_private.h
37676         (libc_feholdexcept_setroundl_ctx): Define to
37677         libc_feholdexcept_setround_ppc_ctx.
37678         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
37679         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
37680         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
37681         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
37683 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37685         * sysdeps/aarch64/math-tests.h: New file.
37687 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
37689         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
37690         New.
37691         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37692         Check and set bit_AVX2_Usable.
37693         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
37694         macro.
37695         (bit_AVX2): Likewise.
37696         (index_AVX2_Usable): Likewise.
37697         (CPUID_AVX2): Likewise.
37698         (HAS_AVX2): Likewise.
37700 2014-04-17  Will Newton  <will.newton@linaro.org>
37702         * manual/setjmp.texi (System V contexts): Add note that
37703         calling setcontext on a context created by a call to a
37704         signal handler is undefined.  Update text to note that
37705         setcontext from a signal handler is possible but not
37706         recommended.
37708         [BZ #16629]
37709         * stdlib/tst-setcontext.c: Include signal.h.
37710         (main): Check that the signal stack before and
37711         after swapcontext is the same.
37713         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
37714         Re-implement to restore registers in user code and avoid
37715         rt_sigreturn system call.
37717 2014-04-17  Wilco  <wdijkstr@arm.com>
37719         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
37720         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
37721         * math/test-fenv.c: Skip exception trap tests on targets which only
37722         support non-stop mode.
37724 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37725             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37727         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
37728         (libc_feholdsetround_aarch64_ctx)
37729         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
37730         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
37731         (libc_feresetround_ctx, libc_feresetroundf_ctx)
37732         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
37733         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
37734         (libc_feresetround_noexl_ctx): Define.
37736 2014-04-16  Richard Henderson  <rth@redhat.com>
37738         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
37740         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
37741         unwind tables.
37743         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
37744         const from the non-libc, non-ldso copy.
37746         * sysdeps/alpha/libm-test-ulps: Regenerate.
37748 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
37749             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37751         * sysdeps/aarch64/fpu/math_private.h: New file.
37753 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37755         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37757 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
37759         [BZ #16275]
37760         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
37761         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
37762         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
37763         Intel MPX bound registers before _dl_profile_fixup.
37764         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
37765         registers after _dl_profile_fixup.  Save and restore bound
37766         registers bnd0/bnd1 when calling _dl_call_pltexit.
37767         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
37768         (LR_BND_OFFSET): Likewise.
37769         (LRV_BND0_OFFSET): Likewise.
37770         (LRV_BND1_OFFSET): Likewise.
37772 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37774         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
37775         to...
37776         * sysdeps/mach/hurd/i386/tls.h: ... here.
37777         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
37778         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
37779         fields.
37781 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37783         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
37785 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37787         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37789 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37791         [BZ #14770]
37792         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
37793         * sysdeps/s390/configure: Regenerate.
37795         [BZ #16824]
37796         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
37797         Set round-to-nearest internally to reduce error accumulation.
37799 2014-04-16  Alan Modra  <amodra@gmail.com>
37801         [BZ #16740]
37802         [BZ #16619]
37803         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
37804         * math/libm-test.inc (frexp_test_data): Add tests.
37805         * NEWS: Update fixed bug list.
37807 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37809         * benchtests/Makefile: Depend on libraries in build directory.
37810         (bench-math): Separate out math tests.
37811         (bench-pthread): Separate out pthread tests.
37812         (bench): Include math and pthread tests.
37814 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
37816         [BZ #16831]
37817         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
37818         _dl_debug_initialize.
37820         * configure.ac: Remove SELinux header check.
37821         * configure: Regenerate.
37822         * nscd/selinux.c (perms): Array of const char* to permission names.
37823         (nscd_request_avc_has_perm): Call security_deny_unknown to find
37824         default policy. Call string_to_security_class and string_to_av_perm to
37825         translate strings. Enforce default policy and call avs_has_perm with
37826         results of translated strings.
37828 2014-04-13  David S. Miller  <davem@davemloft.net>
37830         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37832 2014-04-12  Allan McRae  <allan@archlinux.org>
37834         [BZ #16838]
37835         * manual/string.texi (Collation Functions): Fix qsort argument
37836         order in example.
37837         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37839 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
37841         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
37842         Make the test a no-op if there are no exceptions defined.
37844 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37846         * elf/Makefile (tests): make tst-dlopen-aout conditional on
37847         enable-hardcoded-path-in-tests
37849 2014-04-11  Will Newton  <will.newton@linaro.org>
37851         * benchtests/Makefile (extra-objs): Add json-lib.o.
37852         (bench-func): Tidy up JSON output.
37853         * benchtests/bench-skeleton.c: Include json-lib.h.
37854         (main): Use JSON library functions to do output of
37855         benchmark results.
37856         * benchtests/bench-timing-type.c (main): Output the
37857         timing type simply, leaving formatting to the user.
37858         * benchtests/json-lib.c: New file.
37859         * benchtests/json-lib.h: Likewise.
37861 2014-04-11  Torvald Riegel  <triegel@redhat.com>
37863         [BZ #15215]
37864         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
37865         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
37866         memory barriers.  Add comments.
37867         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
37868         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
37869         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
37870         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
37871         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
37872         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
37874 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37876         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
37877         * sysdeps/s390/s390-64/configure.ac: ... this ...
37878         * sysdeps/s390/configure.ac: ... to here.
37879         * sysdeps/s390/s390-32/configure: Delete file.
37880         * sysdeps/s390/s390-64/configure: Delete file.
37881         * sysdeps/s390/configure: Regenerate.
37883 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
37885         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
37887 2014-04-11  Will Newton  <will.newton@linaro.org>
37889         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
37890         to zero if it is not defined elsewhere.  (mtrim): Test
37891         the value of MALLOC_DEBUG with #if rather than #ifdef.
37893 2014-04-10 Torvald Riegel  <triegel@redhat.com>
37895         * benchtests/pthread_once-inputs: New file.
37896         * benchtests/pthread_once-source.c: New file.
37897         * benchtests/README: Update documentation.
37899 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
37900             H.J. Lu  <hongjiu.lu@intel.com>
37902         [BZ #16275]
37903         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
37904         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
37905         * sysdeps/x86_64/configure: Regenerated.
37906         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
37907         macro.
37908         (REGISTER_SAVE_RAX): Likewise.
37909         (REGISTER_SAVE_RCX): Likewise.
37910         (REGISTER_SAVE_RDX): Likewise.
37911         (REGISTER_SAVE_RSI): Likewise.
37912         (REGISTER_SAVE_RDI): Likewise.
37913         (REGISTER_SAVE_R8): Likewise.
37914         (REGISTER_SAVE_R9): Likewise.
37915         (REGISTER_SAVE_BND0): Likewise.
37916         (REGISTER_SAVE_BND1): Likewise.
37917         (REGISTER_SAVE_BND2): Likewise.
37918         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
37919         bound registers when calling _dl_fixup.
37921 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37923         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
37924         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
37925         of its definition.
37926         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
37927         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
37928         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
37929         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
37930         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
37931         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
37932         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
37934 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
37936         [BZ #15514]
37937         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
37938         pathconf(_PC_NAME_MAX).
37940 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37942         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
37943         Remove macro usage.
37944         (__PTHREAD_SPINS): Move definition to ...
37945         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37946         (__PTHREAD_SPINS): ... here.
37947         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37948         (__PTHREAD_SPIN): Likewise.
37949         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
37950         (__PTHREAD_SPIN): Likewise.
37951         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
37952         (__PTHREAD_SPIN): Likewise.
37953         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
37954         (__PTHREAD_SPIN): Likewise.
37955         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37956         (__PTHREAD_SPIN): Likewise.
37957         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37958         (__PTHREAD_SPIN): Likewise.
37959         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
37960         (__PTHREAD_SPIN): Likewise.
37961         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37962         (__PTHREAD_SPIN): Likewise.
37963         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37964         (__PTHREAD_SPIN): Likewise.
37965         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37966         (__PTHREAD_SPIN): Likewise.
37967         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37968         (__PTHREAD_SPIN): Likewise.
37969         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
37970         (__PTHREAD_SPIN): Likewise.
37972         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
37973         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
37974         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
37975         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
37976         imply folder.
37977         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
37978         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
37979         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
37980         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
37981         correct imply path.
37982         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
37983         strlen symbol for non multi-arch builds.
37984         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
37985         missing hidden_def and weak_alias.
37987 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
37989         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
37991 2014-04-07  Will Newton  <will.newton@linaro.org>
37993         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
37994         and contents.  [!_LIBC] Remove #ifndef and contents.
37995         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
37996         * string/memccpy.c (__memccpy): Use ANSI prototype.
37997         * string/memfrob.c (memfrob): Likewise.
37998         * string/strcoll.c (STRCOLL): Likewise.
37999         * string/strlen.c (strlen): Likewise.
38000         * string/strtok.c (STRTOK): Likewise.
38001         * string/strcat.c: Remove unused #include of memcopy.h.
38002         (strcat): Use ANSI prototype.
38003         * string/strchr.c: Remove unused #include of memcopy.h.
38004         (strchr): Use ANSI prototype.
38005         * string/strcmp.c: Remove unused #include of memcopy.h.
38006         (strcmp): Use ANSI prototype.
38007         * string/strcpy.c: Remove unused #include of memcopy.h.
38008         (strcpy): Use ANSI prototype.
38010 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38012         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
38013         * config.make.in (config-extra-cppflags): Set it from
38014         libc_extra_cppflags.
38015         * configure.ac (libc_extra_cflags): Make it accumulate over
38016         configure fragments.
38017         (libc_extra_cppflags): New flag.
38018         * configure. Regenerate.
38019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38020         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
38021         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
38022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
38024         [BZ #16815]
38025         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
38026         result for FE_DOWNWARD rounding mode.
38027         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
38028         Likewise.
38029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38031 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
38033         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
38034         in function argument name.
38036 2014-04-03  David Svoboda  <svoboda@cert.org>
38038         [BZ #5666]
38039         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
38040         explicitly.
38042 2014-04-03  Roland McGrath  <roland@hack.frob.com>
38044         * elf/dl-unmap-segments.h: New file.
38045         * sysdeps/generic/ldsodefs.h
38046         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
38047         * elf/dl-close.c: Include <dl-unmap-segments.h>.
38048         * elf/dl-fptr.c: Likewise.
38049         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
38050         * sysdeps/aarch64/tlsdesc.c: Likewise.
38051         * sysdeps/arm/tlsdesc.c: Likewise.
38052         * sysdeps/i386/tlsdesc.c: Likewise.
38053         * sysdeps/tile/dl-runtime.c: Likewise.
38054         * sysdeps/x86_64/tlsdesc.c: Likewise.
38055         * elf/dl-load.h: New file.
38056         * elf/dl-load.c: Include it.
38057         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
38058         Macros moved to dl-load.h.
38059         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
38060         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
38061         Use _dl_unmap_segments in place of __munmap.
38062         Break out segment-mapping loop into ...
38063         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
38065 2014-04-03  Will Newton  <will.newton@linaro.org>
38067         * elf/dl-lookup.c (do_lookup_x): Remove comment
38068         referring to nested function and move variable
38069         declarations down to before first use.
38071 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
38073         [BZ #16799]
38074         [BZ #16800]
38075         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
38076         with 0 numerator.
38077         * math/s_catanf.c (__catanf): Likewise.
38078         * math/s_catanh.c (__catanh): Likewise.
38079         * math/s_catanhf.c (__catanhf): Likewise.
38080         * math/s_catanhl.c (__catanhl): Likewise.
38081         * math/s_catanl.c (__catanl): Likewise.
38082         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
38083         by positive zero when computing -Inf result.
38084         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
38085         (catanh_test): Likewise.
38086         * sysdeps/i386/fpu/libm-test-ulps: Update.
38087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38089         [BZ #16789]
38090         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
38091         instead of using underflowing value in computing result.
38092         * math/s_clog10.c (__clog10): Likewise.
38093         * math/s_clog10f.c (__clog10f): Likewise.
38094         * math/s_clog10l.c (__clog10l): Likewise.
38095         * math/s_clogf.c (__clogf): Likewise.
38096         * math/s_clogl.c (__clogl): Likewise.
38097         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
38098         (clog10_test): Likewise.
38099         * sysdeps/i386/fpu/libm-test-ulps: Update.
38100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38102 2014-04-02  Alan Modra  <amodra@gmail.com>
38104         [BZ #16739]
38105         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
38106         output when value is near a power of two.  Use int64_t for lx and
38107         remove casts.  Use decimal rather than hex exponent constants.
38108         Don't use long double multiplication when double will suffice.
38109         * math/libm-test.inc (nextafter_test_data): Add tests.
38110         * NEWS: Add 16739 and 16786 to bug list.
38112         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
38114         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
38116 2014-04-01  Will Newton  <will.newton@linaro.org>
38118         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
38119         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
38121 2014-04-01  Florian Weimer  <fweimer@redhat.com>
38123         [BZ #13347]
38124         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
38125         * nptl/tst-setuid2.c: New file.
38126         * nptl/Makefile (xtests): Add tst-setuid2.
38128 2014-04-01  Alan Modra  <amodra@gmail.com>
38130         [BZ #16786]
38131         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
38133 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38135         [BZ #6803]
38136         [BZ #6804]
38137         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
38138         set errno as appropriate.
38139         * math/w_scalbf.c (__scalbf): Likewise.
38140         * math/w_scalbl.c (__scalbl): Likewise.
38141         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
38142         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
38143         * math/libm-test.inc (scalb_test_data): Add errno expectations.
38144         Add more NaN tests.
38146         [BZ #16349]
38147         * math/w_atan2.c: Include <errno.h>.
38148         (__atan2): Set errno for result underflowing to zero.
38149         * math/w_atan2f.c: Include <errno.h>.
38150         (__atan2f): Set errno for result underflowing to zero.
38151         * math/w_atan2l.c: Include <errno.h>.
38152         (__atan2l): Set errno for result underflowing to zero.
38153         * math/auto-libm-test-in: Don't allow missing errno for some atan2
38154         tests.
38155         * math/auto-libm-test-out: Regenerated.
38157 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38159         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38160         Encode instruction correctly in little endian.
38161         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38162         Likewise.
38163         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38164         Likewise.
38165         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38166         Likewise.
38167         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38168         Likewise.
38170 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38172         [BZ #9894]
38173         * sysdeps/unix/sysv/linux/kernel-features.h
38174         [__sparc__ && !__arch64__ && !__sparc_v9__]
38175         (__ASSUME_SET_ROBUST_LIST): Do not define.
38176         [__sparc__ && !__arch64__ && !__sparc_v9__]
38177         (__ASSUME_FUTEX_LOCK_PI): Likewise.
38178         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
38179         Likewise.
38180         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38181         (__ASSUME_FUTEX_LOCK_PI): Undefine.
38182         (__ASSUME_REQUEUE_PI): Likewise.
38183         (__ASSUME_SET_ROBUST_LIST): Likewise.
38184         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38185         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
38186         Undefine.
38187         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38188         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
38189         Likewise.
38190         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
38191         Likewise.
38192         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
38193         Likewise.
38194         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38195         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
38196         Undefine.
38197         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
38198         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
38199         Likewise.
38201         [BZ #16648]
38202         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38203         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
38204         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
38206 2014-03-31  Will Newton  <will.newton@linaro.org>
38208         * benchtests/Makefile (bench): Add ffs and ffsll to list
38209         of tests.
38210         * benchtests/ffs-inputs: New file.
38211         * benchtests/ffsll-inputs: Likewise.
38213 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
38215         [BZ #16770]
38216         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
38217         too large before casting to int.
38218         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
38219         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
38220         * math/libm-test.inc (scalb_test_data): Add more tests.
38222 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38224         * benchtests/Makefile (DETAILED_OPT): New make option.
38225         (bench-func): Run benchmark program with -d if DETAILED_OPT is
38226         set.
38227         * benchtests/bench-skeleton.c: Include stdbool.h.
38228         (main): Store and print timings per input.
38229         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
38230         member to each argument value.
38231         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
38232         (_print_arg_data): Initialize per-input timing to 0.
38234         * benchtests/Makefile (timing-type): New binary.
38235         (bench-clean): Also remove bench-timing-type.
38236         (bench): New target for timing-type.
38237         (bench-func): Print output in JSON format.
38238         * benchtests/bench-skeleton.c (main): Print output in JSON
38239         format.
38240         * benchtests/bench-timing-type.c: New file.
38241         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
38242         (TIMING_PRINT_STATS): Remove.
38243         * benchtests/scripts/bench.py (_print_arg_data): Store variant
38244         name separately.
38246         * benchtests/bench-modf.c: Remove.
38247         * benchtests/modf-inputs: New inputs file.
38249 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
38251         [BZ #16362]
38252         * math/s_clog10.c (M_PI_LOG10E): New macro.
38253         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
38254         imaginary parts are 0.
38255         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
38256         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
38257         imaginary parts are 0.
38258         * math/s_clog10l.c (M_PI_LOG10El): New macro.
38259         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
38260         imaginary parts are 0.
38261         * math/libm-test.inc (clog10_test_data): Update expected results
38262         for when real and imaginary parts are 0.
38264 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
38266         * elf/dl-load.c: Finish conversion of __builtin_expect into
38267         __glibc_{un}likely.
38269 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
38271         [BZ #16348]
38272         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
38273         1+x for argument with exponent below -67.
38274         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
38275         Likewise.
38276         * math/auto-libm-test-in: Add more tests of exp.
38277         * math/auto-libm-test-out: Regenerated.
38279 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38281         [BZ #16759]
38282         * inet/getnetgrent_r.c (get_nonempty_val): New function.
38283         (nscd_getnetgrent): Use it.
38285         [BZ #16760]
38286         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
38287         of stpcpy.
38289 2014-03-27  Andi Kleen  <ak@linux.intel.com>
38291         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
38292         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38293         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38294         (lll_robust_unlock): Remove out of line section. Use cfi
38295         intrinsics.
38296         (LLL_STUB_UNWIND_INFO*): Remove.
38297         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
38298         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38299         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38300         (lll_robust_unlock): Remove out of line section. Use cfi
38301         intrinsics.
38302         (LLL_STUB_UNWIND_INFO*): Remove.
38304 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38306         [BZ #16758]
38307         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
38308         blank values.
38310 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
38312         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
38314 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
38316         [BZ #16198]
38317         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
38318         fnstenv.
38319         * math/test-fenv-preserve.c: New file.
38320         * math/Makefile (tests): Add test-fenv-preserve.
38322 2014-03-26  Will Newton <will.newton@linaro.org>
38324         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
38326 2014-03-25  Roland McGrath  <roland@hack.frob.com>
38328         * scripts/versionlist.awk: Partition the version sets and emit all
38329         GLIBC_* (sorted) before all others (sorted).
38331 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38333         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
38334         GLIBC_2.2.5 version.
38336 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38338         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
38339         calls.
38341         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
38342         previous change.
38344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38346 2014-03-25  Andreas Schwab  <schwab@suse.de>
38348         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
38349         label to be used after in6ailist is initialized.
38351 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38353         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38354         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38356 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38358         [BZ #16357]
38359         [BZ #16599]
38360         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
38361         min_plus_half.
38362         (fp_formats): Update initializers.
38363         (init_fp_formats): Initialize new field.
38364         (output_for_one_input_case): Allow underflow for results up to
38365         min_plus_half.
38366         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
38367         * math/auto-libm-test-in: Don't mark some underflows from asin and
38368         atanh as spurious.
38369         * math/auto-libm-test-out: Regenerated.
38370         * sysdeps/i386/fpu/libm-test-ulps: Update.
38371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38373 2014-03-25  Andreas Schwab  <schwab@suse.de>
38375         * libio/Makefile (tst-ftell-partial-wide-ENV)
38376         (tst-ftell-active-handler-ENV): Define.
38378 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
38380         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
38382 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38384         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
38386 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38388         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
38389         * sysdeps/x86_64/fpu/multiarch/e_exp.c
38390         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
38392 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38394         [BZ #16634]
38395         * elf/dl-load.c (open_verify): Add mode parameter.
38396         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
38397         (open_path): Change from boolean 'secure' to complete flag 'mode'
38398         (_dl_map_object): Adjust.
38399         * elf/Makefile (tests): Add tst-dlopen-aout.
38400         * elf/tst-dlopen-aout.c: New test.
38402 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
38404         [BZ #16714]
38405         * sysdeps/unix/sysv/linux/s390/bits/stat.h
38406         (struct stat): Rename member pad0 to __glibc_reserved0.
38408         [BZ #16712]
38409         * sysdeps/s390/s390-32/bits/wordsize.h
38410         (__WORDSIZE32_SIZE_ULONG): New define.
38411         * sysdeps/s390/s390-64/bits/wordsize.h
38412         (__WORDSIZE32_SIZE_ULONG): Likewise.
38413         * sysdeps/generic/stdint.h (SIZE_MAX):
38414         Define as UL if __WORDSIZE32_SIZE_ULONG.
38416         [BZ #16713]
38417         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
38418         (__glibc_reserved0): New variable.
38419         (sa_flags): Change type to int.
38421         * posix/Makefile (before-compile): Use += before-compile instead
38422         of a :=.
38424         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38425         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38427 2014-03-20  Andreas Schwab  <schwab@suse.de>
38429         [BZ #16743]
38430         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
38431         non-matching result from nscd.
38433 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38435         * scripts/bench.py: Moved to ...
38436         * benchtests/scripts/bench.py: ... here.
38437         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
38439 2014-03-24  Andreas Schwab  <schwab@suse.de>
38441         [BZ #16002]
38442         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
38443         alloca_account and account alloca use for struct in6ailist.
38445 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38447         [BZ #16284]
38448         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
38449         rounding mode to recompute results that overflow to infinity or
38450         underflow to zero.
38451         * math/auto-libm-test-in: Don't mark tests as expected to fail for
38452         bug 16284.
38453         * math/auto-libm-test-out: Regenerated.
38454         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
38455         (ccosh_test): Likewise.
38456         (csin_test_data): Use plus_oflow.
38457         (csin_test): Use ALL_RM_TEST.
38458         (csinh_test_data): Use plus_oflow.
38459         (csinh_test): Use ALL_RM_TEST.
38460         * sysdeps/i386/fpu/libm-test-ulps: Update.
38461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38463 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
38465         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
38466         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
38467         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
38469         [BZ #16731]
38470         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
38471         when x - 1 is zero.
38472         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
38473         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
38474         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38475         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
38476         argument is 1.
38477         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
38478         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
38479         zero.
38480         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
38481         * sysdeps/i386/fpu/libm-test-ulps: Update.
38482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38484 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38486         * scripts/bench.pl: Remove file.
38487         * scripts/bench.py: New benchmark script.
38488         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
38489         * benchtests/README: Mention python dependency.
38490         * scripts/pylintrc: New file.
38491         * scripts/pylint: New file.
38493         * bits/mathdef.h: Use #ifdef instead of #if.
38494         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
38495         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38496         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
38497         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38498         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
38499         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38501 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38502             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38504         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
38505         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
38506         and strpbrk-ppc64 objects.
38507         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38508         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
38509         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
38510         multiarch strpbrk for POWER7.
38511         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
38512         multiarch strpbrk for PPC64.
38513         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
38514         ifunc selector.
38515         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
38516         strpbrk for POWER7.
38518 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38520         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
38521         (atan_test): Likewise.
38522         (atanh_test_data): Use NO_TEST_INLINE for two tests.
38523         (atanh_test): Use ALL_RM_TEST.
38524         (atan2_test_data): Likewise.
38525         (cabs_test): Likewise.
38526         (cacosh_test): Likewise.
38527         (carg_test): Likewise.
38528         (casin_test): Likewise.
38529         (casinh_test): Likewise.
38530         (cbrt_test): Likewise.
38531         (csqrt_test): Likewise.
38532         (erf_test): Likewise.
38533         (erfc_test): Likewise.
38534         (pow10_test): Likewise.
38535         (exp2_test): Likewise.
38536         (hypot_test): Likewise.
38537         (j0_test): Likewise.
38538         (j1_test): Likewise.
38539         (lgamma_test): Likewise.
38540         (gamma_test): Likewise.
38541         (sincos_test): Likewise.
38542         (tanh_test): Likewise.
38543         (y0_test): Likewise.
38544         (y1_test): Likewise.
38545         * sysdeps/i386/fpu/libm-test-ulps: Update.
38546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38548 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38550         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
38551         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
38552         and strcspn-ppc64 objects.
38553         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38554         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
38555         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
38556         multiarch strcspn for POWER7.
38557         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
38558         multiarch strcspn for PPC64.
38559         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
38560         ifunc selector.
38561         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
38562         strcspn for POWER7.
38564 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38566         * math/gen-libm-test.pl (generate_testfile): Expect only function
38567         name as argument to AUTO_TESTS_* and pass results for all rounding
38568         modes to parse_args.
38569         (parse_auto_input): Separate inputs of automatic tests from
38570         outputs before storing in %auto_tests.
38571         * math/libm-test.inc (acos_test_data): Update call to
38572         AUTO_TESTS_f_f.
38573         (acos_test): Use ALL_RM_TEST.
38574         (acos_tonearest_test_data): Remove.
38575         (acos_test_tonearest): Likewise.
38576         (acos_towardzero_test_data): Likewise.
38577         (acos_test_towardzero): Likewise.
38578         (acos_downward_test_data): Likewise.
38579         (acos_test_downward): Likewise.
38580         (acos_upward_test_data): Likewise.
38581         (acos_test_upward): Likewise.
38582         (acosh_test_data): Update call to AUTO_TESTS_f_f.
38583         (asin_test_data): Likewise.
38584         (asin_test): Use ALL_RM_TEST.
38585         (asin_tonearest_test_data): Remove.
38586         (asin_test_tonearest): Likewise.
38587         (asin_towardzero_test_data): Likewise.
38588         (asin_test_towardzero): Likewise.
38589         (asin_downward_test_data): Likewise.
38590         (asin_test_downward): Likewise.
38591         (asin_upward_test_data): Likewise.
38592         (asin_test_upward): Likewise.
38593         (asinh_test_data): Update call to AUTO_TESTS_f_f.
38594         (atan_test_data): Likewise.
38595         (atanh_test_data): Likewise.
38596         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
38597         (cabs_test_data): Update call to AUTO_TESTS_c_f.
38598         (carg_test_data): Likewise.
38599         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
38600         (ccos_test_data): Update call to AUTO_TESTS_c_c.
38601         (ccosh_test_data): Likewise.
38602         (cexp_test_data): Likewise.
38603         (clog_test_data): Likewise.
38604         (clog10_test_data): Likewise.
38605         (cos_test_data): Update call to AUTO_TESTS_f_f.
38606         (cos_test): Use ALL_RM_TEST.
38607         (cos_tonearest_test_data): Remove.
38608         (cos_test_tonearest): Likewise.
38609         (cos_towardzero_test_data): Likewise.
38610         (cos_test_towardzero): Likewise.
38611         (cos_downward_test_data): Likewise.
38612         (cos_test_downward): Likewise.
38613         (cos_upward_test_data): Likewise.
38614         (cos_test_upward): Likewise.
38615         (cosh_test_data): Update call to AUTO_TESTS_f_f.
38616         (cosh_test): Use ALL_RM_TEST.
38617         (cosh_tonearest_test_data): Remove.
38618         (cosh_test_tonearest): Likewise.
38619         (cosh_towardzero_test_data): Likewise.
38620         (cosh_test_towardzero): Likewise.
38621         (cosh_downward_test_data): Likewise.
38622         (cosh_test_downward): Likewise.
38623         (cosh_upward_test_data): Likewise.
38624         (cosh_test_upward): Likewise.
38625         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
38626         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
38627         (ctan_test_data): Likewise.
38628         (ctan_test): Use ALL_RM_TEST.
38629         (ctan_tonearest_test_data): Remove.
38630         (ctan_test_tonearest): Likewise.
38631         (ctan_towardzero_test_data): Likewise.
38632         (ctan_test_towardzero): Likewise.
38633         (ctan_downward_test_data): Likewise.
38634         (ctan_test_downward): Likewise.
38635         (ctan_upward_test_data): Likewise.
38636         (ctan_test_upward): Likewise.
38637         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
38638         (ctanh_test): Use ALL_RM_TEST.
38639         (ctanh_tonearest_test_data): Remove.
38640         (ctanh_test_tonearest): Likewise.
38641         (ctanh_towardzero_test_data): Likewise.
38642         (ctanh_test_towardzero): Likewise.
38643         (ctanh_downward_test_data): Likewise.
38644         (ctanh_test_downward): Likewise.
38645         (ctanh_upward_test_data): Likewise.
38646         (ctanh_test_upward): Likewise.
38647         (erf_test_data): Update call to AUTO_TESTS_f_f.
38648         (erfc_test_data): Likewise.
38649         (exp_test_data): Likewise.
38650         (exp_test): Use ALL_RM_TEST.
38651         (exp_tonearest_test_data): Remove.
38652         (exp_test_tonearest): Likewise.
38653         (exp_towardzero_test_data): Likewise.
38654         (exp_test_towardzero): Likewise.
38655         (exp_downward_test_data): Likewise.
38656         (exp_test_downward): Likewise.
38657         (exp_upward_test_data): Likewise.
38658         (exp_test_upward): Likewise.
38659         (exp10_test_data): Update call to AUTO_TESTS_f_f.
38660         (exp10_test): Use ALL_RM_TEST.
38661         (exp10_tonearest_test_data): Remove.
38662         (exp10_test_tonearest): Likewise.
38663         (exp10_towardzero_test_data): Likewise.
38664         (exp10_test_towardzero): Likewise.
38665         (exp10_downward_test_data): Likewise.
38666         (exp10_test_downward): Likewise.
38667         (exp10_upward_test_data): Likewise.
38668         (exp10_test_upward): Likewise.
38669         (exp2_test_data): Update call to AUTO_TESTS_f_f.
38670         (expm1_test_data): Likewise.
38671         (expm1_test): Use ALL_RM_TEST.
38672         (expm1_tonearest_test_data): Remove.
38673         (expm1_test_tonearest): Likewise.
38674         (expm1_towardzero_test_data): Likewise.
38675         (expm1_test_towardzero): Likewise.
38676         (expm1_downward_test_data): Likewise.
38677         (expm1_test_downward): Likewise.
38678         (expm1_upward_test_data): Likewise.
38679         (expm1_test_upward): Likewise.
38680         (fma_test_data): Update call to AUTO_TESTS_fff_f.
38681         (fma_test): Use ALL_RM_TEST.
38682         (fma_towardzero_test_data): Remove.
38683         (fma_test_towardzero): Likewise.
38684         (fma_downward_test_data): Likewise.
38685         (fma_test_downward): Likewise.
38686         (fma_upward_test_data): Likewise.
38687         (fma_test_upward): Likewise.
38688         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
38689         (j0_test_data): Update call to AUTO_TESTS_f_f.
38690         (j1_test_data): Likewise.
38691         (jn_test_data): Update call to AUTO_TESTS_if_f.
38692         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
38693         (log_test_data): Update call to AUTO_TESTS_f_f.
38694         (log10_test_data): Likewise.
38695         (log1p_test_data): Likewise.
38696         (log2_test_data): Likewise.
38697         (pow_test_data): Update call to AUTO_TESTS_ff_f.
38698         (pow_tonearest_test_data): Likewise.
38699         (sin_test_data): Update call to AUTO_TESTS_f_f.
38700         (sin_test): Use ALL_RM_TEST.
38701         (sin_tonearest_test_data): Remove.
38702         (sin_test_tonearest): Likewise.
38703         (sin_towardzero_test_data): Likewise.
38704         (sin_test_towardzero): Likewise.
38705         (sin_downward_test_data): Likewise.
38706         (sin_test_downward): Likewise.
38707         (sin_upward_test_data): Likewise.
38708         (sin_test_upward): Likewise.
38709         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
38710         (sinh_test_data): Update call to AUTO_TESTS_f_f.
38711         (sinh_test): Use ALL_RM_TEST.
38712         (sinh_tonearest_test_data): Remove.
38713         (sinh_test_tonearest): Likewise.
38714         (sinh_towardzero_test_data): Likewise.
38715         (sinh_test_towardzero): Likewise.
38716         (sinh_downward_test_data): Likewise.
38717         (sinh_test_downward): Likewise.
38718         (sinh_upward_test_data): Likewise.
38719         (sinh_test_upward): Likewise.
38720         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
38721         (sqrt_test): Use ALL_RM_TEST.
38722         (sqrt_tonearest_test_data): Remove.
38723         (sqrt_test_tonearest): Likewise.
38724         (sqrt_towardzero_test_data): Likewise.
38725         (sqrt_test_towardzero): Likewise.
38726         (sqrt_downward_test_data): Likewise.
38727         (sqrt_test_downward): Likewise.
38728         (sqrt_upward_test_data): Likewise.
38729         (sqrt_test_upward): Likewise.
38730         (tan_test_data): Update call to AUTO_TESTS_f_f.
38731         (tan_test): Use ALL_RM_TEST.
38732         (tan_tonearest_test_data): Remove.
38733         (tan_test_tonearest): Likewise.
38734         (tan_towardzero_test_data): Likewise.
38735         (tan_test_towardzero): Likewise.
38736         (tan_downward_test_data): Likewise.
38737         (tan_test_downward): Likewise.
38738         (tan_upward_test_data): Likewise.
38739         (tan_test_upward): Likewise.
38740         (tanh_test_data): Update call to AUTO_TESTS_f_f.
38741         (tgamma_test_data): Likewise.
38742         (y0_test_data): Likewise.
38743         (y1_test_data): Likewise.
38744         (yn_test_data): Update call to AUTO_TESTS_if_f.
38745         (main): Do not call removed functions.
38747 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38749         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
38750         (ldexp_test_data): Remove.
38751         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
38752         scalbn_test_data.
38753         (scalb_test): Use ALL_RM_TEST.
38755 2014-03-19  Andreas Schwab  <schwab@suse.de>
38757         * nscd/nscd.service: Also invalidate netgroup cache on reload.
38759 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38761         [BZ #16649]
38762         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38763         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
38764         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
38765         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38766         (__ASSUME_PREADV): Undefine.
38767         (__ASSUME_PWRITEV): Likewise.
38769 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38771         * bits/mman-linux.h: Add comment about non-Linux use.
38772         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
38773         bits/mman-linux.h resting place.
38775         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
38776         * bits/mman-linux.h: ... here.
38778 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38780         * conform/conformtest.pl: Add standard definition when calling C
38781         preprocessor on data files.
38782         (checknamespace): Remove unused variable.
38784 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38786         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
38787         minus_oflow, plus_uflow and minus_uflow in expected results.
38788         * math/libm-test.inc (scalbn_test_data): Add more tests of
38789         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
38790         minus_uflow.
38791         (scalbn_test): Use ALL_RM_TEST.
38792         (scalbln_test_data): Add more tests of negative arguments.  Use
38793         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
38794         (scalbln_test): Use ALL_RM_TEST.
38796 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38798         * scripts/abilist.awk: Ignore symbols marked with .hidden.
38800 2014-03-18  Will Newton  <will.newton@linaro.org>
38802         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
38803         inaccurate comment.
38805 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38807         * Makerules [!subdir] (check-abi): Exit with error status if a
38808         test failed.
38810 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38812         * math/libm-test.inc (nearbyint_test_data): Include all tests used
38813         for rint.  Include results for all rounding modes.
38814         (nearbyint_test): Use ALL_RM_TEST.
38815         (rint_test_data): Include all tests used for nearbyint.
38817 2014-03-17  Will Newton  <will.newton@linaro.org>
38819         * nptl/sysdeps/pthread/pthread.h: Revert previous
38820         change.
38822         * sysdeps/generic/ldsodefs.h: Revert previous
38823         change.
38825         * libio/genops.c: Revert previous change.
38826         * libio/libioP.h: Likewise.
38827         * stdio-common/vfprintf.c: Likewise.
38829         * sysdeps/generic/math_private.h: Revert previous
38830         change.
38832         * sysdeps/generic/math_private.h: Check whether
38833         HAVE_RM_CTX is defined with #ifdef rather
38834         than #if.
38836         * argp/argp-fmtstream.h: Check whether
38837         __STRICT_ANSI__ is defined with #ifdef rather
38838         than #if.
38839         * argp/argp.h: Likewise.
38841         * libio/genops.c: Check whether
38842         _IO_JUMPS_OFFSET is defined with #ifdef rather
38843         than #if.
38844         * libio/libioP.h: Likewise.
38845         * stdio-common/vfprintf.c: Likewise.
38847         * sysdeps/generic/ldsodefs.h: Check whether
38848         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
38849         than #if.
38851         * nptl/sysdeps/pthread/pthread.h: Check
38852         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
38853         its value.
38855 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38857         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
38858         setting O_APPEND.
38859         * libio/tst-ftell-active-handler.c (do_append_test): Add a
38860         test case.
38862         [BZ #16680]
38863         * libio/fileops.c (_IO_file_open): Seek to end of file but
38864         don't cache the offset.
38865         (get_file_offset): Remove function.
38866         (do_ftell): Use cached offset when available.
38867         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
38868         don't cache the offset.
38869         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
38870         case.
38871         (do_one_test): Call it.
38872         (do_ftell_test): Fix up expected old offset for a+ mode.
38873         * libio/wfileops.c (do_ftell_wide): Used cached offset when
38874         available.
38876         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
38877         up test status with function return status.
38878         (do_write_test): Likewise.
38879         (do_append_test): Likewise.
38881         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
38882         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
38883         Remove.
38885 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38887         * math/gen-libm-test.pl (parse_args): Handle results specified for
38888         each rounding mode separately.
38889         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
38890         tests and results from lrint_tonearest_test_data,
38891         lrint_towardzero_test_data, lrint_downward_test_data and
38892         lrint_upward_test_data.
38893         (lrint_test): Use ALL_RM_TEST.
38894         (lrint_tonearest_test_data): Remove.
38895         (lrint_test_tonearest): Likewise.
38896         (lrint_towardzero_test_data): Likewise.
38897         (lrint_test_towardzero): Likewise.
38898         (lrint_downward_test_data): Likewise.
38899         (lrint_test_downward): Likewise.
38900         (lrint_upward_test_data): Likewise.
38901         (lrint_test_upward): Likewise.
38902         (llrint_test_data): Merge in per-rounding-mode tests and results
38903         from llrint_tonearest_test_data, llrint_towardzero_test_data,
38904         llrint_downward_test_data and llrint_upward_test_data.
38905         (llrint_test): Use ALL_RM_TEST.
38906         (llrint_tonearest_test_data): Remove.
38907         (llrint_test_tonearest): Likewise.
38908         (llrint_towardzero_test_data): Likewise.
38909         (llrint_test_towardzero): Likewise.
38910         (llrint_downward_test_data): Likewise.
38911         (llrint_test_downward): Likewise.
38912         (llrint_upward_test_data): Likewise.
38913         (llrint_test_upward): Likewise.
38914         (rint_test_data): Merge in per-rounding-mode tests and results
38915         from rint_tonearest_test_data, rint_towardzero_test_data,
38916         rint_downward_test_data and rint_upward_test_data.  Add
38917         per-rounding-mode results for tests not in those arrays.
38918         (rint_test): Use ALL_RM_TEST.
38919         (rint_tonearest_test_data): Remove.
38920         (rint_test_tonearest): Likewise.
38921         (rint_towardzero_test_data): Likewise.
38922         (rint_test_towardzero): Likewise.
38923         (rint_downward_test_data): Likewise.
38924         (rint_test_downward): Likewise.
38925         (rint_upward_test_data): Likewise.
38926         (rint_test_upward): Likewise.
38927         (main): Don't call removed functions.
38929 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38931         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
38932         "Compiled on ..." crapola.  It is anti-useful.
38934 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
38936         * scripts/evaluate-test.sh: Handle fourth argument to determine
38937         whether test run should stop on failure.
38938         * Makeconfig (stop-on-test-failure): New variable.
38939         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
38940         $(stop-on-test-failure).
38941         * Makefile (tests): Give a summary of results from testing and
38942         exit with failure status if they include an ERROR or FAIL.
38943         (xtests): Likewise.
38944         * manual/install.texi (Configuring and compiling): Mention
38945         stop-on-test-failure=y.
38946         * INSTALL: Regenerated.
38948 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38950         * scripts/versionlist.awk: New file.
38951         * Makerules [$(build-shared) = yes]
38952         (postclean-generated): Add Versions.def, not Versions.def.v and
38953         Versions.def.v.i.
38954         ($(common-objpfx)Versions.def.v.i): Target removed.
38955         ($(common-objpfx)Versions.def): New target.
38956         ($(common-objpfx)Versions.all): Depend on that rather that
38957         $(common-objpfx)Versions.def.v.
38958         * Versions.def: File removed.
38960         * Makeconfig (+gccwarn): Add -Wundef.
38961         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
38962         a dl-sysdep.h breaking its contract.
38963         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
38964         * include/stackinfo.h: New file.
38965         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
38966         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
38967         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
38968         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
38969         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
38970         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
38971         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38972         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38973         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38974         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38975         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38976         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
38977         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38978         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38979         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38981 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38983         [BZ #16707]
38984         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
38985         implementation.
38986         * math/libm-test.inc (round_test_data): Add more tests.
38988         [BZ #16706]
38989         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
38990         implementation.
38991         * math/libm-test.inc (nearbyint_test_data): Add more tests.
38993         [BZ #16701]
38994         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
38995         implementation.
38996         * math/libm-test.inc (ceil_test_data): Add more tests.
38998         * math/libm-test.inc (trunc_test_data): Add more tests related to
38999         BZ#16414.
39001 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39003         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
39004         with #if rather than #ifdef.
39005         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
39007 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
39009         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
39010         first.  Disable AVX-512 GCC support if assembler doesn't support
39011         it.
39012         * sysdeps/x86_64/configure: Regenerated.
39014 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
39016         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
39017         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
39018         (__old_pthread_attr_setstack): Likewise.
39019         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
39020         [!_STACK_GROWS_DOWN]: Likewise.
39022 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
39024         * config.make.in (have-bash2): Delete.
39025         * configure.ac (libc_cv_have_bash2): Delete.
39026         * configure: Regenerate.
39027         * elf/Makefile (common-ldd-rewrite): Rename to ...
39028         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
39029         (sh-ldd-rewrite): Delete.
39030         (bash-ldd-rewrite): Delete.
39031         (have-bash2): Delete checks.
39032         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
39033         ldd-rewrite.
39035         * config.make.in (have-ksh): Delete.
39036         (KSH): Delete.
39037         * configure.ac (libc_cv_have_ksh): Delete.
39038         * configure: Regenerate.
39040         * elf/Makefile: Delete $(have-ksh) check.
39041         ($(objpfx)sotruss): Change KSH to BASH.
39042         * elf/sotruss.ksh: Rename to ...
39043         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
39044         function style to match POSIX.  Drop ksh vim mode setting.
39046         * manual/time.texi (Specifying the Time Zone with TZ): Change
39047         Tuesday to Thursday.
39049         * debug/tst-longjmp_chk2.c: Update header comment.
39050         (stackoverflow_handler): Add comment.  Call assert on pass value.
39052 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
39054         [BZ #16194]
39055         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
39056         (HAVE_AVX512_ASM_SUPPORT): Likewise.
39057         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
39058         (La_x86_64_vector): Add zmm.
39059         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
39060         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
39061         ($(objpfx)tst-audit10): New target.
39062         ($(objpfx)tst-audit10.out): Likewise.
39063         (tst-audit10-ENV): New.
39064         (AVX512-CFLAGS): Likewise.
39065         (CFLAGS-tst-audit10.c): Likewise.
39066         (CFLAGS-tst-auditmod10a.c): Likewise.
39067         (CFLAGS-tst-auditmod10b.c): Likewise.
39068         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
39069         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
39070         * sysdeps/x86_64/configure: Regenerated.
39071         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
39072         AVX-512 zmm register support.
39073         (_dl_x86_64_save_sse): Likewise.
39074         (_dl_x86_64_restore_sse): Likewise.
39075         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
39076         size vector registers.
39077         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
39078         (ZMM_SIZE): Likewise.
39079         * sysdeps/x86_64/tst-audit10.c: New file.
39080         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
39081         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
39083 2014-03-13  Roland McGrath  <roland@hack.frob.com>
39085         * configure.ac (HAVE_EHDR_START): New check.
39086         * configure: Regenerated.
39087         * config.h.in (HAVE_EHDR_START): New #undef.
39088         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
39089         assuming the lowest-addressed segment maps the start of the file.
39091 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
39093         * INSTALL: Regenerated.
39095 2014-03-13  Will Newton  <will.newton@linaro.org>
39097         * manual/setjmp.texi (System V contexts): Improve
39098         clarity and grammar of documentation.
39100 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
39102         [BZ #16381]
39103         * elf/Makefile (tests): Add tst-pie2.
39104         (tests-pie): Add tst-pie2.
39105         * elf/tst-pie2.c: New file.
39106         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
39107         for ET_EXEC.
39108         * elf/rtld.c (map_doit): Load executable as lt_executable.
39109         (dl_main): Likewise.
39111 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
39113         [BZ #16642]
39114         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39115         (__ASSUME_PSELECT): Undefine.
39117 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39119         [BZ #16689]
39120         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
39121         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
39122         static build.
39123         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
39124         selector for static builds.
39126 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39128         [BZ #16695]
39129         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
39130         key in the buffer.
39132 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39134         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
39135         IFUNC selector for static builds.
39137 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
39139         * sysdeps/mips/math_private.h [__mips_hard_float]
39140         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
39141         libc_feresetround_mips_ctx.
39142         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
39143         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
39144         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
39146         [BZ #16677]
39147         * math/s_nextafter.c (__nextafter): Do not return value from
39148         overflowing computation.
39149         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
39150         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
39151         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
39152         Likewise.
39153         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
39154         Likewise.
39155         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
39156         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
39158 2014-03-11  Roland McGrath  <roland@hack.frob.com>
39160         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
39161         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
39162         Move sfi_sp use from the load-multiple (that no longer sets sp) to
39163         the new mov targetting sp.
39165 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39167         [BZ #16683]
39168         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
39169         Define it for static builds as well.
39170         (NO_BZERO_IMPL): Likewise.
39172 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39174         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
39175         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
39176         multiarch strspn for PPC64.
39177         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
39178         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
39179         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39180         (__libc_ifunc_impl_list): Likewise.
39181         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
39182         multiarch optimizations
39183         * string/strspn.c (strspn): Using macro to redefine symbol name.
39185 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39186             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39188         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
39189         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
39190         multiarch strncat for PPC64.
39191         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
39192         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
39193         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39194         (__libc_ifunc_impl_list): Likewise.
39195         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
39196         multiarch optimizations
39198 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39200         [BZ #16639]
39201         * nscd/nscd.service: Make service type forking.
39203 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39205         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
39206         sign in non default rounding modes.
39207         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
39209 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
39211         * math/libm-test.inc (ALL_RM_TEST): New macro.
39212         (ceil_test): Use ALL_RM_TEST.
39213         (cimag_test): Likewise.
39214         (conj_test): Likewise.
39215         (copysign_test): Likewise.
39216         (cproj_test): Likewise.
39217         (creal_test): Likewise.
39218         (fabs_test): Likewise.
39219         (floor_test): Likewise.
39220         (fmax_test): Likewise.
39221         (fmin_test): Likewise.
39222         (fmod_test): Likewise.
39223         (fpclassify_test): Likewise.
39224         (frexp_test): Likewise.
39225         (ilogb_test): Likewise.
39226         (isfinite_test): Likewise.
39227         (finite_test): Likewise.
39228         (isgreater_test): Likewise.
39229         (isgreaterequal_test): Likewise.
39230         (isinf_test): Likewise.
39231         (isless_test): Likewise.
39232         (islessequal_test): Likewise.
39233         (islessgreater_test): Likewise.
39234         (isnan_test): Likewise.
39235         (isnormal_test): Likewise.
39236         (issignaling_test): Likewise.
39237         (isunordered_test): Likewise.
39238         (logb_test): Likewise.
39239         (logb_downward_test_data): Remove.
39240         (logb_test_downward): Likewise.
39241         (lround_test): Use ALL_RM_TEST.
39242         (llround_test): Likewise.
39243         (modf_test): Likewise.
39244         (nexttoward_test): Likewise.
39245         (remainder_test): Likewise.
39246         (drem_test): Likewise.
39247         (remainder_tonearest_test_data): Likewise.
39248         (remainder_test_tonearest): Likewise.
39249         (drem_test_tonearest): Likewise.
39250         (remainder_towardzero_test_data): Likewise.
39251         (remainder_test_towardzero): Likewise.
39252         (drem_test_towardzero): Likewise.
39253         (remainder_downward_test_data): Likewise.
39254         (remainder_test_downward): Likewise.
39255         (drem_test_downward): Likewise.
39256         (remainder_upward_test_data): Likewise.
39257         (remainder_test_upward): Likewise.
39258         (drem_test_upward): Likewise.
39259         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
39260         (round_test): Use ALL_RM_TEST.
39261         (signbit_test): Likewise.
39262         (trunc_test): Likewise.
39263         (significand_test): Likewise.
39264         (main): Don't call removed functions.
39266 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39268         [BZ #16674]
39269         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
39270         || __USE_XOPEN2K8].
39271         (ILL_ILLOPN): Likewise.
39272         (ILL_ILLADR): Likewise.
39273         (ILL_ILLTRP): Likewise.
39274         (ILL_PRVOPC): Likewise.
39275         (ILL_PRVREG): Likewise.
39276         (ILL_COPROC): Likewise.
39277         (ILL_BADSTK): Likewise.
39278         (FPE_INTDIV): Likewise.
39279         (FPE_INTOVF): Likewise.
39280         (FPE_FLTDIV): Likewise.
39281         (FPE_FLTOVF): Likewise.
39282         (FPE_FLTUND): Likewise.
39283         (FPE_FLTRES): Likewise.
39284         (FPE_FLTINV): Likewise.
39285         (FPE_FLTSUB): Likewise.
39286         (SEGV_MAPERR): Likewise.
39287         (SEGV_ACCERR): Likewise.
39288         (BUS_ADRALN): Likewise.
39289         (BUS_ADRERR): Likewise.
39290         (BUS_OBJERR): Likewise.
39291         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39292         (TRAP_TRACE): Likewise.
39293         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39294         __USE_XOPEN2K8].
39295         (CLD_KILLED): Likewise.
39296         (CLD_DUMPED): Likewise.
39297         (CLD_TRAPPED): Likewise.
39298         (CLD_STOPPED): Likewise.
39299         (CLD_CONTINUED): Likewise.
39300         (POLL_IN): Likewise.
39301         (POLL_OUT): Likewise.
39302         (POLL_MSG): Likewise.
39303         (POLL_ERR): Likewise.
39304         (POLL_PRI): Likewise.
39305         (POLL_HUP): Likewise.
39306         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
39307         Likewise.
39308         (ILL_ILLOPN): Likewise.
39309         (ILL_ILLADR): Likewise.
39310         (ILL_ILLTRP): Likewise.
39311         (ILL_PRVOPC): Likewise.
39312         (ILL_PRVREG): Likewise.
39313         (ILL_COPROC): Likewise.
39314         (ILL_BADSTK): Likewise.
39315         (FPE_INTDIV): Likewise.
39316         (FPE_INTOVF): Likewise.
39317         (FPE_FLTDIV): Likewise.
39318         (FPE_FLTOVF): Likewise.
39319         (FPE_FLTUND): Likewise.
39320         (FPE_FLTRES): Likewise.
39321         (FPE_FLTINV): Likewise.
39322         (FPE_FLTSUB): Likewise.
39323         (SEGV_MAPERR): Likewise.
39324         (SEGV_ACCERR): Likewise.
39325         (BUS_ADRALN): Likewise.
39326         (BUS_ADRERR): Likewise.
39327         (BUS_OBJERR): Likewise.
39328         (BUS_MCEERR_AR): Likewise.
39329         (BUS_MCEERR_AO): Likewise.
39330         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39331         (TRAP_TRACE): Likewise.
39332         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39333         __USE_XOPEN2K8].
39334         (CLD_KILLED): Likewise.
39335         (CLD_DUMPED): Likewise.
39336         (CLD_TRAPPED): Likewise.
39337         (CLD_STOPPED): Likewise.
39338         (CLD_CONTINUED): Likewise.
39339         (POLL_IN): Likewise.
39340         (POLL_OUT): Likewise.
39341         (POLL_MSG): Likewise.
39342         (POLL_ERR): Likewise.
39343         (POLL_PRI): Likewise.
39344         (POLL_HUP): Likewise.
39345         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
39346         (ILL_ILLOPN): Likewise.
39347         (ILL_ILLADR): Likewise.
39348         (ILL_ILLTRP): Likewise.
39349         (ILL_PRVOPC): Likewise.
39350         (ILL_PRVREG): Likewise.
39351         (ILL_COPROC): Likewise.
39352         (ILL_BADSTK): Likewise.
39353         (FPE_INTDIV): Likewise.
39354         (FPE_INTOVF): Likewise.
39355         (FPE_FLTDIV): Likewise.
39356         (FPE_FLTOVF): Likewise.
39357         (FPE_FLTUND): Likewise.
39358         (FPE_FLTRES): Likewise.
39359         (FPE_FLTINV): Likewise.
39360         (FPE_FLTSUB): Likewise.
39361         (SEGV_MAPERR): Likewise.
39362         (SEGV_ACCERR): Likewise.
39363         (BUS_ADRALN): Likewise.
39364         (BUS_ADRERR): Likewise.
39365         (BUS_OBJERR): Likewise.
39366         (BUS_MCEERR_AR): Likewise.
39367         (BUS_MCEERR_AO): Likewise.
39368         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39369         (TRAP_TRACE): Likewise.
39370         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39371         __USE_XOPEN2K8].
39372         (CLD_KILLED): Likewise.
39373         (CLD_DUMPED): Likewise.
39374         (CLD_TRAPPED): Likewise.
39375         (CLD_STOPPED): Likewise.
39376         (CLD_CONTINUED): Likewise.
39377         (POLL_IN): Likewise.
39378         (POLL_OUT): Likewise.
39379         (POLL_MSG): Likewise.
39380         (POLL_ERR): Likewise.
39381         (POLL_PRI): Likewise.
39382         (POLL_HUP): Likewise.
39383         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
39384         Likewise.
39385         (ILL_ILLOPN): Likewise.
39386         (ILL_ILLADR): Likewise.
39387         (ILL_ILLTRP): Likewise.
39388         (ILL_PRVOPC): Likewise.
39389         (ILL_PRVREG): Likewise.
39390         (ILL_COPROC): Likewise.
39391         (ILL_BADSTK): Likewise.
39392         (ILL_BADIADDR): Likewise.
39393         (ILL_BREAK): Likewise.
39394         (FPE_INTDIV): Likewise.
39395         (FPE_INTOVF): Likewise.
39396         (FPE_FLTDIV): Likewise.
39397         (FPE_FLTOVF): Likewise.
39398         (FPE_FLTUND): Likewise.
39399         (FPE_FLTRES): Likewise.
39400         (FPE_FLTINV): Likewise.
39401         (FPE_FLTSUB): Likewise.
39402         (FPE_DECOVF): Likewise.
39403         (FPE_DECDIV): Likewise.
39404         (FPE_DECERR): Likewise.
39405         (FPE_INVASC): Likewise.
39406         (FPE_INVDEC): Likewise.
39407         (SEGV_MAPERR): Likewise.
39408         (SEGV_ACCERR): Likewise.
39409         (SEGV_PSTKOVF): Likewise.
39410         (BUS_ADRALN): Likewise.
39411         (BUS_ADRERR): Likewise.
39412         (BUS_OBJERR): Likewise.
39413         (BUS_MCEERR_AR): Likewise.
39414         (BUS_MCEERR_AO): Likewise.
39415         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39416         (TRAP_TRACE): Likewise.
39417         (TRAP_BRANCH): Likewise.
39418         (TRAP_HWBKPT): Likewise.
39419         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39420         __USE_XOPEN2K8].
39421         (CLD_KILLED): Likewise.
39422         (CLD_DUMPED): Likewise.
39423         (CLD_TRAPPED): Likewise.
39424         (CLD_STOPPED): Likewise.
39425         (CLD_CONTINUED): Likewise.
39426         (POLL_IN): Likewise.
39427         (POLL_OUT): Likewise.
39428         (POLL_MSG): Likewise.
39429         (POLL_ERR): Likewise.
39430         (POLL_PRI): Likewise.
39431         (POLL_HUP): Likewise.
39432         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
39433         (ILL_ILLOPN): Likewise.
39434         (ILL_ILLADR): Likewise.
39435         (ILL_ILLTRP): Likewise.
39436         (ILL_PRVOPC): Likewise.
39437         (ILL_PRVREG): Likewise.
39438         (ILL_COPROC): Likewise.
39439         (ILL_BADSTK): Likewise.
39440         (FPE_INTDIV): Likewise.
39441         (FPE_INTOVF): Likewise.
39442         (FPE_FLTDIV): Likewise.
39443         (FPE_FLTOVF): Likewise.
39444         (FPE_FLTUND): Likewise.
39445         (FPE_FLTRES): Likewise.
39446         (FPE_FLTINV): Likewise.
39447         (FPE_FLTSUB): Likewise.
39448         (SEGV_MAPERR): Likewise.
39449         (SEGV_ACCERR): Likewise.
39450         (BUS_ADRALN): Likewise.
39451         (BUS_ADRERR): Likewise.
39452         (BUS_OBJERR): Likewise.
39453         (BUS_MCEERR_AR): Likewise.
39454         (BUS_MCEERR_AO): Likewise.
39455         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39456         (TRAP_TRACE): Likewise.
39457         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39458         __USE_XOPEN2K8].
39459         (CLD_KILLED): Likewise.
39460         (CLD_DUMPED): Likewise.
39461         (CLD_TRAPPED): Likewise.
39462         (CLD_STOPPED): Likewise.
39463         (CLD_CONTINUED): Likewise.
39464         (POLL_IN): Likewise.
39465         (POLL_OUT): Likewise.
39466         (POLL_MSG): Likewise.
39467         (POLL_ERR): Likewise.
39468         (POLL_PRI): Likewise.
39469         (POLL_HUP): Likewise.
39470         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
39471         (ILL_ILLOPN): Likewise.
39472         (ILL_ILLADR): Likewise.
39473         (ILL_ILLTRP): Likewise.
39474         (ILL_PRVOPC): Likewise.
39475         (ILL_PRVREG): Likewise.
39476         (ILL_COPROC): Likewise.
39477         (ILL_BADSTK): Likewise.
39478         (FPE_INTDIV): Likewise.
39479         (FPE_INTOVF): Likewise.
39480         (FPE_FLTDIV): Likewise.
39481         (FPE_FLTOVF): Likewise.
39482         (FPE_FLTUND): Likewise.
39483         (FPE_FLTRES): Likewise.
39484         (FPE_FLTINV): Likewise.
39485         (FPE_FLTSUB): Likewise.
39486         (SEGV_MAPERR): Likewise.
39487         (SEGV_ACCERR): Likewise.
39488         (BUS_ADRALN): Likewise.
39489         (BUS_ADRERR): Likewise.
39490         (BUS_OBJERR): Likewise.
39491         (BUS_MCEERR_AR): Likewise.
39492         (BUS_MCEERR_AO): Likewise.
39493         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39494         (TRAP_TRACE): Likewise.
39495         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39496         __USE_XOPEN2K8].
39497         (CLD_KILLED): Likewise.
39498         (CLD_DUMPED): Likewise.
39499         (CLD_TRAPPED): Likewise.
39500         (CLD_STOPPED): Likewise.
39501         (CLD_CONTINUED): Likewise.
39502         (POLL_IN): Likewise.
39503         (POLL_OUT): Likewise.
39504         (POLL_MSG): Likewise.
39505         (POLL_ERR): Likewise.
39506         (POLL_PRI): Likewise.
39507         (POLL_HUP): Likewise.
39508         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
39509         (ILL_ILLOPN): Likewise.
39510         (ILL_ILLADR): Likewise.
39511         (ILL_ILLTRP): Likewise.
39512         (ILL_PRVOPC): Likewise.
39513         (ILL_PRVREG): Likewise.
39514         (ILL_COPROC): Likewise.
39515         (ILL_BADSTK): Likewise.
39516         (FPE_INTDIV): Likewise.
39517         (FPE_INTOVF): Likewise.
39518         (FPE_FLTDIV): Likewise.
39519         (FPE_FLTOVF): Likewise.
39520         (FPE_FLTUND): Likewise.
39521         (FPE_FLTRES): Likewise.
39522         (FPE_FLTINV): Likewise.
39523         (FPE_FLTSUB): Likewise.
39524         (SEGV_MAPERR): Likewise.
39525         (SEGV_ACCERR): Likewise.
39526         (BUS_ADRALN): Likewise.
39527         (BUS_ADRERR): Likewise.
39528         (BUS_OBJERR): Likewise.
39529         (BUS_MCEERR_AR): Likewise.
39530         (BUS_MCEERR_AO): Likewise.
39531         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39532         (TRAP_TRACE): Likewise.
39533         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39534         __USE_XOPEN2K8].
39535         (CLD_KILLED): Likewise.
39536         (CLD_DUMPED): Likewise.
39537         (CLD_TRAPPED): Likewise.
39538         (CLD_STOPPED): Likewise.
39539         (CLD_CONTINUED): Likewise.
39540         (POLL_IN): Likewise.
39541         (POLL_OUT): Likewise.
39542         (POLL_MSG): Likewise.
39543         (POLL_ERR): Likewise.
39544         (POLL_PRI): Likewise.
39545         (POLL_HUP): Likewise.
39546         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
39547         (ILL_ILLOPN): Likewise.
39548         (ILL_ILLADR): Likewise.
39549         (ILL_ILLTRP): Likewise.
39550         (ILL_PRVOPC): Likewise.
39551         (ILL_PRVREG): Likewise.
39552         (ILL_COPROC): Likewise.
39553         (ILL_BADSTK): Likewise.
39554         (ILL_DBLFLT): Likewise.
39555         (ILL_HARDWALL): Likewise.
39556         (FPE_INTDIV): Likewise.
39557         (FPE_INTOVF): Likewise.
39558         (FPE_FLTDIV): Likewise.
39559         (FPE_FLTOVF): Likewise.
39560         (FPE_FLTUND): Likewise.
39561         (FPE_FLTRES): Likewise.
39562         (FPE_FLTINV): Likewise.
39563         (FPE_FLTSUB): Likewise.
39564         (SEGV_MAPERR): Likewise.
39565         (SEGV_ACCERR): Likewise.
39566         (BUS_ADRALN): Likewise.
39567         (BUS_ADRERR): Likewise.
39568         (BUS_OBJERR): Likewise.
39569         (BUS_MCEERR_AR): Likewise.
39570         (BUS_MCEERR_AO): Likewise.
39571         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39572         (TRAP_TRACE): Likewise.
39573         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39574         __USE_XOPEN2K8].
39575         (CLD_KILLED): Likewise.
39576         (CLD_DUMPED): Likewise.
39577         (CLD_TRAPPED): Likewise.
39578         (CLD_STOPPED): Likewise.
39579         (CLD_CONTINUED): Likewise.
39580         (POLL_IN): Likewise.
39581         (POLL_OUT): Likewise.
39582         (POLL_MSG): Likewise.
39583         (POLL_ERR): Likewise.
39584         (POLL_PRI): Likewise.
39585         (POLL_HUP): Likewise.
39586         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
39587         (ILL_ILLOPN): Likewise.
39588         (ILL_ILLADR): Likewise.
39589         (ILL_ILLTRP): Likewise.
39590         (ILL_PRVOPC): Likewise.
39591         (ILL_PRVREG): Likewise.
39592         (ILL_COPROC): Likewise.
39593         (ILL_BADSTK): Likewise.
39594         (FPE_INTDIV): Likewise.
39595         (FPE_INTOVF): Likewise.
39596         (FPE_FLTDIV): Likewise.
39597         (FPE_FLTOVF): Likewise.
39598         (FPE_FLTUND): Likewise.
39599         (FPE_FLTRES): Likewise.
39600         (FPE_FLTINV): Likewise.
39601         (FPE_FLTSUB): Likewise.
39602         (SEGV_MAPERR): Likewise.
39603         (SEGV_ACCERR): Likewise.
39604         (BUS_ADRALN): Likewise.
39605         (BUS_ADRERR): Likewise.
39606         (BUS_OBJERR): Likewise.
39607         (BUS_MCEERR_AR): Likewise.
39608         (BUS_MCEERR_AO): Likewise.
39609         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39610         (TRAP_TRACE): Likewise.
39611         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39612         __USE_XOPEN2K8].
39613         (CLD_KILLED): Likewise.
39614         (CLD_DUMPED): Likewise.
39615         (CLD_TRAPPED): Likewise.
39616         (CLD_STOPPED): Likewise.
39617         (CLD_CONTINUED): Likewise.
39618         (POLL_IN): Likewise.
39619         (POLL_OUT): Likewise.
39620         (POLL_MSG): Likewise.
39621         (POLL_ERR): Likewise.
39622         (POLL_PRI): Likewise.
39623         (POLL_HUP): Likewise.
39624         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
39625         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39627         [BZ #16670]
39628         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
39629         before #include of <time.h>.
39630         [!__USE_XOPEN2K] (__need_timespec): Likewise.
39631         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
39632         (test-xfail-UNIX98/sched.h/conform): Likewise.
39634 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39636         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
39637         error absence of trapping exception support.
39638         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39640 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39642         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
39643         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
39644         * timezone/Makefile (testdata): Move definition above include of
39645         Rules.
39646         (test-zones): New variable.
39647         (tests-special): Add zone files.
39648         (build-testdata): Use $(evaluate-test).
39650         * elf/Makefile (tests-special): Rename tests to end with .out.
39651         ($(objpfx)noload-mem): Likewise.
39652         ($(objpfx)tst-leaks1-mem): Likewise.
39653         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
39654         * iconv/Makefile (xtests-special): Change test-iconvconfig to
39655         $(objpfx)test-iconvconfig.out.
39656         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
39657         set -e inside subshell and redirect output to file.
39658         * iconvdata/Makefile (generated): Rename tests to end with .out.
39659         Correct type.
39660         (tests-special): Rename tests to end with .out.
39661         ($(objpfx)mtrace-tst-loading): Likewise.
39662         * intl/Makefile (generated): Likewise.
39663         (tests-special): Likewise.
39664         ($(objpfx)mtrace-tst-gettext): Likewise.
39665         * misc/Makefile (generated): Likewise.
39666         (tests-special): Likewise.
39667         ($(objpfx)tst-error1-mem): Likewise.
39668         * nptl/Makefile (tests-special): Likewise.
39669         ($(objpfx)tst-stack3-mem): Likewise.
39670         (generated): Likewise.
39671         * posix/Makefile (generated): Likewise.
39672         (tests-special): Likewise.
39673         (xtests-special): Likewise.
39674         ($(objpfx)tst-fnmatch-mem): Likewise.
39675         ($(objpfx)bug-regex2-mem): Likewise.
39676         ($(objpfx)bug-regex14-mem): Likewise.
39677         ($(objpfx)bug-regex21-mem): Likewise.
39678         ($(objpfx)bug-regex31-mem): Likewise.
39679         ($(objpfx)tst-vfork3-mem): Likewise.
39680         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39681         ($(objpfx)tst-pcre-mem): Likewise.
39682         ($(objpfx)tst-boost-mem): Likewise.
39683         ($(objpfx)bug-ga2-mem): Likewise.
39684         ($(objpfx)bug-glob2-mem): Likewise.
39685         * resolv/Makefile (generate): Likewise.
39686         (tests-special): Likewise.
39687         (xtests-special): Likewise.
39688         (generated): Likewise.
39689         ($(objpfx)mtrace-tst-leaks): Likewise.
39690         ($(objpfx)mtrace-tst-leaks2): Likewise.
39692         * scripts/merge-test-results.sh: New file.
39693         * Makefile (tests-special-notdir): New variable.
39694         (tests): Run merge-test-results.sh.
39695         (xtests): Likewise.
39696         * Rules (tests-special-notdir): New variable.
39697         (xtests-special-notdir): Likewise.
39698         (tests): Run merge-test-results.sh
39699         (xtests): Likewise.
39701         * Makeconfig (test-xfail-name): New variable.
39702         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
39703         compute variable name for expected failures.
39704         * conform/Makefile (conformtest-headers-data): New variable.
39705         (conformtest-standards): Likewise.
39706         (conformtest-headers-ISO): Likewise.
39707         (conformtest-headers-ISO99): Likewise.
39708         (conformtest-headers-ISO11): Likewise.
39709         (conformtest-headers-POSIX): Likewise.
39710         (conformtest-headers-XPG3): Likewise.
39711         (conformtest-headers-XPG4): Likewise.
39712         (conformtest-headers-UNIX98): Likewise.
39713         (conformtest-headers-XOPEN2K): Likewise.
39714         (conformtest-headers-POSIX2008): Likewise.
39715         (conformtest-headers-XOPEN2K8): Likewise.
39716         (conformtest-header-list-base): Likewise.
39717         (conformtest-header-list-tests): Likewise.
39718         (conformtest-header-base): Likewise.
39719         (conformtest-header-tests): Likewise.
39720         (tests-special): Add $(conformtest-header-list-tests).  If
39721         [$(fast-check) && !$(cross-compiling)], add
39722         $(conformtest-header-tests) instead of
39723         $(objpfx)run-conformtest.out.
39724         (generated): Add $(conformtest-header-list-base).  If
39725         [$(fast-check) && !$(cross-compiling)], add
39726         $(conformtest-header-base).  Remove previous setting.
39727         ($(conformtest-header-list-tests)): New target.
39728         (test-xfail-run-conformtest): Remove variable.
39729         ($(objpfx)run-conformtest.out): Remove target.
39730         (test-xfail-ISO11/complex.h/conform): New variable.
39731         (test-xfail-ISO11/stdalign.h/conform): Likewise.
39732         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
39733         (test-xfail-XPG3/varargs.h/conform): Likewise.
39734         (test-xfail-XPG4/varargs.h/conform): Likewise.
39735         (test-xfail-UNIX98/varargs.h/conform): Likewise.
39736         (test-xfail-XPG4/ndbm.h/conform): Likewise.
39737         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
39738         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
39739         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
39740         (test-xfail-XPG3/fcntl.h/conform): Likewise.
39741         (test-xfail-XPG3/ftw.h/conform): Likewise.
39742         (test-xfail-XPG3/grp.h/conform): Likewise.
39743         (test-xfail-XPG3/langinfo.h/conform): Likewise.
39744         (test-xfail-XPG3/limits.h/conform): Likewise.
39745         (test-xfail-XPG3/pwd.h/conform): Likewise.
39746         (test-xfail-XPG3/search.h/conform): Likewise.
39747         (test-xfail-XPG3/signal.h/conform): Likewise.
39748         (test-xfail-XPG3/stdio.h/conform): Likewise.
39749         (test-xfail-XPG3/stdlib.h/conform): Likewise.
39750         (test-xfail-XPG3/string.h/conform): Likewise.
39751         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
39752         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
39753         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
39754         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
39755         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
39756         (test-xfail-XPG3/sys/types.h/conform): Likewise.
39757         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
39758         (test-xfail-XPG3/termios.h/conform): Likewise.
39759         (test-xfail-XPG3/time.h/conform): Likewise.
39760         (test-xfail-XPG3/unistd.h/conform): Likewise.
39761         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
39762         (test-xfail-XPG4/fcntl.h/conform): Likewise.
39763         (test-xfail-XPG4/langinfo.h/conform): Likewise.
39764         (test-xfail-XPG4/netdb.h/conform): Likewise.
39765         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
39766         (test-xfail-XPG4/signal.h/conform): Likewise.
39767         (test-xfail-XPG4/stdio.h/conform): Likewise.
39768         (test-xfail-XPG4/stdlib.h/conform): Likewise.
39769         (test-xfail-XPG4/stropts.h/conform): Likewise.
39770         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
39771         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
39772         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
39773         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
39774         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
39775         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
39776         (test-xfail-XPG4/sys/time.h/conform): Likewise.
39777         (test-xfail-XPG4/sys/types.h/conform): Likewise.
39778         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
39779         (test-xfail-XPG4/termios.h/conform): Likewise.
39780         (test-xfail-XPG4/ucontext.h/conform): Likewise.
39781         (test-xfail-XPG4/unistd.h/conform): Likewise.
39782         (test-xfail-XPG4/utmpx.h/conform): Likewise.
39783         (test-xfail-POSIX/sched.h/conform): Likewise.
39784         (test-xfail-POSIX/signal.h/conform): Likewise.
39785         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39786         (test-xfail-POSIX/tar.h/conform): Likewise.
39787         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
39788         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
39789         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
39790         (test-xfail-UNIX98/netdb.h/conform): Likewise.
39791         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
39792         (test-xfail-UNIX98/sched.h/conform): Likewise.
39793         (test-xfail-UNIX98/signal.h/conform): Likewise.
39794         (test-xfail-UNIX98/stdio.h/conform): Likewise.
39795         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
39796         (test-xfail-UNIX98/stropts.h/conform): Likewise.
39797         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
39798         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
39799         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
39800         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
39801         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
39802         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
39803         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
39804         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
39805         (test-xfail-UNIX98/unistd.h/conform): Likewise.
39806         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
39807         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
39808         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
39809         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
39810         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
39811         (test-xfail-XOPEN2K/math.h/conform): Likewise.
39812         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
39813         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
39814         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
39815         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
39816         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
39817         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
39818         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
39819         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
39820         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
39821         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
39822         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
39823         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
39824         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
39825         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
39826         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
39827         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
39828         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
39829         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
39830         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
39831         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
39832         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
39833         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
39834         (test-xfail-POSIX2008/signal.h/conform): Likewise.
39835         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
39836         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
39837         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
39838         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
39839         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
39840         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
39841         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
39842         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
39843         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
39844         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
39845         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
39846         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
39847         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
39848         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
39849         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
39850         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
39851         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
39852         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
39853         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
39854         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
39855         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
39856         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
39857         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
39858         (conformtest-cc-flags): Likewise.
39859         ($(conformtest-header-tests): New target.
39860         * conform/check-header-lists.sh: New file.
39861         * conform/run-conformtest.sh: Remove.
39863         * conform/conformtest.pl: Allow ' and \ in values given for
39864         constants.
39865         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
39866         inclusion.
39867         [POSIX] (sys/types.h): Likewise.
39868         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
39869         inclusion.
39870         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
39871         inclusion.
39872         * conform/data/signal.h-data (SIGIO): Remove expectation.
39873         [XPG3] (SIGBUS): Do not expect.
39874         [POSIX || XPG3] (SIGPOLL): Likewise.
39875         [POSIX || XPG3] (SIGPROF): Likewise.
39876         [POSIX || XPG3] (SIGSYS): Likewise.
39877         [XPG3] (SIGTRAP): Likewise.
39878         [POSIX || XPG3] (SIGURG): Likewise.
39879         [POSIX || XPG3] (SIGVTALRM): Likewise.
39880         [POSIX || XPG3] (SIGXCPU): Likewise.
39881         [POSIX || XPG3] (SIGXFSZ): Likewise.
39882         [POSIX] (SA_SIGINFO): Expect.
39883         [XPG3] (siginfo_t): Do not expect type or contents.
39884         [POSIX] (si_pid): Do not expect element.
39885         [POSIX] (si_uid): Likewise.
39886         [POSIX] (si_addr): Likewise.
39887         [POSIX] (si_status): Likewise.
39888         [POSIX] (si_band): Likewise.
39889         [XPG4] (si_value): Likewise.
39890         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
39891         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
39892         [POSIX || XPG3] (ILL_ILLADR): Likewise.
39893         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
39894         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
39895         [POSIX || XPG3] (ILL_PRVREG): Likewise.
39896         [POSIX || XPG3] (ILL_COPROC): Likewise.
39897         [POSIX || XPG3] (ILL_BADSTK): Likewise.
39898         [POSIX || XPG3] (FPE_INTDIV): Likewise.
39899         [POSIX || XPG3] (FPE_INTOVF): Likewise.
39900         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
39901         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
39902         [POSIX || XPG3] (FPE_FLTUND): Likewise.
39903         [POSIX || XPG3] (FPE_FLTRES): Likewise.
39904         [POSIX || XPG3] (FPE_FLTINV): Likewise.
39905         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
39906         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
39907         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
39908         [POSIX || XPG3] (BUS_ADRALN): Likewise.
39909         [POSIX || XPG3] (BUS_ADRERR): Likewise.
39910         [POSIX || XPG3] (BUS_OBJERR): Likewise.
39911         [POSIX || XPG3] (CLD_EXITED): Likewise.
39912         [POSIX || XPG3] (CLD_KILLED): Likewise.
39913         [POSIX || XPG3] (CLD_DUMPED): Likewise.
39914         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
39915         [POSIX || XPG3] (CLD_STOPPED): Likewise.
39916         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
39917         [POSIX || XPG3] (POLL_IN): Likewise.
39918         [POSIX || XPG3] (POLL_OUT): Likewise.
39919         [POSIX || XPG3] (POLL_MSG): Likewise.
39920         [POSIX || XPG3] (POLL_ERR): Likewise.
39921         [POSIX || XPG3] (POLL_PRI): Likewise.
39922         [POSIX || XPG3] (POLL_HUP): Likewise.
39923         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
39924         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
39925         (SIG*): Do not allow.
39926         [XPG3] (si_*): Likewise.
39927         [XPG3] (SI_*): Likewise.
39928         [XPG3 || XPG4] (sigev_*): Likewise.
39929         [XPG3 || XPG4] (SIGEV_*): Likewise.
39930         [XPG3 || XPG4] (sival_*): Likewise.
39931         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
39932         [POSIX || XPG3] (BUS_*): Likewise.
39933         [POSIX || XPG3] (CLD_*): Likewise.
39934         [POSIX || XPG3] (FPE_*): Likewise.
39935         [POSIX || XPG3] (ILL_*): Likewise.
39936         [POSIX || XPG3] (POLL_*): Likewise.
39937         [POSIX || XPG3] (SEGV_*): Likewise.
39938         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
39939         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
39940         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
39941         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
39942         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
39943         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
39944         Specify type and value.
39945         (TVERSLEN): Likewise.
39946         (REGTYPE): Likewise.
39947         (AREGTYPE): Likewise.
39948         (LNKTYPE): Likewise.
39949         (SYMTYPE): Likewise.
39950         (CHRTYPE): Likewise.
39951         (BLKTYPE): Likewise.
39952         (DIRTYPE): Likewise.
39953         (FIFOTYPE): Likewise.
39954         (CONTTYPE): Likewise.
39955         (TSUID): Likewise.
39956         (TSGID): Likewise.
39957         (TSVTX): Likewise.
39958         (TUREAD): Likewise.
39959         (TUWRITE): Likewise.
39960         (TUEXEC): Likewise.
39961         (TGREAD): Likewise.
39962         (TGWRITE): Likewise.
39963         (TGEXEC): Likewise.
39964         (TOREAD): Likewise.
39965         (TOWRITE): Likewise.
39966         (TOEXEC): Likewise.
39967         [POSIX] (TSVTX): Expect constant.
39969 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
39971         * Makefile (tests): Change dependencies to ....
39972         (tests-special): ... additions to this variable.
39973         (tests): Depend on $(tests-special).
39974         * Makerules (check-abi-list): New variable.
39975         (check-abi): Depend on $(check-abi-list).
39976         [$(subdir) = elf] (tests-special): Add
39977         $(objpfx)check-abi-libc.out.
39978         [$(build-shared) = yes && subdir] (tests-special): Add
39979         $(check-abi-list).
39980         [$(build-shared) = yes && subdir] (tests): Do not depend on
39981         check-abi.
39982         * Rules (tests): Depend on $(tests-special).
39983         (xtests): Depend on $(xtests-special).
39984         * catgets/Makefile (tests): Change dependencies to ....
39985         (tests-special): ... additions to this variable.
39986         * conform/Makefile (tests): Change dependencies to ....
39987         (tests-special): ... additions to this variable.
39988         * elf/Makefile (tests): Change dependencies to ....
39989         (tests-special): ... additions to this variable.
39990         * grp/Makefile (tests): Change dependencies to ....
39991         (tests-special): ... additions to this variable.
39992         * iconv/Makefile (xtests): Change dependencies to ....
39993         (xtests-special): ... additions to this variable.
39994         * iconvdata/Makefile (tests): Change dependencies to ....
39995         (tests-special): ... additions to this variable.
39996         * intl/Makefile (tests): Change dependencies to ....
39997         (tests-special): ... additions to this variable.  Also add
39998         $(objpfx)tst-gettext.out.
39999         * io/Makefile (tests): Change dependencies to ....
40000         (tests-special): ... additions to this variable.
40001         * libio/Makefile (tests): Change dependencies to ....
40002         (tests-special): ... additions to this variable.
40003         * malloc/Makefile (tests): Change dependencies to ....
40004         (tests-special): ... additions to this variable.
40005         * misc/Makefile (tests): Change dependencies to ....
40006         (tests-special): ... additions to this variable.
40007         * nptl/Makefile (tests): Change dependencies to ....
40008         (tests-special): ... additions to this variable.
40009         * nptl_db/Makefile (tests): Change dependencies to ....
40010         (tests-special): ... additions to this variable.
40011         * posix/Makefile (tests): Change dependencies to ....
40012         (tests-special): ... additions to this variable.
40013         (xtests): Change dependencies to ....
40014         (xtests-special): ... additions to this variable.
40015         * resolv/Makefile (tests): Change dependencies to ....
40016         (tests-special): ... additions to this variable.
40017         (xtests): Change dependencies to ....
40018         (xtests-special): ... additions to this variable.
40019         * stdio-common/Makefile (tests): Change dependencies to ....
40020         (tests-special): ... additions to this variable.
40021         (do-tst-unbputc): Remove target.
40022         (do-tst-printf): Likewise.
40023         * stdlib/Makefile (tests): Change dependencies to ....
40024         (tests-special): ... additions to this variable.
40025         * string/Makefile (tests): Change dependencies to ....
40026         (tests-special): ... additions to this variable.
40027         * sysdeps/x86/Makefile (tests): Change dependencies to ....
40028         (tests-special): ... additions to this variable.
40030         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
40031         whole file.
40032         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
40033         whole file.
40034         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
40035         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
40037         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
40038         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
40039         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
40040         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
40041         * conform/data/libgen.h-data [XPG3]: Likewise.
40042         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
40043         * conform/data/ndbm.h-data [XPG3]: Likewise.
40044         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40045         * conform/data/netdb.h-data [XPG3]: Likewise.
40046         * conform/data/netinet/in.h-data [XPG3]: Likewise.
40047         * conform/data/poll.h-data [XPG3]: Likewise.
40048         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40049         * conform/data/strings.h-data [XPG3]: Likewise.
40050         * conform/data/stropts.h-data [XPG3]: Likewise.
40051         * conform/data/sys/mman.h-data [XPG3]: Likewise.
40052         * conform/data/sys/resource.h-data [XPG3]: Likewise.
40053         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
40054         Likewise.
40055         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
40056         * conform/data/sys/time.h-data [XPG3]: Likewise.
40057         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
40058         * conform/data/sys/uio.h-data [XPG3]: Likewise.
40059         * conform/data/sys/un.h-data [XPG3]: Likewise.
40060         * conform/data/syslog.h-data [XPG3]: Likewise.
40061         * conform/data/ucontext.h-data [XPG3]: Likewise.
40062         * conform/data/utmpx.h-data [XPG3]: Likewise.
40063         * conform/data/varargs.h-data [UNIX98]: Enable file.
40065         * manual/Makefile (INSTALL_INFO): Remove variable setting.
40067         * math/libm-test.inc (struct test_f_f_data): Move expected results
40068         into structure for each rounding mode.
40069         (struct test_ff_f_data): Likewise.
40070         (struct test_ff_f_data_nexttoward): Likewise.
40071         (struct test_fi_f_data): Likewise.
40072         (struct test_fl_f_data): Likewise.
40073         (struct test_if_f_data): Likewise.
40074         (struct test_fff_f_data): Likewise.
40075         (struct test_c_f_data): Likewise.
40076         (struct test_f_f1_data): Likewise.
40077         (struct test_fF_f1_data): Likewise.
40078         (struct test_ffI_f1_data): Likewise.
40079         (struct test_c_c_data): Likewise.
40080         (struct test_cc_c_data): Likewise.
40081         (struct test_f_i_data): Likewise.
40082         (struct test_ff_i_data): Likewise.
40083         (struct test_f_l_data): Likewise.
40084         (struct test_f_L_data): Likewise.
40085         (struct test_fFF_11_data): Likewise.
40086         (RM_): New macro.
40087         (RM_FE_DOWNWARD): Likewise.
40088         (RM_FE_TONEAREST): Likewise.
40089         (RM_FE_TOWARDZERO): Likewise.
40090         (RM_FE_UPWARD): Likewise.
40091         (RUN_TEST_LOOP_f_f): Update references to expected results.
40092         (RUN_TEST_LOOP_2_f): Likewise.
40093         (RUN_TEST_LOOP_fff_f): Likewise.
40094         (RUN_TEST_LOOP_c_f): Likewise.
40095         (RUN_TEST_LOOP_f_f1): Likewise.
40096         (RUN_TEST_LOOP_fF_f1): Likewise.
40097         (RUN_TEST_LOOP_fI_f1): Likewise.
40098         (RUN_TEST_LOOP_ffI_f1): Likewise.
40099         (RUN_TEST_LOOP_c_c): Likewise.
40100         (RUN_TEST_LOOP_cc_c): Likewise.
40101         (RUN_TEST_LOOP_f_i): Likewise.
40102         (RUN_TEST_LOOP_f_i_tg): Likewise.
40103         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40104         (RUN_TEST_LOOP_f_b): Likewise.
40105         (RUN_TEST_LOOP_f_b_tg): Likewise.
40106         (RUN_TEST_LOOP_f_l): Likewise.
40107         (RUN_TEST_LOOP_f_L): Likewise.
40108         (RUN_TEST_LOOP_fFF_11): Likewise.
40109         * math/gen-libm-test.pl (parse_args): Output four copies of
40110         expected results for each test.
40112         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40113         (__ASSUME_UTIMES): Remove.
40114         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40115         (__ASSUME_UTIMES): Likewise.
40117         * math/gen-auto-libm-tests.c: Update comment on output format.
40118         (output_for_one_input_case): Generate before-rounding and
40119         after-rounding information as conditions on output flags not
40120         floating-point format.
40121         * math/auto-libm-test-out: Regenerated.
40122         * math/gen-libm-test.pl (cond_value): New function.
40123         (or_cond_value): Use cond_value.
40124         (generate_testfile): Handle conditional exceptions.
40126 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
40128         * math/libm-test.inc (max_valid_error): New variable.
40129         (init_max_error): Take new argument specifying whether function
40130         results are exactly determined.  Set max_valid_error and bound
40131         other variables for errors based on this argument.
40132         (set_max_error): Do not record results above max_valid_error.
40133         (check_float_internal): Only accept errors of up to 0.5ulps if
40134         also at most max_valid_error.
40135         (START): Take new argument EXACT and pass it to init_max_error.
40136         (acos_test): Update call to START.
40137         (acos_test_tonearest): Likewise.
40138         (acos_test_towardzero): Likewise.
40139         (acos_test_downward): Likewise.
40140         (acos_test_upward): Likewise.
40141         (acosh_test): Likewise.
40142         (asin_test): Likewise.
40143         (asin_test_tonearest): Likewise.
40144         (asin_test_towardzero): Likewise.
40145         (asin_test_downward): Likewise.
40146         (asin_test_upward): Likewise.
40147         (asinh_test): Likewise.
40148         (atan_test): Likewise.
40149         (atanh_test): Likewise.
40150         (atan2_test): Likewise.
40151         (cabs_test): Likewise.
40152         (cacos_test): Likewise.
40153         (cacosh_test): Likewise.
40154         (carg_test): Likewise.
40155         (casin_test): Likewise.
40156         (casinh_test): Likewise.
40157         (catan_test): Likewise.
40158         (catanh_test): Likewise.
40159         (cbrt_test): Likewise.
40160         (ccos_test): Likewise.
40161         (ccosh_test): Likewise.
40162         (ceil_test): Likewise.
40163         (cexp_test): Likewise.
40164         (cimag_test): Likewise.
40165         (clog_test): Likewise.
40166         (clog10_test): Likewise.
40167         (conj_test): Likewise.
40168         (copysign_test): Likewise.
40169         (cos_test): Likewise.
40170         (cos_test_tonearest): Likewise.
40171         (cos_test_towardzero): Likewise.
40172         (cos_test_downward): Likewise.
40173         (cos_test_upward): Likewise.
40174         (cosh_test): Likewise.
40175         (cosh_test_tonearest): Likewise.
40176         (cosh_test_towardzero): Likewise.
40177         (cosh_test_downward): Likewise.
40178         (cosh_test_upward): Likewise.
40179         (cpow_test): Likewise.
40180         (cproj_test): Likewise.
40181         (creal_test): Likewise.
40182         (csin_test): Likewise.
40183         (csinh_test): Likewise.
40184         (csqrt_test): Likewise.
40185         (ctan_test): Likewise.
40186         (ctan_test_tonearest): Likewise.
40187         (ctan_test_towardzero): Likewise.
40188         (ctan_test_downward): Likewise.
40189         (ctan_test_upward): Likewise.
40190         (ctanh_test): Likewise.
40191         (ctanh_test_tonearest): Likewise.
40192         (ctanh_test_towardzero): Likewise.
40193         (ctanh_test_downward): Likewise.
40194         (ctanh_test_upward): Likewise.
40195         (erf_test): Likewise.
40196         (erfc_test): Likewise.
40197         (exp_test): Likewise.
40198         (exp_test_tonearest): Likewise.
40199         (exp_test_towardzero): Likewise.
40200         (exp_test_downward): Likewise.
40201         (exp_test_upward): Likewise.
40202         (exp10_test): Likewise.
40203         (exp10_test_tonearest): Likewise.
40204         (exp10_test_towardzero): Likewise.
40205         (exp10_test_downward): Likewise.
40206         (exp10_test_upward): Likewise.
40207         (pow10_test): Likewise.
40208         (exp2_test): Likewise.
40209         (expm1_test): Likewise.
40210         (expm1_test_tonearest): Likewise.
40211         (expm1_test_towardzero): Likewise.
40212         (expm1_test_downward): Likewise.
40213         (expm1_test_upward): Likewise.
40214         (fabs_test): Likewise.
40215         (fdim_test): Likewise.
40216         (floor_test): Likewise.
40217         (fma_test): Likewise.
40218         (fma_test_towardzero): Likewise.
40219         (fma_test_downward): Likewise.
40220         (fma_test_upward): Likewise.
40221         (fmax_test): Likewise.
40222         (fmin_test): Likewise.
40223         (fmod_test): Likewise.
40224         (fpclassify_test): Likewise.
40225         (frexp_test): Likewise.
40226         (hypot_test): Likewise.
40227         (ilogb_test): Likewise.
40228         (isfinite_test): Likewise.
40229         (finite_test): Likewise.
40230         (isgreater_test): Likewise.
40231         (isgreaterequal_test): Likewise.
40232         (isinf_test): Likewise.
40233         (isless_test): Likewise.
40234         (islessequal_test): Likewise.
40235         (islessgreater_test): Likewise.
40236         (isnan_test): Likewise.
40237         (isnormal_test): Likewise.
40238         (issignaling_test): Likewise.
40239         (isunordered_test): Likewise.
40240         (j0_test): Likewise.
40241         (j1_test): Likewise.
40242         (jn_test): Likewise.
40243         (ldexp_test): Likewise.
40244         (lgamma_test): Likewise.
40245         (gamma_test): Likewise.
40246         (lrint_test): Likewise.
40247         (lrint_test_tonearest): Likewise.
40248         (lrint_test_towardzero): Likewise.
40249         (lrint_test_downward): Likewise.
40250         (lrint_test_upward): Likewise.
40251         (llrint_test): Likewise.
40252         (llrint_test_tonearest): Likewise.
40253         (llrint_test_towardzero): Likewise.
40254         (llrint_test_downward): Likewise.
40255         (llrint_test_upward): Likewise.
40256         (log_test): Likewise.
40257         (log10_test): Likewise.
40258         (log1p_test): Likewise.
40259         (log2_test): Likewise.
40260         (logb_test): Likewise.
40261         (logb_test_downward): Likewise.
40262         (lround_test): Likewise.
40263         (llround_test): Likewise.
40264         (modf_test): Likewise.
40265         (nearbyint_test): Likewise.
40266         (nextafter_test): Likewise.
40267         (nexttoward_test): Likewise.
40268         (pow_test): Likewise.
40269         (pow_test_tonearest): Likewise.
40270         (pow_test_towardzero): Likewise.
40271         (pow_test_downward): Likewise.
40272         (pow_test_upward): Likewise.
40273         (remainder_test): Likewise.
40274         (drem_test): Likewise.
40275         (remainder_test_tonearest): Likewise.
40276         (drem_test_tonearest): Likewise.
40277         (remainder_test_towardzero): Likewise.
40278         (drem_test_towardzero): Likewise.
40279         (remainder_test_downward): Likewise.
40280         (drem_test_downward): Likewise.
40281         (remainder_test_upward): Likewise.
40282         (drem_test_upward): Likewise.
40283         (remquo_test): Likewise.
40284         (rint_test): Likewise.
40285         (rint_test_tonearest): Likewise.
40286         (rint_test_towardzero): Likewise.
40287         (rint_test_downward): Likewise.
40288         (rint_test_upward): Likewise.
40289         (round_test): Likewise.
40290         (scalb_test): Likewise.
40291         (scalbn_test): Likewise.
40292         (scalbln_test): Likewise.
40293         (signbit_test): Likewise.
40294         (sin_test): Likewise.
40295         (sin_test_tonearest): Likewise.
40296         (sin_test_towardzero): Likewise.
40297         (sin_test_downward): Likewise.
40298         (sin_test_upward): Likewise.
40299         (sincos_test): Likewise.
40300         (sinh_test): Likewise.
40301         (sinh_test_tonearest): Likewise.
40302         (sinh_test_towardzero): Likewise.
40303         (sinh_test_downward): Likewise.
40304         (sinh_test_upward): Likewise.
40305         (sqrt_test): Likewise.
40306         (sqrt_test_tonearest): Likewise.
40307         (sqrt_test_towardzero): Likewise.
40308         (sqrt_test_downward): Likewise.
40309         (sqrt_test_upward): Likewise.
40310         (tan_test): Likewise.
40311         (tan_test_tonearest): Likewise.
40312         (tan_test_towardzero): Likewise.
40313         (tan_test_downward): Likewise.
40314         (tan_test_upward): Likewise.
40315         (tanh_test): Likewise.
40316         (tgamma_test): Likewise.
40317         (trunc_test): Likewise.
40318         (y0_test): Likewise.
40319         (y1_test): Likewise.
40320         (yn_test): Likewise.
40321         (significand_test): Likewise.
40323         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
40324         individual tests in comment.
40325         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
40326         (prev_max_error): New variable.
40327         (prev_real_max_error): Likewise.
40328         (prev_imag_max_error): Likewise.
40329         (compare_ulp_data): Don't refer to test names in comment.
40330         (find_test_ulps): Remove function.
40331         (find_function_ulps): Likewise.
40332         (find_complex_function_ulps): Likewise.
40333         (init_max_error): Take function name as argument.  Look up ulps
40334         for that function.
40335         (print_ulps): Remove function.
40336         (print_max_error): Use prev_max_error instead of calling
40337         find_function_ulps.
40338         (print_complex_max_error): Use prev_real_max_error and
40339         prev_imag_max_error instead of calling find_complex_function_ulps.
40340         (check_float_internal): Take max_ulp parameter instead of calling
40341         find_test_ulps.  Don't call print_ulps.
40342         (check_float): Update call to check_float_internal.
40343         (check_complex): Update calls to check_float_internal.
40344         (START): Pass argument to init_max_error.
40345         * math/gen-libm-test.pl (%results): Don't include "kind"
40346         information.
40347         (parse_ulps): Don't handle ulps of individual tests.
40348         (print_ulps_file): Likewise.
40349         (output_ulps): Likewise.
40350         * math/README.libm-test: Update.
40351         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
40352         individual tests.
40353         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
40354         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
40355         * sysdeps/arm/libm-test-ulps: Likewise.
40356         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
40357         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
40358         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
40359         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
40360         * sysdeps/microblaze/libm-test-ulps: Likewise.
40361         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
40362         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40363         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40364         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
40365         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40366         * sysdeps/sh/libm-test-ulps: Likewise.
40367         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40368         * sysdeps/tile/libm-test-ulps: Likewise.
40369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40371 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
40373         * math/libm-test.inc (print_complex_max_error): Check separately
40374         whether real and imaginary errors are within allowed range and
40375         pass 0 to print_complex_function_ulps instead of value within
40376         allowed range.
40378 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40380         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
40381         formatting.
40382         (get_handles_fopen): Likewise.
40383         (do_write_test): Likewise.
40385         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
40387         * libio/fileops.c (do_ftell): Use cached offset when
40388         available.
40389         * libio/iofwide.c (do_ftell_wide): Likewise.
40390         * libio/iofdopen.c (_IO_new_fdopen): Don't use
40391         _IO_file_attach.
40392         * libio/wfileops.c (_IO_fwide): Don't cache offset.
40394         [BZ #16532]
40395         * libio/libioP.h (get_file_offset): New function.
40396         * libio/fileops.c (get_file_offset): Likewise.
40397         (do_ftell): Likewise.
40398         (_IO_new_file_seekoff): Split out ftell logic.
40399         * libio/wfileops.c (do_ftell_wide): Likewise.
40400         (_IO_wfile_seekoff): Split out ftell logic.
40401         * libio/tst-ftell-active-handler.c: New test case.
40402         * libio/Makefile (tests): Add it.
40404 2014-03-03  Roland McGrath  <roland@hack.frob.com>
40406         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
40407         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
40409 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40411         [BZ #16639]
40412         * nscd/connections.c (nscd_init): Call do_exit.
40413         (start_threads): Call do_exit and notify_parent.
40414         (begin_drop_privileges): Call do_exit.
40415         (finish_drop_privileges): Likewise.
40416         * nscd/selinux.c (preserve_capabilities): Likewise.
40417         (install_real_capabilities): Likewise.
40418         (nscd_selinux_enabled): Likewise.
40419         (avc_create_thread): Likewise.
40420         (avc_alloc_lock): Likewise.
40421         (nscd_avc_init): Likewise.
40422         * nscd/nscd.c (parent_fd): New static variable.
40423         (main): Create a pipe between parent and child processes.
40424         Skip closing parent_fd.
40425         (monitor_child): New function.
40426         (do_exit): Likewise.
40427         (notify_parent): Likewise.
40428         * nscd/nscd.h (notify_parent): Likewise.
40429         (do_exit): Likewise.
40431 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
40433         * malloc/malloc.c (__libc_calloc): Revert last change.
40435 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40439 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40441         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
40442         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
40443         implementation.
40444         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40445         (__libc_ifunc_impl_list): Likewise.
40446         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
40447         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
40448         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
40449         * string/strrchr.c: Define STRRCHR.
40451 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
40453         * benchtest/bench-strtok.c (simple_strtok): Delete.
40454         (strtok_string): Use as benchmark.
40455         * string/strtok (STRTOK): New macro.
40457 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
40459         * manual/threads.texi: Add header and standard comments to all
40460         functions.
40462         * elf/dl-lookup.c (check_match): New function.
40463         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
40464         (do_lookup_x): Remove nested function check_match. Use non-nested
40465         function check_match.
40467 2014-02-28  Roland McGrath  <roland@hack.frob.com>
40469         * csu/Makefile (generated, before-compile): Use += rather than =.
40470         * catgets/Makefile (generated, generated-dirs): Likewise.
40471         * debug/Makefile (generated): Likewise.
40472         * dlfcn/Makefile (generated): Likewise.
40473         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
40474         * iconvdata/Makefile (before-compile, generated): Likewise.
40475         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
40476         * libio/Makefile (generated): Likewise.
40477         * malloc/Makefile (generated): Likewise.
40478         * manual/Makefile (generated, generated-dirs): Likewise.
40479         * misc/Makefile (generated): Likewise.
40480         * posix/Makefile (generated): Likewise.
40481         * resolv/Makefile (generated): Likewise.
40482         * sunrpc/Makefile (generated, generated-dirs): Likewise.
40483         * timezone/Makefile (generated, generated-dirs): Likewise.
40485         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
40487 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40489         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40490         power8 implementation.
40491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
40492         file: POWER8 llround ifunc implementation.
40493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
40494         (__lllround): Add POWER8 implementation.
40495         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
40496         POWER8 llround implementation.
40498         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
40499         power8 implementation.
40500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
40501         file: POWER8 llrint ifunc implementation.
40502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
40503         Add POWER8 implementation.
40504         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
40505         POWER8 llrint implementation.
40507         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
40508         power8 implementation.
40509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
40510         file: POWER8 finite ifunc implementation.
40511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
40512         Add POWER8 implementation.
40513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
40514         Likewise.
40515         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
40516         POWER8 finite implementation.
40517         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
40519         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
40520         power8 implementation.
40521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
40522         file: POWER8 isinf ifunc implementation.
40523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
40524         POWER8 implementation.
40525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
40526         Likewise.
40527         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
40528         isinf implementation.
40529         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
40531         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
40532         (INIT_ARCH): Add hwcap2 initialization.
40533         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40534         power8 implementation.
40535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
40536         file: POWER8 isnan ifunc implementation.
40537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
40538         POWER8 implementation.
40539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
40540         Likewise.
40541         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
40542         isnan implementation.
40543         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
40545 2014-02-27  Joey Ye  <joey.ye@arm.com>
40547         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40548         (_FP_NANFRAC_Q): Set to zero.
40550 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40552         [BZ #16623]
40553         * math/auto-libm-test-in: New test inputs.
40554         * math/auto-libm-test-out: Regenerate.
40555         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
40556         and DA.
40557         (__cos): Likewise.
40558         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
40560 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
40562         * scripts/evaluate-test.sh: Take new argument indicating whether
40563         failure is expected.
40564         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
40565         indicating whether failure is expected.
40566         * conform/Makefile (test-xfail-run-conformtest): New variable.
40567         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
40568         level.
40569         * posix/Makefile (test-xfail-annexc): New variable.
40570         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
40572 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
40574         * argp/Makefile: Include Makeconfig immediately after defining
40575         subdir.
40576         * assert/Makefile: Likewise.
40577         * benchtests/Makefile: Likewise.
40578         * catgets/Makefile: Likewise.
40579         * conform/Makefile: Likewise.
40580         * crypt/Makefile: Likewise.
40581         * csu/Makefile: Likewise.
40582         (all): Remove target.
40583         * ctype/Makefile: Include Makeconfig immediately after defining
40584         subdir.
40585         * debug/Makefile: Likewise.
40586         * dirent/Makefile: Likewise.
40587         * dlfcn/Makefile: Likewise.
40588         * gmon/Makefile: Likewise.
40589         * gnulib/Makefile: Likewise.
40590         * grp/Makefile: Likewise.
40591         * gshadow/Makefile: Likewise.
40592         * hesiod/Makefile: Likewise.
40593         * hurd/Makefile: Likewise.
40594         (all): Remove target.
40595         * iconvdata/Makefile: Include Makeconfig immediately after
40596         defining subdir.
40597         * inet/Makefile: Likewise.
40598         * intl/Makefile: Likewise.
40599         * io/Makefile: Likewise.
40600         * libio/Makefile: Likewise.
40601         (all): Remove target.
40602         * locale/Makefile: Include Makeconfig immediately after defining
40603         subdir.
40604         * login/Makefile: Likewise.
40605         * mach/Makefile: Likewise.
40606         (all): Remove target.
40607         * malloc/Makefile: Include Makeconfig immediately after defining
40608         subdir.
40609         (all): Remove target.
40610         * manual/Makefile: Include Makeconfig immediately after defining
40611         subdir.
40612         * math/Makefile: Likewise.
40613         * misc/Makefile: Likewise.
40614         * nis/Makefile: Likewise.
40615         * nss/Makefile: Likewise.
40616         * po/Makefile: Likewise.
40617         (all): Remove target.
40618         * posix/Makefile: Include Makeconfig immediately after defining
40619         subdir.
40620         * pwd/Makefile: Likewise.
40621         * resolv/Makefile: Likewise.
40622         * resource/Makefile: Likewise.
40623         * rt/Makefile: Likewise.
40624         * setjmp/Makefile: Likewise.
40625         * shadow/Makefile: Likewise.
40626         * signal/Makefile: Likewise.
40627         * socket/Makefile: Likewise.
40628         * soft-fp/Makefile: Likewise.
40629         * stdio-common/Makefile: Likewise.
40630         * stdlib/Makefile: Likewise.
40631         * streams/Makefile: Likewise.
40632         * string/Makefile: Likewise.
40633         * sunrpc/Makefile: Likewise.
40634         (all): Remove target.
40635         * sysvipc/Makefile: Include Makeconfig immediately after defining
40636         subdir.
40637         * termios/Makefile: Likewise.
40638         * time/Makefile: Likewise.
40639         * timezone/Makefile: Likewise.
40640         (all): Remove target.
40641         * wcsmbs/Makefile: Include Makeconfig immediately after defining
40642         subdir.
40643         * wctype/Makefile: Likewise.
40645 2014-02-26  Steve Ellcey  <sellcey@mips.com>
40647         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
40648         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
40649         (libc_feholdexcept_setround_mips): Ditto.
40650         (libc_feholdsetround): New.
40651         (libc_feholdsetroundf): New.
40652         (libc_feholdsetroundl): New.
40653         (libc_feupdateenv_test_mips): New.
40654         (libc_feupdateenv_test): New.
40655         (libc_feupdateenv_testf): New.
40656         (libc_feupdateenv_testl): New.
40657         (libc_feresetround): New.
40658         (libc_feresetroundf): New.
40659         (libc_feresetroundl): New.
40660         (libc_fetestexcept_mips): New.
40661         (libc_fetestexcept): New.
40662         (libc_fetestexceptf): New.
40663         (libc_fetestexceptl): New.
40664         (HAVE_RM_CTX): New.
40665         (libc_feholdexcept_setround_mips_ctx): New.
40666         (libc_feholdexcept_setround_ctx): New.
40667         (libc_feholdexcept_setroundf_ctx): New.
40668         (libc_feholdexcept_setroundl_ctx): New.
40669         (libc_fesetenv_mips_ctx): New.
40670         (libc_fesetenv_ctx): New.
40671         (libc_fesetenv_ctxf): New.
40672         (libc_fesetenv_ctxl): New.
40673         (libc_feupdateenv_mips_ctx): New.
40674         (libc_feupdateenv_ctx): New.
40675         (libc_feupdateenvf_ctx): New.
40676         (libc_feupdateenvl_ctx): New.
40677         (libc_feholdsetround_mips_ctx): New.
40678         (libc_feholdsetround_ctx): New.
40679         (libc_feholdsetroundf_ctx): New.
40680         (libc_feholdsetroundl_ctx): New.
40681         (libc_feresetround_mips_ctx): New.
40682         (libc_feresetround_ctx): New.
40683         (libc_feresetroundf_ctx): New.
40684         (libc_feresetroundl_ctx): New.
40686 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
40688         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
40690         * manual/ipc.texi: New file.
40691         * manual/Makefile (chapters): Add ipc.
40692         * manual/job.texi: Add "Inter-Process Communication" to next.
40693         * manual/process.texi: Add "Inter-Process Communication" to prev.
40695 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40697         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40699 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
40701         * malloc/malloc.c (__libc_calloc): Simplify implementation.
40703         * manual/arith.texi: Fix spaces after sentences.
40704         * manual/charset.texi: Likewise.
40705         * manual/errno.texi: Likewise.
40706         * manual/install.texi: Likewise.
40707         * manual/llio.texi: Likewise.
40708         * manual/locale.texi: Likewise.
40709         * manual/maint.texi: Likewise.
40710         * manual/math.texi: Likewise.
40711         * manual/memory.texi: Likewise.
40712         * manual/message.texi: Likewise.
40713         * manual/probes.texi: Likewise.
40714         * manual/resource.texi: Likewise.
40715         * manual/signal.texi: Likewise.
40716         * manual/socket.texi: Likewise.
40717         * manual/stdio.texi: Likewise.
40718         * manual/string.texi: Likewise.
40719         * manual/time.texi: Likewise.
40720         * manual/users.texi: Likewise.
40722 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
40724         [BZ #16632]
40725         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
40726         _DEFAULT_SOURCE is defined.
40728 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
40729             Carlos O'Donell  <carlos@redhat.com>
40731         [BZ #16613]
40732         * elf/dl-tls.c (_dl_count_modids): New function.
40733         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
40734         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
40735         audit library and increment generation counter.
40736         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
40737         * elf/tst-audit9.c: New file.
40738         * elf/tst-auditmod9a.c: New file.
40739         * elf/tst-auditmod9b.c: New file.
40740         * elf/Makefile: Add rules to build and run tst-audit9.
40742 2014-02-25  Florian Weimer  <fweimer@redhat.com>
40744         [BZ #15347]
40745         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
40747 2014-02-25  Will Newton  <will.newton@linaro.org>
40749         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
40750         (__longjmp): Restore sp and lr before restoring callee
40751         saved registers.  Add longjmp and longjmp_target
40752         SystemTap probe point.
40753         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
40754         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
40755         Define to zero to match jmpbuf layout.
40756         * sysdeps/arm/setjmp.S: Include stap-probe.h.
40757         (__sigsetjmp): Save sp and lr before saving callee
40758         saved registers.  Add setjmp SystemTap probe point.
40760 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
40762         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40764 2014-02-24  Andreas Schwab  <schwab@suse.de>
40766         [BZ #15804]
40767         * elf/pldd.c (wait_for_ptrace_stop): New function.
40768         (main): Call it after attaching.
40770 2014-02-22  Roland McGrath  <roland@hack.frob.com>
40772         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
40773         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
40774         Versions files is now verboten.
40775         * hurd/Versions (libc: GLIBC_2.0):
40776         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
40777         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
40778         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
40779         * mach/Versions: Likewise.
40781         * csu/Versions: Remove unused %include.
40782         * resolv/Versions: Likewise.
40784 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
40786         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
40787         ($(objpfx)check-local-headers.out): Likewise.
40788         ($(objpfx)begin-end-check.out): Likewise.
40789         * Makerules (check-abi-%.out): Likewise.
40790         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
40791         ($(objpfx)test2.cat): Likewise.
40792         ($(objpfx)de/libc.cat): Likewise.
40793         ($(objpfx)test-gencat.out): Likewise.
40794         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
40795         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
40796         ($(objpfx)noload-mem): Likewise.
40797         ($(objpfx)tst-pathopt.out): Likewise.
40798         ($(objpfx)tst-rtld-load-self.out): Likewise.
40799         ($(objpfx)tst-array1-cmp.out): Likewise.
40800         ($(objpfx)tst-array1-static-cmp.out): Likewise.
40801         ($(objpfx)tst-array2-cmp.out): Likewise.
40802         ($(objpfx)tst-array3-cmp.out): Likewise.
40803         ($(objpfx)tst-array4-cmp.out): Likewise.
40804         ($(objpfx)tst-array5-cmp.out): Likewise.
40805         ($(objpfx)tst-array5-static-cmp.out): Likewise.
40806         ($(objpfx)check-textrel.out): Likewise.
40807         ($(objpfx)check-execstack.out): Likewise.
40808         ($(objpfx)check-localplt.out): Likewise.
40809         ($(objpfx)order2-cmp.out): Likewise.
40810         ($(objpfx)tst-leaks1-mem): Likewise.
40811         ($(objpfx)tst-leaks1-static-mem): Likewise.
40812         ($(objpfx)tst-initorder-cmp.out): Likewise.
40813         ($(objpfx)tst-initorder2-cmp.out): Likewise.
40814         ($(objpfx)tst-unused-dep.out): Likewise.
40815         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
40816         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
40817         * iconv/Makefile (test-iconvconfig): Likewise.
40818         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
40819         ($(objpfx)iconv-test.out): Likewise.
40820         ($(objpfx)tst-tables.out): Likewise.
40821         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
40822         ($(objpfx)tst-gettext.out): Likewise.
40823         ($(objpfx)tst-translit.out): Likewise.
40824         ($(objpfx)tst-gettext2.out): Likewise.
40825         ($(objpfx)tst-gettext4.out): Likewise.
40826         ($(objpfx)tst-gettext6.out): Likewise.
40827         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
40828         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
40829         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
40830         ($(objpfx)tst-fopenloc-mem.out): Likewise.
40831         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
40832         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
40833         * posix/Makefile ($(objpfx)globtest.out): Likewise.
40834         ($(objpfx)wordexp-tst.out): Likewise.
40835         ($(objpfx)annexc.out): Likewise.
40836         ($(objpfx)tst-fnmatch-mem): Likewise.
40837         ($(objpfx)bug-regex2-mem): Likewise.
40838         ($(objpfx)bug-regex14-mem): Likewise.
40839         ($(objpfx)bug-regex21-mem): Likewise.
40840         ($(objpfx)bug-regex31-mem): Likewise.
40841         ($(objpfx)tst-vfork3-mem): Likewise.
40842         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40843         ($(objpfx)tst-pcre-mem): Likewise.
40844         ($(objpfx)tst-boost-mem): Likewise.
40845         ($(objpfx)tst-getconf.out): Likewise.
40846         ($(objpfx)bug-ga2-mem): Likewise.
40847         ($(objpfx)bug-glob2-mem): Likewise.
40848         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
40849         ($(objpfx)mtrace-tst-leaks2): Likewise.
40850         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
40851         ($(objpfx)tst-printf.out): Likewise.
40852         ($(objpfx)tst-setvbuf1.out): Likewise.
40853         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
40854         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
40855         ($(objpfx)tst-fmtmsg.out): Likewise.
40856         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
40857         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
40859         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
40860         * bits/sigaction.h [__USE_MISC]: Likewise.
40861         * bits/waitstatus.h: Update #endif comments.
40862         * ctype/ctype.h: Likewise.
40863         * dirent/dirent.h: Likewise.
40864         [__USE_MISC]: Remove redundant conditionals.
40865         * grp/grp.h: Update #endif comments.
40866         [__USE_GNU]: Remove redundant conditionals.
40867         [__USE_MISC]: Likewise.
40868         * inet/netinet/in.h [__USE_GNU]: Likewise.
40869         * io/sys/stat.h [__USE_MISC]: Likewise.
40870         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
40871         * libio/bits/stdio.h: Update #endif comments.
40872         [__USE_MISC]: Remove redundant conditionals.
40873         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
40874         * libio/stdio.h: Update #endif comments.
40875         [__USE_MISC]: Remove redundant conditionals.
40876         * math/bits/math-finite.h [__USE_MISC]: Likewise.
40877         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
40878         * math/math.h: Update #else and #endif comments.
40879         [__USE_MISC]: Remove redundant conditionals.
40880         * misc/sys/uio.h: Update #endif comments.
40881         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
40882         * posix/glob.h [__USE_MISC]: Likewise.
40883         * posix/sys/types.h: Update #endif comments.
40884         [__USE_MISC]: Remove redundant conditionals.
40885         * posix/sys/wait.h: Update #endif comments.
40886         [__USE_MISC]: Remove redundant conditionals.
40887         * posix/unistd.h: Update #endif comments.
40888         [__USE_MISC]: Remove redundant conditionals.
40889         * pwd/pwd.h [__USE_GNU]: Likewise.
40890         [__USE_MISC]: Likewise.
40891         * resolv/netdb.h [__USE_GNU]: Likewise.
40892         * signal/signal.h: Update #endif comments.
40893         [__USE_MISC]: Remove redundant conditionals.
40894         * stdlib/stdlib.h: Update #else and #endif comments.
40895         [__USE_MISC]: Remove redundant conditionals.
40896         [__USE_GNU]: Likewise.
40897         * string/bits/string2.h [__USE_MISC]: Likewise.
40898         * string/string.h: Update #endif comments.
40899         [__USE_MISC]: Remove redundant conditionals.
40900         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
40901         Likewise.
40902         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
40903         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
40904         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
40905         Likewise.
40906         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
40907         Likewise.
40908         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
40909         comments.
40910         [__USE_MISC]: Remove redundant conditionals.
40911         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
40912         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
40913         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
40914         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
40915         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
40916         Likewise.
40917         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
40918         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
40919         Likewise.
40920         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
40921         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
40922         Likewise.
40923         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
40924         Likewise.
40925         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
40926         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
40927         Likewise.
40928         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
40929         Likewise.
40930         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
40931         * sysdeps/x86/bits/string.h: Update #endif comments.
40932         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
40933         conditionals.
40934         * time/sys/time.h: Update #endif comments.
40935         * time/time.h: Likewise.
40936         [__USE_MISC]: Remove redundant conditionals.
40938 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
40940         [BZ #16600]
40941         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
40943 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
40945         * Versions.def (librt): Add GLIBC_2.17.
40947 2014-02-21  Adam Conrad  <adconrad@0c3.net>
40949         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
40950         synonym for _SYS_AUXV_H to allow direct inclusion.
40951         * sysdeps/sparc/bits/hwcap.h: Likewise.
40952         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
40953         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
40954         * sysdeps/sparc/sysdep.h: Likewise.
40956 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40958         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
40960 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40962         * benchtests/bench-strrchr.c: Print length instead of position.
40964 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
40966         [BZ #16611]
40967         * sysdeps/unix/sysv/linux/kernel-features.h
40968         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
40969         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
40970         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
40971         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
40972         Likewise.
40973         [__i386__ || __powerpc__ || __sh__ || __sparc__]
40974         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40975         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
40976         (__ASSUME_SENDMMSG): Define instead of using previous
40977         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
40978         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40979         (__ASSUME_SENDMMSG_SYSCALL): Define.
40980         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40981         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
40982         Likewise.
40983         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40984         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40985         Likewise.
40986         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40987         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40988         Likewise.
40989         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
40990         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40991         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40992         [__ASSUME_SENDMMSG]: Change conditionals to
40993         [__ASSUME_SENDMMSG_SOCKETCALL].
40994         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40995         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
40996         Define.
40997         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40998         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
40999         Likewise.
41000         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
41001         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41002         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41003         [!__ASSUME_SENDMMSG]: Change conditional to
41004         [!__ASSUME_SENDMMSG_SOCKETCALL].
41005         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41006         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41007         Define.
41009         [BZ #16610]
41010         * sysdeps/unix/sysv/linux/kernel-features.h
41011         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
41012         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
41013         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
41014         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
41015         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41016         [__i386__ || __sparc__]
41017         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41018         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
41019         (__ASSUME_RECVMMSG): Define instead of using previous
41020         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
41021         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41022         (__ASSUME_RECVMMSG_SYSCALL): Define.
41023         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41024         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41025         Likewise.
41026         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41027         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41028         Likewise.
41029         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41030         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41031         Likewise.
41032         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
41033         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41034         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41035         [__ASSUME_RECVMMSG]: Change condition to
41036         [__ASSUME_RECVMMSG_SOCKETCALL].
41037         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41038         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41039         Define.
41040         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41041         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41042         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41043         Likewise.
41044         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
41045         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41046         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41047         [!__ASSUME_RECVMMSG]: Change condition to
41048         [!__ASSUME_RECVMMSG_SOCKETCALL].
41049         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41050         (__ASSUME_RECVMMSG_SYSCALL): Define.
41052         [BZ #16609]
41053         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
41054         __powerpc__ || __s390__ || __sh__ || __sparc__]
41055         (__ASSUME_SOCKETCALL): Define.
41056         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
41057         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
41058         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
41059         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
41060         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41061         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41062         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
41063         (__ASSUME_ACCEPT4): Define instead of using previous
41064         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
41065         __powerpc__ || __sparc__ || __s390__)] condition.
41066         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41067         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41068         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
41069         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41070         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41071         [!__ASSUME_ACCEPT4]: Change condition to
41072         [!__ASSUME_ACCEPT4_SOCKETCALL].
41073         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41074         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
41075         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
41076         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41077         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
41078         __ASSUME_ACCEPT4_SYSCALL.
41079         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
41080         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
41081         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41082         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
41083         __ASSUME_ACCEPT4_SYSCALL.
41084         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
41085         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41086         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41087         [__ASSUME_ACCEPT4]: Change condition to
41088         [__ASSUME_ACCEPT4_SOCKETCALL].
41089         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41090         (__ASSUME_SOCKETCALL): Define.
41091         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
41092         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41093         (__ASSUME_SOCKETCALL): Define.
41094         (__ASSUME_ACCEPT4): Remove.
41095         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
41096         Define.
41097         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41098         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
41099         Likewise.
41100         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41101         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41103         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
41104         macro.
41105         (HWCAP_ARM_LPAE): Likewise.
41106         (HWCAP_ARM_EVTSTRM): Likewise.
41107         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
41108         Add vpfd32, lpae and evtstrm.
41109         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
41110         Increase to 22.
41112 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
41114         * math/auto-libm-test-in: Add tests of clog10.
41115         * math/auto-libm-test-out: Regenerated.
41116         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
41117         * sysdeps/i386/fpu/libm-test-ulps: Update.
41118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41120 2014-02-18  Andreas Schwab  <schwab@suse.de>
41122         [BZ #16574]
41123         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
41124         Store non-zero if the second buffer was newly allocated.
41125         (send_dg): Likewise.
41126         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
41127         to send_vc and send_dg.
41128         (res_nsend): Pass NULL for ansp2_malloced.
41129         * resolv/res_query.c (__libc_res_nquery): Add parameter
41130         answerp2_malloced and pass it down to __libc_res_nsend.
41131         (res_nquery): Pass additional NULL to __libc_res_nquery.
41132         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
41133         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
41134         second answer buffer if answerp2_malloced was set.
41135         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
41136         (__libc_res_nquerydomain): Add parameter
41137         answerp2_malloced and pass it down to __libc_res_nquery.
41138         (res_nquerydomain): Pass additional NULL to
41139         __libc_res_nquerydomain.
41140         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
41141         additional NULL to __libc_res_nsend and __libc_res_nquery.
41142         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
41143         additional NULL to __libc_res_nsearch.
41144         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
41145         parameter of __libc_res_nsearch to check for separately allocated
41146         second buffer.
41147         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
41148         __libc_res_nquery.
41149         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
41150         additional NULL to __libc_res_nquery.
41151         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
41152         __libc_res_nsearch.
41153         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
41154         * include/resolv.h: Update prototypes of __libc_res_nquery,
41155         __libc_res_nsearch, __libc_res_nsend.
41157 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
41159         * math/auto-libm-test-in: Add tests of fma.
41160         * math/auto-libm-test-out: Regenerated.
41161         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
41162         (fma_towardzero_test_data): Likewise.
41163         (fma_downward_test_data): Likewise.
41164         (fma_upward_test_data): Likewise.
41165         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
41166         mpc_mode.
41167         (rounding_modes): Add values for new field.
41168         (func_calc_method): Add value mpfr_fff_f.
41169         (func_calc_desc): Add mpfr_fff_f union field.
41170         (test_function): Add field exact_args.
41171         (FUNC): Add macro argument EXACT_ARGS.
41172         (FUNC_mpfr_f_f): Update call to FUNC.
41173         (FUNC_mpfr_f_f): Likewise.
41174         (FUNC_mpfr_ff_f): Likewise.
41175         (FUNC_mpfr_if_f): Likewise.
41176         (FUNC_mpc_c_f): Likewise.
41177         (FUNC_mpc_c_c): Likewise.
41178         (test_functions): Add fma.  Update calls to FUNC.
41179         (handle_input_arg): Add argument exact_args.
41180         (add_test): Update call to handle_input_arg.
41181         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
41182         (output_for_one_input_case): Update call to calc_generic_results.
41183         Recalculate exact zero results in each rounding mode.
41185         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
41186         non-negative before setting low bit.
41187         * math/auto-libm-test-in: Mark one asin test possibly having
41188         spurious underflow.
41189         * math/auto-libm-test-out: Regenerated.
41190         * sysdeps/i386/fpu/libm-test-ulps: Update.
41191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41193 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
41195         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
41196         * sysdeps/unix/sysv/linux/microblaze: Move directory from
41197         ports/sysdeps/unix/sysv/linux/microblaze.
41198         * README: Add missing listing for microblaze*-*-linux-gnu.
41200 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
41202         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
41203         duplicate code
41205 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
41207         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
41208         * sysdeps/unix/sysv/linux/ia64: Move directory from
41209         ports/sysdeps/unix/sysv/linux/ia64.
41210         * README: Update listing for ia64-*-linux-gnu.
41212 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
41213             Joseph Myers  <joseph@codesourcery.com>
41215         * Makeconfig (test-name): New variable.
41216         (evaluate-test): Likewise.
41217         * Makerules (do-test-clean): Remove .test-result files.
41218         (common-mostlyclean): Likewise.
41219         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
41220         * scripts/evaluate-test.sh: New file.
41222 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
41224         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
41225         separate $(objpfx)tst-fopenloc-cmp.out and
41226         $(objpfx)tst-fopenloc-mem.out targets.
41227         (tests): Update dependencies.
41228         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
41229         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
41230         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
41231         (tst-rxspencer-no-utf8-ARGS): New variable.
41232         (tst-rxspencer-no-utf8-ENV): Likewise.
41233         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
41234         instead of $(objpfx)tst-rxspencer-mem.
41235         ($(objpfx)tst-rxspencer-mem): Change target to
41236         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
41237         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
41238         * posix/tst-rxspencer-no-utf8.c: New file.
41240         * elf/Makefile ($(objpfx)order.out): Remove rule.
41241         [$(run-built-tests) = yes] (tests): Depend on
41242         $(objpfx)order-cmp.out.
41243         ($(objpfx)order-cmp.out): New rule.
41244         [$(run-built-tests) = yes] (tests): Depend on
41245         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
41246         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
41247         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
41248         $(objpfx)tst-array5-static-cmp.out.
41249         ($(objpfx)tst-array1.out): Remove rule.
41250         ($(objpfx)tst-array1-cmp.out): New rule.
41251         ($(objpfx)tst-array1-static.out): Remove rule.
41252         ($(objpfx)tst-array1-static-cmp.out): New rule.
41253         ($(objpfx)tst-array2.out): Remove rule.
41254         ($(objpfx)tst-array2-cmp.out): New rule.
41255         ($(objpfx)tst-array3.out): Remove rule.
41256         ($(objpfx)tst-array3-cmp.out): New rule.
41257         ($(objpfx)tst-array4.out): Remove rule.
41258         ($(objpfx)tst-array4-cmp.out): New rule.
41259         ($(objpfx)tst-array5.out): Remove rule.
41260         ($(objpfx)tst-array5-cmp.out): New rule.
41261         ($(objpfx)tst-array5-static.out): Remove rule.
41262         ($(objpfx)tst-array5-static-cmp.out): New rule.
41263         [$(run-built-tests) = yes] (tests): Depend on
41264         $(objpfx)order2-cmp.out.
41265         ($(objpfx)order2.out): Remove rule.
41266         ($(objpfx)order2-cmp.out): New rule.
41267         ($(objpfx)tst-initorder.out): Remove rule.
41268         [$(run-built-tests) = yes] (tests): Depend on
41269         $(objpfx)tst-initorder-cmp.out.
41270         ($(objpfx)tst-initorder-cmp.out): New rule.
41271         ($(objpfx)tst-initorder2.out): Remove rule.
41272         [$(run-built-tests) = yes] (tests): Depend on
41273         $(objpfx)tst-initorder2-cmp.out.
41274         ($(objpfx)tst-initorder2-cmp.out): New rule.
41275         [$(run-built-tests) = yes] (tests): Depend on
41276         $(objpfx)tst-unused-dep-cmp.out.
41277         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
41278         ($(objpfx)tst-unused-dep-cmp.out): New rule.
41279         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
41280         on $(objpfx)tst-setvbuf1-cmp.out.
41281         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
41282         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
41283         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
41284         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
41285         ($(objpfx)tst-svc.out): Remove rule.
41286         ($(objpfx)tst-svc-cmp.out): New rule.
41288 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
41290         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
41291         * ctype/ctype.h [__USE_MISC]: Likewise.
41292         * dirent/dirent.h [__USE_MISC]: Likewise.
41293         * grp/grp.h [__USE_MISC]: Likewise.
41294         * io/fcntl.h [__USE_MISC]: Likewise.
41295         * io/sys/stat.h [__USE_MISC]: Likewise.
41296         * libio/stdio.h [__USE_MISC]: Likewise.
41297         * posix/unistd.h [__USE_MISC]: Likewise.
41298         * pwd/pwd.h [__USE_MISC]: Likewise.
41299         * stdlib.h [__USE_MISC]: Likewise.
41300         * string/bits/string2.h [__USE_MISC]: Likewise.
41301         * string/string.h [__USE_MISC]: Likewise.
41302         * time/time.h [__USE_MISC]: Likewise.
41304 2014-02-13  Andreas Schwab  <schwab@suse.de>
41306         [BZ #16574]
41307         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
41308         second answer buffer if it was separately allocated.
41310 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
41312         * sysdeps/mips/math-tests.h: Include <features.h>.
41313         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41314         (ROUNDING_TESTS_long_double): Do not define.
41315         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41316         (EXCEPTION_TESTS_long_double): Likewise.
41317         * sysdeps/mips/mips64/libm-test-ulps: Update.
41319         * include/features.h (__USE_BSD): Remove macro definitions.
41320         (__USE_SVID): Likewise.
41321         (_BSD_SOURCE): Likewise.
41322         (_SVID_SOURCE): Likewise.
41323         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
41324         from definition of _DEFAULT_SOURCE.
41325         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
41326         [_DEFAULT_SOURCE].
41327         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
41328         * bits/mman.h [__USE_BSD]: Likewise.
41329         * bits/termios.h [__USE_BSD]: Likewise.
41330         * bits/waitstatus.h [__USE_BSD]: Likewise.
41331         * ctype/ctype.h [__USE_SVID]: Likewise.
41332         * dirent/dirent.h [__USE_BSD]: Likewise.
41333         * grp/grp.h [__USE_SVID]: Likewise.
41334         [__USE_BSD]: Likewise.
41335         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
41336         * io/fcntl.h [__USE_BSD]: Likewise.
41337         * io/ftw.h [__USE_BSD]: Likewise.
41338         * io/sys/stat.h [__USE_BSD]: Likewise.
41339         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
41340         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
41341         * libio/stdio.h [__USE_SVID]: Likewise.
41342         [__USE_BSD]: Likewise.
41343         * math/math.h [__USE_SVID]: Likewise.
41344         [__USE_BSD]: Likewise.
41345         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
41346         * misc/bits/syslog.h [__USE_BSD]: Likewise.
41347         * misc/search.h [__USE_SVID]: Likewise.
41348         * misc/sys/mman.h [__USE_BSD]: Likewise.
41349         * misc/sys/syslog.h [__USE_BSD]: Likewise.
41350         * misc/sys/uio.h [__USE_BSD]: Likewise.
41351         * posix/bits/unistd.h [__USE_BSD]: Likewise.
41352         * posix/glob.h [__USE_BSD]: Likewise.
41353         * posix/regex.h [__USE_BSD]: Likewise.
41354         * posix/sys/types.h [__USE_BSD]: Likewise.
41355         [__USE_SVID]: Likewise.
41356         * posix/sys/utsname.h [__USE_SVID]: Likewise.
41357         * posix/sys/wait.h [__USE_BSD]: Likewise.
41358         [__USE_SVID]: Likewise.
41359         * posix/unistd.h [__USE_BSD]: Likewise.
41360         [__USE_SVID]: Likewise.
41361         * pwd/pwd.h [__USE_SVID]: Likewise.
41362         * resolv/netdb.h [__USE_BSD]: Likewise.
41363         * setjmp/setjmp.h [__USE_BSD]: Likewise.
41364         * signal/signal.h [__USE_BSD]: Likewise.
41365         [__USE_SVID]: Likewise.
41366         * socket/sys/socket.h [__USE_BSD]: Likewise.
41367         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
41368         * stdlib/stdlib.h [__USE_BSD]: Likewise.
41369         [__USE_SVID]: Likewise.
41370         * string/bits/string2.h [__USE_BSD]: Likewise.
41371         [__USE_SVID]: Likewise.
41372         * string/bits/string3.h [__USE_BSD]: Likewise.
41373         * string/endian.h [__USE_BSD]: Likewise.
41374         * string/string.h [__USE_SVID]: Likewise.
41375         [__USE_BSD]: Likewise.
41376         * string/strings.h [__USE_BSD]: Likewise.
41377         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
41378         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
41379         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
41380         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
41381         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
41382         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
41383         Likewise.
41384         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
41385         Likewise.
41386         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
41387         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
41388         Likewise.
41389         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
41390         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
41391         Likewise.
41392         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
41393         Likewise.
41394         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
41395         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
41396         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
41397         Likewise.
41398         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
41399         Likewise.
41400         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
41401         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
41402         * termios/termios.h [__USE_BSD]: Likewise.
41403         * time/sys/time.h [__USE_BSD]: Likewise.
41404         * time/time.h [__USE_BSD]: Likewise.
41405         [__USE_SVID]: Likewise.
41407         * Makefile (subdir_targets): Remove subdir_lint.out.
41409         * stdio-common/Makefile (do-tst-unbputc): Remove target.
41410         (do-tst-printf): Likewise.
41411         (tests): Depend directly on $(objpfx)tst-unbputc.out and
41412         $(objpfx)tst-printf.out.
41414         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
41416         * Makerules (check-abi-%): Change target to
41417         $(objpfx)check-abi-%.out.
41418         (check-abi target): Update dependencies.
41419         (check-abi-pattern variable): Redirect output of diff to $@.
41420         (check-abi variable): Likewise.
41421         * elf/Makefile (check-abi): Update dependencies.
41423         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
41424         unused.
41425         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
41426         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
41427         subnormal range.
41428         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
41429         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
41430         value has largest subnormal exponent.
41431         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
41432         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
41433         * sysdeps/aarch64/soft-fp/sfp-machine.h
41434         (_FP_TININESS_AFTER_ROUNDING): New macro.
41435         * sysdeps/alpha/soft-fp/sfp-machine.h
41436         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41437         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41438         Likewise.
41439         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
41440         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41441         * sysdeps/mips/soft-fp/sfp-machine.h
41442         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41443         * sysdeps/powerpc/soft-fp/sfp-machine.h
41444         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41445         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41446         Likewise.
41447         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41448         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41449         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41450         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41451         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41452         Likewise.
41454 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
41456         [BZ #16545]
41457         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
41458         model 1.
41460 2014-02-12  Richard Henderson  <rth@redhat.com>
41462         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
41463         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
41464         * sysdeps/unix/sysv/linux/alpha: Move directory from
41465         ports/sysdeps/unix/sysv/linux/alpha.
41466         * README: Update listing for alpha-*-linux-gnu.
41468 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
41470         * include/features.h: Update comment documenting feature test
41471         macros.
41472         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
41473         _DEFAULT_SOURCE.
41474         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
41475         (_SVID_SOURCE): Likewise.
41476         (_DEFAULT_SOURCE): Update description of default features.
41477         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
41478         with _GNU_SOURCE.
41479         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
41480         (S_ISVTX): Likewise.
41481         * manual/math.texi (Mathematical Constants): Likewise.
41482         * manual/signal.texi (Interrupted Primitives): Likewise.
41483         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
41484         * math/test-matherr.c (_SVID_SOURCE): Do not define.
41485         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
41486         Don't refer to _SVID_SOURCE in warning text.
41488         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41490         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
41491         already defined.
41492         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
41493         * sysdeps/mips/dl-lookup.c: Remove.
41494         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
41496 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41498         [BZ #16447]
41499         * math/auto-libm-test-in: Add testcase for expl.
41500         * math/auto-libm-test-out: Regenerate.
41501         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
41502         calculation of unsafe.
41503         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
41505 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41507         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
41508         * sysdeps/unix/sysv/linux/aarch64: Move directory from
41509         ports/sysdeps/unix/sysv/linux/aarch64.
41510         * README: Update listing for aarch64*-*-linux-gnu.
41512 2014-02-11  Will Newton  <will.newton@linaro.org>
41514         * manual/probes.texi (Mathematical Function Probes): Use
41515         "triggered" instead of "hit".
41517         * manual/probes.texi (Internal Probes): Add documentation
41518         of setjmp, longjmp and longjmp_target probes.
41520         * include/stap-probe.h: Add comment about probe argument
41521         format.
41523         * malloc/mtrace.c (attribute_hidden): Remove unused macro
41524         definition.  (tr_where, tr_freehook, tr_mallochook,
41525         tr_reallochook, tr_memalignhook): Use ANSI protoype.
41527 2014-02-11  David S. Miller  <davem@davemloft.net>
41529         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
41530         processing int_tests.
41532 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
41534         * sysdeps/mips: Move directory from ports/sysdeps/mips.
41535         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
41536         * sysdeps/unix/sysv/linux/mips: Move directory from
41537         ports/sysdeps/unix/sysv/linux/mips.
41538         * README: Update listing for mips-*-linux-gnu and
41539         mips64-*-linux-gnu.
41541 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
41543         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
41544         * sysdeps/unix/sysv/linux/m68k: Move directory from
41545         ports/sysdeps/unix/sysv/linux/m68k.
41546         * README: Update listing for m68k-*-linux-gnu.
41548 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
41550         * sysdeps/tile: Move directory from ports/sysdeps/tile.
41551         * sysdeps/unix/sysv/linux/generic: Move directory from
41552         ports/sysdeps/unix/sysv/linux/generic.
41553         * sysdeps/unix/sysv/linux/tile: Move directory from
41554         ports/sysdeps/unix/sysv/linux/tile.
41555         * README: Update listing for tile*-*-linux-gnu.
41557 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
41559         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
41560         __builtin_expect.
41561         * benchtests/bench-memmem.c (simple_memmem): Likewise.
41562         * catgets/open_catalog.c (__open_catalog): Likewise.
41563         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
41564         * debug/confstr_chk.c: Likewise.
41565         * debug/fread_chk.c (__fread_chk): Likewise.
41566         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
41567         * debug/getgroups_chk.c: Likewise.
41568         * debug/mbsnrtowcs_chk.c: Likewise.
41569         * debug/mbsrtowcs_chk.c: Likewise.
41570         * debug/mbstowcs_chk.c: Likewise.
41571         * debug/memcpy_chk.c: Likewise.
41572         * debug/memmove_chk.c: Likewise.
41573         * debug/mempcpy_chk.c: Likewise.
41574         * debug/memset_chk.c: Likewise.
41575         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41576         * debug/strcat_chk.c (__strcat_chk): Likewise.
41577         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
41578         * debug/strncat_chk.c (__strncat_chk): Likewise.
41579         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
41580         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
41581         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
41582         * debug/wcpncpy_chk.c: Likewise.
41583         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41584         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
41585         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
41586         * debug/wcsncpy_chk.c: Likewise.
41587         * debug/wcsnrtombs_chk.c: Likewise.
41588         * debug/wcsrtombs_chk.c: Likewise.
41589         * debug/wcstombs_chk.c: Likewise.
41590         * debug/wmemcpy_chk.c: Likewise.
41591         * debug/wmemmove_chk.c: Likewise.
41592         * debug/wmempcpy_chk.c: Likewise.
41593         * debug/wmemset_chk.c: Likewise.
41594         * dirent/scandirat.c (SCANDIRAT): Likewise.
41595         * dlfcn/dladdr1.c (dladdr1): Likewise.
41596         * dlfcn/dladdr.c (dladdr): Likewise.
41597         * dlfcn/dlclose.c (dlclose_doit): Likewise.
41598         * dlfcn/dlerror.c (__dlerror): Likewise.
41599         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
41600         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
41601         * dlfcn/dlopen.c (dlopen_doit): Likewise.
41602         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
41603         * dlfcn/dlsym.c (dlsym_doit): Likewise.
41604         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
41605         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
41606         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
41607         Likewise.
41608         * elf/dl-conflict.c: Likewise.
41609         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
41610         * elf/dl-dst.h: Likewise.
41611         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
41612         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
41613         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
41614         * elf/dl-init.c (call_init, _dl_init): Likewise.
41615         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
41616         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
41617         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
41618         Likewise.
41619         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
41620         Likewise.
41621         * elf/dl-minimal.c (__libc_memalign): Likewise.
41622         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
41623         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41624         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
41625         * elf/dl-sym.c (do_sym): Likewise.
41626         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
41627         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
41628         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
41629         * elf/dl-writev.h (_dl_writev): Likewise.
41630         * elf/ldconfig.c (search_dir): Likewise.
41631         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
41632         (dl_main): Likewise.
41633         * elf/setup-vdso.h (setup_vdso): Likewise.
41634         * grp/compat-initgroups.c (compat_call): Likewise.
41635         * grp/fgetgrent.c (fgetgrent): Likewise.
41636         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
41637         * grp/putgrent.c (putgrent): Likewise.
41638         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41639         Likewise.
41640         * hurd/hurdinit.c: Likewise.
41641         * iconvdata/8bit-gap.c (struct): Likewise.
41642         * iconvdata/ansi_x3.110.c : Likewise.
41643         * iconvdata/big5.c : Likewise.
41644         * iconvdata/big5hkscs.c : Likewise.
41645         * iconvdata/cp1255.c: Likewise.
41646         * iconvdata/cp1258.c : Likewise.
41647         * iconvdata/cp932.c : Likewise.
41648         * iconvdata/euc-cn.c: Likewise.
41649         * iconvdata/euc-jisx0213.c : Likewise.
41650         * iconvdata/euc-jp.c: Likewise.
41651         * iconvdata/euc-jp-ms.c : Likewise.
41652         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
41653         * iconvdata/gb18030.c : Likewise.
41654         * iconvdata/gbbig5.c (const): Likewise.
41655         * iconvdata/gbgbk.c: Likewise.
41656         * iconvdata/gbk.c : Likewise.
41657         * iconvdata/ibm1364.c : Likewise.
41658         * iconvdata/ibm930.c : Likewise.
41659         * iconvdata/ibm932.c: Likewise.
41660         * iconvdata/ibm933.c : Likewise.
41661         * iconvdata/ibm935.c : Likewise.
41662         * iconvdata/ibm937.c : Likewise.
41663         * iconvdata/ibm939.c : Likewise.
41664         * iconvdata/ibm943.c: Likewise.
41665         * iconvdata/iso_11548-1.c: Likewise.
41666         * iconvdata/iso-2022-cn.c : Likewise.
41667         * iconvdata/iso-2022-cn-ext.c : Likewise.
41668         * iconvdata/iso-2022-jp-3.c: Likewise.
41669         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
41670         * iconvdata/iso-2022-kr.c : Likewise.
41671         * iconvdata/iso646.c (gconv_end): Likewise.
41672         * iconvdata/iso_6937-2.c : Likewise.
41673         * iconvdata/iso_6937.c : Likewise.
41674         * iconvdata/iso8859-1.c: Likewise.
41675         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
41676         * iconvdata/shift_jisx0213.c : Likewise.
41677         * iconvdata/sjis.c : Likewise.
41678         * iconvdata/t.61.c : Likewise.
41679         * iconvdata/tcvn5712-1.c : Likewise.
41680         * iconvdata/tscii.c: Likewise.
41681         * iconvdata/uhc.c : Likewise.
41682         * iconvdata/unicode.c (gconv_end): Likewise.
41683         * iconvdata/utf-16.c (gconv_end): Likewise.
41684         * iconvdata/utf-32.c (gconv_end): Likewise.
41685         * iconvdata/utf-7.c (base64): Likewise.
41686         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
41687         * iconv/gconv_close.c (__gconv_close): Likewise.
41688         * iconv/gconv_open.c (__gconv_open): Likewise.
41689         * iconv/gconv_simple.c (internal_ucs4_loop_single)
41690         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
41691         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
41692         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
41693         (ucs4le_internal_loop_single): Likewise.
41694         * iconv/iconv.c (iconv): Likewise.
41695         * iconv/iconv_close.c: Likewise.
41696         * iconv/loop.c (SINGLE): Likewise.
41697         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
41698         * include/atomic.h: Likewise.
41699         * inet/inet6_option.c (option_alloc): Likewise.
41700         * intl/bindtextdom.c (set_binding_values): Likewise.
41701         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
41702         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
41703         * intl/localealias.c (read_alias_file): Likewise.
41704         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
41705         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
41706         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
41707         * libio/fmemopen.c (fmemopen): Likewise.
41708         * libio/iofgets.c (_IO_fgets): Likewise.
41709         * libio/iofgets_u.c (fgets_unlocked): Likewise.
41710         * libio/iofgetws.c (fgetws): Likewise.
41711         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
41712         * libio/iogetdelim.c (_IO_getdelim): Likewise.
41713         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
41714         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
41715         * locale/findlocale.c (_nl_find_locale): Likewise.
41716         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
41717         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
41718         Likewise.
41719         * locale/setlocale.c (setlocale): Likewise.
41720         * login/programs/pt_chown.c (main): Likewise.
41721         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
41722         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
41723         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
41724         (mmap, mmap64, mremap, munmap): Likewise.
41725         * math/e_exp2l.c: Likewise.
41726         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
41727         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
41728         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
41729         * math/s_catan.c (__catan): Likewise.
41730         * math/s_catanf.c (__catanf): Likewise.
41731         * math/s_catanh.c (__catanh): Likewise.
41732         * math/s_catanhf.c (__catanhf): Likewise.
41733         * math/s_catanhl.c (__catanhl): Likewise.
41734         * math/s_catanl.c (__catanl): Likewise.
41735         * math/s_ccosh.c (__ccosh): Likewise.
41736         * math/s_ccoshf.c (__ccoshf): Likewise.
41737         * math/s_ccoshl.c (__ccoshl): Likewise.
41738         * math/s_cexp.c (__cexp): Likewise.
41739         * math/s_cexpf.c (__cexpf): Likewise.
41740         * math/s_cexpl.c (__cexpl): Likewise.
41741         * math/s_clog10.c (__clog10): Likewise.
41742         * math/s_clog10f.c (__clog10f): Likewise.
41743         * math/s_clog10l.c (__clog10l): Likewise.
41744         * math/s_clog.c (__clog): Likewise.
41745         * math/s_clogf.c (__clogf): Likewise.
41746         * math/s_clogl.c (__clogl): Likewise.
41747         * math/s_csin.c (__csin): Likewise.
41748         * math/s_csinf.c (__csinf): Likewise.
41749         * math/s_csinh.c (__csinh): Likewise.
41750         * math/s_csinhf.c (__csinhf): Likewise.
41751         * math/s_csinhl.c (__csinhl): Likewise.
41752         * math/s_csinl.c (__csinl): Likewise.
41753         * math/s_csqrt.c (__csqrt): Likewise.
41754         * math/s_csqrtf.c (__csqrtf): Likewise.
41755         * math/s_csqrtl.c (__csqrtl): Likewise.
41756         * math/s_ctan.c (__ctan): Likewise.
41757         * math/s_ctanf.c (__ctanf): Likewise.
41758         * math/s_ctanh.c (__ctanh): Likewise.
41759         * math/s_ctanhf.c (__ctanhf): Likewise.
41760         * math/s_ctanhl.c (__ctanhl): Likewise.
41761         * math/s_ctanl.c (__ctanl): Likewise.
41762         * math/w_pow.c: Likewise.
41763         * math/w_powf.c: Likewise.
41764         * math/w_powl.c: Likewise.
41765         * math/w_scalb.c (sysv_scalb): Likewise.
41766         * math/w_scalbf.c (sysv_scalbf): Likewise.
41767         * math/w_scalbl.c (sysv_scalbl): Likewise.
41768         * misc/error.c (error_tail): Likewise.
41769         * misc/pselect.c (__pselect): Likewise.
41770         * nis/nis_callback.c (__nis_create_callback): Likewise.
41771         * nis/nis_call.c (__nisfind_server): Likewise.
41772         * nis/nis_creategroup.c (nis_creategroup): Likewise.
41773         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
41774         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
41775         * nis/nis_getservlist.c (nis_getservlist): Likewise.
41776         * nis/nis_lookup.c (nis_lookup): Likewise.
41777         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
41778         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
41779         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
41780         * nis/nis_xdr.c (xdr_endpoint): Likewise.
41781         * nis/nss_compat/compat-grp.c (getgrent_next_file)
41782         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
41783         * nis/nss_compat/compat-initgroups.c (add_group)
41784         (internal_getgrent_r): Likewise.
41785         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
41786         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
41787         * nis/nss_compat/compat-spwd.c (getspent_next_file)
41788         (internal_getspnam_r): Likewise.
41789         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
41790         (_nss_nis_getaliasbyname_r): Likewise.
41791         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
41792         (_nss_nis_getntohost_r): Likewise.
41793         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
41794         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
41795         (_nss_nis_getgrgid_r): Likewise.
41796         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
41797         (internal_nis_gethostent_r, internal_gethostbyname2_r)
41798         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
41799         (_nss_nis_gethostbyname4_r): Likewise.
41800         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
41801         (initgroups_netid): Likewise.
41802         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
41803         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
41804         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
41805         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
41806         (_nss_nis_getprotobynumber_r): Likewise.
41807         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
41808         (_nss_nis_getsecretkey): Likewise.
41809         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
41810         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
41811         (_nss_nis_getpwuid_r): Likewise.
41812         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
41813         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
41814         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
41815         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
41816         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
41817         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
41818         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
41819         Likewise.
41820         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
41821         (_nss_nisplus_getntohost_r): Likewise.
41822         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
41823         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
41824         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
41825         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
41826         Likewise.
41827         * nis/nss_nisplus/nisplus-initgroups.c
41828         (_nss_nisplus_initgroups_dyn): Likewise.
41829         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
41830         (_nss_nisplus_getnetbyaddr_r): Likewise.
41831         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
41832         (_nss_nisplus_getprotobynumber_r): Likewise.
41833         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
41834         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
41835         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
41836         Likewise.
41837         * nis/nss_nisplus/nisplus-service.c
41838         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
41839         (_nss_nisplus_getservbyport_r): Likewise.
41840         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
41841         (_nss_nisplus_getspnam_r): Likewise.
41842         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
41843         Likewise.
41844         * nscd/aicache.c (addhstaiX): Likewise.
41845         * nscd/cache.c (cache_search, prune_cache): Likewise.
41846         * nscd/connections.c (register_traced_file, send_ro_fd)
41847         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
41848         (main_loop_epoll): Likewise.
41849         * nscd/grpcache.c (addgrbyX): Likewise.
41850         * nscd/hstcache.c (addhstbyX): Likewise.
41851         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41852         * nscd/mem.c (gc, mempool_alloc): Likewise.
41853         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
41854         (addinnetgrX): Likewise.
41855         * nscd/nscd-client.h (__nscd_acquire_maplock)
41856         (__nscd_drop_map_ref): Likewise.
41857         * nscd/nscd_getai.c (__nscd_getai): Likewise.
41858         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
41859         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
41860         Likewise.
41861         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
41862         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41863         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
41864         (__nscd_get_map_ref): Likewise.
41865         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
41866         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
41867         Likewise.
41868         * nscd/pwdcache.c (addpwbyX): Likewise.
41869         * nscd/selinux.c (preserve_capabilities): Likewise.
41870         * nscd/servicescache.c (addservbyX): Likewise.
41871         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
41872         * posix/fnmatch.c (fnmatch): Likewise.
41873         * posix/getopt.c (_getopt_internal_r): Likewise.
41874         * posix/glob.c (glob, glob_in_dir): Likewise.
41875         * posix/wordexp.c (exec_comm_child): Likewise.
41876         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
41877         (getanswer_r, gaih_getanswer_slice): Likewise.
41878         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
41879         * resolv/res_init.c: Likewise.
41880         * resolv/res_mkquery.c (res_nmkquery): Likewise.
41881         * resolv/res_query.c (__libc_res_nquery): Likewise.
41882         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
41883         Likewise.
41884         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
41885         * stdio-common/perror.c (perror): Likewise.
41886         * stdio-common/printf_fp.c (___printf_fp): Likewise.
41887         * stdio-common/tmpnam.c (tmpnam): Likewise.
41888         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41889         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
41890         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
41891         Likewise.
41892         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
41893         * stdlib/putenv.c (putenv): Likewise.
41894         * stdlib/setenv.c (__add_to_environ): Likewise.
41895         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41896         * stdlib/strtol_l.c (INTERNAL): Likewise.
41897         * string/memmem.c (memmem): Likewise.
41898         * string/strerror.c (strerror): Likewise.
41899         * string/strnlen.c (__strnlen): Likewise.
41900         * string/test-memmem.c (simple_memmem): Likewise.
41901         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
41902         * sunrpc/pm_getport.c (__get_socket): Likewise.
41903         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
41904         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
41905         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
41906         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
41907         Likewise.
41908         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
41909         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
41910         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
41911         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
41912         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
41913         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
41914         Likewise.
41915         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
41916         Likewise.
41917         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
41918         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
41919         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41920         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
41921         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
41922         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
41923         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41924         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
41925         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
41926         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
41927         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41928         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
41929         Likewise.
41930         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
41931         Likewise.
41932         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
41933         Likewise.
41934         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
41935         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41936         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
41937         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
41938         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
41939         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
41940         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41941         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
41942         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
41943         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
41944         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
41945         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41946         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41947         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
41948         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41949         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
41950         Likewise.
41951         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
41952         Likewise.
41953         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
41954         Likewise.
41955         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
41956         Likewise.
41957         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41958         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41959         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
41960         Likewise.
41961         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
41962         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
41963         * sysdeps/posix/opendir.c (__opendirat): Likewise.
41964         * sysdeps/posix/sleep.c: Likewise.
41965         * sysdeps/posix/tempname.c: Likewise.
41966         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
41967         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41968         Likewise.
41969         * sysdeps/powerpc/powerpc32/dl-machine.h
41970         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
41971         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41972         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41973         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
41974         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
41975         Likewise.
41976         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
41977         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
41978         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41979         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
41980         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41981         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
41982         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
41983         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
41984         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41985         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
41986         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
41987         (elf_machine_lazy_rel): Likewise.
41988         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41989         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
41990         (elf_machine_lazy_rel): Likewise.
41991         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
41992         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
41993         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
41994         * sysdeps/unix/grantpt.c (grantpt): Likewise.
41995         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
41996         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
41997         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
41998         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41999         Likewise.
42000         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
42001         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
42002         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
42003         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
42004         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
42005         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
42006         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
42007         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
42008         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
42009         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
42010         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42011         Likewise.
42012         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
42013         (__posix_fallocate64_l64): Likewise.
42014         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
42015         (posix_fallocate): Likewise.
42016         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
42017         Likewise.
42018         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42019         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
42020         (getifaddrs_internal): Likewise.
42021         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
42022         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
42023         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
42024         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
42025         * sysdeps/unix/sysv/linux/posix_fallocate64.c
42026         (__posix_fallocate64_l64): Likewise.
42027         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
42028         Likewise.
42029         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
42030         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
42031         (__get_clockfreq): Likewise.
42032         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
42033         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
42034         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
42035         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42036         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42037         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
42038         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
42039         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
42040         Likewise.
42041         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
42042         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
42043         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
42044         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
42045         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42046         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
42047         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
42048         Likewise.
42049         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42050         (posix_fallocate): Likewise.
42051         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42052         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
42053         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
42054         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
42055         (elf_machine_rela, elf_machine_rela_relative)
42056         (elf_machine_lazy_rel): Likewise.
42057         * time/asctime.c (asctime_internal): Likewise.
42058         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
42059         * time/tzset.c (__tzset_parse_tz): Likewise.
42060         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42061         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
42062         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
42063         * wcsmbs/wcsmbsload.h: Likewise.
42065         [BZ #15894]
42066         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
42068         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
42069         (arena_get2): Remove THREAD_STATS conditionals.
42070         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
42071         (__malloc_stats, int): Likewise.
42073 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
42075         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
42076         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
42078         * manual/setjmp.texi: Fix typos/grammar errors.
42080         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
42081         Only return early when n is <= 0.  Delete unused return statement.
42083         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
42084         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
42085         * debug/tst-longjmp_chk3.c: New file.
42087         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
42088         (test_main): Replace code with set_fortify_handler call.
42089         * debug/test-strcpy_chk.c: Likewise.
42090         * debug/tst-chk1.c: Likewise.
42091         * debug/tst-longjmp_chk.c: Likewise.
42092         * test-skeleton.c: Include fcntl.h & paths.h
42093         (set_fortify_handler): Define.
42095         * debug/tst-longjmp_chk.c: Add header comment and include
42096         ../test-skeleton.c.
42097         (do_test): Mark static.
42098         (TEST_FUNCTION): Define.
42100         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
42101         (IP_PMTUDISC_INTERFACE): Likewise.
42102         (IP_MULTICAST_IF): Likewise.
42103         (IP_MULTICAST_TTL): Likewise.
42104         (IP_MULTICAST_LOOP): Likewise.
42105         (IP_ADD_MEMBERSHIP): Likewise.
42106         (IP_DROP_MEMBERSHIP): Likewise.
42107         (IP_UNBLOCK_SOURCE): Likewise.
42108         (IP_BLOCK_SOURCE): Likewise.
42109         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
42110         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
42111         (IP_MSFILTER): Likewise.
42112         (MCAST_JOIN_GROUP): Likewise.
42113         (MCAST_BLOCK_SOURCE): Likewise.
42114         (MCAST_UNBLOCK_SOURCE): Likewise.
42115         (MCAST_LEAVE_GROUP): Likewise.
42116         (MCAST_JOIN_SOURCE_GROUP): Likewise.
42117         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
42118         (MCAST_MSFILTER): Likewise.
42119         (IP_MULTICAST_ALL): Likewise.
42120         (IP_UNICAST_IF): Likewise.
42122         * timezone/Makefile: Delete $(have-ksh) check.
42123         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
42124         * timezone/tzselect.ksh: Add +x mode bits.
42126         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
42127         (ANON_INODE_FS_MAGIC): Likewise.
42128         (BDEVFS_MAGIC): Likewise.
42129         (BINFMTFS_MAGIC): Likewise.
42130         (BTRFS_TEST_MAGIC): Likewise.
42131         (CRAMFS_MAGIC_WEND): Likewise.
42132         (DEBUGFS_MAGIC): Likewise.
42133         (ECRYPTFS_SUPER_MAGIC): Likewise.
42134         (EXT3_SUPER_MAGIC): Likewise.
42135         (EXT4_SUPER_MAGIC): Likewise.
42136         (FUTEXFS_SUPER_MAGIC): Likewise.
42137         (HOSTFS_SUPER_MAGIC): Likewise.
42138         (HUGETLBFS_MAGIC): Likewise.
42139         (MINIX3_SUPER_MAGIC): Likewise.
42140         (MTD_INODE_FS_MAGIC): Likewise.
42141         (NILFS_SUPER_MAGIC): Likewise.
42142         (OPENPROM_SUPER_MAGIC): Likewise.
42143         (PIPEFS_MAGIC): Likewise.
42144         (PSTOREFS_MAGIC): Likewise.
42145         (QNX6_SUPER_MAGIC): Likewise.
42146         (RAMFS_MAGIC): Likewise.
42147         (REISERFS_SUPER_MAGIC_STRING): Likewise.
42148         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
42149         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
42150         (SECURITYFS_MAGIC): Likewise.
42151         (SELINUX_MAGIC): Likewise.
42152         (SMACK_MAGIC): Likewise.
42153         (SOCKFS_MAGIC): Likewise.
42154         (SQUASHFS_MAGIC): Likewise.
42155         (STACK_END_MAGIC): Likewise.
42156         (TMPFS_MAGIC): Likewise.
42157         (USBDEVICE_SUPER_MAGIC): Likewise.
42158         (V9FS_MAGIC): Likewise.
42159         (XENFS_SUPER_MAGIC): Likewise.
42160         (CRAMFS_MAGIC): Fix typo in comment.
42161         (EXT2_SUPER_MAGIC): Update comment.
42162         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
42164 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
42166         * sysdeps/arm: Move directory from ports/sysdeps/arm.
42167         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
42168         * sysdeps/unix/sysv/linux/arm: Move directory from
42169         ports/sysdeps/unix/sysv/linux/arm.
42170         * README: Update listing for arm-*-linux-gnueabi.
42172         * README: Remove mention of am33.
42174 2014-02-07  Roland McGrath  <roland@hack.frob.com>
42176         * bits/sigset.h (__sigemptyset): Use a statement expression rather
42177         than the comma operator, to avoid "rhs of comma has no effect"
42178         compiler warnings.
42179         (__sigfillset, __sigandset, __sigorset): Likewise.
42180         * include/signal.h (__sigemptyset): Likewise.
42181         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
42183 2014-02-07  Allan McRae  <allan@archlinux.org>
42185         * version.h (RELEASE): Set to "development".
42186         (VERSION): Set to "2.19.90"
42187         * NEWS: Add 2.20 section.
42189 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
42191         [BZ #16529]
42192         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
42194 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42196         * manual/contrib.texi: Update entry for Carlos O'Donell,
42197         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
42199 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
42201         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
42203         * sysdeps/unix/sysv/linux/kernel-features.h
42204         [__LINUX_KERNEL_VERSION >= 0x020621]
42205         (__ASSUME_PROC_PID_TASK_COMM): Define.
42207 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42209         [BZ #16398]
42210         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
42211         conversion when destination buffer does not have enough space.
42212         * libio/tst-ftell-partial-wide.c: New test case.
42213         * libio/Makefile (tests): Add tst-ftell-partial-wide.
42215         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
42216         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
42217         Leonard and Allan McRae.
42219 2014-02-04  David S. Miller  <davem@davemloft.net>
42221         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
42222         32-bit.
42224 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42227         New file
42228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42229         New file
42230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42231         New file.
42232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42233         New file.
42234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42235         New file.
42236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42237         New file.
42238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42239         New file.
42240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42241         New file.
42242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42243         New file.
42244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42245         New file.
42246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42247         New file.
42248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42249         New file.
42250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42251         New file.
42253 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42255         * nptl/shlib-versions: Change powerpc*le start to 2.17.
42256         * shlib-versions: Likewise.
42258 2014-02-04  Roland McGrath  <roland@hack.frob.com>
42259             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42261         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
42262         (abilist-pattern): New variable, set to %-le.abilist.
42264         * Makerules (abilist-pattern): New variable.
42265         (vpath): Use $(abilist-pattern) in place of %.abilist.
42266         (check-abi-% pattern rule): Likewise.
42267         (check-abi, update-abi): Likewise.
42269 2014-02-04  Eric Wong  <normalperson@yhbt.net>
42271         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42273 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
42275         * manual/startup.texi: Add next, previous, and top entries for
42276         the `Program Arguments' and `Environment Variables' nodes.
42278 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
42280         * manual/macros.texi: Add comments before MTASC-safety macros.
42282         * manual/users.texi: Document MTASC-safety properties.
42284         * manual/threads.texi (pthread_key_create, pthread_key_delete)
42285         (pthread_getspecific, pthread_setspecific): Format with
42286         @deftypefun, and add @safety note.
42287         * manual/signal.texi: Move comments that analyze the above
42288         functions to their home place.
42290 2014-02-03  Allan McRae  <allan@archlinux.org>
42292         * po/sl.po: Update Slovenian translation from translation project.
42294 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
42296         * manual/time.texi (timegm): Add missing blank after @c.
42297         Reported by Joseph Myers <joseph@codesourcery.com>.
42299 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
42301         * manual/check-safety.sh: New.
42302         * manual/Makefile ($(objpfx)stamp-summary): Run it.
42304         * manual/terminal.texi: Document MTASC-safety properties.
42306         * manual/filesys.texi: Document MTASC-safety properties.
42308         * manual/errno.texi: Document MTASC-safety properties.
42310         * manual/intro.texi: Document safety identifiers and
42311         conditionals.
42313         * manual/string.texi (wcstok): Fix prototype.
42314         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
42316         * manual/time.texi: Document MTASC-safety properties.
42318         * manual/string.texi: Document MTASC-safety properties.
42320         * manual/threads.texi: Document MTASC-safety properties.
42322         * manual/stdio.texi: Document MTASC-safety properties.
42324         * manual/syslog.texi: Document MTASC-safety properties.
42326         * manual/sysinfo.texi: Document MTASC-safety properties.
42328         * manual/startup.texi: Document MTASC-safety properties.
42330         * manual/socket.texi: Document MTASC-safety properties.
42332         * manual/signal.texi: Document MTASC-safety properties.
42334 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
42336         * manual/setjmp.texi: Document MTASC-safety properties.
42338         * manual/search.texi: Document MTASC-safety properties.
42340         * manual/resource.texi: Document MTASC-safety properties.
42342         * manual/process.texi: Document MTASC-safety properties.
42344         * manual/platform.texi: Document MTASC-safety properties.
42346         * manual/pipe.texi: Document MTASC-safety properties.
42348         * manual/pattern.texi: Document MTASC-safety properties.
42350         * manual/message.texi: Document MTASC-safety properties.
42352         [BZ #12751]
42353         * manual/memory.texi: Document MTASC-safety properties.
42355         * manual/math.texi: Document MTASC-safety properties.
42357         * manual/locale.texi: Document MTASC-safety properties.
42359         * manual/llio.texi: Document MTASC-safety properties.
42361         * manual/libdl.texi: New.
42363         * manual/lang.texi: Document MTASC-safety properties.
42365         * manual/job.texi: Document MTASC-safety properties.
42367         * manual/getopt.texi: Document MTASC-safety properties.
42369         * manual/ctype.texi: Document MTASC-safety properties.
42371 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
42373         [BZ #16046]
42374         * csu/libc-tls.c (static_map): Remove variable.
42375         (__libc_setup_tls): Use main executable's link map for TLS data.
42376         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
42377         casing for LM_ID_BASE and GL(dl_nns).
42378         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
42379         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
42380         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
42381         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
42382         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
42383         member.
42384         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
42385         l_phnum members.
42387 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
42389         * manual/debug.texi: Document MTASC-safety properties.
42391 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
42393         [BZ #16510]
42394         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
42395         of __x86_64__ when disabling x87 inline functions.
42397 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
42399         * manual/charset.texi: Document MTASC-safety properties.
42401         * manual/crypt.texi: Document MTASC-safety properties.
42403         * manual/conf.texi: Document MTASC-safety properties.
42405         * manual/arith.texi: Document MTASC-safety properties.
42407         * manual/argp.texi: Document MTASC-safety properties.
42409         * manual/macros.texi: Introduce macros to document multi
42410         thread, asynchronous signal and asynchronous cancellation
42411         safety properties.
42412         * manual/intro.texi: Introduce the properties themselves.
42414 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42416         * sysdeps/sh/sh4/Makefile: New file.
42418 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
42420         * math/gen-libm-test.pl ($srcdir): New variable.
42421         ($auto_input): Use it.
42423 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42425         [BZ #16506]
42426         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
42427         access beyond array bounds when parsing netgroups file.
42429         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
42430         the old buffer before realloc.
42432 2014-01-27  Allan McRae  <allan@archlinux.org>
42434         * po/fr.po: Update French translation from translation project.
42436 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42438         * sysdeps/sh/libm-test-ulps: Regenerate.
42440 2014-01-24  David S. Miller  <davem@davemloft.net>
42442         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
42444 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42446         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
42447         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
42449 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42451         [BZ #16474]
42452         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
42453         string pointers after reallocation.
42455 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42457         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
42458         __SH4A__ instead of __SH_FPU_ANY__.
42460 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42462         * sysdeps/sh/fpu_control.h: New file.
42463         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
42464         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
42465         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
42466         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
42467         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
42468         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
42469         * sysdeps/sh/sys/ucontext.h: Remove.
42470         * sysdeps/sh/sys: Remove directory.
42472 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42474         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
42475         s390/sys/ucontext.h.
42476         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
42477         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
42479 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
42481         [BZ #15605]
42482         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
42484 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42486         [BZ#16431]
42487         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42488         Adjust the vDSO correctly for internal calls.
42489         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
42491 2014-01-20  Allan McRae  <allan@archlinux.org>
42493         * po/ca.po: Update Catalan translation from translation project.
42495 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
42497         * sysdeps/s390/sotruss-lib.c: New file.
42499 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42501         [BZ#16430]
42502         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
42503         (__GI___gettimeofday): Alias for a different internal symbol to avoid
42504         local calls issues by not having a PLT stub required for IFUNC calls.
42505         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
42507 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
42509         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
42510         * math/test-fpucw-static.c: Likewise.
42512 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42514         [BZ #16453]
42515         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
42517 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42519         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
42520         implementation for powerpc.
42522 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
42524         [BZ #14782]
42525         * sysdeps/posix/system.c (__libc_system): Do not enable
42526         asynchronous cancellation.
42528 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42530         [BZ #16427]
42531         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
42532         handling only for numbers special also in the IEEE case.
42534 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42536         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42538 2014-01-11  Allan McRae  <allan@archlinux.org>
42540         * po/bg.po: Update Bulgarian translation from translation project.
42542         * po/de.po: Update German translation from translation project.
42544 2014-01-10  Roland McGrath  <roland@hack.frob.com>
42546         * sysdeps/generic/gcc-compat.h: New file.
42548 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42550         * benchtests/asin-inputs: Correct slow inputs.
42551         * benchtests/acos-inputs: Likewise.
42553 2014-01-10  Allan McRae  <allan@archlinux.org>
42555         * po:sv.po: Update Swedish translation from translation project.
42557         * po/vi.po: Update Vietnamese translation from translation project.
42559         * po/eo.po: Update Esperanto translation from translation project.
42561         * po/cs.po: Update Czech translation from translation project.
42563         * po/nl.po: Update Dutch translation from translation project.
42565         * po/pl.po: Update Polish translation from translation project.
42567         * po/ru.po: Update Russian translation from translation project.
42569         * po/uk.po: Update Ukrainian translation from translation project.
42571 2014-01-08  Brooks Moses  <bmoses@google.com>
42573         * elf/dl-load.c: Fix comment typo.
42575 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
42577         * po/header.pot: Rename to...
42578         * po/pot.header: ... this.
42579         * po/Makefile: Use pot.header.
42581 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
42582             Maxim Kuvyrkov  <maxim@kugelworks.com>
42584         [BZ #16394]
42585         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
42586         SRC and DEST against LEN.
42588 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42590         [BZ #16414]
42591         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
42592         implementation.
42593         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
42595 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42599 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
42601         [BZ #16408]
42602         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
42603         for large positive arguments.
42605 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
42607         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42609         * math/auto-libm-test-in: Mark various tests with
42610         xfail-rounding:ldbl-128ibm.
42611         * math/auto-libm-test-out: Regenerated.
42613         [BZ #16407]
42614         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42615         Increase overflow threshold.
42617 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
42619         [BZ #14286]
42620         * stdio-common/vfprintf.c: Check for integer overflow.
42622 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42624         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
42625         the first argument and return value of __tls_get_addr_internal.
42627 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42629         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
42630         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
42632 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42634         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
42635         * sysdeps/s390/rtld-global-offsets.sym: New file.
42636         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
42637         GLIBC_2.19 symbol.
42638         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
42639         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
42640         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42641         ... this.
42642         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
42643         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42644         ... this.
42645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42646         Regenerate.
42647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42648         Regenerate.
42649         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
42650         halfs of GPRs for high_gprs contexts.
42651         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
42652         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
42653         field.
42654         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
42655         uc_flags field.
42656         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
42657         64 bit versions:
42658         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
42659         for high GPRs (uc_high_gprs) and for future extensions
42660         (__reserved).
42661         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
42662         for future extensions (__reserved).
42663         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
42664         64 bit versions:
42665         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
42666         SC_HIGHGPRS offset definition.
42667         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
42668         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
42670         * Versions.def: Add GLIBC_2.19 for libpthread.
42671         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
42672         siglongjmp for libpthread with GLIBC_2.19 symver.
42673         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
42674         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
42675         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
42676         * sysdeps/s390/__longjmp.c: New file.
42677         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
42678         * sysdeps/s390/longjmp.c: New file.
42679         * sysdeps/s390/setjmp.S: New file.
42680         * sysdeps/s390/sigjmp.S: New file.
42681         * sysdeps/s390/v1-longjmp.c: New file.
42682         * sysdeps/s390/v1-setjmp.h: New file.
42683         * sysdeps/s390/v1-sigjmp.c: New file.
42684         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
42685         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
42686         GLIBC_2.19 version.
42687         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
42688         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
42689         versioned symbols for ____longjmp_chk.
42690         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42691         Likewise.
42692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42693         Regenerate.
42694         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42695         Regenerate.
42696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42697         Regenerate.
42698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42699         Regenerate.
42700         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
42701         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
42702         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
42703         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
42704         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
42705         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
42706         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
42707         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
42708         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
42709         * sysdeps/s390/rtld-__longjmp.c: New file.
42710         * sysdeps/s390/rtld-setjmp.S: New file.
42712 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
42714         [BZ #16400]
42715         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42716         Return -__logl (x) for small positive arguments without evaluating
42717         a polynomial.
42719 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
42721         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
42722         Rename to ...
42723         (__ptrace_peeksiginfo_args): ... this.
42724         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42725         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42726         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42728 2014-01-06  Allan McRae  <allan@archlinux.org>
42730         * inet/netinet/in.h: Fix typo in comment.
42732 2014-01-05  Andreas Jaeger  <aj@suse.de>
42734         * sysdeps/i386/fpu/libm-test-ulps: Update.
42736 2014-01-05  Allan McRae  <allan@archlinux.org>
42738         * po/libc.pot: Regenerated.
42740         * malloc/memusagestat.c: Fix gettext call formatting.
42742 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
42744         * nscd/nscd.c: Improve usage() output.
42746 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
42748         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
42749         * sysdeps/unix/sysv/linux/configure: Regenerated.
42750         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
42751         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
42753 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42755         [BZ #16390]
42756         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42757         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
42759 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42761         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
42762         extra tokens at end of #undef directive.
42763         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
42764         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
42765         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42767 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42769         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42771         * math/auto-libm-test-in: Mark various tests with
42772         xfail-rounding:ldbl-128ibm.
42773         * math/auto-libm-test-out: Regenerated.
42775 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
42777         [BZ #16386]
42778         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
42779         numbers with subnormal high part when calculating exponent.
42781         [BZ #16385]
42782         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
42783         fabs.
42785         [BZ #16384]
42786         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
42787         M_LN2l.
42788         (__ieee754_acoshl): Use __log1pl not __log1p.
42790 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
42792         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
42793         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
42794         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
42795         (grow_heap, heap_trim, _int_new_arena, get_free_list)
42796         (reused_arena, arena_get2): Convert to GNU style.
42797         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
42798         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
42799         (memalign_check, __malloc_set_state): Likewise.
42800         * malloc/mallocbug.c (main): Likewise.
42801         * malloc/malloc.c (__malloc_assert, malloc_init_state)
42802         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
42803         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
42804         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
42805         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
42806         (__posix_memalign, malloc_info): Likewise.
42807         * malloc/malloc.h: Likewise.
42808         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
42809         (mallochook, memalignhook, reallochook, mabort): Likewise.
42810         * malloc/mcheck.h: Likewise.
42811         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
42812         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
42813         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
42814         * malloc/morecore.c (__default_morecore): Likewise.
42815         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
42816         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
42817         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
42818         (print_and_abort): Likewise.
42819         * malloc/obstack.h: Likewise.
42820         * malloc/set-freeres.c (__libc_freeres): Likewise.
42821         * malloc/tst-mallocstate.c (main): Likewise.
42822         * malloc/tst-mtrace.c (main): Likewise.
42823         * malloc/tst-realloc.c (do_test): Likewise.
42825 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42827         [BZ #16366]
42828         * nscd/netgroupcache.c (do_notfound): New function.
42829         (addgetnetgrentX): Use it.
42831         [BZ # 16365]
42832         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
42833         NSS_STATUS_NOTFOUND.
42835 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
42837         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42840 2014-01-01  Allan McRae  <allan@archlinux.org>
42842         * scripts/update-copyrights: Update configure input file suffix.
42844         * NEWS: Update copyright year.
42845         * catgets/gencat.c: Likewise.
42846         * csu/version.c: Likewise.
42847         * debug/catchsegv.sh: Likewise.
42848         * debug/pcprofiledump.c: Likewise.
42849         * debug/xtrace.sh: Likewise.
42850         * elf/ldconfig.c: Likewise.
42851         * elf/ldd.bash.in: Likewise.
42852         * elf/pldd.c: Likewise.
42853         * elf/sotruss.ksh: Likewise.
42854         * elf/sprof.c: Likewise.
42855         * iconv/iconv_prog.c: Likewise.
42856         * iconv/iconvconfig.c: Likewise.
42857         * locale/programs/locale.c: Likewise.
42858         * locale/programs/localedef.c: Likewise.
42859         * login/programs/pt_chown.c: Likewise.
42860         * malloc/memusage.sh: Likewise.
42861         * malloc/memusagestat.c: Likewise.
42862         * malloc/mtrace.pl: Likewise.
42863         * manual/libc.texinfo: Likewise.
42864         * nscd/nscd.c: Likewise.
42865         * nss/getent.c: Likewise.
42866         * nss/makedb.c: Likewise.
42867         * posix/getconf.c: Likewise.
42868         * scripts/test-installation.pl: Likewise.
42870         * All files with FSF copyright notices: Update copyright dates
42871         using scripts/update-copyrights.
42872         * intl/plural.c: Regenerated.
42873         * locale/programs/charmap-kw.h: Likewise.
42874         * locale/programs/locfile-kw.h: Likewise.
42876 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
42878         * sysdeps/unix/sysv/linux/configure: Regenerated.
42879         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
42880         the linux/fanotify.h header.
42881         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
42882         HAVE_LINUX_FANOTIFY_H is defined.
42884 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42886         * benchtests/cos-inputs: New inputs.
42887         * benchtests/sin-inputs: Likewise.
42889         * benchtests/atan-inputs: New inputs. Fix name of multiple
42890         precision fallback inputs.
42892         * benchtests/atanh-inputs: New inputs.
42893         * benchtests/tanh-inputs: Likewise.
42895         * benchtests/acosh-inputs: New inputs.
42896         * benchtests/asinh-inputs: Likewise.
42898         * benchtests/cosh-inputs: New inputs.
42899         * benchtests/sinh-inputs: Likewise.
42901         * benchtests/acos-inputs: Add more inputs.
42902         * benchtests/asin-inputs: Likewise.
42904 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
42906         [BZ #16375]
42907         * manual/arith.texi: Fix spelling.
42908         * manual/charset.texi: Likewise.
42909         * manual/errno.texi: Likewise.
42910         * manual/filesys.texi: Likewise.
42911         * manual/lang.texi: Likewise.
42912         * manual/llio.texi: Likewise.
42913         * manual/locale.texi: Likewise.
42914         * manual/message.texi: Likewise.
42915         * manual/resource.texi: Likewise.
42916         * manual/search.texi: Likewise.
42917         * manual/setjmp.texi: Likewise.
42918         * manual/stdio.texi: Likewise.
42919         * manual/string.texi: Likewise.
42920         * manual/sysinfo.texi: Likewise.
42921         * manual/time.texi: Likewise.
42923 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
42925         * po/sl.po: New file.
42927 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
42929         * .gitignore: Add core/.gdbinit/.gdb_history.
42931 2013-12-27  Allan McRae  <allan@archlinux.org>
42933         [BZ #16369]
42934         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
42935         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
42937 2013-12-24  Brooks Moses  <bmoses@google.com>
42939         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
42940         all compilers that claim C++98 compliance, not just GCC.
42941         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
42942         Likewise.
42944 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42946         * NEWS: Restore accidentally deleted bug-fix entries.
42948 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42949             Ondřej Bílka  <neleai@seznam.cz>
42951         [BZ #15073]
42952         * malloc/malloc.c (_int_free): Perform sanity check only if we
42953         have_lock.
42955 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
42957         [BZ #12986]
42958         * manual/stdio.texi (String Input Conversions): Clarify that character
42959         classes are not supported.
42961 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42965 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
42967         [BZ #16337]
42968         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42969         Calculate results for small negative arguments directly rather
42970         than using reflection formula with special underflow handling.
42972         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
42973         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
42974         sysdeps/unix/bsd/bsd4.4/syscalls.list.
42975         (fchflags): Likewise.
42976         (revoke): Likewise.
42977         (setlogin): Likewise.
42978         (sigaltstack): Likewise.
42979         (wait4): Likewise.
42980         (sigblock): Remove.
42981         (sigsetmask): Likewise.
42982         (wait3): Likewise.
42983         (waitpid): Likewise.
42984         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
42985         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
42986         file.
42987         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
42988         * sysdeps/unix/bsd/Makefile: ... here.
42989         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
42990         * sysdeps/unix/bsd/Versions: ... here.
42991         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
42992         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
42993         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
42994         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
42995         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
42996         * sysdeps/unix/bsd/sigblock.c: ... here.
42997         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
42998         * sysdeps/unix/bsd/sigsetmask.c: ... here.
42999         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
43000         * sysdeps/unix/bsd/sigvec.c: ... here.
43001         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
43002         * sysdeps/unix/bsd/tcdrain.c: ... here.
43003         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
43004         * sysdeps/unix/bsd/tcgetattr.c: ... here.
43005         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
43006         * sysdeps/unix/bsd/tcsetattr.c: ... here.
43007         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
43008         * sysdeps/unix/bsd/wait.c: ... here.
43009         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
43010         * sysdeps/unix/bsd/wait3.c: ... here.
43011         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
43012         * sysdeps/unix/bsd/waitpid.c: ... here.
43014 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
43016         [BZ #16356]
43017         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
43018         round-to-nearest for [!USE_AS_EXPM1L].
43019         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
43020         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
43021         more tests of exp and exp10.  Expect some exp10 tests to miss
43022         exceptions or fail in directed rounding modes.
43023         * math/auto-libm-test-out: Regenerated.
43024         * math/libm-test.inc (exp10_tonearest_test_data): New array.
43025         (exp10_test_tonearest): New function.
43026         (exp10_towardzero_test_data): New array.
43027         (exp10_test_towardzero): New function.
43028         (exp10_downward_test_data): New array.
43029         (exp10_test_downward): New function.
43030         (exp10_upward_test_data): New array.
43031         (exp10_test_upward): New function.
43032         (main): Call the new functions.
43033         * sysdeps/i386/fpu/libm-test-ulps: Update.
43034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43036 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
43038         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
43039         asinh, atan, atan2, atanh, cbrt, cos and cosh.
43040         * math/auto-libm-test-out: Regenerated.
43041         * math/libm-test.inc (acosh_test_data): Add more tests.
43042         (atanh_test_data): Likewise.
43043         (ceil_test_data): Likewise.
43044         (copysign_test_data): Likewise.
43045         * sysdeps/i386/fpu/libm-test-ulps: Update.
43046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43048         * timezone/checktab.awk: Update from tzcode 2013i.
43049         * timezone/private.h: Likewise.
43050         * timezone/scheck.c: Likewise.
43051         * timezone/tzfile.h: Likewise.
43052         * timezone/tzselect.ksh: Likewise.
43053         * timezone/zdump.c: Likewise.
43054         * timezone/zic.c: Likewise.
43056         * math/auto-libm-test-in: Add tests of cpow.
43057         * math/auto-libm-test-out: Regenerated.
43058         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
43059         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43060         mpc_cc_c.
43061         (func_calc_desc): Add mpc_cc_c union field.
43062         (test_functions): Add cpow.
43063         (special_fill_2pi): New function.
43064         (special_real_inputs): Add 2pi.
43065         (calc_generic_results): Handle mpc_cc_c.
43066         * sysdeps/i386/fpu/libm-test-ulps: Update.
43067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43069         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
43070         csqrt, ctan and ctanh.
43071         * math/auto-libm-test-out: Regenerated.
43072         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43073         (TEST_COND_x86): Likewise.
43074         (ccos_test_data): Use AUTO_TESTS_c_c.
43075         (ccosh_test_data): Likewise.
43076         (cexp_test_data): Likewise.
43077         (clog_test_data): Likewise.
43078         (csqrt_test_data): Likewise.
43079         (ctan_test_data): Likewise.
43080         (ctan_tonearest_test_data): Likewise.
43081         (ctan_towardzero_test_data): Likewise.
43082         (ctan_downward_test_data): Likewise.
43083         (ctan_upward_test_data): Likewise.
43084         (ctanh_test_data): Likewise.
43085         (ctanh_tonearest_test_data): Likewise.
43086         (ctanh_towardzero_test_data): Likewise.
43087         (ctanh_downward_test_data): Likewise.
43088         (ctanh_upward_test_data): Likewise.
43089         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43090         mpc_c_c.
43091         (func_calc_desc): Add mpc_c_c union field.
43092         (FUNC_mpc_c_c): New macro.
43093         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
43094         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
43095         ctanh.
43096         (special_fill_min_subnorm_p120): New function.
43097         (special_real_inputs): Add min_subnorm_p120.
43098         (calc_generic_results): Handle mpc_c_c.
43099         * sysdeps/i386/fpu/libm-test-ulps: Update.
43100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43102 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43104         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
43105         (do_sin_slow): New functions.
43106         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
43107         (cslow2, csloww1, csloww2): Use the new functions.
43109         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
43110         Use M to change sign of result instead of X.  Assume X is
43111         positive.
43112         (csloww1): Likewise.
43113         (__sin): Adjust.
43114         (__cos): Adjust.
43116         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
43117         arguments A and DA.
43118         (__sin): Adjust.
43119         (__cos): Likewise.
43121         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
43122         (__cos): Likewise.
43123         (sloww1): Don't adjust sign of DX.
43124         (csloww1): Likewise.
43125         (sloww2): Use X directly and don't adjust sign of DX.
43126         (csloww2): Likewise.
43128 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43130         * math/auto-libm-test-in: Add tests of cabs and carg.
43131         * math/auto-libm-test-out: Regenerated.
43132         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
43133         (carg_test_data): Likewise.
43134         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43135         mpc_c_f.
43136         (func_calc_desc): Add mpc_c_f union field.
43137         (test_functions): Add cabs and carg.
43138         (calc_generic_results): Handle mpc_c_f.
43140         * sysdeps/powerpc/powerpc32/libgcc-compat.S
43141         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
43142         as a macro and a compat symbol.
43143         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43144         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43145         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43146         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43147         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
43148         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
43149         not use .hidden.
43150         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
43151         Likewise.
43152         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
43153         Likewise.
43154         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
43155         Likewise.
43156         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
43157         Likewise.
43158         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
43159         Likewise.
43160         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
43161         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
43162         from GLIBC_2.3.2.
43164 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43168 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43170         * manual/texinfo.tex: Update to version 2013-11-26.10 with
43171         trailing whitespace removed.
43172         * scripts/config.guess: Update to version 2013-11-29.
43173         * scripts/config.sub: Update to version 2013-10-01.
43175         * math/auto-libm-test-in: Add tests of sincos.
43176         * math/auto-libm-test-out: Regenerated.
43177         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
43178         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43179         mpfr_f_11.
43180         (func_calc_desc): Add mpfr_f_11 union field.
43181         (test_functions): Add sincos.
43182         (calc_generic_results): Handle mpfr_f_11.
43183         * sysdeps/i386/fpu/libm-test-ulps: Update.
43184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43186 2013-12-19  Andreas Schwab  <schwab@suse.de>
43188         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
43189         CALL_MCOUNT.
43190         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
43191         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
43192         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
43194 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43196         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
43197         * sysdeps/i386/fpu/libm-test-ulps: Update.
43198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43200         [BZ #16293]
43201         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
43202         round-to-nearest mode when using frndint.
43203         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
43204         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43205         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43206         Likewise.
43207         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
43208         sinh test to fail.
43209         * math/auto-libm-test-out: Regenerated.
43210         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
43211         (TEST_COND_x86): Likewise.
43212         (expm1_tonearest_test_data): New array.
43213         (expm1_test_tonearest): New function.
43214         (expm1_towardzero_test_data): New array.
43215         (expm1_test_towardzero): New function.
43216         (expm1_downward_test_data): New array.
43217         (expm1_test_downward): New function.
43218         (expm1_upward_test_data): New array.
43219         (expm1_test_upward): New function.
43220         (main): Run the new test functions.
43221         * sysdeps/i386/fpu/libm-test-ulps: Update.
43222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43224         * include/features.h: Update comment documenting feature test
43225         macros.  Mention _DEFAULT_SOURCE in comment.
43226         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
43227         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
43228         _BSD_SOURCE and _SVID_SOURCE.
43229         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
43230         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
43231         !_SVID_SOURCE]: Likewise.
43232         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43233         (__USE_POSIX_IMPLICITLY): Define.
43234         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43235         (_POSIX_SOURCE): Undefine and redefine.
43236         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43237         (_POSIX_C_SOURCE): Likewise.
43238         * manual/creature.texi (_DEFAULT_SOURCE): Document.
43239         (Feature Test Macros): Update documentation of default features.
43241 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43243         * benchtests/Makefile: Add bench-strtok.
43244         * benchtests/bench-strtok.c: New file: strtok benchtest.
43246 2013-12-19  Allan McRae  <allan@archlinux.org>
43248         * manual/install.texi: Suppress menu for plain text output.
43249         * INSTALL: Regenerated.
43251 2013-12-18  Brooks Moses  <bmoses@google.com>
43253         [BZ #15846]
43254         * misc/getauxval.c: Include errno.h.
43255         (__getauxval): Set errno to ENOENT if the requested type is not
43256         found.
43257         * misc/sys/auxv.h (getauxval): Document that it may set errno;
43258         don't declare with __attribute_const__.
43259         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
43260         * manual/startup.texi: Document that getauxval sets errno.
43262 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43264         * math/auto-libm-test-in: Add tests of jn and yn.
43265         * math/auto-libm-test-out: Regenerated.
43266         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
43267         (yn_test_data): Likewise.
43268         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43269         mpfr_if_f.
43270         (func_calc_desc): Add mpfr_if_f union field.
43271         (FUNC_mpfr_if_f): New macro.
43272         (test_functions): Add jn and yn.
43273         (calc_generic_results): Assert type of second input for
43274         mpfr_ff_f.  Handle mpfr_if_f.
43275         (output_for_one_input_case): Disable all checking for arguments
43276         fitting floating-point types in case of an integer argument.
43277         * sysdeps/i386/fpu/libm-test-ulps: Update.
43278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43281         Don't expect fegetround reference in libm.so.
43283 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43285         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
43286         $(config-cflags-nofma).
43288 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43290         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
43291         * math/auto-libm-test-out: Regenerated.
43293         [BZ #16338]
43294         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
43295         to determine exponent and adjust argument to have exponent of -1.
43296         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
43297         log2.
43298         * math/auto-libm-test-out: Regenerated.
43299         * sysdeps/i386/fpu/libm-test-ulps: Update.
43300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43302 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
43304         * manual/probes.texi: Remove cases when per-thread arenas are
43305         disabled.
43307 2013-12-18  Andreas Schwab  <schwab@suse.de>
43309         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
43310         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
43311         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
43312         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
43313         * sysdeps/i386/i686/multiarch/Makefile: Update.
43314         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
43316 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43318         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
43319         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
43321 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
43323         [BZ #15968]
43324         Support TZ transition times < 00:00:00.
43325         This is needed for version-3 tz-format files; it supports time
43326         stamps past 2037 for America/Godthab (the only entry in the tz
43327         database for which this change is relevant).
43328         * manual/time.texi (TZ Variable): Document transition times
43329         from -167:59:59 through -00:00:01.
43330         * time/tzset.c (tz_rule): Time of day is now signed.
43331         (__tzset_parse_tz): Parse negative time of day.
43333         Document TZ transition times >= 25:00:00.
43334         * manual/time.texi (TZ Variable): Document transition times from
43335         25:00:00 through 167:59:59.  These are already supported, and this
43336         support will help with version-3 tz-format files.
43338         * manual/time.texi (TZ Variable): Modernize North America example
43339         to reflect current (i.e., 2007-and-later) daylight saving rules.
43341         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
43343 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43345         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
43346         * sysdeps/unix/bsd/bits/stat.h: Likewise.
43347         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
43348         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43349         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
43350         * sysdeps/unix/bsd/bsdstat.h: Likewise.
43351         * sysdeps/unix/bsd/clock.c: Likewise.
43352         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
43353         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
43354         * sysdeps/unix/bsd/init-posix.c: Likewise.
43355         * sysdeps/unix/bsd/poll.c: Likewise.
43356         * sysdeps/unix/bsd/ptsname.c: Likewise.
43357         * sysdeps/unix/bsd/seekdir.c: Likewise.
43358         * sysdeps/unix/bsd/setegid.c: Likewise.
43359         * sysdeps/unix/bsd/seteuid.c: Likewise.
43360         * sysdeps/unix/bsd/setgid.c: Likewise.
43361         * sysdeps/unix/bsd/setrgid.c: Likewise.
43362         * sysdeps/unix/bsd/setruid.c: Likewise.
43363         * sysdeps/unix/bsd/setsid.c: Likewise.
43364         * sysdeps/unix/bsd/setuid.c: Likewise.
43365         * sysdeps/unix/bsd/sigaction.c: Likewise.
43366         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
43367         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
43368         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
43369         * sysdeps/unix/bsd/telldir.c: Likewise.
43370         * sysdeps/unix/bsd/times.c: Likewise.
43371         * sysdeps/unix/bsd/usleep.c: Likewise.
43373         * misc/Makefile (install-lib): Remove libbsd-compat.a.
43374         ($(objpfx)libbsd-compat.a): Remove rule.
43376         * include/features.h (__FAVOR_BSD): Do not define.
43377         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
43378         features conflicting with POSIX.
43379         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
43380         (_BSD_SOURCE): Remove description of not being a subset of other
43381         feature test macros.
43382         * manual/job.texi (getpgrp): Do not document BSD version.
43383         (getpgid): Do not document by reference to BSD getpgrp.
43384         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
43385         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
43386         * signal/signal.h [__FAVOR_BSD]: Likewise.
43387         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
43388         instead of making contents conditional on [__FAVOR_BSD].
43389         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
43391 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43393         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43395 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43397         [BZ #16314]
43398         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
43399         values below 2**-450, not 2**-500.
43400         * math/auto-libm-test-in: Don't allow spurious underflow from
43401         hypot.
43402         * math/auto-libm-test-out: Regenerated.
43404         [BZ #16316]
43405         [BZ #16330]
43406         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
43407         values of ha and hb and sort them after adjusting subnormal
43408         arguments.
43409         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
43410         Likewise.
43411         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
43412         values of ea and eb and sort them after adjusting subnormal
43413         arguments.
43414         * math/auto-libm-test-in: Do not expect some hypot tests of
43415         subnormals to fail.  Add more hypot tests.
43416         * math/auto-libm-test-out: Regenerated.
43418 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43420         [BZ #13304]
43421         * sysdeps/sh/s_fma.c: New file.
43422         * sysdeps/sh/s_fmaf.c: New file.
43423         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
43424         version.
43425         * sysdeps/sh/Implies: Add sh/soft-fp.
43427 2013-12-16  Roland McGrath  <roland@hack.frob.com>
43429         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
43430         level of indirection to members `objname', `errstring', `malloced'.
43431         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
43432         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
43433         it as the __longjmp argument (just pass 1 instead).
43434         (_dl_catch_error): Initialize C with argument pointers and address of
43435         volatile local ERRCODE rather than copying values out of C at return.
43437 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
43439         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
43440         * math/auto-libm-test-out: Regenerated.
43441         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
43442         (hypot_test_data): Likewise.
43443         (pow_test_data): Likewise.
43444         (pow_tonearest_test_data): Likewise.
43445         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43446         mpfr_ff_f.
43447         (func_calc_desc): Add mpfr_ff_f union field.
43448         (FUNC_mpfr_ff_f): New macro.
43449         (test_functions): Add atan2, hypot and pow.
43450         (special_fill_min): New function.
43451         (special_fill_minus_min): Likewise.
43452         (special_fill_min_subnorm): Likewise.
43453         (special_fill_minus_min_subnorm): Likewise.
43454         (special_real_inputs): Add min, -min, min_subnorm and
43455         -min_subnorm.
43456         (calc_generic_results): Handle mpfr_ff_f.
43457         * sysdeps/i386/fpu/libm-test-ulps: Update.
43458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43460 2013-12-16  Will Newton  <will.newton@linaro.org>
43462         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
43463         (Aligned Memory Blocks): Add documentation for aligned_alloc
43464         and suggest it as an alternative to posix_memalign.
43465         (Hooks for Malloc): Document __memalign_hook is also called
43466         for aligned_alloc.  (Summary of Malloc): Add summary for
43467         aligned alloc.  Document __memalign_hook is also called
43468         for aligned_alloc.
43470 2013-12-16  Will Newton  <will.newton@linaro.org>
43472         * manual/memory.texi (Malloc Examples): Clarify default
43473         alignment documentation.  Suggest posix_memalign rather
43474         than memalign or valloc.
43475         (Aligned Memory Blocks): Remove suggestion to use memalign
43476         or valloc.  Remove obsolete comment about BSD.
43477         Document memalign errno values and mark the function obsolete.
43478         Document posix_memalign returned error codes.  Mark valloc
43479         as obsolete.  (Hooks for Malloc): __memalign_hook is also
43480         called for posix_memalign and valloc.
43481         (Summary of Malloc): Add posix_memalign to function summary.
43482         __memalign_hook is also called for posix_memalign and valloc.
43484 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43486         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
43487         TAYLOR_SIN.
43488         (__sin): Adjust.
43489         (__cos): Likewise.
43490         (sloww): Use mynumber union.  Expand ternary operator into
43491         if-else statements.
43492         (cslow): use mynumber union.
43494 2013-12-16  Allan McRae  <allan@archlinux.org>
43496         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
43497         * configure: Regenerated.
43499         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
43501         [BZ #14120]
43502         * configure.ac: Added --enable-maintainer-mode. Check for
43503         autoconf when enabled.
43504         * configure: Regenerated.
43506         * nscd/nscd.service: New file.
43507         * nscd/nscd.tmpfiles: New file.
43509 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
43511         [BZ #12100]
43512         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
43513         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
43514         * sysdeps/x86_64/multiarch/strstr.c: ... here.
43515         (strstr): Add __strstr_sse2_unaligned ifunc.
43516         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
43517         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
43518         (strcasestr): Remove __strcasestr_sse42 ifunc.
43519         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
43520         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43521         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43523 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43525         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
43526         * sysdeps/sh/bits/fenv.h: ... here.
43527         * sysdeps/sh/sh4/fpu/bits: Remove directory.
43529 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43531         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
43533         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
43534         hypotf multiarch implementations.
43535         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
43536         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
43537         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
43538         multiarch hypot for PPC64.
43539         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
43540         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
43541         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
43542         multiarch hypotf for PPC64.
43544         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
43545         modff multiarch implementations.
43546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
43547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
43548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
43549         multiarch modf for PPC64.
43550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
43551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
43552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
43553         multiarch modff for PPC64.
43555         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
43556         and logl multiarch implementations.
43557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
43558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
43559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
43560         multiarch logb for PPC64.
43561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
43562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
43563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
43564         multiarch logb for PPC64.
43565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
43566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
43567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
43568         multiarch logb for PPC64.
43570         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
43571         isinff multiarch implementation.
43572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
43573         file.
43574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
43575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
43576         multiarch isinf for PPC64.
43577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
43578         file.
43579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
43580         multiarch isinff for PPC64.
43582         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
43583         finitef multiarch implementation.
43584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
43585         file.
43586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
43587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
43588         multiarch finite for PPC64.
43589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
43590         file.
43591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
43592         multiarch finitef for PPC64.
43594         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
43595         lrint multiarch implementation.
43596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
43597         file.
43598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
43599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
43600         multiarch llrint for PPC64.
43601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
43602         multiarch lrint for PPC64.
43604         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
43605         copysignf multiarch implementation.
43606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
43607         file.
43608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
43609         file.
43610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
43611         multiarch copysign for PPC64.
43612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
43613         multiarch copysignf for PPC64.
43615         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
43616         multiarch implementation.
43617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
43618         file.
43619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
43620         file.
43621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
43622         file.
43623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
43624         file.
43625         multiarch llround for PPC64.
43626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
43627         multiarch trunc for PPC64.
43628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
43629         multiarch truncf for PPC64.
43631         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
43632         multiarch implementation.
43633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
43634         file.
43635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
43636         file.
43637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
43638         file.
43639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
43640         file.
43641         multiarch llround for PPC64.
43642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
43643         multiarch round for PPC64.
43644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
43645         multiarch roundf for PPC64.
43647         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
43648         multiarch implementation.
43649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
43650         file.
43651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
43652         file.
43653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
43654         file.
43655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
43656         file.
43657         multiarch llround for PPC64.
43658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
43659         multiarch floor for PPC64.
43660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
43661         multiarch floorf for PPC64.
43663         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
43664         multiarch implementation.
43665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
43666         file.
43667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
43668         file.
43669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
43670         file.
43671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
43672         file.
43673         multiarch llround for PPC64.
43674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
43675         multiarch ceil for PPC64.
43676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
43677         multiarch ceilf for PPC64.
43679         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43680         multiarch implementation.
43681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
43682         file.
43683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
43684         file.
43685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
43686         file.
43687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
43688         multiarch llround for PPC64.
43689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
43690         multiarch lround for PPC64.
43692         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43693         multiarch implementation.
43694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
43695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
43696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
43697         file.
43698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
43699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
43700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
43701         multiarch isnan for PPC64.
43702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
43703         multiarch isnanf for PPC64.
43705         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
43706         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
43707         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
43708         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
43709         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
43710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
43712         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
43713         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43714         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43715         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43717         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
43718         multiarch implementations.
43719         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43720         (__libc_ifunc_impl_list): Likewise.
43721         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
43722         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
43723         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
43724         multiarch stpcpy for PPC64.
43726         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
43727         multiarch implementations.
43728         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43729         (__libc_ifunc_impl_list): Likewise.
43730         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
43731         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
43732         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
43733         multiarch strcpy for PPC64.
43735         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
43736         redefine function name.
43737         (_wordcopy_fwd_dest_aligned): Likewise.
43738         (_wordcopy_bwd_aligned): Likewise.
43739         (_wordcopy_bwd_dest_aligned): Likewise.
43740         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
43741         multiarch implementations.
43742         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43743         (__libc_ifunc_impl_list): Likewise.
43744         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
43745         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
43746         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
43747         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
43748         multiarch wcscpy for PPC64.
43750         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
43751         multiarch implementations.
43752         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43753         (__libc_ifunc_impl_list): Likewise.
43754         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
43755         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
43756         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
43757         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
43758         multiarch wcscpy for PPC64.
43760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
43761         multiarch implementations.
43762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43763         (__libc_ifunc_impl_list): Likewise.
43764         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
43765         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
43766         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
43767         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
43768         multiarch wcsrchr for PPC64.
43770         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
43771         multiarch implementations.
43772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43773         (__libc_ifunc_impl_list): Likewise.
43774         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
43775         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
43776         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
43777         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
43778         multiarch wcschr for PPC64.
43780         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
43781         multiarch implementations.
43782         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43783         (__libc_ifunc_impl_list): Likewise.
43784         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
43785         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
43786         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
43787         multiarch strchrnul for PPC64.
43789         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
43790         implementations.
43791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43792         (__libc_ifunc_impl_list): Likewise.
43793         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
43794         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
43795         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
43796         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
43797         strchr for PPC64.
43799         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
43800         implementations.
43801         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43802         (__libc_ifunc_impl_list): Likewise.
43803         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
43804         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
43805         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
43806         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
43807         strncmp for PPC64.
43809         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
43810         multiarch implementations.
43811         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43812         (__libc_ifunc_impl_list): Likewise.
43813         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
43814         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
43815         strncasecmp for PPC64.
43816         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
43817         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
43818         multiarch strncasecmp_l for PPC64.
43820         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
43821         multiarch implementations.
43822         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43823         (__libc_ifunc_impl_list): Likewise.
43824         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
43825         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
43826         multiarch strcasecmp for PPC64.
43827         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
43828         file.
43829         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
43830         multiarch strcasecmp_l for PPC64.
43832         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
43833         implementations.
43834         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43835         (__libc_ifunc_impl_list): Likewise.
43836         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
43837         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
43838         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
43839         strnlen for PPC64.
43841         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
43842         implementations.
43843         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43844         (__libc_ifunc_impl_list): Likewise.
43845         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
43846         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
43847         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
43848         strlen for PPC64.
43850         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
43851         implementations.
43852         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43853         (__libc_ifunc_impl_list): Likewise.
43854         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
43855         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
43856         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
43857         rawmemrchr for PPC64.
43859         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
43860         implementation.
43861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43862         (__libc_ifunc_impl_list): Likewise.
43863         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
43864         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
43865         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
43866         memrchr for PPC64.
43868         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
43869         implementation.
43870         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43871         (__libc_ifunc_impl_list): Likewise.
43872         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
43873         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
43874         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
43875         memchr for PPC64.
43877         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
43878         implementation.
43879         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43880         (__libc_ifunc_impl_list): Likewise.
43881         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
43882         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
43883         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
43884         mempcpy for PPC64.
43886         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
43887         avoid cretion of __bzero symbol.
43888         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
43889         Likewise.
43890         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
43891         Likewise.
43892         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
43893         Likewise.
43894         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
43895         multiarch implementations.
43896         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43897         (__libc_ifunc_impl_list): Likewise.
43898         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
43899         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
43900         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
43901         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
43902         bzero for PPC32.
43903         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
43904         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
43905         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
43906         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
43907         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
43908         memset for PPC64.
43909         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
43911         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
43912         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
43913         implementations.
43914         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43915         (__libc_ifunc_impl_list): Likewise.
43916         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
43917         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
43918         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
43919         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
43920         memcmp for PPC64.
43922         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
43923         multiarch for POWER/PPC64.
43924         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
43925         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
43926         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
43927         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
43928         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
43929         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
43930         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
43931         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
43932         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
43933         memcpy for PPC64.
43935         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
43936         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
43937         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
43938         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
43939         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
43940         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
43941         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
43942         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
43943         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
43944         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
43945         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
43946         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
43947         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
43948         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
43949         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
43950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
43951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
43952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
43953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
43954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
43955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
43956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
43958 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43960         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
43962 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43964         * benchtests/Makefile (bench): Add exp2 and log2.
43965         (LDLIBS-bench-exp2): Add -lm.
43966         (LDLIBS-bench-log2): Likewise.
43967         * benchtests/exp2-inputs: New inputs file.
43968         * benchtests/log2-inputs: New inputs file.
43969         * benchtests/log-inputs: Add new inputs.
43970         * benchtests/tan-inputs: Likewise.
43972 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43974         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
43975         definition...
43976         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
43977         (csloww2): ... from here.
43979         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
43980         instead of structures.
43981         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
43982         (POLYNOMIAL): Likewise.
43983         (TAYLOR_SLOW): Likewise.
43984         (__sin): Likewise.
43985         (__cos): Likewise.
43986         (slow1): Likewise.
43987         (slow2): Likewise.
43988         (sloww): Likewise.
43989         (sloww1); Likewise.
43990         (sloww2): Likewise.
43991         (bsloww1): Likewise.
43992         (bsloww2): Likewise.
43993         (cslow2): Likewise.
43994         (csloww): Likewise.
43995         (csloww1): Likewise.
43996         (csloww2): Likewise.
43998 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
44000         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
44001         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
44002         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
44003         * malloc/hooks.c (realloc_check): Likewise.
44005         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
44006         * malloc/arena.c: Remove PER_THREAD conditional.
44007         [!PER_THREAD]: Remove code.
44008         (ptmalloc_unlock_all2): Likewise.
44009         (ptmalloc_init): Likewise.
44010         (_int_new_arena): Likewise.
44011         (arena_get2): Likewise.
44012         * malloc/hooks.c (__malloc_get_state): Likewise.
44013         (__malloc_set_state): Likewise.
44014         * malloc/malloc.c: Likewise.
44015         (struct malloc_state): Likewise.
44016         (struct malloc_par): Likewise.
44017         (__libc_realloc): Likewise.
44018         (__libc_mallopt): Likewise.
44020 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44022         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
44024 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
44026         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
44027         macro to a function.  Check for zero perturb_byte.
44028         (_int_malloc, _int_free): Remove zero perturb_byte checks.
44030         * malloc/malloc.c: (force_reg): Remove.
44031         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
44032         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
44033         force_reg by atomic_forced_read.
44034         * malloc/arena.c (ptmalloc_init): Likewise.
44035         * malloc/hooks.c (top_check): Likewise.
44037 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44041 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
44043         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44045 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
44047         * math/auto-libm-test-in: Add tests of lgamma.
44048         * math/auto-libm-test-out: Regenerated.
44049         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
44050         (M_LOG_2_SQRT_PIl): Likewise.
44051         (lgamma_test_data): Use AUTO_TESTS_f_f1.
44052         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44053         mpfr_f_f1.
44054         (func_calc_desc): Add mpfr_f_f1 union field.
44055         (ARGS1): New macro.
44056         (ARGS2): Likewise.
44057         (ARGS3): Likewise.
44058         (ARGS4): Likewise.
44059         (RET1): Likewise.
44060         (RET2): Likewise.
44061         (CALC): Likewise.
44062         (FUNC): Likewise.
44063         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
44064         (test_functions): Add lgamma.
44065         (calc_generic_results): Handle mpfr_f_f1.
44066         * sysdeps/i386/fpu/libm-test-ulps: Update.
44067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44069 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44071         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
44072         __mpn_add_n for PowerPC64/POWER7.
44073         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
44074         __mpn_sub_n for PowerPC64/POWER7.
44076         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
44077         __mpn_addmul_1 for PowerPC64.
44078         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
44079         __mpn_submul_1 for PowerPC64.
44080         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
44081         for PowerPC64.
44082         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
44083         for PowerPC64.
44085 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
44087         [BZ #15089]
44088         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
44090 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44092         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
44094         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
44095         add multiarch folders.
44096         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
44097         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
44098         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
44099         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
44100         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
44101         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
44102         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
44103         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
44104         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
44105         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
44106         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
44107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
44108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
44109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
44110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
44111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
44112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
44114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44115         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
44116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
44117         New file.
44118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
44119         New file.
44120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
44121         multiarch __ieee754_hypot for PowerPC32.
44122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
44123         New file.
44124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
44125         New file.
44126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
44127         multiarch __ieee754_hypotf for PowerPC32.
44129         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
44130         long_double_symbol only if __logbl is defined.
44131         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
44132         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
44133         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
44134         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
44135         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
44136         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
44137         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
44138         path for implementation.
44139         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
44140         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
44141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
44142         logb, and logbl multiarch implementations for PowerPC32.
44143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
44144         file.
44145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
44146         file.
44147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
44148         multiarch logb for PowerPC32.
44149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
44150         file.
44151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
44152         file.
44153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
44154         multiarch logbf for PowerPC32.
44155         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
44156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
44157         file.
44158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
44159         multiarch logbl implementation for PowerPC32.
44161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
44162         and modff multiarch implementations.
44163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
44164         New file.
44165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
44166         New file.
44167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
44168         multiarch modf for PowerPC32.
44169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
44170         New file.
44171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
44172         New file.
44173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
44174         multiarch modff for PowerPC32.
44176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
44177         and lrintf multiarch implementations.
44178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
44179         New file.
44180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
44181         New file.
44182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
44183         multiarch lrint for PowerPC32.
44184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
44185         file: multiarch lrintf for PowerPC32.
44187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
44188         and lroundf multiarch implementations.
44189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
44190         New file.
44191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
44192         New file.
44193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
44194         New file.
44195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
44196         multiarch lround for PowerPC32.
44197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
44198         file: multiarch lroundf for PowerPC32.
44200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44201         copysign and copysignf multiarch implementations.
44202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
44203         New file.
44204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
44205         New file.
44206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
44207         file: multiarch copysign for PowerPC32.
44208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
44209         file: multiarch copysignf for PowerPC32.
44211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
44212         and truncf multiarch implementations.
44213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
44214         New file.
44215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
44216         file.
44217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
44218         multiarch trunc for PowerPC32.
44219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
44220         New file.
44221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
44222         New file.
44223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
44224         multiarch truncf for PowerPC32.
44226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
44227         and roundf multiarch implementations.
44228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
44229         New file.
44230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
44231         file.
44232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
44233         multiarch round for PowerPC32.
44234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
44235         New file.
44236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
44237         New file.
44238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
44239         multiarch roundf for PowerPC32.
44241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
44242         and floorf multiarch implementations.
44243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
44244         New file.
44245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
44246         file.
44247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
44248         multiarch floor for PowerPC32.
44249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
44250         New file.
44251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
44252         New file.
44253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
44254         multiarch floorf for PowerPC32.
44256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
44257         and ceilf multiarch implementations.
44258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
44259         New file.
44260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
44261         file.
44262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
44263         multiarch ceil for PowerPC32.
44264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
44265         New file.
44266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
44267         file.
44268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
44269         multiarch ceilf for PowerPC32.
44271         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
44272         is defined.
44273         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
44274         FINITEF is defined.
44275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
44276         and finitef multiarch implementations.
44277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
44278         New file.
44279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
44280         file.
44281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
44282         multiarch finite for PowerPC32.
44283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
44284         New file.
44285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
44286         file: multiarch finitef for PowerPC32.
44288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
44289         and isinff multiarch implementations.
44290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
44291         file.
44292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
44293         file.
44294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
44295         multiarch isinf for PowerPC32.
44296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
44297         New file.
44298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
44299         multiarch isinff for PowerPC32.
44301         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
44302         alias when __isnan is defined.
44303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
44304         and isnanf multiarch implementations.
44305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
44306         file.
44307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
44308         file.
44309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
44310         file.
44311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
44312         file.
44313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
44314         multiarch isnan for PowerPC32.
44315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
44316         New file.
44317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
44318         New file.
44319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
44320         multiarch isnanf for PowerPC32.
44322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
44323         and sqrtf multiarch implementations.
44324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
44325         file.
44326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
44327         file.
44328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
44329         multiarch sqrt for PowerPC32.
44330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
44331         file.
44332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
44333         file.
44334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
44335         multiarch sqrtf for PowerPC32.
44337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
44338         and llroundf multiarch implementations.
44339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
44340         New file.
44341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
44342         New file.
44343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
44344         New file.
44345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
44346         file: multiarch llround for PowerPC32.
44347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
44348         file: multiarch llroundf for PowerPC32.
44350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
44351         multiarch PowerPC32 fpu implementations.
44352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
44353         New file.
44354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
44355         New file.
44356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
44357         multiarch llrint for PowerPC32.
44358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
44359         New file.
44360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
44361         New file.
44362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
44363         file.
44365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
44367         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
44368         file.
44369         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
44370         file.
44371         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
44372         file.
44373         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
44374         multiarch wordcopy for PPC32.
44375         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44376         wordcopy objects.
44377         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44378         (__libc_ifunc_impl_list): Likewise.
44379         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
44380         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
44381         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
44382         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
44383         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
44384         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
44386         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
44387         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
44388         file.
44389         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
44390         file.
44391         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
44392         file.
44393         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
44394         multiarch wcscpy for PPC32.
44395         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44396         multiarch objects.
44397         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44398         (__libc_ifunc_impl_list): Likewise.
44399         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44400         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44401         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
44402         sysdeps/powerpc/power6/wcscpy.c.
44404         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
44405         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
44406         file.
44407         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
44408         file.
44409         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
44410         file.
44411         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
44412         multiarch wcsrchr for PPC32.
44413         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44414         multiarch objects.
44415         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44416         (__libc_ifunc_impl_list): Likewise.
44417         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44418         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44419         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
44420         sysdeps/powerpc/power6/wcsrchr.c.
44422         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
44423         file.
44424         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
44425         file.
44426         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
44427         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
44428         multiarch wcschr for PPc32.
44429         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44430         multiarch objects.
44431         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44432         (__libc_ifunc_impl_list): Likewise.
44433         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
44434         * sysdeps/powerpc/power6/wcschr.c: ... to here.
44435         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
44436         sysdeps/powerpc/power6/wcschr.c.
44438         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
44439         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
44440         file.
44441         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
44442         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
44443         file: multiarch strchr for PPC32.
44444         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
44445         multiarch objects.
44446         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44447         (__libc_ifunc_impl_list): Likewise.
44449         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
44450         name.
44451         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
44452         file.
44453         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
44454         file.
44455         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
44456         multiarch strchrnul for PPC32.
44457         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
44458         multiarch objects.
44459         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44460         (__libc_ifunc_impl_list): Likewise.
44462         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
44463         file.
44464         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
44465         multiarch strncasecmp for PPC32.
44466         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
44467         file.
44468         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
44469         multiarch strncasecmp_l for PPC32.
44470         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
44471         strncasecmp multiarch objects.
44472         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44473         (__libc_ifunc_impl_list): Likewise.
44475         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
44476         file.
44477         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
44478         multiarch strncasecmp for PPC32.
44479         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44480         New file.
44481         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
44482         multiarch strcasecmp_l for PPC32.
44483         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
44484         multiarch objects.
44485         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44486         (__libc_ifunc_impl_list): Likewise.
44488         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
44489         file.
44490         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
44491         file.
44492         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
44493         multiarch strncmp for PPC32.
44494         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
44495         multiarch objects.
44496         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44497         (__libc_ifunc_impl_list): Likewise.
44499         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
44500         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
44501         file.
44502         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
44503         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
44504         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
44505         multiarch objects.
44506         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44507         (__libc_ifunc_impl_list): Likewise.
44509         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
44510         file.
44511         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
44512         file.
44513         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
44514         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
44515         multiarch objects.
44516         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44517         (__libc_ifunc_impl_list): Likewise.
44519         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
44520         file.
44521         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
44522         file.
44523         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
44524         multiarch rawmemchr for PPC32.
44525         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
44526         multiarch objects.
44527         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44528         (__libc_ifunc_impl_list): Likewise.
44530         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
44531         file.
44532         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
44533         file.
44534         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
44535         file: memrchr multiarch for PPC32.
44536         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
44537         multiarch objects.
44538         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44539         (__libc_ifunc_impl_list): Likewise.
44541         * string/memchr.c (__memchr): Using macro to redefine symbol name.
44542         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
44543         file.
44544         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
44545         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
44546         multiarch memchr for PPC32.
44547         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
44548         multiarch objects.
44549         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44550         (__libc_ifunc_impl_list): Likewise.
44552         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
44553         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
44554         file.
44555         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
44556         file.
44557         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
44558         file: multiarch mempcpy for PPC32.
44559         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
44560         multiarch objects.
44561         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44562         (__libc_ifunc_impl_list): Likewise.
44564         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
44565         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
44566         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
44567         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
44568         multiarch bzero for PPC32.
44569         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
44570         file.
44571         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
44572         file.
44573         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
44574         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
44575         file: multiarch memset for PPC32.
44576         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
44577         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
44578         memset multiarch objects.
44579         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44580         (__libc_ifunc_impl_list): Likewise.
44582         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
44583         file.
44584         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
44585         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
44586         memcmp for PPC32.
44587         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
44588         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
44589         multiarch objects.
44590         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44591         (__libc_ifunc_impl_list): Likewise.
44593         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
44594         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
44595         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
44596         file.
44597         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
44598         file.
44599         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
44600         file.
44601         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
44602         multiarch memcpy for PPC32.
44603         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
44604         multiarch objects.
44605         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44606         (__libc_ifunc_impl_list): Likewise.
44608         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
44609         support multiarch for POWER/PPC32.
44610         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
44611         Likewise.
44612         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
44613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
44614         Implies file to make multiarch folder appers before the fpu and
44615         default folder for power4 configuration.
44617 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44619         * scripts/bench.pl: Append volatile keyword to type.
44621 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44623         * sysdeps/sh/sotruss-lib.c: New file.
44624         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
44626 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44630 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
44632         [BZ #6810]
44633         * math/w_tgamma.c: Include <errno.h>.
44634         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
44635         * math/w_tgammaf.c: Include <errno.h>.
44636         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
44637         * math/w_tgammal.c: Include <errno.h>.
44638         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
44639         * math/auto-libm-test-in: Do not allow missing errno on tgamma
44640         underflow.  Add more tgamma tests.
44641         * math/auto-libm-test-out: Regenerated.
44642         * sysdeps/i386/fpu/libm-test-ulps: Update.
44643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44645         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
44646         sin, sinh, tan, tanh, tgamma, y0 and y1.
44647         * math/auto-libm-test-out: Regenerated.
44648         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44649         (TEST_COND_x86): Likewise.
44650         (M_E2l): Remove macro.
44651         (M_E3l): Likewise.
44652         (M_2_SQRT_PIl): Likewise.
44653         (M_SQRT_PIl): Likewise.
44654         (M_1_DIV_El): Likewise.
44655         (log_test_data): Use AUTO_TESTS_f_f.
44656         (log10_test_data): Likewise.
44657         (log1p_test_data): Likewise.
44658         (log2_test_data): Likewise.
44659         (sin_test_data): Likewise.
44660         (sin_tonearest_test_data): Likewise.
44661         (sin_towardzero_test_data): Likewise.
44662         (sin_downward_test_data): Likewise.
44663         (sin_upward_test_data): Likewise.
44664         (sinh_test_data): Likewise.
44665         (sinh_tonearest_test_data): Likewise.
44666         (sinh_towardzero_test_data): Likewise.
44667         (sinh_downward_test_data): Likewise.
44668         (sinh_upward_test_data): Likewise.
44669         (tan_test_data): Likewise.
44670         (tan_tonearest_test_data): Likewise.
44671         (tan_towardzero_test_data): Likewise.
44672         (tan_downward_test_data): Likewise.
44673         (tan_upward_test_data): Likewise.
44674         (tanh_test_data): Likewise.
44675         (tgamma_test_data): Likewise.
44676         (y0_test_data): Likewise.
44677         (y1_test_data): Likewise.
44678         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
44679         (special_real_inputs): Add pi/4.
44680         * sysdeps/i386/fpu/libm-test-ulps: Update.
44681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44683 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44685         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
44686         "longjmp_target" static probes.
44687         (__longjmp): Rename to __longjmp_symbol.
44688         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44689         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
44690         on which longjmp to generate.
44691         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44692         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
44693         probe.
44694         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44695         (__sigjmp_save): Rename to __sigjmp_save_symbol.
44696         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44697         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
44698         and __sigjmp_save_symbol based on which sigsetjmp to generated.
44699         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
44701         __longjmp_symbol based on which __longjmp to generate.
44702         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
44703         probe.
44704         (setjmp): Rename to setjmp_symbol.
44705         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44706         (_setjmp): Rename to _setjmp_symbol.
44707         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44708         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
44709         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
44710         which setjmp to generate.
44711         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
44712         "longjmp_target" static probes.
44714 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44716         * benchtests/README: Add note about output arguments.
44717         * benchtests/bench-sincos.c: Remove file.
44718         * benchtests/sincos-inputs: New file.
44719         * scripts/bench.pl: Identify output arguments and define
44720         static variables for them.
44722         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
44724         [BZ #15941]
44725         * Makefile (INSTALL): Add install-plain.texi as the primary
44726         dependency.
44727         * manual/install-plain.texi: New file.
44728         * manual/install.texi: Include node directive only for
44729         non-plaintext output.
44731 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
44733         * stdlib/longlong.h: Update from GCC.
44735         [BZ #6807]
44736         [BZ #15901]
44737         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
44738         * math/w_j0f.c (y0f): Likewise.
44739         * math/w_j0l.c (__y0l): Likewise.
44740         * math/w_j1.c (y1): Likewise.
44741         * math/w_j1f.c (y1f): Likewise.
44742         * math/w_j1l.c (__y1l): Likewise.
44743         * math/w_jn.c (yn): Likewise.
44744         * math/w_jnf.c (ynf): Likewise.
44745         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
44746         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
44747         value for Bessel function domain errors outside _SVID_ mode.
44748         Adjust sign of return value for yn (negative integer, 0).
44749         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
44750         by zero in return for negative x and set sign appropriately for
44751         negative n.
44752         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
44753         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44754         * math/libm-test.inc (y0_test_data): Add more tests and adjust
44755         expectations in error cases.
44756         (y1_test_data): Likewise.
44757         (yn_test_data): Likewise.
44758         * sysdeps/i386/fpu/libm-test-ulps: Update.
44759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44761 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44763         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
44764         "64" to "64-v1".  Add "64-v2".
44765         (abi-64-options): Rename to ...
44766         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
44767         (abi-64-condition): Rename to ...
44768         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
44769         (abi-64-ld-soname): Rename to ...
44770         (abi-64-v1-ld-soname): ... this.
44771         (abi-64-v2-options): Define.
44772         (abi-64-v2-condition): Likewise.
44773         (abi-64-v2-ld-soname): Likewise.
44774         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
44775         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
44776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
44777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
44778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
44780 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44781             Alan Modra  <amodra@gmail.com>
44783         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
44784         New versions for use with the ELFv2 ABI.
44785         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
44786         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
44787         declaration.
44788         (struct La_ppc64v2_retval): Likewise.
44789         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
44790         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
44791         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
44792         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
44793         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
44794         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44795         Do not save or restore CR.
44796         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
44797         (_dl_profile_resolve): Do no save or restore CR.  Support extended
44798         return values for ELFv2 ABI.  Fix location of FPR return registers.
44799         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
44800         updated values for _CALL_ELF == 2.
44801         (La_regs, La_retval, int_retval): Likewise.
44803 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44805         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
44806         (FRAME_MIN_SIZE_PARM): Likewise.
44807         (FRAME_BACKCHAIN): Likewise.
44808         (FRAME_CR_SAVE): Likewise.
44809         (FRAME_LR_SAVE): Likewise.
44810         (FRAME_TOC_SAVE): Likewise.
44811         (FRAME_PARM_SAVE): Likewise.
44812         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
44813         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
44814         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44815         (call_mcount_parm_offset): New macro.
44816         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
44817         (PROF): Use symbolic stack frame offsets.
44818         (TAIL_CALL_SYSCALL_ERROR): Likewise.
44819         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
44820         Redefine in terms of FRAME_MIN_SIZE.
44821         (_dl_runtime_resolve): Use symbolic stack frame offsets.
44822         (_dl_profile_resolve): Likewise.  Update comment.
44823         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
44824         symbols stack frame offsets.
44825         (__sigsetjmp): Likewise.
44826         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
44827         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
44828         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
44829         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
44831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
44832         (FRAME_BACKCHAIN): Remove.
44833         (FRAME_CR_SAVE): Likewise.
44834         (FRAME_LR_SAVE): Likewise.
44835         (FRAME_COMPILER_DW): Likewise.
44836         (FRAME_LINKER_DW): Likewise.
44837         (FRAME_TOC_SAVE): Likewise.
44838         (FRAME_PARM_SAVE): Likewise.
44839         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
44840         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
44841         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
44843         (CHECK_SP): Use symbolic stack frame offsets.
44844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
44845         zone" instead of caller's parameter save area for temp storage.
44846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44847         Likewise.  Also, use symbolic stack frame offsets.
44848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
44849         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
44850         our own stack frame instead of the caller's.
44851         (__socket): Use symbolic stack frame offsets.
44853 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44854             Alan Modra  <amodra@gmail.com>
44856         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
44857         Define.
44858         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
44859         (PPC64_LOCAL_ENTRY_OFFSET): Define.
44860         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
44861         New function.
44862         (elf_machine_fixup_plt): Call it.
44863         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
44864         reloc arguments.
44865         (elf_machine_rela): Update call to elf_machine_plt_conflict.
44866         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44867         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
44868         r2 before calling target.
44870 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44871             Alan Modra  <amodra@gmail.com>
44873         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
44874         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
44875         versions of macros to support ELFv2 ABI.
44876         (LOCALENTRY): New macro.
44877         (ENTRY, EALIGN): Use it.
44878         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
44879         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
44880         fall through into ENTRY entry point.
44881         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
44882         Only define if _CALL_ELF != 2.
44884         (elf_machine_matches_host): Verify ABI version matches.
44885         (RTLD_START): Use LOCALENTRY.
44886         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
44887         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
44888         (PLT_ENTRY_WORDS): New macro.
44889         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
44890         (elf_machine_runtime_setup): Support ELFv2 ABI.
44891         (elf_machine_fixup_plt): Likewise.
44892         (elf_machine_plt_conflict): Likewise.
44893         (resolve_ifunc): Likewise.
44894         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44895         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44896         Likewise.
44897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
44898         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
44899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44900         (makecontext): Support ELFv2 ABI.
44901         * elf/elf.h (EF_PPC64_ABI): Define.
44903 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44905         * sysdeps/powerpc/powerpc64/sysdep.h
44906         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
44907         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
44908         (ENTRY) [ASSEMBLER]: ... but instead here ...
44909         (EALIGN) [ASSEMBLER]: ... and here.
44910         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
44911         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
44912         (ENTRY_2) [!ASSEMBLER]: Use it.
44913         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
44914         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
44915         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44916         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
44917         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
44918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
44919         Use PPC64_LOAD_FUNCPTR.
44921         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
44923 2013-12-04  Alan Modra  <amodra@gmail.com>
44925         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
44926         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
44927         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
44928         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
44930         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
44931         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
44932         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
44933         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
44934         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
44935         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
44937 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44940         (__makecontext): Fix incorrect CFI when backtracing out of
44941         context created via makecontext.
44942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
44943         (__setcontext): Fix incorrect CFI during switch to new context.
44944         (__novec_setcontext): Likewise.
44946 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44948         [BZ #4772]
44949         * time/strptime_l.c (__strptime_internal): Allow modifiers
44950         in strptime.
44951         * time/tst-strptime.c (day_tests): Add testcase.
44953 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44955         * scripts/bench.pl: Skip over blank lines.
44957 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
44959         [BZ #926]
44960         * manual/time.texi (Calendar Time): Clarify what timezone functions
44961         use.
44963 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44965         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44967 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44969         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
44970         implementation.
44971         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
44972         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
44973         * debug/memset_chk.c (__memset_chk): Likewise.
44974         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
44975         * debug/strncpy_chk.c: Likewise.
44977 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44979         [BZ #15268]
44980         [BZ #15425]
44981         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
44982         (__ieee754_exp): For possibly underflowing results, check size of
44983         result and force underflow exception if required.
44984         * math/auto-libm-test-in: Add more tests of exp.
44985         * math/auto-libm-test-out: Regenerated.
44986         * sysdeps/i386/fpu/libm-test-ulps: Update.
44987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44989         [BZ #16283]
44990         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
44991         * math/w_exp2f.c (__exp2f): Likewise.
44992         * math/w_exp2l.c (__exp2l): Likewise.
44993         * math/auto-libm-test-in: Do not allow missing errno on exp2
44994         underflow.
44995         * math/auto-libm-test-out: Regenerated.
44997 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
44999         [BZ #16274]
45000         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
45001         handle filename validation.
45002         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
45003         (do_open): Delete.
45005 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45007         [BZ #6786]
45008         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
45009         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
45010         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
45011         <float.h>.
45012         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
45013         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
45014         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45015         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
45016         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45017         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
45018         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45019         * math/auto-libm-test-in: Don't allow missing errno from erfc.
45020         Add more erfc tests.
45021         * math/auto-libm-test-out: Regenerated.
45022         * sysdeps/i386/fpu/libm-test-ulps: Update.
45023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45025         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
45026         exp2, expm1, j0 and j1.
45027         * math/auto-libm-test-out: Regenerated.
45028         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
45029         (erfc_test_data): Likewise.
45030         (exp_test_data): Likewise.
45031         (exp_tonearest_test_data): Likewise.
45032         (exp_towardzero_test_data): Likewise.
45033         (exp_downward_test_data): Likewise.
45034         (exp_upward_test_data): Likewise.
45035         (exp10_test_data): Likewise.
45036         (exp2_test_data): Likewise.
45037         (expm1_test_data): Likewise.
45038         (j0_test_data): Likewise.
45039         (j1_test_data): Likewise.
45040         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
45041         (input_flag_type): Add flag_xfail_rounding.
45042         (input_flags): Add xfail-rounding.
45043         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
45044         (output_for_one_input_case): Handle flag_xfail_rounding.
45045         * sysdeps/i386/fpu/libm-test-ulps: Update.
45046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45048 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
45050         [BZ #16289]
45051         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
45052         division by 0.
45054 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45056         [BZ #16195]
45057         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
45058         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
45059         (STAP_PROBE0): New macro.
45060         (STAP_PROBE1): Likewise.
45061         (STAP_PROBE2): Likewise.
45062         (STAP_PROBE3): Likewise.
45063         (STAP_PROBE4): Likewise.
45065 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
45067         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
45069 2013-12-02  Steve Ellcey  <sellcey@mips.com>
45071         * benchtests/Makefile (bench): Add sqrt.
45072         (LDLIBS-bench-sqrt): New.
45073         * benchtests/sqrt-input: New.
45075 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
45077         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
45078         (GAIH_EAI): Likewise.
45079         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
45080         (gaih_inet): Likewise.
45081         (getaddrinfo): Don't use GAIH_EAI.
45083         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
45084         (struct gaih): Remove definition.
45086 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45088         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
45089         Use HERRNOP directly.
45091 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45093         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45095 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
45097         * math/gen-auto-libm-tests.c (test_functions): Add more
45098         single-argument functions.
45099         (special_fill_pi_2): New function.
45100         (special_fill_minus_pi_2): Likewise.
45101         (special_fill_pi_6): Likewise.
45102         (special_fill_minus_pi_6): Likewise.
45103         (special_fill_pi_3): Likewise.
45104         (special_fill_2pi_3): Likewise.
45105         (special_fill_e): Likewise.
45106         (special_fill_1_e): Likewise.
45107         (special_fill_e_minus_1): Likewise.
45108         (special_real_inputs): Add more special inputs.
45109         (output_for_one_input_case): Do not require ERANGE on underflow to
45110         zero if round-to-nearest result does not underflow to zero, unless
45111         exact results required.
45112         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
45113         atan, atanh, cbrt, cos and cosh.
45114         * math/auto-libm-test-out: Regenerated.
45115         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
45116         (acos_tonearest_test_data): Likewise.
45117         (acos_towardzero_test_data): Likewise.
45118         (acos_downward_test_data): Likewise.
45119         (acos_upward_test_data): Likewise.
45120         (acosh_test_data): Likewise.
45121         (asin_test_data): Likewise.
45122         (asin_tonearest_test_data): Likewise.
45123         (asin_towardzero_test_data): Likewise.
45124         (asin_upward_test_data): Likewise.
45125         (asinh_test_data): Likewise.
45126         (atan_test_data): Likewise.
45127         (atanh_test_data): Likewise.
45128         (cbrt_test_data): Likewise.
45129         (cos_test_data): Likewise.
45130         (cos_tonearest_test_data): Likewise.
45131         (cos_towardzero_test_data): Likewise.
45132         (cos_downward_test_data): Likewise.
45133         (cos_upward_test_data): Likewise.
45134         (cosh_test_data): Likewise.
45135         (cosh_tonearest_test_data): Likewise.
45136         (cosh_towardzero_test_data): Likewise.
45137         (cosh_downward_test_data): Likewise.
45138         (cosh_upward_test_data): Likewise.
45139         * sysdeps/i386/fpu/libm-test-ulps: Update.
45140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45142 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
45144         [BZ #6787]
45145         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
45146         * math/w_exp10f.c (__exp10f): Likewise.
45147         * math/w_exp10l.c (__exp10l): Likewise.
45148         * math/libm-test.inc (exp10_test_data): Add more tests and expect
45149         errno settings in existing tests.
45151         [BZ #14032]
45152         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
45153         precision control set to double precision.
45154         * sysdeps/i386/fpu/w_sqrt.c: New file.
45155         * math/auto-libm-test-in: Add more tests.
45156         * math/auto-libm-test-out: Update.
45158         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
45159         (sqrt_test_tonearest): New function.
45160         (sqrt_towardzero_test_data): New variable.
45161         (sqrt_test_towardzero): New function.
45162         (sqrt_downward_test_data): New variable.
45163         (sqrt_test_downward): New function.
45164         (sqrt_upward_test_data): New variable.
45165         (sqrt_test_upward): New function.
45166         (main): Call the new functions.
45168         * math/gen-auto-libm-tests.c: New file.
45169         * math/auto-libm-test-in: Likewise.
45170         * math/auto-libm-test-out: New generated file.
45171         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
45172         variables.
45173         (%beautify): Add generated representations of zero.
45174         (top level): Set $auto_input and call parse_auto_input.
45175         (beautify): Remove trailing "f" from hex float constants.
45176         (parse_args): Handle XFAIL_TEST.
45177         (convert_condition): New function.
45178         (or_value): Likewise.
45179         (or_cond_value): Likewise.
45180         (generate_testfile): Handle AUTO_TESTS_* lines.
45181         (parse_auto_input): New function.
45182         * math/libm-test.inc (XFAIL_TEST): New macro.
45183         (ERRNO_UNCHANGED): Update value.
45184         (ERRNO_EDOM): Likewise.
45185         (ERRNO_ERANGE): Likewise.
45186         (IGNORE_RESULT): Likewise.
45187         (TEST_COND_flt_32): New macro.
45188         (TEST_COND_dbl_64): Likewise.
45189         (TEST_COND_ldbl_96_intel): Likewise.
45190         (TEST_COND_ldbl_96_m68k): Likewise.
45191         (TEST_COND_ldbl_128): Likewise.
45192         (TEST_COND_ldbl_128ibm): Likewise.
45193         (TEST_COND_long32): Likewise.
45194         (TEST_COND_long64): Likewise.
45195         (TEST_COND_before_rounding): Likewise.
45196         (TEST_COND_after_rounding): Likewise.
45197         (enable_test): Handle XFAIL_TEST flag.
45198         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
45199         with finite results.
45200         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
45201         auto-libm-test-out.
45203 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45204             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45206         [BZ #16214]
45207         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
45208         __tls_get_addr_internal instead of __tls_get_offset in order to
45209         avoid GOT pointer dependency.  Make rtld export
45210         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
45211         __tls_get_addr since we are a __tls_get_offset platform.
45212         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
45213         GOT pointer being set up before.
45214         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
45216 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
45218         * manual/math.texi (Errors in Math Functions): Document accuracy
45219         goals.
45221         [BZ #15004]
45222         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
45223         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
45224         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45225         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45226         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45227         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45228         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45229         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45230         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45231         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45232         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45233         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45234         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45235         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45236         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45237         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45239         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
45240         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
45241         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
45242         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
45243         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
45244         Likewise.
45245         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
45246         Likewise.
45247         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
45248         Likewise.
45249         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
45250         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
45251         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
45252         atomic-feupdateenv and flt-rounds.
45253         * sysdeps/powerpc/nofpu/Versions (libc): Add
45254         __atomic_feholdexcept, __atomic_feclearexcept,
45255         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
45256         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
45257         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
45258         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
45259         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
45260         here.
45261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45262         Update.
45264         * manual/arith.texi (FP Exceptions): Document that exceptions may
45265         not be raised when matherr is used.
45266         (Math Error Reporting): Document overflow in directed rounding
45267         modes.  Document that errno may not be set when finite values are
45268         returned on overflow.  Document intent to set errno on underflow
45269         only for underflow to zero.
45271         [BZ #16271]
45272         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
45273         round-to-nearest then adjust result for other rounding modes.
45274         * include/fenv.h (fegetround): Use libm_hidden_proto.
45275         * math/fegetround.c (fegetround): Use libm_hidden_def.
45276         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
45277         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
45278         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45279         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
45280         Likewise.
45281         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
45282         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45283         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
45284         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
45286 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45288         [BZ #16077]
45289         * nss/Versions (libnss_files): Add
45290         _nss_files_gethostbyname3_r.
45291         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
45292         New function.
45293         (HOST_DB_LOOKUP): Remove macro.
45294         (_nss_files_gethostbyname_r): Implement function without the
45295         HOST_DB_LOOKUP macro.
45296         (_nss_files_gethostbyname2_r): Likewise.
45298 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
45300         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
45302 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
45304         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
45305         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
45306         warning.
45308 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45310         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
45311         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
45312         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45313         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
45314         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
45315         __fe_nomask_env_priv and attribute_hidden.
45316         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
45317         (libc_feupdateenv_test_ppc): Likewise.
45318         (libc_feresetround_ppc): Likewise.
45319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45320         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
45321         compat_symbol macro.
45322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45323         (__fe_nomask_env): Likewise.
45324         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
45326 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45328         * string/Makefile: Remove ifunc tests.
45329         * string/test-string.h: Define TEST_IFUNC.
45330         * string/test-bcopy-ifunc.c: Remove.
45331         * string/test-bzero-ifunc.c: Likewise.
45332         * string/test-memccpy-ifunc.c: Likewise.
45333         * string/test-memchr-ifunc.c: Likewise.
45334         * string/test-memcmp-ifunc.c: Likewise.
45335         * string/test-memcpy-ifunc.c: Likewise.
45336         * string/test-memmem-ifunc.c: Likewise.
45337         * string/test-memmove-ifunc.c: Likewise.
45338         * string/test-mempcpy-ifunc.c: Likewise.
45339         * string/test-memrchr-ifunc.c: Likewise.
45340         * string/test-memset-ifunc.c: Likewise.
45341         * string/test-rawmemchr-ifunc.c: Likewise.
45342         * string/test-stpcpy-ifunc.c: Likewise.
45343         * string/test-stpncpy-ifunc.c: Likewise.
45344         * string/test-strcasecmp-ifunc.c: Likewise.
45345         * string/test-strcasestr-ifunc.c: Likewise.
45346         * string/test-strcat-ifunc.c: Likewise.
45347         * string/test-strchr-ifunc.c: Likewise.
45348         * string/test-strchrnul-ifunc.c: Likewise.
45349         * string/test-strcmp-ifunc.c: Likewise.
45350         * string/test-strcpy-ifunc.c: Likewise.
45351         * string/test-strcspn-ifunc.c: Likewise.
45352         * string/test-strlen-ifunc.c: Likewise.
45353         * string/test-strncasecmp-ifunc.c: Likewise.
45354         * string/test-strncat-ifunc.c: Likewise.
45355         * string/test-strncmp-ifunc.c: Likewise.
45356         * string/test-strncpy-ifunc.c: Likewise.
45357         * string/test-strnlen-ifunc.c: Likewise.
45358         * string/test-strpbrk-ifunc.c: Likewise.
45359         * string/test-strrchr-ifunc.c: Likewise.
45360         * string/test-strspn-ifunc.c: Likewise.
45361         * string/test-strstr-ifunc.c: Likewise.
45363 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45365         * benchtests/Makefile: Remove ifunc tests.
45366         * benchtests/bench-string.h: Define TEST_IFUNC.
45367         * benchtests/bench-bcopy-ifunc.c: Remove.
45368         * benchtests/bench-bzero-ifunc.c: Likewise.
45369         * benchtests/bench-memccpy-ifunc.c: Likewise.
45370         * benchtests/bench-memchr-ifunc.c: Likewise.
45371         * benchtests/bench-memcmp-ifunc.c: Likewise.
45372         * benchtests/bench-memcpy-ifunc.c: Likewise.
45373         * benchtests/bench-memmem-ifunc.c: Likewise.
45374         * benchtests/bench-memmove-ifunc.c: Likewise.
45375         * benchtests/bench-mempcpy-ifunc.c: Likewise.
45376         * benchtests/bench-memrchr-ifunc.c: Likewise.
45377         * benchtests/bench-memset-ifunc.c: Likewise.
45378         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
45379         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
45380         * benchtests/bench-stpcpy-ifunc.c: Likewise.
45381         * benchtests/bench-stpncpy-ifunc.c: Likewise.
45382         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
45383         * benchtests/bench-strcasestr-ifunc.c: Likewise.
45384         * benchtests/bench-strcat-ifunc.c: Likewise.
45385         * benchtests/bench-strchr-ifunc.c: Likewise.
45386         * benchtests/bench-strchrnul-ifunc.c: Likewise.
45387         * benchtests/bench-strcmp-ifunc.c: Likewise.
45388         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
45389         * benchtests/bench-strcpy-ifunc.c: Likewise.
45390         * benchtests/bench-strcspn-ifunc.c: Likewise.
45391         * benchtests/bench-strlen-ifunc.c: Likewise.
45392         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
45393         * benchtests/bench-strncat-ifunc.c: Likewise.
45394         * benchtests/bench-strncmp-ifunc.c: Likewise.
45395         * benchtests/bench-strncpy-ifunc.c: Likewise.
45396         * benchtests/bench-strnlen-ifunc.c: Likewise.
45397         * benchtests/bench-strpbrk-ifunc.c: Likewise.
45398         * benchtests/bench-strrchr-ifunc.c: Likewise.
45399         * benchtests/bench-strsep-ifunc.c: Likewise.
45400         * benchtests/bench-strspn-ifunc.c: Likewise.
45401         * benchtests/bench-strstr-ifunc.c: Likewise.
45403 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45405         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
45407 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45409         * resolv/netdb.h: Use __glibc_reserved instead __unused.
45410         * rt/aio.h: Likewise.
45411         * sysdeps/gnu/bits/utmp.h: Likewise.
45412         * sysdeps/gnu/bits/utmpx.h: Likewise.
45413         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45414         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
45415         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
45416         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
45417         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
45418         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
45419         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
45420         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
45421         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
45422         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
45423         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
45424         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
45425         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
45426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
45427         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45428         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
45429         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
45430         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
45431         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
45432         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
45433         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
45434         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
45435         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
45436         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45437         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
45438         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45439         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
45440         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
45441         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
45442         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
45443         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
45444         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
45445         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
45446         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45447         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
45448         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
45449         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
45450         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
45451         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
45452         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
45453         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
45454         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45456 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
45458         [BZ #16245]
45459         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
45460         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
45462 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
45464         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
45465         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
45466         Likewise.
45468 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45470         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
45471         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
45472         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
45473         (__fesetround): Remove define.
45474         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
45475         rounding and exceptions handling.
45476         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
45477         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
45478         (__fe_nomask_env): Likewise.
45479         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
45480         __fegetround instead of fegetround.
45481         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
45482         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
45484 2013-11-21  Roland McGrath  <roland@hack.frob.com>
45486         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
45487         it's there.
45489         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
45491 2013-11-21  Meador Inge  <meadori@codesourcery.com>
45493         [BZ #11157]
45494         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
45495         (encrypt_r): Likewise.
45496         * malloc/obstack.h (obstack_free): Likewise.
45497         * posix/unistd.h (encrypt): Likewise.
45499 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
45501         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
45502         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
45503         DL_CALL_DT_FINI() that call the functions directly.
45504         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
45505         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
45506         * elf/dl-fini.c: Likewise.
45508 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
45510         * malloc/hooks.c (memalign_check): Add alignment rounding.
45511         * malloc/malloc.c (_mid_memalign): New function.
45512         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
45513         Implement by calling _mid_memalign.
45514         * manual/probes.texi (Memory Allocation Probes): Remove
45515         memory_valloc_retry and memory_pvalloc_retry.
45517 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45519         * locale/programs/locarchive.c (open_archive): Add const
45520         qualifier to ARCHIVEFNAME and copy default fname to
45521         DEFAULT_FNAME.
45523         [BZ #15601]
45524         * libio/tst-widetext.input: Rename Oriya to Odia.
45525         * locale/iso-639.def: Likewise.
45527         * manual/probes.texi (Mathematical Function Probes): Add
45528         documentation for sin, cos, asin and acos probes.
45529         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
45530         (__sin32): Add slowasin probe.
45531         (__cos32): Add slowacos probe.
45532         (__mpsin): Add slowsin probe.
45533         (__mpcos): Add slowcos probe.
45535 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
45537         [BZ #15483]
45538         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
45539         thread-local __sim_exceptions_thread and global
45540         __sim_exceptions_global.
45541         (__sim_disabled_exceptions): Change to thread-local
45542         __sim_disabled_exceptions_thread and global
45543         __sim_disabled_exceptions_global.
45544         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45545         and global __sim_round_mode_global.
45546         (__simulate_exceptions): Use thread-local floating-point state and
45547         set global state from it as needed.
45548         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
45549         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
45550         __sim_round_mode_thread.
45551         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
45552         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
45553         and global __sim_exceptions_global.
45554         (__sim_disabled_exceptions): Change to thread-local
45555         __sim_disabled_exceptions_thread and global
45556         __sim_disabled_exceptions_global.
45557         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45558         and global __sim_round_mode_global.
45559         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
45560         (SIM_SET_GLOBAL): Likewise.
45561         * sysdeps/powerpc/soft-fp/sfp-machine.h
45562         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
45563         __sim_round_mode_thread.
45564         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
45565         __sim_disabled_exceptions_thread.
45566         (__sim_exceptions): Change to __sim_exceptions_thread.
45567         (__sim_disabled_exceptions): Change to
45568         __sim_disabled_exceptions_thread.
45569         (__sim_round_mode): Change to __sim_round_mode_thread.
45570         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
45571         thread-local floating-point state and set global state from it as
45572         needed.
45573         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
45574         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
45575         (__sim_disabled_exceptions): Remove extern declaration.
45576         (feenableexcept): Use thread-local floating-point state and set
45577         global state from it as needed.
45578         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
45579         extern declaration.
45580         (__sim_disabled_exceptions): Likewise.
45581         (__sim_round_mode): Likewise.
45582         (__fegetenv): Use thread-local floating-point state.
45583         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
45584         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45585         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
45586         floating-point state and set global state from it as needed.
45587         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
45588         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
45589         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
45590         Likewise.
45591         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
45592         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
45593         Likewise.
45594         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
45595         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
45596         Use __sim_round_mode_thread.
45597         * math/test-fenv-tls.c: New file.
45598         * math/Makefile (tests): Add test-fenv-tls.
45599         ($(objpfx)test-fenv-tls): Depend on
45600         $(common-objpfx)nptl/libpthread.so.
45602 2013-11-19  Andreas Schwab  <schwab@suse.de>
45604         * locale/programs/locale.c (show_info): Decode wordarray elements.
45605         * locale/categories.def (LC_MONETARY): Add element for
45606         _NL_MONETARY_CRNCYSTR.
45607         * locale/C-monetary.c (conversion_rate): New variable.
45608         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
45609         element.
45611 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
45613         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
45614         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
45616 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45618         * elf/Makefile (tst-auxv): New test.
45619         * elf/tst-auxv.c: New
45620         * elf/rtld.c (dl_main): Adjust AT_EXECFN
45622 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
45624         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
45625         (hidden_proto): Caller changed.
45626         (hidden_tls_proto): New macro.
45627         (libc_hidden_tls_proto): Likewise.
45628         (rtld_hidden_tls_proto): Likewise.
45629         (libm_hidden_tls_proto): Likewise.
45630         (libresolv_hidden_tls_proto): Likewise.
45631         (librt_hidden_tls_proto): Likewise.
45632         (libdl_hidden_tls_proto): Likewise.
45633         (libnss_files_hidden_tls_proto): Likewise.
45634         (libnsl_hidden_tls_proto): Likewise.
45635         (libnss_nisplus_hidden_tls_proto): Likewise.
45636         (libutil_hidden_tls_proto): Likewise.
45638 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
45640         [BZ #10253]
45641         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
45642         (decompose_rpath): Defer expansion to fillin_rpath.
45643         (_dl_init_paths): Pass linkmap to fillin_rpath.
45645 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45647         * benchtests/Makefile: Add strsep.
45648         * benchtests/bench-strsep.c: New file: strsep benchtest.
45649         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
45651 2013-11-18  Andreas Schwab  <schwab@suse.de>
45653         * locale/programs/locale.c (show_info) [case byte]: Check for
45654         '\377' instead of '\177'.
45655         * locale/C-monetary.c (not_available): Always use "\377".
45656         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
45657         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
45658         detect unavailable sign_posn locale elements.
45659         * locale/localeconv.c (__localeconv): For grouping and
45660         mon_grouping handle "\177" and "\377" like no grouping.
45661         (INT_ELEM): New macro.  Use it to set all numeric members.
45662         * locale/programs/ld-monetary.c (monetary_read)
45663         <tok_mon_grouping>: Normalize single -1 to the empty string.
45664         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
45665         Likewise.
45667 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45669         [BZ #16055]
45670         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
45671         when we match (nil).
45672         * stdio-common/tst-sscanf.c (struct test): Add testcase.
45674 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
45676         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
45677         (NO_TEST_INLINE): Update value.
45678         (ERRNO_UNCHANGED): Likewise.
45679         (ERRNO_EDOM): Likewise.
45680         (ERRNO_ERANGE): Likewise.
45681         (IGNORE_RESULT): Likewise.
45682         (check_float_internal): Check signs of NaN results if
45683         TEST_NAN_SIGN used.
45684         (check_complex): Pass TEST_NAN_SIGN flag through to second
45685         check_float_internal call.
45686         (copysign_test_data): Add tests with quiet NaNs as second
45687         argument.  Use TEST_NAN_SIGN.
45688         (fabs_test_data): Add test of negative quiet NaN argument.  Use
45689         TEST_NAN_SIGN.
45690         (signbit_test_data): Add tests of quiet NaN argument.
45691         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
45693         * math/gen-libm-test.pl (show_exceptions): Take extra argument
45694         $ignore_result.
45695         (parse_args): Handle function results specified as IGNORE.
45696         * math/libm-test.inc (IGNORE_RESULT): New macro.
45697         (check_float_internal): Do not check numerical result if flag
45698         IGNORE_RESULT set.
45699         (check_complex): Pass through IGNORE_RESULT to second
45700         check_float_internal call.
45701         (check_int): Do not check numerical result if flag IGNORE_RESULT
45702         set.
45703         (check_long): Likewise.
45704         (check_bool): Likewise.
45705         (check_longlong): Likewise.
45706         (lrint_test_data): Add tests of infinite and NaN arguments.
45707         (lrint_tonearest_test_data): Likewise.
45708         (lrint_towardzero_test_data): Likewise.
45709         (lrint_downward_test_data): Likewise.
45710         (lrint_upward_test_data): Likewise.
45711         (llrint_test_data): Likewise.
45712         (llrint_tonearest_test_data): Likewise.
45713         (llrint_towardzero_test_data): Likewise.
45714         (llrint_downward_test_data): Likewise.
45715         (llrint_upward_test_data): Likewise.
45716         (lround_test_data): Likewise.
45717         (llround_test_data): Likewise.
45719         * math/libm-test.inc (NO_TEST_INLINE): New macro.
45720         (ERRNO_UNCHANGED): Update value.
45721         (ERRNO_EDOM): Likewise.
45722         (ERRNO_ERANGE): Likewise.
45723         (NO_TEST_INLINE_FLOAT): New macro.
45724         (NO_TEST_INLINE_DOUBLE): Likewise.
45725         (enable_test): New function.
45726         (RUN_TEST_f_f): Check enable_test before running test.
45727         (RUN_TEST_2_f): Likewise.
45728         (RUN_TEST_fff_f): Likewise.
45729         (RUN_TEST_c_f): Likewise.
45730         (RUN_TEST_f_f1): Likewise.
45731         (RUN_TEST_fF_f1): Likewise.
45732         (RUN_TEST_fI_f1): Likewise.
45733         (RUN_TEST_ffI_f1): Likewise.
45734         (RUN_TEST_c_c): Likewise.
45735         (RUN_TEST_cc_c): Likewise.
45736         (RUN_TEST_f_i): Likewise.
45737         (RUN_TEST_f_i_tg): Likewise.
45738         (RUN_TEST_ff_i_tg): Likewise.
45739         (RUN_TEST_f_b): Likewise.
45740         (RUN_TEST_f_b_tg): Likewise.
45741         (RUN_TEST_f_l): Likewise.
45742         (RUN_TEST_f_L): Likewise.
45743         (RUN_TEST_fFF_11): Likewise.
45744         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
45745         conditionals.
45746         (cosh_test_data): Likewise.
45747         (exp_test_data): Likewise.
45748         (expm1_test_data): Likewise.
45749         (hypot_test_data): Likewise.
45750         (pow_test_data): Likewise.
45751         (sinh_test_data): Likewise.
45752         (tanh_test_data): Likewise.
45753         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
45754         flags argument.
45756         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
45757         tests with quiet NaN input and output.
45758         (acosh_test_data): Likewise.
45759         (asin_test_data): Likewise.
45760         (asinh_test_data): Likewise.
45761         (atan_test_data): Likewise.
45762         (atanh_test_data): Likewise.
45763         (atan2_test_data): Likewise.
45764         (cbrt_test_data): Likewise.
45765         (cos_test_data): Likewise.
45766         (cosh_test_data): Likewise.
45767         (erf_test_data): Likewise.
45768         (erfc_test_data): Likewise.
45769         (exp_test_data): Likewise.
45770         (exp10_test_data): Likewise.
45771         (exp2_test_data): Likewise.
45772         (expm1_test_data): Likewise.
45773         (hypot_test_data): Likewise.
45774         (j0_test_data): Likewise.
45775         (j1_test_data): Likewise.
45776         (jn_test_data): Likewise.
45777         (lgamma_test_data): Likewise.
45778         (log_test_data): Likewise.
45779         (log10_test_data): Likewise.
45780         (log1p_test_data): Likewise.
45781         (log2_test_data): Likewise.
45782         (pow_test_data): Likewise.
45783         (scalb_test_data): Likewise.
45784         (sin_test_data): Likewise.
45785         (sincos_test_data): Likewise.
45786         (sinh_test_data): Likewise.
45787         (tan_test_data): Likewise.
45788         (tanh_test_data): Likewise.
45789         (tgamma_test_data): Likewise.
45790         (y0_test_data): Likewise.
45791         (y1_test_data): Likewise.
45792         (yn_test_data): Likewise.
45794         [BZ #16167]
45795         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
45796         argument being NaN and avoid computations with second argument in
45797         that case.
45798         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45799         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45800         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45802 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
45804         * locale/iso-639.def: Add Chitwani Tharu (the).
45806 2013-11-14  Andreas Schwab  <schwab@suse.de>
45808         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
45809         word instead of empty string.
45811 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45814         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
45815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45816         (__fe_nomask_env): Likewise.
45818 2013-11-13  Steve Ellcey  <sellcey@mips.com>
45820         * benchtests/bench-timing.h: Include time.h.
45822 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
45824         [BZ #15997]
45825         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
45826         to 3.4.0 for x32.
45827         * sysdeps/unix/sysv/linux/configure: Regenerated.
45829 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
45831         [BZ #16151]
45832         * stdlib/strtod_l.c (round_and_return): Do not consider
45833         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
45834         exponent one less than half the least subnormal exponent.
45835         * stdlib/test-strtod-round-data: Add more tests.
45836         * stdlib/tst-strtod-round.c (tests): Regenerated.
45838 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45840         [BZ #14143]
45841         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
45842         (__fe_mask_env): Likewise.
45843         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
45844         libm_hidden_proto and add function prototype.
45845         (__fe_mask_env): Add function prototype.
45846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45847         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
45848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45849         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
45850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45851         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
45853 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45855         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
45856         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
45858 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45860         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
45861         of htab_find_slot().
45863 2013-11-11  David S. Miller  <davem@davemloft.net>
45865         [BZ #16150]
45866         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
45867         symbol in the non-vis3 case in static builds.
45868         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
45869         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
45870         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
45871         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
45873 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
45875         [BZ #387]
45876         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
45877         it is empty.
45879 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45881         * benchtests/Makefile: Add bench-strtod.
45882         * benchtests/bench-strtod.c: New file: strtod benchtest
45884 2013-11-11  Andreas Schwab  <schwab@suse.de>
45886         [BZ #16153]
45887         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
45888         terminating NUL in key length.
45890 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45892         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45893         Add artificial ODP entry for vDSO symbol for PPC64.
45894         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
45895         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
45897 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45899         [BZ #15374]
45900         * nss/getent.c (services_keys): Recognize services starting with digit.
45902 2013-11-06  David S. Miller  <davem@davemloft.net>
45904         [BZ #15985]
45905         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
45906         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
45908 2013-11-06  Will Newton  <will.newton@linaro.org>
45910         * manual/memory.texi (Malloc Examples): Remove register
45911         keyword from examples.
45913 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
45915         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
45917 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
45919         [BZ #6981]
45920         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
45921         depending on [__GCC_IEC_559 > 0].
45922         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
45923         depending on [__GCC_IEC_559_COMPLEX > 0].
45925 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
45927         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
45928         to iso-639.def.
45930 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
45932         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
45934 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
45936         [BZ #16112]
45937         * malloc/malloc (malloc_info): Do not handle first bin as
45938         special case.
45940 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
45942         * locale/iso-639.def: Add Central Nahuatl (nhn).
45944 2013-11-01  Bruno Haible  <bruno@clisp.org>
45946         [BZ #7003]
45947         * manual/math.texi (BSD Random): Specify range upper bound as
45948         in POSIX.
45950 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
45952         * locale/iso-639.def: Add Meadow Mari (mhr).
45954 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
45956         [BZ #14752], [BZ #15763]
45957         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
45958         Validate name.
45959         * rt/tst_shm.c: Add test for escaping directory.
45961 2013-10-31  Andreas Schwab  <schwab@suse.de>
45963         [BZ #15917]
45964         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
45965         followed by 'x' as part of digit sequence.
45966         * stdio-common/tst-sscanf.c (double_tests2): New tests.
45968 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
45970         [BZ #16037]
45971         * configure.ac: allow GNU Make 4.0 and greater.
45972         * configure: Regenerated.
45974 2013-10-30  Will Newton  <will.newton@linaro.org>
45976         [BZ #16038]
45977         * malloc/hooks.c (memalign_check): Limit alignment to the
45978         maximum representable power of two.
45979         * malloc/malloc.c (__libc_memalign): Likewise.
45980         * malloc/tst-memalign.c (do_test): Add test for very
45981         large alignment values.
45982         * malloc/tst-posix_memalign.c (do_test): Likewise.
45984 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45986         [BZ #11087]
45987         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
45988         (munmap_chunk): Likewise.
45989         (mremap_chunk): Likewise.
45991 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45993         [BZ #15799]
45994         * stdlib/div.c (div): Remove obsolete code.
45995         * stdlib/ldiv.c (ldiv): Likewise.
45996         * stdlib/lldiv.c (lldiv): Likewise.
45998 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46000         [BZ #16071]
46001         * nss/nss_files/files-XXX.c (get_contents_ret): New
46002         enumerator.
46003         (get_contents): New function.
46004         (internal_getent): Use it.  Expand size of LINEBUFLEN.
46006 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
46008         * configure.in: Moved to ...
46009         * configure.ac: ... here. Change reference to configure.in
46010         to configure.ac.
46011         * sysdeps/arm/preconfigure.ac: ... here.
46012         configure.in to configure.ac.
46013         * sysdeps/gnu/configure.in: Moved to ...
46014         * sysdeps/gnu/configure.ac: ... here.
46015         * sysdeps/i386/configure.in: Moved to ...
46016         * sysdeps/i386/configure.ac: ... here.
46017         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
46018         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
46019         * sysdeps/mach/configure.in: Moved to ...
46020         * sysdeps/mach/configure.ac: ... here.
46021         * sysdeps/mach/hurd/configure.in: Moved to ...
46022         * sysdeps/mach/hurd/configure.ac: ... here.
46023         * sysdeps/powerpc/configure.in: Moved to ...
46024         * sysdeps/powerpc/configure.ac: ... here.
46025         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
46026         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
46027         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
46028         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
46029         * sysdeps/s390/s390-32/configure.in: Moved to ...
46030         * sysdeps/s390/s390-32/configure.ac: ... here.
46031         * sysdeps/s390/s390-64/configure.in: Moved to ...
46032         * sysdeps/s390/s390-64/configure.ac: ... here.
46033         * sysdeps/sh/configure.in: Moved to ...
46034         * sysdeps/sh/configure.ac: ... here.
46035         * sysdeps/sparc/configure.in: Moved to ...
46036         * sysdeps/sparc/configure.ac: ... here.
46037         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
46038         * sysdeps/unix/sysv/linux/configure.ac: ... here.
46039         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
46040         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
46041         * sysdeps/x86_64/configure.in: Moved to ...
46042         * sysdeps/x86_64/configure.ac: ... here.
46043         * sysdeps/x86_64/preconfigure.in: Moved to ...
46044         * sysdeps/x86_64/preconfigure.ac: ... here.
46045         * aclocal.m4: Change reference to configure.in to configure.ac.
46046         * config.h.in: Likewise.
46047         * manual/install.texi: Likewise.
46048         * manual/maint.texi: Likewise.
46049         * Makefile: Likewise.
46050         * malloc/Makefile: Likewise.
46051         * nscd/Makefile: Likewise.
46052         * Makeconfig: Change reference to configure.in and
46053         preconfigure.in to configure.ac and preconfigure.ac
46054         respectively.
46055         * INSTALL: Regenerated.
46056         * configure: Likewise.
46057         * sysdeps/gnu/configure: Likewise.
46058         * sysdeps/i386/configure: Likewise.
46059         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
46060         * sysdeps/mach/configure: Likewise.
46061         * sysdeps/mach/hurd/configure: Likewise.
46062         * sysdeps/powerpc/configure: Likewise.
46063         * sysdeps/powerpc/powerpc32/configure: Likewise.
46064         * sysdeps/powerpc/powerpc64/configure: Likewise.
46065         * sysdeps/s390/s390-32/configure: Likewise.
46066         * sysdeps/s390/s390-64/configure: Likewise.
46067         * sysdeps/sh/configure: Likewise.
46068         * sysdeps/sparc/configure: Likewise.
46069         * sysdeps/unix/sysv/linux/configure: Likewise.
46070         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
46071         * sysdeps/x86_64/configure: Likewise.
46072         * sysdeps/x86_64/preconfigure: Likewise.
46074 2013-10-29  Andreas Schwab  <schwab@suse.de>
46076         * stdio-common/Makefile (tst-swscanf-ENV): Define.
46078 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46080         * benchtests/pow-inputs: Add new inputs.
46082         * benchtests/exp-inputs: Add new inputs.
46084         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
46085         conditional check for return value.
46086         (__cos32): Likewise.
46088 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46090         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
46091         to provide a boost for large inputs with word alignment.
46092         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
46093         implementation based on optimized PPC64 strcpy.
46094         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
46095         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
46096         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
46097         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
46099 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46101         [BZ #2801]
46102         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
46104 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46106         [BZ #14876]
46107         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
46108         * time/tst-strptime.c (day_tests): Add testcase.
46110 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46112         [BZ #14029]
46113         * manual/pattern.texi: Acknowledge that fnmatch can fail.
46115 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
46117         [BZ #16074]
46118         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
46119         MAP_FAILED on error.
46121 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46123         [BZ #16072]
46124         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
46125         heap for large requests.
46127 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
46129         [BZ #9954]
46130         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
46131         result if the result has no associated interface.
46132         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
46133         interface for all 127.X.Y.Z addresses.
46135 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
46137         * locale/iso-639.def: Add Ligurian (lij)
46139 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
46141         [BZ #15825]
46142         * sunrpc/rpc_main.c: Document rpcgen -5.
46144 2013-10-19  Michael Stahl  <mstahl@redhat.com>
46146         * elf/rtld.c (do_preload): Print the reason why preloading failed.
46148 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46150         [BZ #10278]
46151         * posix/glob.c: Match only directories when trailing slash is present.
46152         * posix/tst-gnuglob.c (my_opendir): Do not open files.
46153         (main): Add testcase.
46155 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46157         [BZ #15670]
46158         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
46160 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
46162         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
46163         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
46164         AUTH_DES and cindex for FIPS 140-2.
46165         (DES Encryption): Add cindex FIPS 46-3.
46167         * locale/locarchive.h (struct locarhandle): Add fname.
46168         * locale/programs/localedef.c (main): Pass ARGV[remaining]
46169         if an optional argument was specified to --list-archive,
46170         otherwise NULL.
46171         * locale/programs/locarchive.c (show_archive_content): Take new
46172         argument fname and pass it via ah.fname to open_archive.
46173         * locale/programs/localedef.h: Update decl.
46174         (open_archive): If AH->fname is non-null, open that file
46175         rather than the default file name, and don't ignore ENOENT.
46176         (create_archive): Set AH.fname to NULL.
46177         (delete_locales_from_archive): Likewise.
46178         (add_locales_to_archive): Likewise.
46179         * locale/programs/locfile.c (write_all_categories): Likewise.
46181 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
46182             Aldy Hernandez  <aldyh@redhat.com>
46184         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
46185         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
46186         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
46187         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
46188         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
46189         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
46190         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
46191         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
46192         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
46193         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
46194         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
46195         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
46196         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
46197         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
46198         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
46199         Likewise.
46200         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
46201         Likewise.
46202         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
46203         Likewise.
46204         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
46205         Likewise.
46206         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
46207         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
46208         Likewise.
46209         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
46210         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
46211         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
46212         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
46213         Likewise.
46214         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
46215         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
46216         * sysdeps/powerpc/preconfigure: Likewise.
46217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
46218         Likewise.
46219         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
46220         Replace contents of file by #include of <fenv_libc.h>.
46221         * sysdeps/powerpc/soft-fp/sfp-machine.h
46222         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
46223         and <sys/prctl.h>.
46224         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
46225         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
46226         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
46227         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
46228         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
46229         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
46230         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
46231         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
46232         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
46233         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
46234         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
46235         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
46236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46237         Allow copysignl PLT reference to be missing.
46239 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
46240             Joseph Myers  <joseph@codesourcery.com
46242         [BZ #15948]
46243         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
46244         single character.
46245         (add_to_tablewc): Assert sequence of wide characters is nonempty.
46247 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46249         * elf/tst-tls-dlinfo.c: Don't include tls.h.
46250         * elf/tst-tls1.c: Likewise.
46251         * elf/tst-tls10.h: Likewise.
46252         * elf/tst-tls14.c: Likewise.
46253         * elf/tst-tls2.c: Likewise.
46254         * elf/tst-tls3.c: Likewise.
46255         * elf/tst-tls4.c: Likewise.
46256         * elf/tst-tls5.c: Likewise.
46257         * elf/tst-tls6.c: Likewise.
46258         * elf/tst-tls7.c: Likewise.
46259         * elf/tst-tls8.c: Likewise.
46260         * elf/tst-tls9.c: Likewise.
46261         * elf/tst-tlsmod1.c: Likewise.
46262         * elf/tst-tlsmod13.c: Likewise.
46263         * elf/tst-tlsmod13a.c: Likewise.
46264         * elf/tst-tlsmod14a.c: Likewise.
46265         * elf/tst-tlsmod16a.c: Likewise.
46266         * elf/tst-tlsmod16b.c: Likewise.
46267         * elf/tst-tlsmod2.c: Likewise.
46268         * elf/tst-tlsmod3.c: Likewise.
46269         * elf/tst-tlsmod4.c: Likewise.
46270         * elf/tst-tlsmod5.c: Likewise.
46271         * elf/tst-tlsmod6.c: Likewise.
46273 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
46275         [BZ #12486]
46276         * malloc/malloc.c: remove checks for statistics.
46278 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46280         [BZ #15277]
46281         * inet/inet_net.c (inet_network): Detect additional invalid strings.
46282         * inet/tst-network.c: Add testcase.
46284 2013-10-17  Andreas Schwab  <schwab@suse.de>
46286         [BZ #15218]
46287         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
46288         to determine canonical name.
46290 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46292         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
46293         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
46294         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46295         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46296         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46297         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46298         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46299         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46300         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46301         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46302         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46303         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46304         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46305         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46306         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46307         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46308         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46309         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46310         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46311         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46312         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46313         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46314         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46315         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
46316         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
46317         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46318         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46319         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
46320         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46321         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
46322         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46323         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46324         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46325         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46326         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46327         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46328         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46329         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46330         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46331         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46332         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46333         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46334         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46335         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46336         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46337         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46338         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46339         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46340         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46341         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46342         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46343         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46344         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46345         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46346         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46347         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46348         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46349         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46351 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
46353         [BZ #16041]
46354         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
46355         make result into a quiet NaN.
46357 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
46359         * soft-fp/adddf3.c: Fix horizontal whitespace.
46360         * soft-fp/addsf3.c: Likewise.
46361         * soft-fp/addtf3.c: Likewise.
46362         * soft-fp/divdf3.c: Likewise.
46363         * soft-fp/divsf3.c: Likewise.
46364         * soft-fp/divtf3.c: Likewise.
46365         * soft-fp/double.h: Likewise.
46366         * soft-fp/eqdf2.c: Likewise.
46367         * soft-fp/eqsf2.c: Likewise.
46368         * soft-fp/eqtf2.c: Likewise.
46369         * soft-fp/extenddftf2.c: Likewise.
46370         * soft-fp/extended.h: Likewise.
46371         * soft-fp/extendsfdf2.c: Likewise.
46372         * soft-fp/extendsftf2.c: Likewise.
46373         * soft-fp/extendxftf2.c: Likewise.
46374         * soft-fp/fixdfdi.c: Likewise.
46375         * soft-fp/fixdfsi.c: Likewise.
46376         * soft-fp/fixdfti.c: Likewise.
46377         * soft-fp/fixsfdi.c: Likewise.
46378         * soft-fp/fixsfsi.c: Likewise.
46379         * soft-fp/fixsfti.c: Likewise.
46380         * soft-fp/fixtfdi.c: Likewise.
46381         * soft-fp/fixtfsi.c: Likewise.
46382         * soft-fp/fixtfti.c: Likewise.
46383         * soft-fp/fixunsdfdi.c: Likewise.
46384         * soft-fp/fixunsdfsi.c: Likewise.
46385         * soft-fp/fixunsdfti.c: Likewise.
46386         * soft-fp/fixunssfdi.c: Likewise.
46387         * soft-fp/fixunssfsi.c: Likewise.
46388         * soft-fp/fixunssfti.c: Likewise.
46389         * soft-fp/fixunstfdi.c: Likewise.
46390         * soft-fp/fixunstfsi.c: Likewise.
46391         * soft-fp/fixunstfti.c: Likewise.
46392         * soft-fp/floatdidf.c: Likewise.
46393         * soft-fp/floatdisf.c: Likewise.
46394         * soft-fp/floatditf.c: Likewise.
46395         * soft-fp/floatsidf.c: Likewise.
46396         * soft-fp/floatsisf.c: Likewise.
46397         * soft-fp/floatsitf.c: Likewise.
46398         * soft-fp/floattidf.c: Likewise.
46399         * soft-fp/floattisf.c: Likewise.
46400         * soft-fp/floattitf.c: Likewise.
46401         * soft-fp/floatundidf.c: Likewise.
46402         * soft-fp/floatundisf.c: Likewise.
46403         * soft-fp/floatunditf.c: Likewise.
46404         * soft-fp/floatunsidf.c: Likewise.
46405         * soft-fp/floatunsisf.c: Likewise.
46406         * soft-fp/floatunsitf.c: Likewise.
46407         * soft-fp/floatuntidf.c: Likewise.
46408         * soft-fp/floatuntisf.c: Likewise.
46409         * soft-fp/floatuntitf.c: Likewise.
46410         * soft-fp/fmadf4.c: Likewise.
46411         * soft-fp/fmasf4.c: Likewise.
46412         * soft-fp/fmatf4.c: Likewise.
46413         * soft-fp/gedf2.c: Likewise.
46414         * soft-fp/gesf2.c: Likewise.
46415         * soft-fp/getf2.c: Likewise.
46416         * soft-fp/ledf2.c: Likewise.
46417         * soft-fp/lesf2.c: Likewise.
46418         * soft-fp/letf2.c: Likewise.
46419         * soft-fp/muldf3.c: Likewise.
46420         * soft-fp/mulsf3.c: Likewise.
46421         * soft-fp/multf3.c: Likewise.
46422         * soft-fp/negdf2.c: Likewise.
46423         * soft-fp/negsf2.c: Likewise.
46424         * soft-fp/negtf2.c: Likewise.
46425         * soft-fp/op-1.h: Likewise.
46426         * soft-fp/op-2.h: Likewise.
46427         * soft-fp/op-4.h: Likewise.
46428         * soft-fp/op-8.h: Likewise.
46429         * soft-fp/op-common.h: Likewise.
46430         * soft-fp/quad.h: Likewise.
46431         * soft-fp/single.h: Likewise.
46432         * soft-fp/soft-fp.h: Likewise.
46433         * soft-fp/sqrtdf2.c: Likewise.
46434         * soft-fp/sqrtsf2.c: Likewise.
46435         * soft-fp/sqrttf2.c: Likewise.
46436         * soft-fp/subdf3.c: Likewise.
46437         * soft-fp/subsf3.c: Likewise.
46438         * soft-fp/subtf3.c: Likewise.
46439         * soft-fp/truncdfsf2.c: Likewise.
46440         * soft-fp/trunctfdf2.c: Likewise.
46441         * soft-fp/trunctfsf2.c: Likewise.
46442         * soft-fp/trunctfxf2.c: Likewise.
46443         * soft-fp/unorddf2.c: Likewise.
46444         * soft-fp/unordsf2.c: Likewise.
46445         * soft-fp/unordtf2.c: Likewise.
46447 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
46449         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
46450         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
46452 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
46454         * elf/dl-libc.c: Clear initfini list after freeing.
46456 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
46458         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
46459         * soft-fp/addsf3.c: Likewise.
46460         * soft-fp/addtf3.c: Likewise.
46461         * soft-fp/divdf3.c: Likewise.
46462         * soft-fp/divsf3.c: Likewise.
46463         * soft-fp/divtf3.c: Likewise.
46464         * soft-fp/double.h: Likewise.
46465         * soft-fp/eqdf2.c: Likewise.
46466         * soft-fp/eqsf2.c: Likewise.
46467         * soft-fp/eqtf2.c: Likewise.
46468         * soft-fp/extenddftf2.c: Likewise.
46469         * soft-fp/extended.h: Likewise.
46470         * soft-fp/extendsfdf2.c: Likewise.
46471         * soft-fp/extendsftf2.c: Likewise.
46472         * soft-fp/extendxftf2.c: Likewise.
46473         * soft-fp/fixdfdi.c: Likewise.
46474         * soft-fp/fixdfsi.c: Likewise.
46475         * soft-fp/fixdfti.c: Likewise.
46476         * soft-fp/fixsfdi.c: Likewise.
46477         * soft-fp/fixsfsi.c: Likewise.
46478         * soft-fp/fixsfti.c: Likewise.
46479         * soft-fp/fixtfdi.c: Likewise.
46480         * soft-fp/fixtfsi.c: Likewise.
46481         * soft-fp/fixtfti.c: Likewise.
46482         * soft-fp/fixunsdfdi.c: Likewise.
46483         * soft-fp/fixunsdfsi.c: Likewise.
46484         * soft-fp/fixunsdfti.c: Likewise.
46485         * soft-fp/fixunssfdi.c: Likewise.
46486         * soft-fp/fixunssfsi.c: Likewise.
46487         * soft-fp/fixunssfti.c: Likewise.
46488         * soft-fp/fixunstfdi.c: Likewise.
46489         * soft-fp/fixunstfsi.c: Likewise.
46490         * soft-fp/fixunstfti.c: Likewise.
46491         * soft-fp/floatdidf.c: Likewise.
46492         * soft-fp/floatdisf.c: Likewise.
46493         * soft-fp/floatditf.c: Likewise.
46494         * soft-fp/floatsidf.c: Likewise.
46495         * soft-fp/floatsisf.c: Likewise.
46496         * soft-fp/floatsitf.c: Likewise.
46497         * soft-fp/floattidf.c: Likewise.
46498         * soft-fp/floattisf.c: Likewise.
46499         * soft-fp/floattitf.c: Likewise.
46500         * soft-fp/floatundidf.c: Likewise.
46501         * soft-fp/floatundisf.c: Likewise.
46502         * soft-fp/floatunsidf.c: Likewise.
46503         * soft-fp/floatunsisf.c: Likewise.
46504         * soft-fp/floatuntidf.c: Likewise.
46505         * soft-fp/floatuntisf.c: Likewise.
46506         * soft-fp/floatuntitf.c: Likewise.
46507         * soft-fp/fmadf4.c: Likewise.
46508         * soft-fp/fmasf4.c: Likewise.
46509         * soft-fp/fmatf4.c: Likewise.
46510         * soft-fp/gedf2.c: Likewise.
46511         * soft-fp/gesf2.c: Likewise.
46512         * soft-fp/getf2.c: Likewise.
46513         * soft-fp/ledf2.c: Likewise.
46514         * soft-fp/lesf2.c: Likewise.
46515         * soft-fp/letf2.c: Likewise.
46516         * soft-fp/muldf3.c: Likewise.
46517         * soft-fp/mulsf3.c: Likewise.
46518         * soft-fp/multf3.c: Likewise.
46519         * soft-fp/negdf2.c: Likewise.
46520         * soft-fp/negsf2.c: Likewise.
46521         * soft-fp/negtf2.c: Likewise.
46522         * soft-fp/op-1.h: Likewise.
46523         * soft-fp/op-2.h: Likewise.
46524         * soft-fp/op-4.h: Likewise.
46525         * soft-fp/op-8.h: Likewise.
46526         * soft-fp/op-common.h: Likewise.
46527         * soft-fp/quad.h: Likewise.
46528         * soft-fp/single.h: Likewise.
46529         * soft-fp/soft-fp.h: Likewise.
46530         * soft-fp/sqrtdf2.c: Likewise.
46531         * soft-fp/sqrtsf2.c: Likewise.
46532         * soft-fp/sqrttf2.c: Likewise.
46533         * soft-fp/subdf3.c: Likewise.
46534         * soft-fp/subsf3.c: Likewise.
46535         * soft-fp/subtf3.c: Likewise.
46536         * soft-fp/truncdfsf2.c: Likewise.
46537         * soft-fp/trunctfdf2.c: Likewise.
46538         * soft-fp/trunctfsf2.c: Likewise.
46539         * soft-fp/trunctfxf2.c: Likewise.
46540         * soft-fp/unorddf2.c: Likewise.
46541         * soft-fp/unordsf2.c: Likewise.
46542         * soft-fp/unordtf2.c: Likewise.
46544 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
46546         [BZ #15672]
46547         * misc/error.c (error_tail): Fix possible buffer overflow.
46549 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
46551         [BZ #13028]
46552         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
46553         address.
46555 2013-10-14  P. J. McDermott  <pj@pehjota.net>
46557         [BZ #832]
46558         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
46559         testing pipefail option.
46561 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46563         * soft-fp/double.h: Indent preprocessor directives inside #if.
46564         * soft-fp/extended.h: Likewise.
46565         * soft-fp/op-2.h: Likewise.
46566         * soft-fp/op-4.h: Likewise.
46567         * soft-fp/op-common.h: Likewise.
46568         * soft-fp/quad.h: Likewise.
46569         * soft-fp/single.h: Likewise.
46570         * soft-fp/soft-fp.h: Likewise.
46572 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
46574         * iconv/iconv_prog.c: Fix typos.
46575         * stdio-common/psiginfo-data.h: Likewise.
46577 2013-10-12   Reuben Thomas <rrt@sc3d.org>
46579         [BZ #15764]
46580         * locale/setlocale.c: Fix typo.
46582 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46584         [BZ #16036]
46585         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
46586         signaling NaN arguments.
46587         * soft-fp/unordsf2.c (__unordsf2): Likewise.
46588         * soft-fp/unordtf2.c (__unordtf2): Likewise.
46590         [BZ #14910]
46591         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
46592         unordered operands.
46593         * soft-fp/gesf2.c (__gesf2): Likewise.
46594         * soft-fp/getf2.c (__getf2): Likewise.
46595         * soft-fp/ledf2.c (__ledf2): Likewise.
46596         * soft-fp/lesf2.c (__lesf2): Likewise.
46597         * soft-fp/letf2.c (__letf2): Likewise.
46599         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
46600         * soft-fp/eqsf2.c (__eqsf2): Likewise.
46601         * soft-fp/eqtf2.c (__eqtf2): Likewise.
46602         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
46603         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
46604         * soft-fp/fixdfti.c (__fixdfti): Likewise.
46605         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
46606         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
46607         * soft-fp/fixsfti.c (__fixsfti): Likewise.
46608         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
46609         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
46610         * soft-fp/fixtfti.c (__fixtfti): Likewise.
46611         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
46612         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
46613         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
46614         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
46615         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
46616         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
46617         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
46618         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
46619         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
46620         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
46621         * soft-fp/floatdisf.c (__floatdisf): Likewise.
46622         * soft-fp/floatsisf.c (__floatsisf): Likewise.
46623         * soft-fp/floattidf.c (__floattidf): Likewise.
46624         * soft-fp/floattisf.c (__floattisf): Likewise.
46625         * soft-fp/floattitf.c (__floattitf): Likewise.
46626         * soft-fp/floatundidf.c (__floatundidf): Likewise.
46627         * soft-fp/floatundisf.c (__floatundisf): Likewise.
46628         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
46629         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
46630         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
46631         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
46632         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
46633         * soft-fp/gesf2.c (__gesf2): Likewise.
46634         * soft-fp/getf2.c (__getf2): Likewise.
46635         * soft-fp/ledf2.c (__ledf2): Likewise.
46636         * soft-fp/lesf2.c (__lesf2): Likewise.
46637         * soft-fp/letf2.c (__letf2): Likewise.
46639         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
46640         Undefine and redefine.
46641         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
46642         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
46643         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
46644         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
46645         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46646         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
46647         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46648         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
46649         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46650         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
46651         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46652         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
46653         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46654         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
46655         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46657         [BZ #16032]
46658         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
46659         without decrementing exponent if mantissa >= that for the
46660         denominator, not >.
46661         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
46662         denominator, not >.  Decrement exponent in < case instead of
46663         incrementing in >= case.
46664         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
46665         without decrementing exponent if mantissa >= that for the
46666         denominator, not >.
46668         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
46669         computing saturated result for unsigned overflow.
46671 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46672             Jeff Law  <law@redhat.com>
46674         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
46675         (atan2Mp): Add systemtap probe marker.
46676         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
46677         (__ieee754_log): Add systemtap probe marker.
46678         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
46679         (atanMp): Add systemtap probe marker.
46680         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
46681         (tanMp): Add systemtap probe marker.
46682         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
46683         (__slowexp): Add systemtap probe marker.
46684         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
46685         (__slowpow): Add systemtap probe marker.
46686         * manual/probes.texi: Document probes.
46688 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
46690         [BZ #15362]
46691         * libio/fileops.c (_IO_new_file_write): Return count of bytes
46692         written.
46693         (_IO_new_file_xsputn): Don't return EOF if nothing has been
46694         written.
46695         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
46696         written to buffer but not flushed.
46697         * libio/iofwrite_u.c:  Likewise.
46698         * libio/iopadn.c:  Return bytes returned even if EOF was
46699         encountered.
46700         * libio/iowpadn.c:  Likewise.
46701         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
46702         if _IO_padn does not write the whole buffer.
46703         [!COMPILE_WPRINTF] (PAD): Likewise.
46705 2013-10-10  David S. Miller  <davem@davemloft.net>
46707         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
46708         directory block.
46710 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46712         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
46713         instead of FSF address.
46714         * soft-fp/fixdfti.c: Likewise.
46715         * soft-fp/fixsfti.c: Likewise.
46716         * soft-fp/fixtfti.c: Likewise.
46717         * soft-fp/fixunsdfti.c: Likewise.
46718         * soft-fp/fixunssfti.c: Likewise.
46719         * soft-fp/fixunstfti.c: Likewise.
46720         * soft-fp/floattidf.c: Likewise.
46721         * soft-fp/floattisf.c: Likewise.
46722         * soft-fp/floattitf.c: Likewise.
46723         * soft-fp/floatuntidf.c: Likewise.
46724         * soft-fp/floatuntisf.c: Likewise.
46725         * soft-fp/floatuntitf.c: Likewise.
46726         * soft-fp/trunctfxf2.c: Likewise.
46728         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
46729         * soft-fp/fixdfti.c: Likewise.
46730         * soft-fp/fixsfti.c: Likewise.
46731         * soft-fp/fixtfti.c: Likewise.
46732         * soft-fp/fixunsdfti.c: Likewise.
46733         * soft-fp/fixunssfti.c: Likewise.
46734         * soft-fp/fixunstfti.c: Likewise.
46735         * soft-fp/floattidf.c: Likewise.
46736         * soft-fp/floattisf.c: Likewise.
46737         * soft-fp/floattitf.c: Likewise.
46738         * soft-fp/floatuntidf.c: Likewise.
46739         * soft-fp/floatuntisf.c: Likewise.
46740         * soft-fp/floatuntitf.c: Likewise.
46741         * soft-fp/trunctfxf2.c: Likewise.
46743 2013-10-10  David S. Miller  <davem@davemloft.net>
46745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46747 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
46749         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46750         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
46751         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
46752         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
46753         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
46754         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
46755         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
46757         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
46758         for NaNs before doing comparisons on argument.
46759         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
46760         Likewise.
46762 2013-10-10  Will Newton  <will.newton@linaro.org>
46764         * malloc/hooks.c (memalign_check): Ensure the value of bytes
46765         passed to _int_memalign does not overflow.
46767 2013-10-10  Torvald Riegel  <triegel@redhat.com>
46769         * scripts/bench.pl: Add include-sources directive.
46770         * benchtests/README: Update documentation.
46772 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46774         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
46775         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
46776         instead of FP_INIT_ROUNDMODE.
46777         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
46778         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
46780         [BZ #16034]
46781         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
46782         copy class of input value.
46783         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
46784         not handle exceptions.
46785         * soft-fp/negsf2.c (__negsf2): Likewise.
46786         * soft-fp/negtf2.c (__negtf2): Likewise.
46787         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
46789 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
46791         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
46792         semicolon.  From Linux kernel.
46794 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
46796         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
46798 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
46800         [BZ #156]
46801         * manual/socket.texi: Added statement about buffer
46802         for gethostbyname2_r.
46804 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
46806         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
46807         Use .p2align directive instead, throughout.
46808         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46809         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
46810         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
46811         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46812         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46813         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
46814         * sysdeps/x86_64/strchr.S: Likewise.
46815         * sysdeps/x86_64/strrchr.S: Likewise.
46817 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46819         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
46821         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
46823         * sysdeps/generic/math_private.h (__mpsin1): Remove
46824         declaration.
46825         (__mpcos1): Likewise.
46826         (__mpsin): New argument __range_reduce.
46827         (__mpcos): Likewise.
46828         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46829         (slow): Use __mpsin and __mpcos.
46830         (slow1): Likewise.
46831         (slow2): Likewise.
46832         (sloww): Likewise.
46833         (sloww1): Likewise.
46834         (sloww2): Likewise.
46835         (bsloww): Likewise.
46836         (bsloww1): Likewise.
46837         (bsloww2): Likewise.
46838         (cslow2): Likewise.
46839         (csloww): Likewise.
46840         (csloww1): Likewise.
46841         (csloww2): Likewise.
46842         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
46843         range_reduce.  Merge in __mpsin1.
46844         (__mpcos): Likewise.
46845         (__mpsin1): Remove.
46846         (__mpcos1): Likewise.
46848 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
46850         * locale/loadlocale.c (_nl_intern_locale_data): Use
46851         LOCFILE_ALIGNED_P.
46852         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
46853         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
46854         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
46855         obstack data is appropriately aligned.
46856         (obstack_int32_grow_fast): Likewise.
46857         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
46858         * locale/programs/locfile.c (add_locale_uint32): Likewise.
46859         (add_locale_uint32_array): Likewise.
46861 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46863         * benchtests/Makefile: Remove ARGLIST and RET variables.
46864         ($(objpfx)bench-%.c): Pass only function name to the script.
46865         * benchtests/README: Update documentation.
46866         * benchtests/acos-inputs: Add new directives.
46867         * benchtests/acosh-inputs: Likewise.
46868         * benchtests/asin-inputs: Likewise.
46869         * benchtests/asinh-inputs: Likewise.
46870         * benchtests/atan-inputs: Likewise.
46871         * benchtests/atanh-inputs: Likewise.
46872         * benchtests/cos-inputs: Likewise.
46873         * benchtests/cosh-inputs: Likewise.
46874         * benchtests/exp-inputs: Likewise.
46875         * benchtests/log-inputs: Likewise.
46876         * benchtests/pow-inputs: Likewise.
46877         * benchtests/rint-inputs: Likewise.
46878         * benchtests/sin-inputs: Likewise.
46879         * benchtests/sinh-inputs: Likewise.
46880         * benchtests/tan-inputs: Likewise.
46881         * benchtests/tanh-inputs: Likewise.
46882         * scripts/bench.pl: Add support for new directives.
46884 2013-10-07  Alan Modra  <amodra@gmail.com>
46886         * README: Fix careless merge.
46888 2013-10-05  Alan Modra  <amodra@gmail.com>
46890         * NEWS: Mention powerpc64le support and bugs fixed.
46891         * README: Both big-endian and little-endian powerpc64 supported.
46893 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46895         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
46896         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
46897         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
46898         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
46900 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
46902         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
46903         match prototype.
46905 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
46907         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
46908         Move -mhard-float appending from
46909         ports/sysdeps/powerpc/powerpc32/Makefile.
46910         [$(with-fp) = yes] (ASFLAGS): Likewise.
46911         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
46912         * sysdeps/powerpc/nofpu: Move directory from
46913         ports/sysdeps/powerpc/nofpu.
46914         * sysdeps/powerpc/soft-fp: Move directory from
46915         ports/sysdeps/powerpc/soft-fp.
46916         * sysdeps/powerpc/powerpc32/405: Move directory from
46917         ports/sysdeps/powerpc/powerpc32/405.
46918         * sysdeps/powerpc/powerpc32/440: Move directory from
46919         ports/sysdeps/powerpc/powerpc32/440.
46920         * sysdeps/powerpc/powerpc32/464: Move directory from
46921         ports/sysdeps/powerpc/powerpc32/464.
46922         * sysdeps/powerpc/powerpc32/476: Move directory from
46923         ports/sysdeps/powerpc/powerpc32/476.
46924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
46925         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
46926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
46927         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
46928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
46929         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
46930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
46931         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
46932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
46933         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
46934         * README: Update for powerpc-*-linux-gnu software floating point
46935         support in libc.
46937         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
46938         case to powerpc/powerpc32*.
46939         * sysdeps/unix/sysv/linux/configure: Regenerated.
46941         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
46942         (_FPU_MASK_OM): Define as 0x04.
46943         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
46944         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
46945         0x00c10080.
46946         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
46947         0x0000003c.
46948         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
46950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
46951         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46952         getcontext_e500.
46953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
46954         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46955         setcontext_e500.
46956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
46957         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
46958         and setcontext_e500.
46960 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
46962         * locale/iso-3166.def: Update iso-1366.def and related occurrences
46964 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46966         * manual/threads.texi (Default Thread Attributes): Fix typo.
46968 2013-10-04  Will Newton  <will.newton@linaro.org>
46970         * malloc/Makefile: Add tst-memalign.
46971         * malloc/tst-memalign.c: New file.
46973         * malloc/tst-posix_memalign.c: Add comments.
46974         (do_test): Add comments and call free on all potentially
46975         allocated pointers. Add space after cast.
46977         * malloc/tst-pvalloc.c: Add comments.
46978         (do_test): Add comments and call free on all potentially
46979         allocated pointers. Remove duplicate check for NULL pointer.
46980         Add space after cast.
46982         * malloc/tst-valloc.c: Add comments.
46983         (do_test): Add comments and call free on all potentially
46984         allocated pointers. Remove duplicate check for NULL pointer.
46985         Add space after cast.
46987 2013-10-04  Alan Modra  <amodra@gmail.com>
46989         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46990         Use stdint types in rather than __attribute__((mode())).
46991         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46993 2013-10-04  Alan Modra  <amodra@gmail.com>
46995         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46996         Correct handling of unaligned relocs for little-endian.
46997         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46999 2013-10-04  Alan Modra  <amodra@gmail.com>
47001         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
47002         * configure: Regenerate.
47003         * nptl/shlib-versions: Powerpc*le starts at 2.18.
47004         * shlib-versions: Likewise.
47006 2013-10-04  Alan Modra  <amodra@gmail.com>
47008         * string/tester.c (test_memrchr): Increment reported test cycle.
47010 2013-10-04  Alan Modra  <amodra@gmail.com>
47012         * string/test-memcpy.c (do_one_test): When reporting errors, print
47013         string address and don't overrun end of string.
47015 2013-10-04  Alan Modra  <amodra@gmail.com>
47017         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
47018         insrdi.  Make better use of reg selection to speed exit slightly.
47019         Schedule entry path a little better.  Remove useless "are we done"
47020         checks on entry to main loop.  Handle wrapping around zero address.
47021         Correct main loop count.  Handle single left-over word from main
47022         loop inline rather than by using loop_small.  Remove extra word
47023         case in loop_small caused by wrong loop count.  Add little-endian
47024         support.
47025         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47026         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
47027         cache hint.
47028         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47029         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
47030         support.  Avoid rlwimi.
47031         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
47033 2013-10-04  Alan Modra  <amodra@gmail.com>
47035         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
47036         insrdi.  Formatting.
47037         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
47038         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47039         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
47040         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47041         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47042         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
47044 2013-10-04  Alan Modra  <amodra@gmail.com>
47046         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
47047         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47048         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47049         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
47050         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47051         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47052         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47053         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47054         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
47055         use of regs.  Use power7 mtocrf.  Tidy function tails.
47057 2013-10-04  Alan Modra  <amodra@gmail.com>
47059         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
47060         Formatting.  Consistently use rXXX register defines or rN defines.
47061         Use early exit labels that avoid restoring unused non-volatile regs.
47062         Make cr field use more consistent with rWORDn compares.  Rename
47063         regs used as shift registers for unaligned loop, using rN defines
47064         for short lifetime/multiple use regs.
47065         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47066         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
47067         addi 1,1,64 to pop stack frame.  Simplify return value code.
47068         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47070 2013-10-04  Alan Modra  <amodra@gmail.com>
47072         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
47073         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
47074         rather than rlwimi.
47075         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
47076         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
47077         little-endian support.  Correct typos.
47078         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
47079         rather than rlwimi.
47080         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
47081         in loop and entry code to keep "and." results.
47082         (strchr): Add little-endian support.  Comment.  Move cntlzd
47083         earlier in tail.
47084         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
47086 2013-10-04  Alan Modra  <amodra@gmail.com>
47088         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
47089         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
47090         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
47091         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
47093 2013-10-04  Alan Modra  <amodra@gmail.com>
47095         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
47096         (rTMP): Define as r11.
47097         (strcmp): Add little-endian support.  Optimise tail.
47098         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
47099         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47100         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47101         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47102         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47103         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47104         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47106 2013-10-04  Alan Modra  <amodra@gmail.com>
47108         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
47109         little-endian support.  Remove unnecessary "are we done" tests.
47110         Handle "s" wrapping around zero and extremely large "size".
47111         Correct main loop count.  Handle single left-over word from main
47112         loop inline rather than by using small_loop.  Correct comments.
47113         Delete "zero" tail, use "end_max" instead.
47114         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
47116 2013-10-04  Alan Modra  <amodra@gmail.com>
47118         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
47119         support.  Don't branch over align.
47120         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
47121         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
47122         support.  Rearrange tmp reg use to suit.  Comment.
47123         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
47125 2013-10-04  Alan Modra  <amodra@gmail.com>
47127         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
47129 2013-10-04  Alan Modra  <amodra@gmail.com>
47131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
47132         conditional form of branch and link when obtaining pc.
47133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47135 2013-10-04  Alan Modra  <amodra@gmail.com>
47137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
47138         HIWORD/LOWORD.
47139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
47140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
47142 2013-10-04  Alan Modra  <amodra@gmail.com>
47144         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
47145         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
47146         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
47147         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
47148         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47149         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47150         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
47151         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47152         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
47153         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
47155 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47156             Alistair Popple <alistair@ozlabs.au.ibm.com>
47157             Alan Modra <amodra@gmail.com>
47159         [BZ #15723]
47160         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
47161         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
47162         _dl_hwcap access for little-endian.
47163         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
47164         destroy vmx regs when saving unaligned.
47165         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
47166         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
47167         destroy vmx regs when saving unaligned.
47169 2013-10-04  Alan Modra  <amodra@gmail.com>
47171         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
47172         Don't use a union to pack hi/low value.
47174 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47176         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
47177         for little-endian.
47178         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47179         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
47180         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
47181         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47182         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47184 2013-10-04  Alan Modra  <amodra@gmail.com>
47186         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
47187         constants to usual value for .cst8 section, and remove redundant
47188         high address load.
47189         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
47190         constant for 0x1p52.  Load little-endian words of double from
47191         correct stack offsets.
47193 2013-10-04  Alan Modra  <amodra@gmail.com>
47195         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
47196         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
47197         words of double from correct stack offsets.
47198         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
47199         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
47200         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47201         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47202         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47203         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47204         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47205         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
47206         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
47207         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47208         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47209         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47210         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47211         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47212         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47213         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
47214         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
47216 2013-10-04  Alan Modra  <amodra@gmail.com>
47218         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
47219         64-bit int/double union.
47220         (_FPU_SETCW): Likewise.
47221         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
47222         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
47224 2013-10-04  Alan Modra  <amodra@gmail.com>
47226         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
47227         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
47229 2013-10-04  Alan Modra  <amodra@gmail.com>
47231         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
47232         use vector int constants.
47233         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
47235 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47237         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
47238         array with long long.
47239         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
47240         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
47241         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
47242         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
47243         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
47244         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
47245         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
47246         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
47247         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
47248         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
47249         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
47250         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
47251         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
47253 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47255         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
47256         (__signbit): Likewise.  Correct for little-endian.
47257         (__signbitl): Call __signbit.
47258         (lrint): Correct for little-endian.
47259         (lrintf): Call lrint.
47261 2013-10-04  Alan Modra  <amodra@gmail.com>
47263         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
47264         union 32-bit int array member with 64-bit int array.
47265         (t515, tm256): Double rather than long double.
47266         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
47268 2013-10-04  Alan Modra  <amodra@gmail.com>
47270         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
47271         Delete.
47272         (IEEE854_LONG_DOUBLE_BIAS): Delete.
47273         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
47274         version of math_ldbl.h.
47276 2013-10-04  Alan Modra  <amodra@gmail.com>
47278         [BZ #15734], [BZ #15735]
47279         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
47280         all uses of ieee875 long double macros and unions.  Simplify test
47281         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
47282         ldbl_extract_mantissa value for ix,iy exponents.  Properly
47283         normalize after ldbl_extract_mantissa, and don't add hidden bit
47284         already handled.  Don't treat low word of ieee854 mantissa like
47285         low word of IBM long double and mask off bit when testing for
47286         zero.
47287         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
47288         all uses of ieee875 long double macros and unions.  Simplify tests
47289         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
47290         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
47291         two1022, instead use their values.  Recognise that tests for large
47292         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
47293         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
47294         Rewrite all uses of ieee875 long double macros and unions.  Simplify
47295         test for 0.0L and nan.  Correct negation.
47296         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
47297         ieee875 long double macros and unions.  Correct output for large
47298         magnitude x.  Correct absolute value calculation.
47299         (__erfcl): Likewise.
47300         * math/libm-test.inc: Add tests for errors discovered in IBM long
47301         double versions of fmodl, remainderl, erfl and erfcl.
47303 2013-10-04  Alan Modra  <amodra@gmail.com>
47305         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
47306         all uses of ieee854 long double macros and unions.  Simplify tests
47307         for long doubles that are fully specified by the high double.
47308         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
47309         Likewise.
47310         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
47311         Remove dead code too.
47312         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
47313         (__ieee754_ynl): Likewise.
47314         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
47315         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
47316         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
47317         Remove dead code too.
47318         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
47319         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
47320         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
47321         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
47322         Simplify.
47323         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
47324         Simplify.
47325         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
47326         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
47327         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
47328         Comment on variable precision.
47329         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
47330         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47331         Likewise.
47332         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
47333         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47334         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47335         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
47336         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
47338 2013-10-04  Alan Modra  <amodra@gmail.com>
47340         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
47341         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
47342         all uses of ieee854 long double macros and unions.
47343         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
47344         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47345         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
47346         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
47347         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
47348         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47349         Likewise.
47350         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
47351         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47352         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
47353         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47354         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
47355         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
47356         Simplify sign and nan test too.
47357         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
47358         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
47359         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
47360         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
47361         Likewise.
47362         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47363         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
47364         Likewise.
47365         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47366         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
47367         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
47368         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
47369         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
47370         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
47372 2013-10-04  Alan Modra  <amodra@gmail.com>
47374         * stdio-common/printf_size.c (__printf_size): Don't use
47375         union ieee854_long_double in fpnum union.
47376         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
47377         signbit macro to retrieve sign from long double.
47378         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
47379         retrieve sign from long double.
47380         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
47381         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
47382         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
47383         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47384         * math/test-misc.c (main): Don't use union ieee854_long_double.
47386 2013-10-04  Alan Modra  <amodra@gmail.com>
47388         [BZ #15680]
47389         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
47390         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
47391         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
47392         calculation.  Remove unnecessary test for denormal exponent.
47393         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
47394         Correct handling of denormals.  Avoid undefined shift behaviour.
47395         Correct normalisation of low mantissa when low double is denormal.
47396         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
47397         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
47398         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
47399         Correct normalisation of low mantissa.  Test for overflow of high
47400         mantissa and normalise.
47401         (ldbl_nearbyint): Use more readable constant for two52.
47402         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
47403         (__mpn_construct_long_double): Fix test for overflow of high
47404         mantissa and correct normalisation.  Avoid undefined shift.
47406 2013-10-04  Alan Modra  <amodra@gmail.com>
47408         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47409         (union ibm_extended_long_double): Define as an array of ieee754_double.
47410         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
47411         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
47412         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
47413         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47414         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47415         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
47416         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47417         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47418         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47419         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
47420         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47422 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
47424         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
47425         page size instead of calling getpagesize.
47427         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
47428         (LOCFILE_ALIGN_MASK): Likewise.
47429         (LOCFILE_ALIGN_UP): Likewise.
47430         (LOCFILE_ALIGNED_P): Likewise.
47431         * locale/programs/ld-collate.c (collate_output): Use the new
47432         macros instead of __alignof__ (int32_t).
47433         * locale/weight.h (findidx): Likewise.
47435 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
47437         [BZ #431]
47438         * manual/string.texi: Fix strncat and wcsncat.
47440 2013-10-03  Brooks Moses  <bmoses@google.com>
47442         [BZ #15915]
47443         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
47444         * Makerules: ...here, and adjust associated comments.
47446 2013-10-02  Will Newton  <will.newton@linaro.org>
47448         * malloc/Makefile: Add tst-pvalloc.
47449         * malloc/tst-pvalloc.c: New file.
47451 2013-10-02  Will Newton  <will.newton@linaro.org>
47453         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
47454         improve test coverage.
47456 2013-10-02  Will Newton  <will.newton@linaro.org>
47458         * malloc/Makefile: Add tst-posix_memalign.
47459         * malloc/tst-posix_memalign.c: New file.
47461 2013-10-01  Eric Blake  <eblake@redhat.com>
47463         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
47464         Use __THROWNL rather than __THROW on static functions.
47466 2013-09-30  Petr Machata  <pmachata@redhat.com>
47468         * elf/elf.h (R_AARCH64_ABS16): New macro.
47469         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
47470         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
47471         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
47472         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
47473         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
47474         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
47475         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
47476         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
47477         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
47478         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
47479         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
47480         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
47481         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
47482         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
47483         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
47484         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
47485         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
47486         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
47487         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
47488         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
47489         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
47490         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
47491         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
47492         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
47493         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
47494         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
47495         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
47496         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
47497         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
47498         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
47499         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
47500         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
47501         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
47502         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
47503         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
47504         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
47505         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
47506         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
47507         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
47508         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
47509         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
47510         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
47511         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
47512         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
47513         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
47514         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
47515         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
47516         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
47517         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
47518         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
47519         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
47520         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
47521         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
47522         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
47523         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
47524         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
47525         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
47526         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
47527         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
47528         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
47529         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
47530         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
47531         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
47532         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
47533         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
47534         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
47535         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
47536         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
47537         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
47538         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
47539         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
47540         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
47541         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
47542         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
47543         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
47544         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
47545         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
47546         (R_AARCH64_TLSDESC_LDR): Likewise.
47547         (R_AARCH64_TLSDESC_ADD): Likewise.
47548         (R_AARCH64_TLSDESC_CALL): Likewise.
47550 2013-09-30  Andreas Schwab  <schwab@suse.de>
47552         [BZ #15048]
47553         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
47554         the nss database lookup.
47555         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47556         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47558 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
47560         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
47562 2013-09-28  P. J. McDermott  <pj@pehjota.net>
47564         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
47565         ${Bash-specific parameter/pattern/string} parameter expansion.
47566         * sysdeps/unix/make-syscalls.sh: Likewise.
47568 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47570         * sysdeps/sh/stackguard-macros.h: New file.
47572 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
47574         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47575         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
47576         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
47577         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
47578         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47579         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
47581 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47583         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
47584         Fix thread ID register.
47586 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
47588         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
47589         [POSIX || UNIX98]: Require rather than permitting all symbols from
47590         <time.h>.
47591         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
47592         element of struct sched_param.
47593         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
47594         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
47595         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
47596         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
47597         constant.
47599 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
47601         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
47602         argument calculation.
47604 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47606         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
47607         Expect macro.
47608         [POSIX] (pthread_attr_t): Do not require type.
47609         [POSIX] (pthread_cond_t): Likewise.
47610         [POSIX] (pthread_condattr_t): Likewise.
47611         [POSIX] (pthread_key_t): Likewise.
47612         [POSIX] (pthread_mutex_t): Likewise.
47613         [POSIX] (pthread_mutexattr_t): Likewise.
47614         [POSIX] (pthread_once_t): Likewise.
47615         [POSIX] (pthread_t): Likewise.
47616         [POSIX-based standards] (pthread_atfork): Expect function.
47618 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47619             Richard Sandiford  <richard@codesourcery.com>
47621         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
47622         (swap_endianness_p): New extern variable.
47623         (set_big_endian): New inline function.
47624         (maybe_swap_uint32): Likewise.
47625         (maybe_swap_uint32_array): Likewise.
47626         (maybe_swap_uint32_obstack): Likewise.
47627         * locale/programs/locfile.c: Include <stdbool.h>.
47628         (swap_endianness_p): New variable.
47629         (add_locale_uint32): Call maybe_swap_uint32.
47630         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
47631         (write_locale_data): Call maybe_swap_uint32_array.
47632         * locale/programs/ld-collate.c (obstack_int32_grow): Call
47633         maybe_swap_uint32.
47634         (obstack_int32_grow_fast): Likewise.
47635         (output_weightwc): Call maybe_swap_uint32_obstack.
47636         (collate_output): Likewise.
47637         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
47638         (OPT_LITTLE_ENDIAN): Likewise.
47639         (options): Add --little-endian and --big-endian options.
47640         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
47641         * locale/programs/locarchive.c: Include "locfile.h".
47642         (GET): New macro.
47643         (SET): Likewise.
47644         (INC): Likewise.
47645         (create_archive): Use the new macros to access fields of
47646         structures directly mapped from or written to locale archives.
47647         (oldlocrecentcmp): Likewise.
47648         (enlarge_archive): Likewise.
47649         (insert_name): Likewise.
47650         (add_alias): Likewise.
47651         (add_locale): Likewise.
47652         (delete_locales_from_archive): Likewise.
47653         (show_archive_content): Likewise.
47654         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
47655         locale data.
47657 2013-09-24  Roland McGrath  <roland@hack.frob.com>
47659         * manual/freemanuals.texi: Updated from (newly) canonical copy at
47660         http://www.gnu.org/doc/freemanuals.texi.
47661         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
47663 2013-09-24  Will Newton  <will.newton@linaro.org>
47665         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
47666         macro.
47668 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
47670         * locale/hashval.h (compute_hashval): Interpret bytes of key as
47671         unsigned char.
47673 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
47675         * manual/threads.texi (POSIX Threads): Fix a typo.
47677 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47679         [BZ #14547]
47680         * string/tst-strcoll-overflow.c: New test case.
47681         * string/Makefile (xtests): Add tst-strcoll-overflow.
47682         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
47683         cache if string sizes may cause integer overflow.
47685         [BZ #14547]
47686         * string/strcoll_l.c (coll_seq): New members rule, idx,
47687         save_idx and back_us.
47688         (get_next_seq_nocache): New function.
47689         (do_compare_nocache): New function.
47690         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
47691         when malloc fails.
47693 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
47695         [BZ #15754]
47696         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
47697         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
47698         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
47700         [BZ #15754]
47701         * elf/Makefile (tests): Add tst-ptrguard1.
47702         (tests-static): Add tst-ptrguard1-static.
47703         (tst-ptrguard1-ARGS): Define.
47704         (tst-ptrguard1-static-ARGS): Define.
47705         * elf/tst-ptrguard1.c: New file.
47706         * elf/tst-ptrguard1-static.c: New file.
47707         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
47708         * sysdeps/i386/stackguard-macros.h: Likewise.
47709         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47710         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47711         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47712         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47713         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47714         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47716 2013-09-23  Hector Marco  <hecmargi@upv.es>
47717             Ismael Ripoll  <iripoll@disca.upv.es>
47718             Carlos O'Donell  <carlos@redhat.com>
47720         [BZ #15754]
47721         * sysdeps/generic/stackguard-macros.h: Define
47722         __pointer_chk_guard_local and POINTER_CHK_GUARD.
47723         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
47724         Define __pointer_chk_guard_local.
47725         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
47726         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
47728 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
47730         [BZ #15859]
47731         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
47733 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
47735         * include/string.h (__ffs): Declare as hidden.
47736         * string/ffs.c (__ffs): Define as hidden.
47737         * sysdeps/i386/ffs.c (__ffs): Likewise.
47738         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
47739         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
47740         * sysdeps/s390/ffs.c (__ffs): Likewise.
47741         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
47743 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
47745         * NEWS: Mention malloc probes.
47747         * malloc/arena.c (new_heap): New memory_heap_new probe.
47748         (grow_heap): New memory_heap_more probe.
47749         (shrink_heap): New memory_heap_less probe.
47750         (heap_trim): New memory_heap_free probe.
47751         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
47752         (systrim): New memory_sbrk_less probe.
47753         * manual/probes.texi: Document them.
47755         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
47756         * manual/probes.texi: Document it.
47758         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
47759         (__libc_realloc): Add memory_realloc_retry probe.
47760         (__libc_memalign): Add memory_memalign_retry probe.
47761         (__libc_valloc): Add memory_valloc_retry probe.
47762         (__libc_pvalloc): Add memory_pvalloc_retry probe.
47763         (__libc_calloc): Add memory_calloc_retry probe.
47764         * manual/probes.texi: Document them.
47766         * malloc/arena.c (get_free_list): Add probe
47767         memory_arena_reuse_free_list.
47768         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
47769         and memory_arena_reuse.
47770         (arena_get2) [!PER_THREAD]: Likewise.
47771         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
47772         memory_arena_reuse_realloc.
47773         * manual/probes.texi: Document them.
47775         * malloc/malloc.c (__libc_free): Add
47776         memory_mallopt_free_dyn_thresholds probe.
47777         (__libc_mallopt): Add multiple memory_mallopt probes.
47778         * manual/probes.texi: Document them.
47780         * malloc/malloc.c: Include stap-probe.h.
47781         (__libc_mallopt): Add memory_mallopt probe.
47782         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
47783         * manual/probes.texi: New.
47784         * manual/Makefile (chapters): Add probes.
47785         * manual/threads.texi: Set next node.
47787 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
47789         [BZ #15963, #13985]
47790         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
47791         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
47792         Add `Chinese' to `nan' entry name.
47794 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47796         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
47797         (POLYNOMIAL): Likewise.
47798         (TAYLOR_SINCOS): Likewise.
47799         (TAYLOR_SLOW): Likewise.
47800         (__sin): Use TAYLOR_SINCOS.
47801         (__cos): Likewise.
47802         (slow): Use TAYLOR_SLOW.
47803         (sloww): Likewise.
47804         (bsloww): Likewise.
47805         (csloww): Likewise.
47807 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47809         * stdlib/strtod_l.c: Fix buffer overrun.
47811 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47813         * benchtests/Makefile (bench): Add sincos.
47814         * benchtests/bench-sincos.c: New file.
47816         * math/libm-test.inc (cos_test_data): New test inputs.
47817         (sin_test_data): Likewise.
47819         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
47820         macro.
47821         (__sin): Use it.
47822         (__cos): Likewise.
47823         (slow1): Likewise.
47824         (slow2): Likewise.
47825         (sloww1): Likewise.
47826         (sloww2): Likewise.
47827         (bsloww1): Likewise.
47828         (bsloww2): Likewise.
47829         (cslow2): Likewise.
47830         (csloww1): Likewise.
47831         (csloww2): Likewise.
47833         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
47834         function.
47835         (__sin): Use it.
47836         (__cos): Likewise.
47838         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
47839         gotos.
47840         (__cos): Likewise.
47842 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
47844         * config.h.in (HAVE_MIPS_NAN2008): New macro.
47845         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
47846         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
47847         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
47848         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
47849         * elf/cache.c (print_entry): Handle the new cache flags.
47851 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47852             Aldy Hernandez  <aldyh@redhat.com>
47854         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
47855         Change condition to [_SOFT_FLOAT].
47856         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
47857         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
47858         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
47859         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47860         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
47861         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
47862         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
47863         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
47864         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
47865         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
47866         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
47867         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
47868         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
47869         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
47870         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
47871         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
47872         declaration.
47874 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47876         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
47877         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47878         (__longjmp): Use LOAD_GP to load saved GPRs.
47879         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
47880         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47881         (__sigsetjmp): Use SAVE_GP to save GPRs.
47883         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
47884         Do not append -msoft-float.
47885         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
47887 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47889         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
47891 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
47893         [BZ #15966]
47894         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
47895         (_FPU_GETCW): Use initial "__" on variable and field names but not
47896         on macro parameter name.
47897         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
47898         parentheses around reference to macro parameter.
47900 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
47902         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
47903         prototype.
47904         (ctype_startup): Use uint32_t in cast and sizeof for
47905         ctype->charnames.
47907 2013-09-11  Jia Liu  <proljc@gmail.com>
47909         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
47910         __daddr_t_defined.
47911         [__FreeBSD__]: Likewise.
47913 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
47915         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
47916         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
47917         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
47918         (strchr): Remove __strchr_sse42 ifunc selection.
47919         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
47920         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
47922 2013-09-11  Will Newton  <will.newton@linaro.org>
47924         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
47925         parameter to RES. Remove hardcoded 1000 value.
47926         * benchtests/bench-skeleton.c (main): Pass RES parameter
47927         to TIMING_INIT and multiply result by 1000.
47929 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47931         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47933 2013-09-11  Andreas Schwab  <schwab@suse.de>
47935         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
47936         if not defined.
47937         (O_TMPFILE) [__USE_GNU]: Define.
47938         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
47939         Define.
47941 2013-09-11  Will Newton  <will.newton@linaro.org>
47943         [BZ #15857]
47944         * malloc/malloc.c (__libc_memalign): Check the value of bytes
47945         does not overflow.
47947 2013-09-11  Will Newton  <will.newton@linaro.org>
47949         [BZ #15856]
47950         * malloc/malloc.c (__libc_valloc): Check the value of bytes
47951         does not overflow.
47953 2013-09-11  Will Newton  <will.newton@linaro.org>
47955         [BZ #15855]
47956         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
47957         does not overflow.
47959 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
47961         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
47962         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47963         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47964         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47965         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47967 2013-09-10  Allan McRae  <allan@archlinux.org>
47969         [BZ #15748]
47970         * manual/arith.texi (Parsing of Floats): Clarify
47971         cross-reference.
47973         [BZ #15849]
47974         * manual/install.texi (Running make install): Mention
47975         --enable-pt-chown.
47976         * INSTALL: Regenerated.
47978 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
47980         * csu/init-first.c (_init): Remove the !SHARED condition around
47981         FPU control word initialization.
47982         * elf/dl-support.c (_dl_fpu_control): New variable.
47983         (_dl_aux_init) <AT_FPUCW>: Initialize it.
47984         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
47985         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
47986         * math/test-fpucw-static.c: New file.
47987         * math/test-fpucw-ieee.c: New file.
47988         * math/test-fpucw-ieee-static.c: New file.
47989         * math/Makefile (tests): Add `test-fpucw-ieee' and
47990         `$(tests-static)'.
47991         (tests-static): New variable.
47992         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
47993         dependency to...
47994         [($(build-shared),yes)]
47995         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47996         ... this.
47997         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
47998         New dependency.
48000 2013-09-09  Allan McRae  <allan@archlinux.org>
48002         [BZ #15939]
48003         * manual/string.texi (Collation Functions): Fix typo in
48004         strcoll example.
48005         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
48007         [BZ #15893]
48008         * stdlib/isomac.c (get_null_defines): Fix memory leak.
48010         [BZ #15892]
48011         * libio/memstream.c (open_memstream): Fix memory leak.
48012         * libio/wmemstream.c (open_wmemstream): Likewise.
48014         [BZ #15895]
48015         * nscd/netgroupcache.c: Fix nesting of ifdefs.
48017 2013-09-09  Will Newton  <will.newton@linaro.org>
48019         * malloc/Makefile: Add tst-realloc to tests.
48020         * malloc/tst-realloc.c: New file.
48022 2013-09-09  Allan McRae  <allan@archlinux.org>
48024         [BZ #15844]
48025         * COPYING: Update from GNU website to fix FSF address.
48026         * COPYING.LIB: Likewise.
48028 2013-09-06  David S. Miller  <davem@davemloft.net>
48030         * po/zh_TW.po: Update Chinese (traditional) translation from
48031         translation project.
48033 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
48034             Joseph Myers  <joseph@codesourcery.com>
48036         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
48037         "localeinfo.h".
48038         (obstack_chunk_alloc): New macro.
48039         (obstack_chunk_free): Likewise.
48040         (record_offset): New function.
48041         (init_locale_data): Likewise.
48042         (align_locale_data): Likewise.
48043         (add_locale_empty): Likewise.
48044         (add_locale_raw_data): Likewise.
48045         (add_locale_raw_obstack): Likewise.
48046         (add_locale_string): Likewise.
48047         (add_locale_wstring): Likewise.
48048         (add_locale_uint32): Likewise.
48049         (add_locale_uint32_array): Likewise.
48050         (add_locale_char): Likewise.
48051         (start_locale_structure): Likewise.
48052         (end_locale_structure): Likewise.
48053         (start_locale_prelude): Likewise.
48054         (end_locale_prelude): Likewise.
48055         (write_locale_data): Take locale_file structure rather than an
48056         iovec.
48057         * locale/programs/locfile.h: Include "obstack.h".
48058         (struct locale_file): Change to store locale file contents instead
48059         of header.
48060         (init_locale_data): New prototype.
48061         (align_locale_data): Likewise.
48062         (add_locale_empty): Likewise.
48063         (add_locale_raw_data): Likewise.
48064         (add_locale_raw_obstack): Likewise.
48065         (add_locale_string): Likewise.
48066         (add_locale_wstring): Likewise.
48067         (add_locale_uint32): Likewise.
48068         (add_locale_uint32_array): Likewise.
48069         (add_locale_char): Likewise.
48070         (start_locale_structure): Likewise.
48071         (end_locale_structure): Likewise.
48072         (start_locale_prelude): Likewise.
48073         (end_locale_prelude): Likewise.
48074         (write_locale_data): Update prototype.
48075         * locale/programs/3level.h (struct TABLE): Remove result field.
48076         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
48077         Use new locale_file interface.
48078         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
48079         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
48080         * locale/programs/ld-address.c (address_output): Use new
48081         locale_file interface.
48082         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
48083         NO_ADD_LOCALE.
48084         (collate_finish): Don't call collseq_table_finalize.
48085         (collate_output): Use new locale_file interface.
48086         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
48087         in file.
48088         (NO_FINALIZE): Change to NO_ADD_LOCALE.
48089         (TABLE): Move defines earlier in file.
48090         (ELEMENT): Likewise.
48091         (DEFAULT): Likewise.
48092         (wctrans_table_add): Move macro and inline function earlier in
48093         file.
48094         (struct wctype_table): Move type earlier in file.
48095         (add_locale_wctype_table): New static prototype.
48096         (struct locale_ctype_t): Use logical types instead of struct iovec
48097         pointers for members.
48098         (ctype_output): Use new locale_file interface.
48099         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
48100         new locale_file interface.
48101         (allocate_arrays): Update for use of new locale_file interface.
48102         * locale/programs/ld-identification.c (identification_output): Use
48103         new locale_file interface.
48104         * locale/programs/ld-measurement.c (measurement_output): Likewise.
48105         * locale/programs/ld-messages.c (messages_output): Likewise.
48106         * locale/programs/ld-monetary.c (monetary_output): Likewise.
48107         * locale/programs/ld-name.c (name_output): Likewise.
48108         * locale/programs/ld-numeric.c (numeric_output): Likewise.
48109         * locale/programs/ld-paper.c (paper_output): Likewise.
48110         * locale/programs/ld-telephone.c (telephone_output): Likewise.
48111         * locale/programs/ld-time.c (time_output): Likewise.
48113 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48115         * benchtests/Makefile: Add memrchr benchmark.
48116         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
48117         benchmark as memrchr.
48118         * benchtests/bench-memrchr-ifunc.c: New file.
48119         * benchtests/bench-memrchr.c: New file.
48121 2013-09-06   Will Newton  <will.newton@linaro.org>
48123         * benchtests/Makefile (string-bench): Add memcpy.
48125 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
48126             Cong Wang  <amwang@redhat.com>
48128         [BZ #15850]
48129         * sysdeps/unix/sysv/linux/bits/in.h
48130         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
48131         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
48132         before __USE_KERNEL_IPV6_DEFS uses.
48133         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
48134         IPPROTO_BEETPH.
48135         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
48136         sockaddr_in6, or ipv6_mreq.
48138 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48140         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
48141         memory access for final bytes in some large inputs.
48142         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
48144 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48146         * string/test-memrchr.c: New file.
48147         * string/test-memrchr-ifunc.c: New file.
48148         * string/Makefile: Add new memrchr testcase.
48150 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
48152         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
48153         fanotify_init returns EPERM.
48155 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48157         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
48158         errors.
48159         (top level): Treat second token from macro or constant entries for
48160         allowed headers as allowed.
48161         * include/complex.h: Condition internal declarations on
48162         [!_ISOMAC].
48163         * include/fenv.h: Condition include of <stdbool.h> and internal
48164         declarations on [!_ISOMAC].
48166 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
48168         [BZ #15923]
48169         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
48171 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48173         * configure.in (--enable-versioning): Remove configure option.
48174         (libc_cv_asm_symver_directive): Remove configure test.
48175         (libc_cv_ld_version_script_option): Likewise.
48176         (VERSIONING): Remove variable and AC_SUBST.
48177         (DO_VERSIONING): Remove AC_DEFINE.
48178         * configure: Regenerated.
48179         * config.h.in (DO_VERSIONING): Remove macro.
48180         * Makerules [$(versioning) = yes]: Change conditionals to
48181         [$(build-shared) = yes].
48182         * config.make.in (versioning): Remove variable.
48183         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
48184         [$(build-shared) = yes].
48185         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
48186         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
48187         * elf/Makefile [$(versioning) = yes]: Change conditionals to
48188         [$(build-shared) = yes].
48189         * extra-lib.mk [$(versioning) = yes]: Likewise.
48190         * hurd/Makefile [$(versioning) = yes]: Likewise.
48191         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
48192         [SHARED].
48193         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
48194         [SHARED].
48195         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48196         [SHARED && !NO_HIDDEN].
48197         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
48198         [SHARED].
48199         [SHARED && DO_VERSIONING]: Likewise..
48200         * libio/Makefile [$(versioning) = yes]: Change conditionals to
48201         [$(build-shared) = yes].
48202         * manual/install.texi (--disable-versioning): Remove
48203         documentation.
48204         * INSTALL: Regenerated.
48205         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
48206         to [SHARED].
48207         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
48208         [$(build-shared) = yes].
48209         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
48210         * sysdeps/i386/i686/multiarch/strstr-c.c
48211         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48212         [SHARED && !NO_HIDDEN].
48213         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
48214         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
48215         * sysdeps/powerpc/powerpc32/dl-machine.c
48216         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
48217         * sysdeps/powerpc/powerpc32/sysdep.h
48218         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
48219         to [SHARED && PIC && !NO_HIDDEN].
48220         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
48221         conditional to [SHARED].
48223 2013-09-04   Will Newton  <will.newton@linaro.org>
48225         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
48226         * benchtests/bench-string.h: Include bench-timing.h instead
48227         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
48228         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
48229         call to HP_TIMING_DIFF_INIT.
48230         * benchtests/bench-memccpy.c: Use bench-timing.h macros
48231         instead of hp-timing.h macros.
48232         * benchtests/bench-memchr.c: Likewise.
48233         * benchtests/bench-memcmp.c: Likewise.
48234         * benchtests/bench-memcpy.c: Likewise.
48235         * benchtests/bench-memmem.c: Likewise.
48236         * benchtests/bench-memmove.c: Likewise.
48237         * benchtests/bench-memset.c: Likewise.
48238         * benchtests/bench-rawmemchr.c: Likewise.
48239         * benchtests/bench-strcasecmp.c: Likewise.
48240         * benchtests/bench-strcasestr.c: Likewise.
48241         * benchtests/bench-strcat.c: Likewise.
48242         * benchtests/bench-strchr.c: Likewise.
48243         * benchtests/bench-strcmp.c: Likewise.
48244         * benchtests/bench-strcpy.c: Likewise.
48245         * benchtests/bench-strcpy_chk.c: Likewise.
48246         * benchtests/bench-strlen.c: Likewise.
48247         * benchtests/bench-strncasecmp.c: Likewise.
48248         * benchtests/bench-strncat.c: Likewise.
48249         * benchtests/bench-strncmp.c: Likewise.
48250         * benchtests/bench-strncpy.c: Likewise.
48251         * benchtests/bench-strnlen.c: Likewise.
48252         * benchtests/bench-strpbrk.c: Likewise.
48253         * benchtests/bench-strrchr.c: Likewise.
48254         * benchtests/bench-strspn.c: Likewise.
48255         * benchtests/bench-strstr.c: Likewise.
48257 2013-09-04  Will Newton  <will.newton@linaro.org>
48259         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
48261 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
48263         [BZ #15427]
48264         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
48265         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
48266         * math/libm-test.inc (lgamma_test_data): Add more tests.
48267         * sysdeps/i386/fpu/libm-test-ulps: Update.
48268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48270 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
48272         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
48273         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48274         Add ifunc.
48275         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48276         Add strcmp-sse2-unaligned
48277         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
48279 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48281         * Versions.def (libc): Add GLIBC_2.19.
48283 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48285         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
48286         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
48288 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
48290         [BZ #14155]
48291         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
48292         intermediate calculations in recurrence.
48293         (__ieee754_ynf): Likewise.
48294         * math/libm-test.inc (jn_test_data): Do not allow spurious
48295         underflow exception.  Add more tests.
48296         (yn_test_data): Add more tests.
48297         * sysdeps/i386/fpu/libm-test-ulps: Update.
48298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48300 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
48302         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
48304 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48306         * csu/init-first.c: Fix then/than typos.
48307         * locale/programs/ld-collate.c: Likewise.
48308         * locale/programs/linereader.h: Likewise.
48309         * manual/charset.texi: Likewise.
48310         * manual/filesys.texi: Likewise.
48311         * manual/stdio.texi: Likewise.
48312         * manual/string.texi: Likewise.
48313         * stdlib/fmtmsg.c: Likewise.
48314         * sysdeps/i386/stpncpy.S: Likewise.
48315         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48316         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48317         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48318         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48320 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48322         * elf/dl-open.c: Fix typos.
48323         * iconvdata/gbbig5.c: Likewise.
48324         * iconvdata/iso-2022-jp.c: Likewise.
48325         * iconv/gconv_int.h: Likewise.
48326         * iconv/loop.c: Likewise.
48327         * nis/rpcsvc/nis.h: Likewise.
48328         * resolv/ns_name.c: Likewise.
48329         * stdio-common/vfscanf.c: Likewise.
48330         * streams/stropts.h: Likewise.
48331         * sunrpc/rpc_thread.c: Likewise.
48332         * sysdeps/i386/strpbrk.S: Likewise.
48333         * sysdeps/ieee754/k_standard.c: Likewise.
48334         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48335         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48336         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
48337         * sysdeps/mach/hurd/profil.c: Likewise.
48338         * sysdeps/s390/dl-procinfo.h: Likewise.
48339         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
48340         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
48341         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
48342         * sysdeps/x86_64/dl-trampoline.S: Likewise.
48343         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48345 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
48347         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
48348         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
48350 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
48352         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
48353         aix specific files.
48354         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
48355         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
48356         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
48357         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
48358         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
48359         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
48360         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
48361         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
48363 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48364             Roland McGrath  <roland@hack.frob.com>
48366         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
48367         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
48369 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48371         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
48372         __executable_start symbol instead of _start.
48374 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48376         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
48377         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
48378         Move macros to...
48379         * sysdeps/gnu/ldsodefs.h: ... this new file.
48381         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
48382         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
48383         instead of ELFOSABI_LINUX.
48385         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
48386         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
48387         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
48388         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
48389         Likewise.
48390         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
48391         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
48392         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
48393         Likewise.
48394         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48395         (ibm_extended_long_double): Add ieee_nan member.
48396         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
48397         (do_test): New function.
48399         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
48400         TEST_TRUNC.
48401         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
48402         functions, renamed from truncdfsf_test, trunctfsf_test,
48403         trunctfdf_test.
48404         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
48405         functions.
48406         (do_test): Run all these.
48408 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
48410         * argp/argp-help.c: Fix typos.
48411         * argp/argp-parse.c: Likewise.
48412         * debug/backtracesyms.c: Likewise.
48413         * elf/elf.h: Likewise.
48414         * malloc/malloc.c: Likewise.
48415         * nis/nis_print.c: Likewise.
48416         * resolv/res_comp.c: Likewise.
48417         * stdlib/stdlib.h: Likewise.
48418         * sunrpc/clnt_tcp.c: Likewise.
48419         * sunrpc/clnt_udp.c: Likewise.
48420         * sunrpc/clnt_unix.c: Likewise.
48421         * sysdeps/unix/bsd/ptsname.c: Likewise.
48422         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48423         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
48424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
48425         Likewise.
48426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
48427         Likewise.
48428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
48429         Likewise.
48430         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48432 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48434         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
48435         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48437 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
48439         [BZ #15897]
48440         * dlfcn/Makefile (tests): Add bug-dl-leaf.
48441         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
48442         ($(objpfx)bug-dl-leaf): New rule.
48443         ($(objpfx)bug-dl-leaf.so): Likewise.
48444         ($(objpfx)bug-dl-leaf.out): Likewise.
48445         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
48446         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
48447         * dlfcn/bug-dl-leaf.c: New test.
48448         * dlfcn/bug-dl-leaf-lib.c: Likewise.
48449         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
48450         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
48451         (dlclose): Likewise.
48452         (dlmopen): Likewise.
48454 2013-08-27  Roland McGrath  <roland@hack.frob.com>
48456         * include/netdb.h [!_ISOMAC]:
48457         Don't include <tls.h>.
48458         (h_errno, __libc_h_errno): Move declaration and macros out of
48459         [_LIBC_REENTRANT].
48461         * include/resolv.h [_RESOLV_H_]:
48462         Don't include <tls.h>.
48463         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
48464         * resolv/res_libc.c: Don't include <tls.h>.
48465         (_res): Use __attribute__ ((nocommon)) in place of
48466         __attribute__ ((section (".bss"))).
48468         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
48469         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
48471         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
48473         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
48474         only under [SIOCGIFCONF && SIOCGIFNETMASK].
48476         * resolv/res_mkquery.c: Include <sys/time.h>.
48478         * inet/ifreq.c: Moved to ...
48479         * sysdeps/unix/ifreq.c: ... here.
48480         * inet/ifreq.c: New file, true stub version.
48482         * socket/sa_len.c: New file.
48483         * socket/Makefile (aux): Add it.
48484         * sysdeps/unix/sysv/linux/Makefile
48485         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
48486         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
48487         and #include <socket/sa_len.c>.
48488         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
48489         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
48491         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
48492         * bits/socket.h: ... here.
48494         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
48495         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
48496         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
48498 2013-08-27  Andreas Schwab  <schwab@suse.de>
48500         [BZ #15736]
48501         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
48502         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
48503         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
48504         * string/test-strcasecmp.c (test_main): Run tests in several
48505         locales.
48506         * string/test-strncasecmp.c (test_main): Likewise.
48508         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
48509         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
48510         to __strcasecmp_nonascii and __strncasecmp_nonascii.
48511         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
48512         (__strncasecmp_ssse3) [PIC]: Likewise.
48514 2013-08-26  Roland McGrath  <roland@hack.frob.com>
48516         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
48518         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
48519         instead of explicitly declaring xdecrypt.
48520         * nis/nss_nis/nis-publickey.c: Likewise.
48522 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48524         [BZ #15890]
48525         * nscd/aicache.c: Include res_hconf.h.
48526         (addhstaiX): Initialize res_hconf.
48528 2013-08-26  Andreas Schwab  <schwab@suse.de>
48530         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
48531         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
48533 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48535         * nscd/aicache.c (addhstaiX): Fix indentation.
48537 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
48539         * configure.ac: Quote $build_pt_chown test.
48540         * configure: Regenerated.
48542 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
48544         [BZ #15532]
48545         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
48546         * math/s_cexpf.c (__cexpf): Likewise.
48547         * math/s_cexpl.c (__cexpl): Likewise.
48548         * math/libm-test.inc (cexp_test_data): Correct expected return
48549         value for NaN + i0.  Add another test.
48551 2013-08-22  David S. Miller  <davem@davemloft.net>
48553         * po/ca.po: Update Catalan translation from translation project.
48554         * po/uk.po: Add Ukrainian translations from translation project.
48556 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
48558         [BZ #15797]
48559         * math/s_fdim.c (__fdim): Check for infinite arguments if result
48560         is infinite, not alongside NaN test.
48561         * math/s_fdimf.c (__fdimf): Likewise.
48562         * math/s_fdiml.c (__fdiml): Likewise.
48563         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
48564         errno is unchanged.
48566 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
48568         * argp/argp-help.c: Fix typos.
48569         * crypt/speeds.c: Likewise.
48570         * csu/check_fds.c: Likewise.
48571         * elf/dl-load.c: Likewise.
48572         * elf/dl-open.c: Likewise.
48573         * elf/reldep3.c: Likewise.
48574         * elf/reldep.c: Likewise.
48575         * elf/sprof.c: Likewise.
48576         * iconv/iconv_charmap.c: Likewise.
48577         * iconv/skeleton.c: Likewise.
48578         * iconv/strtab.c: Likewise.
48579         * io/lockf64.c: Likewise.
48580         * libio/libioP.h: Likewise.
48581         * resolv/gai_notify.c: Likewise.
48582         * resolv/ns_name.c: Likewise.
48583         * resolv/ns_samedomain.c: Likewise.
48584         * resolv/res_send.c: Likewise.
48585         * stdlib/random.c: Likewise.
48586         * sunrpc/rpc/xdr.h: Likewise.
48587         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
48588         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48589         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48590         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48591         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48592         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48593         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48594         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48595         * sysdeps/mach/hurd/check_fds.c: Likewise.
48596         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48597         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48598         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48599         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48600         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48601         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48602         * sysdeps/pthread/aio_notify.c: Likewise.
48603         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
48604         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
48605         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
48606         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48607         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48609 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48611         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
48612         version if bit_Slow_SSE4_2 is set.
48613         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48614         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48616 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48618         [BZ #15867]
48619         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
48620         trampoline stack frame information.
48621         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
48622         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
48623         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
48624         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
48625         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
48626         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48627         (_libc_vdso_platform_setup): Initialize the signal trampolines.
48628         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
48629         sa_flags value.
48630         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
48631         interrupting a syscall and set with option SA_SIGINFO.
48633 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48635         [BZ #15531]
48636         * math/s_cproj.c (__cproj): Only return an infinity if one part of
48637         argument is infinite.
48638         * math/s_cprojf.c (__cprojf): Likewise.
48639         * math/s_cprojl.c (__cprojl): Likewise.
48640         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
48641         * math/libm-test.inc (cproj_test_data): Add more tests.
48643         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
48645         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
48646         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
48647         size.  Use __ffs to determine corresponding shift.
48649 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48650             Roland McGrath  <roland@hack.frob.com>
48652         * Makefile (INSTALL): Remove trailing blank lines from output of
48653         makeinfo.
48655 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48657         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
48658         Align 32 bit compat elf_greg to 8 bytes.
48660 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
48662         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
48664 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48666         * string/strcoll_l.c (coll_seq): New structure.
48667         (get_next_seq_cached): New function.
48668         (get_next_seq): New function.
48669         (do_compare): New function.
48670         (STRCOLL): Use GNU style definition.  Simplify implementation
48671         by using get_next_seq, get_next_seq_cached and do_compare.
48673 2013-08-16  Florian Weimer  <fweimer@redhat.com>
48675         [BZ #14699]
48676         CVE-2013-4237
48677         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
48678         member.
48679         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
48680         member.
48681         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
48682         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
48683         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
48684         conditional.
48685         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
48686         GETDENTS_64BIT_ALIGNED.
48687         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48688         * manual/filesys.texi (Reading/Closing Directory): Document
48689         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
48690         strongly.
48691         * manual/conf.texi (Limits for Files): Add portability note to
48692         NAME_MAX, PATH_MAX.
48693         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
48695 2013-08-13  Andreas Schwab  <schwab@suse.de>
48697         [BZ #15749]
48698         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
48699         of fabs.
48700         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
48701         LDBL_MAX_EXP >= 16384]: Add tests for it.
48703 2013-08-12  David S. Miller  <davem@davemloft.net>
48705         * version.h (RELEASE): Set to "development".
48706         (VERSION): Set to "2.18.90".
48707         * NEWS: Add 2.19 section.
48709 2013-08-03  David S. Miller  <davem@davemloft.net>
48711         * po/ko.po: Update Korean translation from translation project.
48713 2013-08-01  David S. Miller  <davem@davemloft.net>
48715         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
48716         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
48717         Bilka.
48719 2013-07-30  David S. Miller  <davem@davemloft.net>
48721         * po/fr.po: Update French translation from translation project.
48723 2013-07-28  David S. Miller  <davem@davemloft.net>
48725         * po/cs.po: Update Czech translation from translation project.
48727         * po/sv.po: Update Swedish translation from translation project.
48729 2013-07-27  David S. Miller  <davem@davemloft.net>
48731         * po/eo.po: Update Esperanto translation from translation project.
48733         * po/vi.po: Update Vietnamese translation from translation project.
48735         * po/de.po: Update German translation from translation project.
48737 2013-07-26  David S. Miller  <davem@davemloft.net>
48739         * po/bg.po: Update Bulgarian translation from translation project.
48741         * po/nl.po: Update Dutch translation from translation project.
48742         * po/pl.po: Update Polish translation from translation project.
48743         * po/ru.po: Update Russian translation from translation project.
48745 2013-07-24  David S. Miller  <davem@davemloft.net>
48747         * po/libc.pot: Update.
48749 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48751         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
48752         variable page size.
48753         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
48754         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
48755         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
48757 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48759         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
48761 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48762             Andreas Schwab  <schwab@suse.de>
48763             Roland McGrath  <roland@hack.frob.com>
48764             Joseph Myers  <joseph@codesourcery.com>
48765             Carlos O'Donell  <carlos@redhat.com>
48767         [BZ #15755]
48768         * config.h.in: Define HAVE_PT_CHOWN.
48769         * config.make.in (build-pt-chown): New variable.
48770         * configure.in (--enable-pt_chown): New configure option.
48771         * configure: Regenerate.
48772         * login/Makefile: Include Makeconfig.  Build pt_chown only if
48773         build-pt-chown is enabled.
48774         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
48775         pt_chown to fix pty ownership.
48776         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
48777         CLOSE_ALL_FDS.
48778         * manual/install.texi (Configuring and compiling): Mention
48779         --enable-pt_chown. Add @findex for grantpt.
48780         * INSTALL: Regenerate.
48782 2013-07-20  David S. Miller  <davem@davemloft.net>
48784         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
48785         difference between 32-bit and 64-bit.
48787 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
48789         [BZ #15711]
48790         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
48791         Avoid system header dependency with -ffreestanding.
48792         ($(objpfx)bits/syscall%d): Likewise.
48794 2013-07-13  David S. Miller  <davem@davemloft.net>
48796         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
48797         underflows from atanl/atan2l due to bug 15319.
48798         (casinh_test_data): Likewise.
48800 2013-07-07  David S. Miller  <davem@davemloft.net>
48802         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
48804 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
48806         * sysdeps/i386/fpu/libm-test-ulps: Update.
48807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48809 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48811         * configure.in (--enable-lock-elision): Fix message text.
48812         * INSTALL: Regenerate.
48813         * configure: Regenerate.
48815 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48819 2013-07-03  Andreas Jaeger  <aj@suse.de>
48821         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
48822         define.
48823         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
48824         (ptrace_peeksiginfo_args): Add.
48825         (__ptrace_peeksiginfo_flags): Add.
48826         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48827         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48828         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48830 2013-07-03  Allan McRae  <allan@archlinux.org>
48832         * sysdeps/i386/fpu/libm-test-ulps: Update.
48834 2013-07-02  David S. Miller  <davem@davemloft.net>
48836         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48838 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
48840         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48842 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48844         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48847 2013-07-02  Andi Kleen <ak@linux.intel.com>
48849         * config.h.in (ENABLE_LOCK_ELISION): Add.
48850         * configure.in (--enable-lock-elision): Add option.
48851         * manual/install.texi: Document --enable lock elision.
48852         * configure: Regenerate
48853         * INSTALL: Regenerate.
48855 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
48857         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
48858         SSE4.2 strcasecmp for libc.a.
48859         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
48861 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48863         [BZ #13304]
48864         * soft-fp/op-common.h (_FP_FMA): New macro.
48865         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
48866         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
48867         (_FP_MUL_MEAT_1_imm): ... here.
48868         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
48869         (_FP_MUL_MEAT_1_wide): ... here.
48870         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
48871         (_FP_MUL_MEAT_1_hard): ... here.
48872         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
48873         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
48874         (_FP_MUL_MEAT_2_wide): ... here.
48875         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
48876         (_FP_MUL_MEAT_2_wide_3mul): ... here.
48877         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
48878         (_FP_MUL_MEAT_2_gmp): ... here.
48879         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
48880         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
48881         (_FP_MUL_MEAT_4_wide): ... here.
48882         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
48883         (_FP_MUL_MEAT_4_gmp): ... here.
48884         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
48885         (_FP_WFRACBITS_DW_S): Likewise.
48886         (_FP_WFRACXBITS_DW_S): Likewise.
48887         (_FP_HIGHBIT_DW_S): Likewise.
48888         (FP_FMA_S): Likewise.
48889         (_FP_FRAC_HIGH_DW_S): Likewise.
48890         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
48891         (_FP_WFRACBITS_DW_D): Likewise.
48892         (_FP_WFRACXBITS_DW_D): Likewise.
48893         (_FP_HIGHBIT_DW_D): Likewise.
48894         (FP_FMA_D): Likewise.
48895         (_FP_FRAC_HIGH_DW_D): Likewise.
48896         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
48897         (_FP_WFRACBITS_DW_E): Likewise.
48898         (_FP_WFRACXBITS_DW_E): Likewise.
48899         (_FP_HIGHBIT_DW_E): Likewise.
48900         (FP_FMA_E): Likewise.
48901         (_FP_FRAC_HIGH_DW_E): Likewise.
48902         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
48903         (_FP_WFRACBITS_DW_Q): Likewise.
48904         (_FP_WFRACXBITS_DW_Q): Likewise.
48905         (_FP_HIGHBIT_DW_Q): Likewise.
48906         (FP_FMA_Q): Likewise.
48907         (_FP_FRAC_HIGH_DW_Q): Likewise.
48908         * soft-fp/fmasf4.c: New file.
48909         * soft-fp/fmadf4.c: Likewise.
48910         * soft-fp/fmatf4.c: Likewise.
48912 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48914         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48915         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
48916         Silvermont.
48917         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
48918         macro.
48919         (index_Slow_SSE4_2): Likewise.
48920         (index_Prefer_PMINUB_for_stringop): Likewise.
48921         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
48922         bit_Slow_SSE4_2 is set.
48923         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48924         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48926 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48928         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
48929         rtld_global._dl_hwcap2.
48930         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
48931         POWER8.
48932         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
48933         POWER8 feature descriptions defined in _dl_hwcap2.
48934         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
48935         string handling for POWER8 feature bits.
48936         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
48937         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
48938         _dl_powerpc_cap_flags.
48939         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
48940         * sysdeps/powerpc/rtld-global-offsets.sym
48941         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
48942         _dl_hwcap2 in the rtld_global_ro structure.
48944 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48946         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
48947         hardware capabilities in support of AT_HWCAP2.
48948         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
48949         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
48950         GLRO(dl_hwcap2).
48951         (_dl_show_auxv): Add support for calling _dl_procinfo to display
48952         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
48953         explicitly the unknown a_type display mechanism is used.
48954         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
48955         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
48956         struct member.
48957         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
48958         to macro prototype for AT_HWCAP2 support.
48959         * sysdeps/i386/dl-procinfo.h: Likewise.
48960         * sysdeps/s390/dl-procinfo.h: Likewise.
48961         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
48962         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
48963         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
48964         return -1 for unknown a_type display fallback.
48965         * sysdeps/sparc/dl-procinfo.h: Likewise.
48966         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
48967         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
48969 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
48971         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
48972         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
48974 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
48976         [BZ #12492]
48977         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
48978         mprotect making __stack_prot writable.
48980 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
48981             Joseph Myers  <joseph@codesourcery.com>
48983         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
48984         as being properly aligned.
48986 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
48988         * dlfcn/modstatic5.c: New file.
48989         * dlfcn/tststatic5.c: New file.
48990         * dlfcn/Makefile (tests): Add tststatic5.
48991         (tests-static): Likewise.
48992         (modules-names): Add modstatic5.
48993         (tststatic5-ENV): New variable.
48994         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
48996         [BZ #15022]
48997         * elf/dl-support.c (_dl_main_map): New variable.
48998         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
48999         (_dl_nns, _dl_load_adds): Set to 1.
49000         (_dl_initial_searchlist): Refer to _dl_main_map.
49001         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
49002         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
49003         call to _dl_get_origin.
49004         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
49005         around call_map.
49006         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
49007         * dlfcn/modstatic3.c: New file.
49008         * dlfcn/tststatic3.c: New file.
49009         * dlfcn/tststatic4.c: New file.
49010         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
49011         (tests-static): Likewise.
49012         (modules-names): Add modstatic3.
49013         (tststatic3-ENV, tststatic4-ENV): New variables.
49014         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
49015         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
49017 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
49019         * configure.in (CC): Require GCC version 4.4 or later.
49020         * configure: Regenerated.
49021         * manual/install.texi (Tools for Compilation): Update GCC version
49022         requirement.
49023         * INSTALL: Regenerated.
49025 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49027         [BZ #15674]
49028         * string/test-memcmp.c (check2): New.
49029         (main): Call check2.
49031         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
49033 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
49035         [BZ #15022]
49036         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
49037         over to...
49038         (dl_open_worker) [!SHARED]: ... here.
49040 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49042         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
49044 2013-06-25  Richard Henderson  <rth@redhat.com>
49046         * locale/programs/locarchive.c: Include <libc-internal.h>
49048 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
49050         * manual/texinfo.tex: Update to version 2013-06-21.17, with
49051         trailing whitespace removed.
49053 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49055         [BZ #10283]
49056         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
49057         * locale/programs/locarchive.c: Include libc-mmap.h.
49058         (prepare_address_space): Take two new outputs (the mmap base and len).
49059         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
49060         values.
49061         (create_archive): Declare new mmap base and len values for
49062         prepare_address_space, and store the result in ah.
49063         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
49064         (enlarge_archive): If ah->mmap_base is not NULL, use that and
49065         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49066         Declare new mmap base and len values for
49067         prepare_address_space, and store the result in new_ah.
49068         (open_archive): Declare new mmap base and len values for
49069         prepare_address_space, and store the result in ah.
49070         (close_archive): If ah->mmap_base is not NULL, use that and
49071         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49072         * sysdeps/generic/libc-mmap.h: New file.
49074 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49076         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
49077         (ALIGN_UP): Likewise.
49078         (PTR_ALIGN_DOWN): Likewise.
49079         (PTR_ALIGN_UP): Likewise.
49081 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49083         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
49084         entry mapped to PPC_PLATFORM_POWER8.
49085         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
49086         POWER8.
49087         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
49088         (_dl_string_platform): Add case for exporting platform position for
49089         POWER8.
49090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
49091         search path to sysdeps/powerpc/powerpc32/power8 directory.
49092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
49093         search path to sysdeps/powerpc/powerpc64/power8 directory.
49094         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
49095         power7 directories.
49096         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
49097         power7 directories.
49099 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49101         * INSTALL: Regenerate.
49103         * nscd/connections.c (nscd_init): Fix comment.
49105 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
49107         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
49109         [BZ #15667]
49110         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
49111         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
49113 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49115         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
49116         DL_DST_REQ_STATIC.
49117         (DL_DST_REQ_STATIC): Remove macro.
49119 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
49121         [BZ #7006]
49122         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
49123         with a shift of 0 bits.
49125 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49127         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
49128         $(tststatic-ENV).
49130 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49132         [BZ #15655]
49133         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
49135 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49137         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
49138         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
49139         accepts -fno-tree-loop-distribute-patterns.
49140         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
49141         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
49142         recursive call.
49143         * string/memset.c (memset): Likewise.
49144         * string/test-memmove.c (simple_memmove): Disable loop transformation
49145         to library calls.
49146         * string/test-memset.c (simple_memset): Likewise.
49147         * benchtests/bench-memmove.c (simple_memmove): Likewise.
49148         * benchtests/bench-memset.c (simple_memset): Likewise.
49149         * configure: Regenerated.
49151 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
49153         * math/test-misc.c (main): Ignore fesetround failure when failures
49154         of subsequent rounding tests would be ignored.
49156         [BZ #15654]
49157         * math/fedisblxcpt.c (fedisableexcept): Return 0.
49158         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
49159         * math/fegetenv.c (__fegetenv): Return 0.
49160         * math/fegetexcept.c (fegetexcept): Return 0.
49161         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
49162         FE_TONEAREST.
49163         * math/feholdexcpt.c (feholdexcept): Return 0.
49164         * math/fesetenv.c (__fesetenv): Return 0.
49165         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
49166         argument FE_TONEAREST.
49167         * math/feupdateenv.c (__feupdateenv): Return 0.
49168         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
49170 2013-06-18  Roland McGrath  <roland@hack.frob.com>
49172         * elf/rtld-Rules (rtld-compile-command.S): New variable.
49173         (rtld-compile-command.s, rtld-compile-command.c): New variables.
49174         ($(objpfx)rtld-%.os rules): Use them.
49176 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49178         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
49179         fields.
49181 2013-06-17  Roland McGrath  <roland@hack.frob.com>
49183         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
49184         length of target pattern, then descending length of dependency pattern.
49185         * configure.in (AWK): Require gawk 3.1.2 or newer.
49186         * manual/install.texi (Tools for Compilation): Say that we do.
49187         * configure: Regenerated.
49189         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
49190         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
49191         * scripts/sysd-rules.awk: ... this new script.
49192         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
49193         than a glob-style pattern.
49195 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
49197         * math/test-misc.c (main): Do not treat incorrectly rounded
49198         conversions as failure unless ROUNDING_TESTS passes.
49200 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
49202         [BZ #15631]
49203         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
49204         restore exception state around main square root computation, then
49205         check for inexactness explicitly.
49207         * math/libm-test.inc (fma_test_data): Add another test.
49209 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49211         * manual/threads.texi (Non-POSIX Extensions): New document
49212         node.  Document pthread_getattr_default_np and
49213         pthread_setattr_default_np.
49215         * Versions.def (libpthread): Add GLIBC_2.18.
49216         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
49217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49218         Likewise.
49219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49220         Likewise.
49221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49222         Likewise.
49223         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49224         Likewise.
49225         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
49226         Likewise.
49227         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49228         Likewise.
49229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49230         Likewise.
49231         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49232         Likewise.
49233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49234         Likewise.
49236 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49238         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49239         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
49241 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49242             H.J. Lu  <hjl.tools@gmail.com>
49244         [BZ #15627]
49245         * sysdeps/x86_64/rtld-memset.c: Remove file.
49246         * sysdeps/x86_64/rtld-memset.S: New file.
49248 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
49250         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
49251         (test_in_one_mode): Take arguments for whether the rounding mode
49252         is supported for each floating-point type.
49253         (do_test): Pass new arguments to test_in_one_mode using
49254         ROUNDING_TESTS.
49256 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49258         * posix/tst-waitid.c (do_test): Distinguish different instances of
49259         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
49260         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
49261         before entering the kernel for waitpid.
49263 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49265         * NEWS: Fix note on clock function precision.  Text by Roland
49266         McGrath.
49268 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49270         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
49271         it into place only when and if the sanity check passes.
49273 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
49275         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
49276         output for whether conversion result is exact.  Take argument
49277         indicating whether type is IBM long double.
49278         (round_for_all): Change need_exact field to ibm_ld.
49279         * stdlib/tst-strtod-round.c (struct exactness): New type.
49280         (struct test): Change bool ld_ok field to struct exactness exact.
49281         (TEST): Update all definitions for change to field.
49282         (tests): Regenerate array contents.
49283         (test_in_one_mode): Take pointer to new field instead of old ld_ok
49284         field value.  Check for IBM long double here.
49285         (do_test): Update calls to test_in_one_mode.
49287 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49289         [BZ #12515]
49290         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
49291         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
49293 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49295         [BZ #15605]
49296         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
49297         generated by the compiler on loop optimizations.
49298         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
49299         general definitions.
49301 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
49303         * math/bug-nextafter.c: Include <math-tests.h>.
49304         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49305         the relevant type.
49306         * math/bug-nexttoward.c: Include <math-tests.h>.
49307         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49308         the relevant type.
49309         * math/test-misc.c: Include <math-tests.h>.
49310         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49311         the relevant type.
49313 2013-06-12  Andreas Jaeger  <aj@suse.de>
49315         * po/ia.po: Update Interlingua translation from translation
49316         project.
49318 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49320         * include/fenv.h: Include stdbool.h.
49321         (struct rm_ctx): New structure.
49322         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
49323         Define macro.
49324         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
49325         (SET_RESTORE_ROUNDF): Likewise.
49326         (SET_RESTORE_ROUNDL): Likewise.
49327         (SET_RESTORE_ROUND_NOEX): Likewise.
49328         (SET_RESTORE_ROUND_NOEXF): Likewise.
49329         (SET_RESTORE_ROUND_NOEXL): Likewise.
49330         (SET_RESTORE_ROUND_53BIT): Likewise.
49331         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
49332         (libc_feresetround_noexf_ctx): Likewise.
49333         (libc_feresetround_noexl_ctx): Likewise.
49334         (libc_feholdsetround_53bit_ctx): Likewise.
49335         (libc_feresetround_53bit_ctx): Likewise.
49336         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
49337         (libc_feholdexcept_setround_sse_ctx): New function.
49338         (libc_fesetenv_sse_ctx): Likewise.
49339         (libc_feupdateenv_sse_ctx): Likewise.
49340         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
49341         (libc_feholdexcept_setround_387_ctx): Likewise.
49342         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
49343         (libc_feholdsetround_387_prec_ctx): Likewise.
49344         (libc_feholdsetround_387_ctx): Likewise.
49345         (libc_feholdsetround_387_53bit_ctx): Likewise.
49346         (libc_feholdsetround_sse_ctx): Likewise.
49347         (libc_feresetround_sse_ctx): Likewise.
49348         (libc_feresetround_387_ctx): Likewise.
49349         (libc_feupdateenv_387_ctx): Likewise.
49350         (libc_feholdexcept_setroundf_ctx): Define macro.
49351         (libc_fesetenvf_ctx): Likewise.
49352         (libc_feupdateenvf_ctx): Likewise.
49353         (libc_feholdsetroundf_ctx): Likewise.
49354         (libc_feresetroundf_ctx): Likewise.
49355         (libc_feholdexcept_setround_ctx): Likewise.
49356         (libc_fesetenv_ctx): Likewise.
49357         (libc_feupdateenv_ctx): Likewise.
49358         (libc_feholdsetround_ctx): Likewise.
49359         (libc_feresetround_ctx): Likewise.
49360         (libc_feholdexcept_setroundl_ctx): Likewise.
49361         (libc_feupdateenvl_ctx): Likewise.
49362         (libc_feholdsetroundl_ctx): Likewise.
49363         (libc_feresetroundl_ctx): Likewise.
49364         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
49365         (libc_feresetround_53bit_ctx): Likewise.
49367 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49369         * locale/iso-639.def: Convert to UTF-8.
49371 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
49373         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
49374         (EXCEPTION_TESTS_double): Likewise.
49375         (EXCEPTION_TESTS_long_double): Likewise.
49376         (EXCEPTION_TESTS): Likewise.
49377         * math/libm-test.inc (test_exceptions): Only test exceptions if
49378         EXCEPTION_TESTS (FLOAT).
49380 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49382         * benchtests/Makefile (string-bench): Add strcpy_chk and
49383         stpcpy_chk.
49384         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
49385         * benchtests/bench-stpcpy_chk.c: New file.
49386         * benchtests/bench-strcpy_chk-ifunc.c: New file.
49387         * benchtests/bench-strcpy_chk.c: New file.
49388         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
49389         code.
49390         (do_test): Likewise.
49392 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49394         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
49395         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
49396         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
49397         with tabs where appropriate.
49398         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
49399         dl-procinfo.h.
49400         [PPC_PLATFORM_PPC440]: Likewise.
49401         [PPC_PLATFORM_PPC464]: Likewise.
49402         [PPC_PLATFORM_PPC476]: Likewise.
49403         (_dl_string_platform): Add support for detecting ppc405, ppc440,
49404         ppc464, and ppc476 platform strings merging from ports/
49405         dl-procinfo.h.
49407 2013-06-11  Andreas Schwab  <schwab@suse.de>
49409         [BZ #14991]
49410         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
49411         (from_ucs4_idx): Regenerate.
49412         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
49413         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
49414         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
49415         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
49416         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
49417         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
49418         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
49419         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
49420         from FROM_LOOP and TO_LOOP specific macros.
49421         (BODY): Handle combining characters.
49422         * iconvdata/BIG5HKSCS.irreversible: Update.
49423         * iconvdata/BIG5HKSCS.precomposed: New file.
49424         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
49425         characters.
49426         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
49428 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49430         * include/sys/time.h: Fix indentation and add copyright header.
49432         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
49433         (do_test): Likewise.
49434         * string/test-memchr.c (do_one_test): Likewise.
49435         (do_test): Likewise.
49436         * string/test-memcmp.c (do_one_test): Likewise.
49437         (do_test): Likewise.
49438         * string/test-memcpy.c (do_one_test): Likewise.
49439         (do_test): Likewise.
49440         * string/test-memmem.c (do_one_test): Likewise.
49441         (do_test): Likewise.
49442         (do_random_tests): Likewise.
49443         * string/test-memmove.c (do_one_test): Likewise.
49444         (do_test): Likewise.
49445         * string/test-memset.c (do_one_test): Likewise.
49446         (do_test): Likewise.
49447         * string/test-rawmemchr.c (do_one_test): Likewise.
49448         (do_test): Likewise.
49449         * string/test-strcasecmp.c (do_one_test): Likewise.
49450         (do_test): Likewise.
49451         * string/test-strcasestr.c (do_one_test): Likewise.
49452         (do_test): Likewise.
49453         * string/test-strcat.c (do_one_test): Likewise.
49454         (do_test): Likewise.
49455         * string/test-strchr.c (do_one_test): Likewise.
49456         (do_test): Likewise.
49457         * string/test-strcmp.c (do_one_test): Likewise.
49458         (do_test): Likewise.
49459         * string/test-strcpy.c (do_one_test): Likewise.
49460         (do_test): Likewise.
49461         * string/test-string.h: Likewise.
49462         (test_init): Likewise.
49463         * string/test-strlen.c (do_one_test): Likewise.
49464         (do_test): Likewise.
49465         * string/test-strncasecmp.c (do_one_test): Likewise.
49466         (do_test): Likewise.
49467         * string/test-strncat.c (do_one_test): Likewise.
49468         (do_test): Likewise.
49469         * string/test-strncmp.c (do_one_test): Likewise.
49470         (do_test_limit): Likewise.
49471         (do_test): Likewise.
49472         * string/test-strncpy.c (do_one_test): Likewise.
49473         (do_test): Likewise.
49474         * string/test-strnlen.c (do_one_test): Likewise.
49475         (do_test): Likewise.
49476         * string/test-strpbrk.c (do_one_test): Likewise.
49477         (do_test): Likewise.
49478         * string/test-strrchr.c (do_one_test): Likewise.
49479         (do_test): Likewise.
49480         * string/test-strspn.c (do_one_test): Likewise.
49481         (do_test): Likewise.
49482         * string/test-strstr.c (do_one_test): Likewise.
49483         (do_test): Likewise.
49485         * benchtests/Makefile (string-bench): Add string benchmarks.
49486         * benchtests/bench-bcopy-ifunc.c: New file.
49487         * benchtests/bench-bcopy.c: New file.
49488         * benchtests/bench-bzero-ifunc.c: New file.
49489         * benchtests/bench-bzero.c: New file.
49490         * benchtests/bench-memccpy-ifunc.c: New file.
49491         * benchtests/bench-memccpy.c: New file.
49492         * benchtests/bench-memchr-ifunc.c: New file.
49493         * benchtests/bench-memchr.c: New file.
49494         * benchtests/bench-memcmp-ifunc.c: New file.
49495         * benchtests/bench-memcmp.c: New file.
49496         * benchtests/bench-memmem-ifunc.c: New file.
49497         * benchtests/bench-memmem.c: New file.
49498         * benchtests/bench-memmove-ifunc.c: New file.
49499         * benchtests/bench-memmove.c: New file.
49500         * benchtests/bench-mempcpy-ifunc.c: New file.
49501         * benchtests/bench-mempcpy.c: New file.
49502         * benchtests/bench-memset-ifunc.c: New file.
49503         * benchtests/bench-memset.c: New file.
49504         * benchtests/bench-rawmemchr-ifunc.c: New file.
49505         * benchtests/bench-rawmemchr.c: New file.
49506         * benchtests/bench-stpcpy-ifunc.c: New file.
49507         * benchtests/bench-stpcpy.c: New file.
49508         * benchtests/bench-stpncpy-ifunc.c: New file.
49509         * benchtests/bench-stpncpy.c: New file.
49510         * benchtests/bench-strcasecmp-ifunc.c: New file.
49511         * benchtests/bench-strcasecmp.c: New file.
49512         * benchtests/bench-strcasestr-ifunc.c: New file.
49513         * benchtests/bench-strcasestr.c: New file.
49514         * benchtests/bench-strcat-ifunc.c: New file.
49515         * benchtests/bench-strcat.c: New file.
49516         * benchtests/bench-strchr-ifunc.c: New file.
49517         * benchtests/bench-strchr.c: New file.
49518         * benchtests/bench-strchrnul-ifunc.c: New file.
49519         * benchtests/bench-strchrnul.c: New file.
49520         * benchtests/bench-strcmp-ifunc.c: New file.
49521         * benchtests/bench-strcmp.c: New file.
49522         * benchtests/bench-strcpy-ifunc.c: New file.
49523         * benchtests/bench-strcpy.c: New file.
49524         * benchtests/bench-strcspn-ifunc.c: New file.
49525         * benchtests/bench-strcspn.c: New file.
49526         * benchtests/bench-strlen-ifunc.c: New file.
49527         * benchtests/bench-strlen.c: New file.
49528         * benchtests/bench-strncasecmp-ifunc.c: New file.
49529         * benchtests/bench-strncasecmp.c: New file.
49530         * benchtests/bench-strncat-ifunc.c: New file.
49531         * benchtests/bench-strncat.c: New file.
49532         * benchtests/bench-strncmp-ifunc.c: New file.
49533         * benchtests/bench-strncmp.c: New file.
49534         * benchtests/bench-strncpy-ifunc.c: New file.
49535         * benchtests/bench-strncpy.c: New file.
49536         * benchtests/bench-strnlen-ifunc.c: New file.
49537         * benchtests/bench-strnlen.c: New file.
49538         * benchtests/bench-strpbrk-ifunc.c: New file.
49539         * benchtests/bench-strpbrk.c: New file.
49540         * benchtests/bench-strrchr-ifunc.c: New file.
49541         * benchtests/bench-strrchr.c: New file.
49542         * benchtests/bench-strspn-ifunc.c: New file.
49543         * benchtests/bench-strspn.c: New file.
49544         * benchtests/bench-strstr-ifunc.c: New file.
49545         * benchtests/bench-strstr.c: New file.
49547         * benchtests/Makefile: Disable parallel execution of targets.
49548         (string-bench): Add memcpy.
49549         (benchset): New variable to store a list of benchmark sets.
49550         (bench-func): Renamed from bench.
49551         (bench-set): New target.
49552         (bench): Depend on bench-func and bench-set.
49553         * benchtests/README: Add section on benchmark sets.
49554         * benchtests/bench-memcpy-ifunc.c: New file.
49555         * benchtests/bench-memcpy.c: New file.
49556         * benchtests/bench-string.h: New file.
49558 2013-06-11  Andreas Schwab  <schwab@suse.de>
49560         [BZ #15577]
49561         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
49562         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
49563         values in the triple.
49564         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
49565         terminator in the group key.
49567 2013-06-11  Andreas Jaeger  <aj@suse.de>
49569         * po/zh_TW.po: Update Chinese (traditional) translation from
49570         translation project.
49572 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49574         * include/time.h (__clock_gettime): Add libc_hidden_proto.
49575         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
49576         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
49577         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49578         (clock_getcpuclockid): Likewise.
49579         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
49580         Add weak_alias and libc_hidden_def.
49581         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
49582         * rt/clock_gettime.c (clock_gettime): Rename to
49583         __clock_gettime.  Add weak_alias and libc_hidden_def.
49584         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
49585         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
49586         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
49587         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
49588         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
49589         Likewise.
49590         * rt/clock_settime.c (clock_settime): Rename to
49591         __clock_settime.  Add weak_alias and libc_hidden_def.
49592         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
49594 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
49596         * mach/err_boot.sub: Remove trailing whitespace.
49597         * mach/err_ipc.sub: Likewise.
49598         * mach/err_mach.sub: Likewise.
49600         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
49601         (ROUNDING_TESTS_double): Likewise.
49602         (ROUNDING_TESTS_long_double): Likewise.
49603         (ROUNDING_TESTS): Likewise.
49604         * math/libm-test.inc: Include <math-tests.h>.
49605         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
49606         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49607         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49608         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49610 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49612         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
49613         of assigning.
49615 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
49617         * sysdeps/gnu/errlist.awk: Do not generate space at end of
49618         otherwise empty TRANS lines.
49619         * sysdeps/gnu/errlist.c: Regenerated.
49621         * catgets/gencat.c (error_print): Use (void) in function
49622         definition.
49623         * crypt/crypt_util.c (__init_des): Likewise.
49624         * crypt/speeds.c (Stop): Likewise.
49625         (main): Likewise.
49626         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
49627         * inet/ruserpass.c (token): Likewise.
49628         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
49629         * intl/localealias.c (extend_alias_table): Likewise.
49630         * intl/plural-exp.c (init_germanic_plural): Likewise.
49631         * libio/fcloseall.c (__fcloseall): Likewise.
49632         * libio/genops.c (_IO_flush_all): Likewise.
49633         (_IO_flush_all_linebuffered): Likewise.
49634         (_IO_cleanup): Likewise.
49635         (_IO_iter_begin): Likewise.
49636         (_IO_iter_end): Likewise.
49637         (_IO_list_lock): Likewise.
49638         (_IO_list_unlock): Likewise.
49639         (_IO_list_resetlock): Likewise.
49640         * libio/getchar.c (getchar): Likewise.
49641         * libio/getchar_u.c (getchar_unlocked): Likewise.
49642         * libio/getwchar.c (getwchar): Likewise.
49643         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
49644         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
49645         * login/getpt.c (__getpt): Likewise.
49646         * login/tst-utmp.c (main): Likewise.
49647         * malloc/hooks.c (__malloc_check_init): Likewise.
49648         * malloc/malloc.c (__malloc_stats): Likewise.
49649         * malloc/mtrace.c (tr_break): Likewise.
49650         (mtrace): Likewise.
49651         (muntrace): Likewise.
49652         * misc/fstab.c (endfsent): Likewise.
49653         * misc/getclktck.c (__getclktck): Likewise.
49654         * misc/getdtsz.c (__getdtablesize): Likewise.
49655         * misc/gethostid.c (gethostid): Likewise.
49656         * misc/getpagesize.c (__getpagesize): Likewise.
49657         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
49658         (__get_nprocs): Likewise.
49659         (__get_phys_pages): Likewise.
49660         (__get_avphys_pages): Likewise.
49661         * misc/getttyent.c (getttyent): Likewise.
49662         (setttyent): Likewise.
49663         (endttyent): Likewise.
49664         * misc/getusershell.c (getusershell): Likewise.
49665         (endusershell): Likewise.
49666         (setusershell): Likewise.
49667         (initshells): Likewise.
49668         * misc/hsearch.c (__hdestroy): Likewise.
49669         * misc/sync.c (sync): Likewise.
49670         * misc/syslog.c (closelog_internal): Likewise.
49671         (closelog): Likewise.
49672         * misc/ttyslot.c (ttyslot): Likewise.
49673         * misc/vhangup.c (vhangup): Likewise.
49674         * posix/fork.c (__fork): Likewise.
49675         * posix/getegid.c (__getegid): Likewise.
49676         * posix/geteuid.c (__geteuid): Likewise.
49677         * posix/getgid.c (__getgid): Likewise.
49678         * posix/getpid.c (__getpid): Likewise.
49679         * posix/getppid.c (__getppid): Likewise.
49680         * posix/getuid.c (__getuid): Likewise.
49681         * posix/pause.c (pause): Likewise.
49682         * posix/setpgrp.c (setpgrp): Likewise.
49683         * posix/setsid.c (__setsid): Likewise.
49684         * posix/test-vfork.c (noop): Likewise.
49685         * resolv/gethnamaddr.c (_endhtent): Likewise.
49686         (_gethtent): Likewise.
49687         (ht_endhostent): Likewise.
49688         (gethostent): Likewise.
49689         (dns_service): Likewise.
49690         * stdlib/drand48.c (drand48): Likewise.
49691         * stdlib/lrand48.c (lrand48): Likewise.
49692         * stdlib/mrand48.c (mrand48): Likewise.
49693         * stdlib/rand.c (rand): Likewise.
49694         * stdlib/random.c (__random): Likewise.
49695         * stdlib/setenv.c (clearenv): Likewise.
49696         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
49697         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
49698         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
49699         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
49700         (__get_nprocs): Likewise.
49701         (__get_phys_pages): Likewise.
49702         (__get_avphys_pages): Likewise.
49703         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
49704         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
49705         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
49706         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
49707         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
49708         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
49709         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
49710         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
49711         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
49712         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
49713         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
49714         * sysdeps/mach/hurd/sync.c (sync): Likewise.
49715         * sysdeps/posix/clock.c (clock): Likewise.
49716         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
49717         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
49718         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
49719         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
49720         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
49721         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
49722         (__get_nprocs_conf): Likewise.
49723         (__get_phys_pages): Likewise.
49724         (__get_avphys_pages): Likewise.
49725         * time/clock.c (clock): Likewise.
49726         * time/tzset.c (__tzname_max): Likewise.
49728 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
49730         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
49731         (__bswap_32): Do not use "register".
49732         * crypt/crypt.c (_ufc_doit_r): Likewise.
49733         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49734         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49735         * gmon/gmon.c (__monstartup): Likewise.
49736         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
49737         * hurd/hurdmalloc.c (more_memory): Likewise.
49738         (malloc): Likewise.
49739         (free): Likewise.
49740         (realloc): Likewise.
49741         (malloc_fork_prepare): Likewise.
49742         (malloc_fork_parent): Likewise.
49743         (malloc_fork_child): Likewise.
49744         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
49745         (_svcauth_des): Likewise.
49746         * inet/inet_lnaof.c (inet_lnaof): Likewise.
49747         * inet/inet_net.c (inet_network): Likewise.
49748         * inet/inet_netof.c (inet_netof): Likewise.
49749         * inet/rcmd.c (__validuser2_sa): Likewise.
49750         * io/fts.c (fts_open): Likewise.
49751         (fts_load): Likewise.
49752         (fts_close): Likewise.
49753         (fts_read): Likewise.
49754         (fts_children): Likewise.
49755         (fts_build): Likewise.
49756         (fts_stat): Likewise.
49757         (fts_sort): Likewise.
49758         (fts_alloc): Likewise.
49759         (fts_lfree): Likewise.
49760         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
49761         (_IO_file_xsgetn): Likewise.
49762         (_IO_file_xsgetn_mmap): Likewise.
49763         * libio/iofopncook.c (_IO_cookie_read): Likewise.
49764         (_IO_cookie_write): Likewise.
49765         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
49766         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
49767         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
49768         * malloc/obstack.c (_obstack_begin): Likewise.
49769         (_obstack_begin_1): Likewise.
49770         (_obstack_newchunk): Likewise.
49771         (_obstack_allocated_p): Likewise.
49772         (obstack_free): Likewise.
49773         (_obstack_memory_used): Likewise.
49774         * misc/getttyent.c (getttynam): Likewise.
49775         (getttyent): Likewise.
49776         (skip): Likewise.
49777         (value): Likewise.
49778         * misc/getusershell.c (initshells): Likewise.
49779         * misc/syslog.c (__vsyslog_chk): Likewise.
49780         * misc/ttyslot.c (ttyslot): Likewise.
49781         * nis/nis_hash.c (__nis_hash): Likewise.
49782         * posix/fnmatch_loop.c (FCT): Likewise.
49783         * posix/getconf.c (print_all): Likewise.
49784         (main): Likewise.
49785         * posix/getopt.c (exchange): Likewise.
49786         * posix/glob.c (globfree): Likewise.
49787         (prefix_array): Likewise.
49788         (__glob_pattern_type): Likewise.
49789         * resolv/arpa/nameser.h (NS_GET16): Likewise.
49790         (NS_GET32): Likewise.
49791         (NS_PUT16): Likewise.
49792         (NS_PUT32): Likewise.
49793         * resolv/gethnamaddr.c (getanswer): Likewise.
49794         (gethostbyname2): Likewise.
49795         (gethostbyaddr): Likewise.
49796         (_gethtent): Likewise.
49797         (_gethtbyname2): Likewise.
49798         (_gethtbyaddr): Likewise.
49799         * resolv/ns_print.c (dst_s_get_int16): Likewise.
49800         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
49801         * resolv/res_init.c (__res_vinit): Likewise.
49802         (net_mask): Likewise.
49803         * resolv/res_mkquery.c (outchar): Likewise.
49804         (PRINT): Likewise.
49805         * stdio-common/printf_fp.c (outchar): Likewise.
49806         (PRINT): Likewise.
49807         * stdio-common/printf_fphex.c (outchar): Likewise.
49808         (PRINT): Likewise.
49809         * stdio-common/printf_size.c (outchar): Likewise.
49810         (PRINT): Likewise.
49811         * stdio-common/test_rdwr.c (main): Likewise.
49812         * stdio-common/tfformat.c (matches): Likewise.
49813         * stdio-common/vfprintf.c (outchar): Likewise.
49814         (printf_unknown): Likewise.
49815         (buffered_vfprintf): Likewise.
49816         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49817         * stdio-common/xbug.c (AppendToBuffer): Likewise.
49818         (ReadFile): Likewise.
49819         * stdlib/qsort.c (SWAP): Likewise.
49820         (_quicksort): Likewise.
49821         * stdlib/setenv.c (__add_to_environ): Likewise.
49822         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49823         * stdlib/strtol_l.c (__strtol_l): Likewise.
49824         * stdlib/tst-strtod.c (main): Likewise.
49825         * stdlib/tst-strtol.c (main): Likewise.
49826         * stdlib/tst-strtoll.c (main): Likewise.
49827         * string/bits/string2.h (__strcmp_cc): Likewise.
49828         (__strcmp_cg): Likewise.
49829         (__strcspn_c1): Likewise.
49830         (__strcspn_c2): Likewise.
49831         (__strcspn_c3): Likewise.
49832         (__strspn_c1): Likewise.
49833         (__strspn_c2): Likewise.
49834         (__strspn_c3): Likewise.
49835         (__strsep_1c): Likewise.
49836         (__strsep_2c): Likewise.
49837         (__strsep_3c): Likewise.
49838         * string/memccpy.c (__memccpy): Likewise.
49839         * string/stpcpy.c (__stpcpy): Likewise.
49840         * string/strcmp.c (strcmp): Likewise.
49841         * string/strrchr.c (strrchr): Likewise.
49842         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
49843         Likewise.
49844         * sysdeps/mach/hurd/getcwd.c
49845         (_hurd_canonicalize_directory_name_internal): Likewise.
49846         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
49847         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
49848         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
49849         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
49850         Likewise, in both definitions.
49851         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
49852         definitions.
49853         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
49854         64] (__bswap_64): Likewise.
49855         * time/test_time.c (main): Likewise.
49856         * time/tzfile.c (__tzfile_read): Likewise.
49857         (__tzfile_compute): Likewise.
49858         * time/tzset.c (__tzset_parse_tz): Likewise.
49859         (tzset_internal): Likewise.
49860         (compute_change): Likewise.
49861         * wcsmbs/wcscat.c (__wcscat): Likewise.
49862         * wcsmbs/wcschr.c (wcschr): Likewise.
49863         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
49864         * wcsmbs/wcscspn.c (wcscspn): Likewise.
49865         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
49866         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
49867         * wcsmbs/wcsspn.c (wcsspn): Likewise.
49868         * wcsmbs/wcsstr.c (wcsstr): Likewise.
49869         * wcsmbs/wmemchr.c (wmemchr): Likewise.
49870         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49871         * wcsmbs/wmemset.c (wmemset): Likewise.
49873 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
49875         * scripts/config.guess: Update to version 2013-05-16.
49876         * scripts/config.sub: Update to version 2013-04-24.
49877         * scripts/install-sh: Update to version 2011-11-20.07.
49878         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
49879         * scripts/move-if-change: Update to version 2012-01-06 07:23.
49881 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
49883         * debug/fgetws_u_chk.c: Fix leading whitespaces.
49884         * elf/sln.c: Likewise.
49885         * hurd/hurd/ioctl.h: Likewise.
49886         * hurd/hurdmalloc.c: Likewise.
49887         * hurd/xattr.c: Likewise.
49888         * include/shlib-compat.h: Likewise.
49889         * inet/ruserpass.c: Likewise.
49890         * libio/iofgets_u.c: Likewise.
49891         * libio/iofgetws_u.c: Likewise.
49892         * locale/programs/ld-identification.c: Likewise.
49893         * locale/programs/ld-time.c: Likewise.
49894         * mach/msg-destroy.c: Likewise.
49895         * nss/nss_files/files-netgrp.c: Likewise.
49896         * resolv/res_data.c: Likewise.
49897         * soft-fp/op-1.h: Likewise.
49898         * soft-fp/op-2.h: Likewise.
49899         * soft-fp/op-4.h: Likewise.
49900         * soft-fp/op-common.h: Likewise.
49901         * stdio-common/printf_fphex.c: Likewise.
49902         * stdlib/strtod_l.c: Likewise.
49903         * sunrpc/rpc/clnt.h: Likewise.
49904         * sysdeps/generic/framestate.c: Likewise.
49905         * sysdeps/i386/bsd-_setjmp.S: Likewise.
49906         * sysdeps/i386/bsd-setjmp.S: Likewise.
49907         * sysdeps/i386/__longjmp.S: Likewise.
49908         * sysdeps/i386/setjmp.S: Likewise.
49909         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49910         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49911         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49912         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49913         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49914         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49915         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49916         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49917         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49918         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49919         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49920         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49921         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49922         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49923         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49924         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49925         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49926         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
49927         * sysdeps/ieee754/support.c: Likewise.
49928         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49929         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
49930         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
49931         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
49932         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
49933         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
49934         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
49935         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
49936         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
49937         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
49938         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
49939         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
49940         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
49941         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
49942         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
49943         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
49944         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49947 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
49949         * posix/transbug.c: Remove executable mode.
49951 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
49953         * crypt/speeds.c: Remove trailing whitespace.
49954         * dlfcn/default.c: Likewise.
49955         * elf/ifuncdep2.c: Likewise.
49956         * elf/ifuncmain1.c: Likewise.
49957         * elf/ifuncmain1vis.c: Likewise.
49958         * elf/testobj.h: Likewise.
49959         * elf/tst-stackguard1.c: Likewise.
49960         * gmon/sys/gmon.h: Likewise.
49961         * hurd/hurdmsg.c: Likewise.
49962         * hurd/new-fd.c: Likewise.
49963         * hurd/ports-get.c: Likewise.
49964         * iconvdata/ibm1008_420.c: Likewise.
49965         * inet/tst-getni1.c: Likewise.
49966         * inet/tst-getni2.c: Likewise.
49967         * libio/ioungetc.c: Likewise.
49968         * libio/wfiledoalloc.c: Likewise.
49969         * manual/libm-err-tab.pl: Likewise.
49970         * math/w_dremf.c: Likewise.
49971         * misc/ftruncate.c: Likewise.
49972         * posix/bug-glob2.c: Likewise.
49973         * posix/tst-pcre.c: Likewise.
49974         * posix/wait4.c: Likewise.
49975         * resolv/README: Likewise.
49976         * resolv/res_debug.h: Likewise.
49977         * resolv/tst-inet_ntop.c: Likewise.
49978         * setjmp/bug269-setjmp.c: Likewise.
49979         * soft-fp/extended.h: Likewise.
49980         * soft-fp/op-1.h: Likewise.
49981         * soft-fp/op-2.h: Likewise.
49982         * soft-fp/op-4.h: Likewise.
49983         * soft-fp/op-8.h: Likewise.
49984         * soft-fp/testit.c: Likewise.
49985         * stdio-common/bug16.c: Likewise.
49986         * stdlib/random.c: Likewise.
49987         * sunrpc/rpcsvc/rquota.x: Likewise.
49988         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
49989         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49990         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49991         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49992         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49993         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49994         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49995         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49996         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49997         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49998         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49999         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50000         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50001         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50002         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50003         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50004         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50005         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50006         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50007         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50008         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50009         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50010         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
50011         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50012         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50013         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50014         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50015         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50016         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50017         * sysdeps/ieee754/s_lib_version.c: Likewise.
50018         * sysdeps/mach/hurd/check_fds.c: Likewise.
50019         * sysdeps/mach/hurd/getsockname.c: Likewise.
50020         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
50021         * sysdeps/mach/hurd/recvfrom.c: Likewise.
50022         * sysdeps/powerpc/bits/link.h: Likewise.
50023         * sysdeps/powerpc/dl-procinfo.c: Likewise.
50024         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
50025         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
50026         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
50027         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
50028         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50029         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
50030         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
50031         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
50032         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50033         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
50034         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
50035         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
50036         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50037         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50038         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50039         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
50040         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
50041         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50042         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50043         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50044         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
50045         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50046         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
50047         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
50048         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
50049         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
50050         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50051         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50052         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
50053         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
50054         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
50055         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50056         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50057         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
50058         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
50059         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
50060         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
50061         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
50062         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
50063         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
50064         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
50065         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
50066         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
50067         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
50068         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
50069         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
50070         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
50071         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
50072         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
50073         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50074         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50075         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50076         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50077         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
50078         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
50079         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
50080         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50081         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
50082         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
50083         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
50084         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
50085         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
50086         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50087         * sysdeps/powerpc/sysdep.h: Likewise.
50088         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
50089         * sysdeps/s390/s390-64/sub_n.S: Likewise.
50090         * sysdeps/sh/dl-trampoline.S: Likewise.
50091         * sysdeps/sh/memset.S: Likewise.
50092         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
50093         * sysdeps/sh/strlen.S: Likewise.
50094         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
50095         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
50096         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
50097         * sysdeps/sparc/sparc32/rem.S: Likewise.
50098         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
50099         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
50100         * sysdeps/sparc/sparc32/strchr.S: Likewise.
50101         * sysdeps/sparc/sparc32/udiv.S: Likewise.
50102         * sysdeps/sparc/sparc32/urem.S: Likewise.
50103         * sysdeps/sparc/sparc64/add_n.S: Likewise.
50104         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50105         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
50106         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
50107         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
50108         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
50109         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
50110         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
50111         * sysdeps/unix/bsd/times.c: Likewise.
50112         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
50113         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
50114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
50115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
50116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
50117         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
50118         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50119         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
50120         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
50121         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
50122         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
50123         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50124         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
50125         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50126         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50127         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
50128         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50129         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
50130         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
50131         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
50132         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
50133         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
50134         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50135         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
50136         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
50137         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
50138         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
50139         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50140         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
50141         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
50142         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
50143         * sysdeps/x86_64/strcspn.S: Likewise.
50145 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50147         * locale/C-translit.h: Revert #include <stdint.h> because this is a
50148         generated file.  Regenerate properly from gen-translit.pl.
50149         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
50150         locale/C-translit.h.
50152 2013-06-05  Andreas Schwab  <schwab@suse.de>
50154         [BZ #15100]
50155         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
50156         week as 6 instead of -1.
50157         * time/tst-strptime.c (day_tests): Add test case.
50159 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50161         * sysdeps/generic/math_private.h
50162         (libc_feholdexcept_setround_53bit): Replace with
50163         libc_feholdsetround_53bit.
50164         (libc_feupdateenv_53bit): Replace with
50165         libc_feresetround_53bit.
50166         (SET_RESTORE_ROUND_53BIT): Adjust.
50168 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50170         * string/test-strchrnul.c: Add copyright header.
50172         * posix/tst-getaddrinfo4.c: Increase test timeout.
50174 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
50176         [BZ #15536]
50177         * math/libm-test.inc (MAX_EXP): Remove
50178         (MIN_EXP): Define.
50179         (ulp): Use MIN_EXP - MANT_DIG.
50180         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
50182 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
50184         * po/be.po: Revert last change.
50185         * po/zh_CN.po: Likewise.
50186         * po/header.pot: Likewise.
50188 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
50190         * Makefile ($(common-objpfx)linkobj/libc.so): Define
50191         link-libc-deps to empty as target-specific variable.
50192         * Makerules (link-libc-args): New variable.
50193         (libc-for-link): Likewise.
50194         (link-libc-deps): Likewise.
50195         (lib%.so): Depend on $(link-libc-deps).  Link with
50196         $(link-libc-args).
50197         (build-module): Link with $(link-libc-args).
50198         (build-module-asneeded): Likewise.
50199         (build-module-helper-objlist): Filter out $(link-libc-deps) from
50200         list of objects.
50201         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
50202         target-specific variable.
50203         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
50204         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
50205         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
50206         libc.
50207         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
50208         libc and ld.so.
50209         ($(objpfx)libpcprofile.so): Likewise.
50210         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
50211         libc_nonshared.a.
50212         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
50213         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
50214         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
50215         $(link-libc-deps).
50216         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
50217         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
50218         * login/Makefile ($(objpfx)libutil.so): Likewise.
50219         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
50220         * math/Makefile ($(objpfx)libm.so): Likewise.
50221         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
50222         $(objpfx)libnsl.so): Define libc-for-link as target-specific
50223         variable instead of depending directly on libc.
50224         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
50225         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
50226         $(link-libc-deps).
50227         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
50228         libc.
50229         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
50230         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
50231         ($(objpfx)libanl.so): Likewise.
50232         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
50233         ld.so.
50234         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
50235         $(link-libc-deps).
50236         * sysdeps/i386/fpu/Makefile: Remove file.
50237         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
50238         ($(objpfx)libm.so): Remove dependency on ld.so.
50240 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
50242         [BZ # 15553]
50243         * nis/yp_xdr.c (XDRMAXNAME): Define.
50244         (XDRMAXRECORD): Define.
50245         (xdr_domainname): Use XDRMAXNAME.
50246         (xdr_mapname): Likewise.
50247         (xdr_peername): Likewise.
50248         (xdr_keydat): Use XDRMAXRECORD.
50249         (xdr_valdat): Likewise.
50251 2013-05-30  Jeff Law  <law@redhat.com>
50253         [BZ #14256]
50254         * manual/errno.texi (ESTALE): Update to account for more than
50255         just NFS file systems.
50256         * sysdeps/gnu/errlist.c: Regenerated.
50258 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50260         [BZ #15465]
50261         * elf/Makefile (tests): Add tst-null-argv.
50262         (modules-names):  Add tst-null-argv-lib.
50263         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
50264         (tst-null-argv-ENV): Set environment for tst-null-argv.
50265         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
50266         (RTLD_PROGNAME): New macro.
50267         * elf/tst-null-argv.c: New test case.
50268         * elf/tst-null-argv-lib.c: Library for test case.
50269         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
50270         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
50271         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
50272         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
50273         * elf/dl-init.c (call_init): Likewise.
50274         (_dl_init): Likewise.
50275         * elf/dl-load.c (print_search_path): Likewise.
50276         (_dl_map_object): Likewise.
50277         * elf/dl-lookup.c (do_lookup_x): Likewise.
50278         (add_dependency): Likewise.
50279         (_dl_lookup_symbol_x): Likewise.
50280         (_dl_debug_bindings): Likewise.
50281         * elf/dl-open.c (_dl_show_scope): Likewise.
50282         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
50283         * elf/dl-version.c (match_symbol): Likewise.
50284         (_dl_check_map_versions): Likewise.
50285         * elf/rtld.c (dl_main): Likewise.
50286         (print_unresolved): Use RTLD_PROGNAME.
50287         (print_missing_version): Likewise.
50288         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
50289         (elf_machine_rela): Likewise.
50290         * sysdeps/powerpc/powerpc32/dl-machine.c
50291         (__process_machine_rela): Likewise.
50292         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50293         Likewise.
50294         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
50295         Likewise.
50296         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
50297         Likewise.
50298         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50299         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
50300         Likewise.
50301         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
50302         Likewise.
50303         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50305 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
50307         * po/be.po: Add descriptive title.
50308         * po/zh_CN.po: Likewise.
50309         * po/header.pot: Likewise.
50311 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
50313         * locale/programs/locarchive.c (create_archive): Inlucde fname in
50314         error message.
50315         (enlarge_archive): Likewise.
50317 2013-05-28  Ben North  <ben@redfrontdoor.org>
50319         * manual/arith.texi (frexp): It is the magnitude of the return
50320         value which lies in [0.5, 1), not the return value itself.
50322 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50326 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
50328         * stdio-common/bug26.c (main): Correct fscanf template.
50330         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
50331         declare _dl_skip_args.
50333         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
50334         Don't declare.
50336         * manual/platform.texi: Add missing @end deftypefun.
50338 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50340         [BZ #15529]
50341         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
50342         bit of mantissa of 2^16382.
50343         * math/libm-test.inc (hypot_test_data): Add more tests.
50345         * math/libm-test.inc: Add drem and pow10 to list of tested
50346         functions.
50347         (pow10_test): New function.
50348         (drem_test): Likewise.
50349         (drem_test_tonearest): Likewise.
50350         (drem_test_towardzero): Likewise.
50351         (drem_test_downward): Likewise.
50352         (drem_test_upward): Likewise.
50353         (main): Call the new functions.
50355         * math/libm-test.inc (finite_test_data): Remove.
50356         (finite_test): Run tests from isfinite_test_data.
50357         (gamma_test_data): Remove.
50358         (gamma_test): Run tests from lgamma_test_data.
50359         * sysdeps/i386/fpu/libm-test-ulps: Update.
50360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50362 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50364         * manual/platform.texi: Add PowerPC PPR function set documentation.
50365         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
50366         implementation.
50368 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
50370         * math/libm-test.inc (MAX_EXP): Define.
50371         (ULPDIFF): Define.
50372         (ulp): New function.
50373         (check_float_internal): Use ULPDIFF.
50374         (cpow_test): Disable failing test.
50375         (check_ulp): Test ulp() implemetnation.
50376         (main): Call check_ulp before starting tests.
50378 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50380         * math/gen-libm-test.pl (generate_testfile): Do not handle
50381         START_DATA and END_DATA.
50382         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
50383         END_DATA.
50384         (acos_tonearest_test_data): Likewise.
50385         (acos_towardzero_test_data): Likewise.
50386         (acos_downward_test_data): Likewise.
50387         (acos_upward_test_data): Likewise.
50388         (acosh_test_data): Likewise.
50389         (asin_test_data): Likewise.
50390         (asin_tonearest_test_data): Likewise.
50391         (asin_towardzero_test_data): Likewise.
50392         (asin_downward_test_data): Likewise.
50393         (asin_upward_test_data): Likewise.
50394         (asinh_test_data): Likewise.
50395         (atan_test_data): Likewise.
50396         (atanh_test_data): Likewise.
50397         (atan2_test_data): Likewise.
50398         (cabs_test_data): Likewise.
50399         (cacos_test_data): Likewise.
50400         (cacosh_test_data): Likewise.
50401         (carg_test_data): Likewise.
50402         (casin_test_data): Likewise.
50403         (casinh_test_data): Likewise.
50404         (catan_test_data): Likewise.
50405         (catanh_test_data): Likewise.
50406         (cbrt_test_data): Likewise.
50407         (ccos_test_data): Likewise.
50408         (ccosh_test_data): Likewise.
50409         (ceil_test_data): Likewise.
50410         (cexp_test_data): Likewise.
50411         (cimag_test_data): Likewise.
50412         (clog_test_data): Likewise.
50413         (clog10_test_data): Likewise.
50414         (conj_test_data): Likewise.
50415         (copysign_test_data): Likewise.
50416         (cos_test_data): Likewise.
50417         (cos_tonearest_test_data): Likewise.
50418         (cos_towardzero_test_data): Likewise.
50419         (cos_downward_test_data): Likewise.
50420         (cos_upward_test_data): Likewise.
50421         (cosh_test_data): Likewise.
50422         (cosh_tonearest_test_data): Likewise.
50423         (cosh_towardzero_test_data): Likewise.
50424         (cosh_downward_test_data): Likewise.
50425         (cosh_upward_test_data): Likewise.
50426         (cpow_test_data): Likewise.
50427         (cproj_test_data): Likewise.
50428         (creal_test_data): Likewise.
50429         (csin_test_data): Likewise.
50430         (csinh_test_data): Likewise.
50431         (csqrt_test_data): Likewise.
50432         (ctan_test_data): Likewise.
50433         (ctan_tonearest_test_data): Likewise.
50434         (ctan_towardzero_test_data): Likewise.
50435         (ctan_downward_test_data): Likewise.
50436         (ctan_upward_test_data): Likewise.
50437         (ctanh_test_data): Likewise.
50438         (ctanh_tonearest_test_data): Likewise.
50439         (ctanh_towardzero_test_data): Likewise.
50440         (ctanh_downward_test_data): Likewise.
50441         (ctanh_upward_test_data): Likewise.
50442         (erf_test_data): Likewise.
50443         (erfc_test_data): Likewise.
50444         (exp_test_data): Likewise.
50445         (exp_tonearest_test_data): Likewise.
50446         (exp_towardzero_test_data): Likewise.
50447         (exp_downward_test_data): Likewise.
50448         (exp_upward_test_data): Likewise.
50449         (exp10_test_data): Likewise.
50450         (exp2_test_data): Likewise.
50451         (expm1_test_data): Likewise.
50452         (fabs_test_data): Likewise.
50453         (fdim_test_data): Likewise.
50454         (finite_test_data): Likewise.
50455         (floor_test_data): Likewise.
50456         (fma_test_data): Likewise.
50457         (fma_towardzero_test_data): Likewise.
50458         (fma_downward_test_data): Likewise.
50459         (fma_upward_test_data): Likewise.
50460         (fmax_test_data): Likewise.
50461         (fmin_test_data): Likewise.
50462         (fmod_test_data): Likewise.
50463         (fpclassify_test_data): Likewise.
50464         (frexp_test_data): Likewise.
50465         (gamma_test_data): Likewise.
50466         (hypot_test_data): Likewise.
50467         (ilogb_test_data): Likewise.
50468         (isfinite_test_data): Likewise.
50469         (isgreater_test_data): Likewise.
50470         (isgreaterequal_test_data): Likewise.
50471         (isinf_test_data): Likewise.
50472         (isless_test_data): Likewise.
50473         (islessequal_test_data): Likewise.
50474         (islessgreater_test_data): Likewise.
50475         (isnan_test_data): Likewise.
50476         (isnormal_test_data): Likewise.
50477         (issignaling_test_data): Likewise.
50478         (isunordered_test_data): Likewise.
50479         (j0_test_data): Likewise.
50480         (j1_test_data): Likewise.
50481         (jn_test_data): Likewise.
50482         (ldexp_test_data): Likewise.
50483         (lgamma_test_data): Likewise.
50484         (lrint_test_data): Likewise.
50485         (lrint_tonearest_test_data): Likewise.
50486         (lrint_towardzero_test_data): Likewise.
50487         (lrint_downward_test_data): Likewise.
50488         (lrint_upward_test_data): Likewise.
50489         (llrint_test_data): Likewise.
50490         (llrint_tonearest_test_data): Likewise.
50491         (llrint_towardzero_test_data): Likewise.
50492         (llrint_downward_test_data): Likewise.
50493         (llrint_upward_test_data): Likewise.
50494         (log_test_data): Likewise.
50495         (log10_test_data): Likewise.
50496         (log1p_test_data): Likewise.
50497         (log2_test_data): Likewise.
50498         (logb_test_data): Likewise.
50499         (logb_downward_test_data): Likewise.
50500         (lround_test_data): Likewise.
50501         (llround_test_data): Likewise.
50502         (modf_test_data): Likewise.
50503         (nearbyint_test_data): Likewise.
50504         (nextafter_test_data): Likewise.
50505         (nexttoward_test_data): Likewise.
50506         (pow_test_data): Likewise.
50507         (pow_tonearest_test_data): Likewise.
50508         (pow_towardzero_test_data): Likewise.
50509         (pow_downward_test_data): Likewise.
50510         (pow_upward_test_data): Likewise.
50511         (remainder_test_data): Likewise.
50512         (remainder_tonearest_test_data): Likewise.
50513         (remainder_towardzero_test_data): Likewise.
50514         (remainder_downward_test_data): Likewise.
50515         (remainder_upward_test_data): Likewise.
50516         (remquo_test_data): Likewise.
50517         (rint_test_data): Likewise.
50518         (rint_tonearest_test_data): Likewise.
50519         (rint_towardzero_test_data): Likewise.
50520         (rint_downward_test_data): Likewise.
50521         (rint_upward_test_data): Likewise.
50522         (round_test_data): Likewise.
50523         (scalb_test_data): Likewise.
50524         (scalbn_test_data): Likewise.
50525         (scalbln_test_data): Likewise.
50526         (signbit_test_data): Likewise.
50527         (sin_test_data): Likewise.
50528         (sin_tonearest_test_data): Likewise.
50529         (sin_towardzero_test_data): Likewise.
50530         (sin_downward_test_data): Likewise.
50531         (sin_upward_test_data): Likewise.
50532         (sincos_test_data): Likewise.
50533         (sinh_test_data): Likewise.
50534         (sinh_tonearest_test_data): Likewise.
50535         (sinh_towardzero_test_data): Likewise.
50536         (sinh_downward_test_data): Likewise.
50537         (sinh_upward_test_data): Likewise.
50538         (sqrt_test_data): Likewise.
50539         (tan_test_data): Likewise.
50540         (tan_tonearest_test_data): Likewise.
50541         (tan_towardzero_test_data): Likewise.
50542         (tan_downward_test_data): Likewise.
50543         (tan_upward_test_data): Likewise.
50544         (tanh_test_data): Likewise.
50545         (tgamma_test_data): Likewise.
50546         (trunc_test_data): Likewise.
50547         (y0_test_data): Likewise.
50548         (y1_test_data): Likewise.
50549         (yn_test_data): Likewise.
50550         (significand_test_data): Likewise.
50552         * math/gen-libm-test.pl (@functions): Remove variable.
50553         (generate_testfile): Don't handle START and END lines.
50554         * math/libm-test.inc (START): New macro.
50555         (END): Likewise.
50556         (END_COMPLEX): Likewise.
50557         (acos_test): Use END macro without arguments.
50558         (acos_test_tonearest): Likewise.
50559         (acos_test_towardzero): Likewise.
50560         (acos_test_downward): Likewise.
50561         (acos_test_upward): Likewise.
50562         (acosh_test): Likewise.
50563         (asin_test): Likewise.
50564         (asin_test_tonearest): Likewise.
50565         (asin_test_towardzero): Likewise.
50566         (asin_test_downward): Likewise.
50567         (asin_test_upward): Likewise.
50568         (asinh_test): Likewise.
50569         (atan_test): Likewise.
50570         (atanh_test): Likewise.
50571         (atan2_test): Likewise.
50572         (cabs_test): Likewise.
50573         (cacos_test): Use END_COMPLEX macro without arguments.
50574         (cacosh_test): Likewise.
50575         (carg_test): Use END macro without arguments.
50576         (casin_test): Use END_COMPLEX macro without arguments.
50577         (casinh_test): Likewise.
50578         (catan_test): Likewise.
50579         (catanh_test): Likewise.
50580         (cbrt_test): Use END macro without arguments.
50581         (ccos_test): Use END_COMPLEX macro without arguments.
50582         (ccosh_test): Likewise.
50583         (ceil_test): Use END macro without arguments.
50584         (cexp_test): Use END_COMPLEX macro without arguments.
50585         (cimag_test): Use END macro without arguments.
50586         (clog_test): Use END_COMPLEX macro without arguments.
50587         (clog10_test): Likewise.
50588         (conj_test): Likewise.
50589         (copysign_test): Use END macro without arguments.
50590         (cos_test): Likewise.
50591         (cos_test_tonearest): Likewise.
50592         (cos_test_towardzero): Likewise.
50593         (cos_test_downward): Likewise.
50594         (cos_test_upward): Likewise.
50595         (cosh_test): Likewise.
50596         (cosh_test_tonearest): Likewise.
50597         (cosh_test_towardzero): Likewise.
50598         (cosh_test_downward): Likewise.
50599         (cosh_test_upward): Likewise.
50600         (cpow_test): Use END_COMPLEX macro without arguments.
50601         (cproj_test): Likewise.
50602         (creal_test): Use END macro without arguments.
50603         (csin_test): Use END_COMPLEX macro without arguments.
50604         (csinh_test): Likewise.
50605         (csqrt_test): Likewise.
50606         (ctan_test): Likewise.
50607         (ctan_test_tonearest): Likewise.
50608         (ctan_test_towardzero): Likewise.
50609         (ctan_test_downward): Likewise.
50610         (ctan_test_upward): Likewise.
50611         (ctanh_test): Likewise.
50612         (ctanh_test_tonearest): Likewise.
50613         (ctanh_test_towardzero): Likewise.
50614         (ctanh_test_downward): Likewise.
50615         (ctanh_test_upward): Likewise.
50616         (erf_test): Use END macro without arguments.
50617         (erfc_test): Likewise.
50618         (exp_test): Likewise.
50619         (exp_test_tonearest): Likewise.
50620         (exp_test_towardzero): Likewise.
50621         (exp_test_downward): Likewise.
50622         (exp_test_upward): Likewise.
50623         (exp10_test): Likewise.
50624         (exp2_test): Likewise.
50625         (expm1_test): Likewise.
50626         (fabs_test): Likewise.
50627         (fdim_test): Likewise.
50628         (finite_test): Likewise.
50629         (floor_test): Likewise.
50630         (fma_test): Likewise.
50631         (fma_test_towardzero): Likewise.
50632         (fma_test_downward): Likewise.
50633         (fma_test_upward): Likewise.
50634         (fmax_test): Likewise.
50635         (fmin_test): Likewise.
50636         (fmod_test): Likewise.
50637         (fpclassify_test): Likewise.
50638         (frexp_test): Likewise.
50639         (gamma_test): Likewise.
50640         (hypot_test): Likewise.
50641         (ilogb_test): Likewise.
50642         (isfinite_test): Likewise.
50643         (isgreater_test): Likewise.
50644         (isgreaterequal_test): Likewise.
50645         (isinf_test): Likewise.
50646         (isless_test): Likewise.
50647         (islessequal_test): Likewise.
50648         (islessgreater_test): Likewise.
50649         (isnan_test): Likewise.
50650         (isnormal_test): Likewise.
50651         (issignaling_test): Likewise.
50652         (isunordered_test): Likewise.
50653         (j0_test): Likewise.
50654         (j1_test): Likewise.
50655         (jn_test): Likewise.
50656         (ldexp_test): Likewise.
50657         (lgamma_test): Likewise.
50658         (lrint_test): Likewise.
50659         (lrint_test_tonearest): Likewise.
50660         (lrint_test_towardzero): Likewise.
50661         (lrint_test_downward): Likewise.
50662         (lrint_test_upward): Likewise.
50663         (llrint_test): Likewise.
50664         (llrint_test_tonearest): Likewise.
50665         (llrint_test_towardzero): Likewise.
50666         (llrint_test_downward): Likewise.
50667         (llrint_test_upward): Likewise.
50668         (log_test): Likewise.
50669         (log10_test): Likewise.
50670         (log1p_test): Likewise.
50671         (log2_test): Likewise.
50672         (logb_test): Likewise.
50673         (logb_test_downward): Likewise.
50674         (lround_test): Likewise.
50675         (llround_test): Likewise.
50676         (modf_test): Likewise.
50677         (nearbyint_test): Likewise.
50678         (nextafter_test): Likewise.
50679         (nexttoward_test): Likewise.
50680         (pow_test): Likewise.
50681         (pow_test_tonearest): Likewise.
50682         (pow_test_towardzero): Likewise.
50683         (pow_test_downward): Likewise.
50684         (pow_test_upward): Likewise.
50685         (remainder_test): Likewise.
50686         (remainder_test_tonearest): Likewise.
50687         (remainder_test_towardzero): Likewise.
50688         (remainder_test_downward): Likewise.
50689         (remainder_test_upward): Likewise.
50690         (remquo_test): Likewise.
50691         (rint_test): Likewise.
50692         (rint_test_tonearest): Likewise.
50693         (rint_test_towardzero): Likewise.
50694         (rint_test_downward): Likewise.
50695         (rint_test_upward): Likewise.
50696         (round_test): Likewise.
50697         (scalb_test): Likewise.
50698         (scalbn_test): Likewise.
50699         (scalbln_test): Likewise.
50700         (signbit_test): Likewise.
50701         (sin_test): Likewise.
50702         (sin_test_tonearest): Likewise.
50703         (sin_test_towardzero): Likewise.
50704         (sin_test_downward): Likewise.
50705         (sin_test_upward): Likewise.
50706         (sincos_test): Likewise.
50707         (sinh_test): Likewise.
50708         (sinh_test_tonearest): Likewise.
50709         (sinh_test_towardzero): Likewise.
50710         (sinh_test_downward): Likewise.
50711         (sinh_test_upward): Likewise.
50712         (sqrt_test): Likewise.
50713         (tan_test): Likewise.
50714         (tan_test_tonearest): Likewise.
50715         (tan_test_towardzero): Likewise.
50716         (tan_test_downward): Likewise.
50717         (tan_test_upward): Likewise.
50718         (tanh_test): Likewise.
50719         (tgamma_test): Likewise.
50720         (trunc_test): Likewise.
50721         (y0_test): Likewise.
50722         (y1_test): Likewise.
50723         (yn_test): Likewise.
50724         (significand_test): Likewise.
50726 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
50728         [BZ #15381]
50729         * libio/genops.c (_IO_no_init): Initialize wide struct info.
50731 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50733         [BZ #14894]
50734         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
50735         __ppc_mdoio and __ppc_mdoom.
50736         * manual/platform.texi: Document new functions __ppc_yield,
50737         __ppc_mdoio and __ppc_mdoom.
50739 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
50741         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
50742         (main): Mention "tls" pseudo-hwcap is legacy.
50743         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
50745 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50747         * math/gen-libm-test.pl (parse_args): Output only string of
50748         arguments as text for test name, not full call or descriptions of
50749         tests for extra outputs.
50750         (generate_testfile): Do not pass function name to parse_args.
50751         Generate this_func variable from START.
50752         * math/libm-test.inc (struct test_f_f_data): Rename test_name
50753         field to arg_str.
50754         (struct test_ff_f_data): Likewise.
50755         (test_ff_f_data_nexttoward): Likewise.
50756         (struct test_fi_f_data): Likewise.
50757         (struct test_fl_f_data): Likewise.
50758         (struct test_if_f_data): Likewise.
50759         (struct test_fff_f_data): Likewise.
50760         (struct test_c_f_data): Likewise.
50761         (struct test_f_f1_data): Likewise.  Remove field extra_name.
50762         (struct test_fF_f1_data): Likewise.
50763         (struct test_ffI_f1_data): Likewise.
50764         (struct test_c_c_data): Rename test_name field to arg_str.
50765         (struct test_cc_c_data): Likewise.
50766         (struct test_f_i_data): Likewise.
50767         (struct test_ff_i_data): Likewise.
50768         (struct test_f_l_data): Likewise.
50769         (struct test_f_L_data): Likewise.
50770         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
50771         and extra2_name.
50772         (COMMON_TEST_SETUP): New macro.
50773         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
50774         (COMMON_TEST_CLEANUP): Likewise.
50775         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
50776         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
50777         macros.
50778         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
50779         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
50780         macros.
50781         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
50782         (RUN_TEST_fff_f): Take argument string.  Call new setup and
50783         cleanup macros.
50784         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
50785         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
50786         macros.
50787         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
50788         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
50789         macros.
50790         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50791         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
50792         cleanup macros.
50793         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50794         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
50795         cleanup macros.
50796         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50797         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
50798         cleanup macros.
50799         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50800         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
50801         macros.
50802         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
50803         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
50804         macros.
50805         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
50806         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
50807         macros.
50808         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
50809         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
50810         cleanup macros.
50811         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
50812         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
50813         cleanup macros.
50814         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
50815         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
50816         macros.
50817         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
50818         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
50819         cleanup macros.
50820         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
50821         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
50822         macros.
50823         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
50824         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
50825         macros.
50826         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
50827         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
50828         cleanup macros.
50829         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
50831 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
50833         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
50834         to _sifields.sigfault.
50835         (si_addr_lsb): Define new macro.
50836         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50837         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50838         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
50840 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
50842         [BZ #15441]
50843         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
50844         returns -1.
50845         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
50846         null return -1.
50847         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
50848         loading the domain.
50850 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50852         * math/gen-libm-test.pl (parse_args): Do not include expected
50853         result in test name.
50854         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
50855         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50856         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50857         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50858         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50861 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50863         * benchtests/Makefile: Sort function entries.
50865         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
50866         tanh, asinh, acosh, atanh.
50867         * benchtests/acos-inputs: New file.
50868         * benchtests/acosh-inputs: New file.
50869         * benchtests/asin-inputs: New file.
50870         * benchtests/asinh-inputs: New file.
50871         * benchtests/atanh-inputs: New file.
50872         * benchtests/cosh-inputs: New file.
50873         * benchtests/log-inputs: New file.
50874         * benchtests/sinh-inputs: New file.
50875         * benchtests/tanh-inputs: New file.
50877 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
50879         [BZ #15339]
50880         * posix/tst-getaddrinfo4.c: New test.
50881         * posix/Makefile (tests): Add it.
50883 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50885         [BZ #15339]
50886         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
50887         when no services were used.
50888         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
50889         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
50891 2013-05-21  Andreas Schwab  <schwab@suse.de>
50893         [BZ #15014]
50894         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
50895         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
50896         successful.
50897         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
50898         redundant variable declarations and reallocation of buffer when
50899         parsing as IPv6 address.  Always set NSS status when called from
50900         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
50901         buffer too small.  Correct computation of needed size.
50902         * nss/Makefile (tests): Add test-digits-dots.
50903         * nss/test-digits-dots.c: New test.
50905 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50907         * benchtests/Makefile: Remove instructions for adding
50908         benchmark tests.
50909         * benchtests/README: New file to explain how to execute and
50910         enhance the benchmark tests.
50912 2013-05-21  Andreas Schwab  <schwab@suse.de>
50914         [BZ #15493]
50915         * setjmp/Makefile (tests): Add tst-sigsetjmp.
50916         * setjmp/tst-sigsetjmp.c: New test.
50918 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50920         * sysdeps/x86_64/memset.S (memset): New implementation.
50921         (__bzero): Likewise.
50922         (__memset_tail): New function.
50924 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50926         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
50927         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
50928         __memcpy_sse2_unaligned ifunc selection.
50929         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50930         Add memcpy-sse2-unaligned.S.
50931         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50932         Add: __memcpy_sse2_unaligned.
50934 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
50936         [BZ #15490]
50937         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50938         math_force_eval before restoring floating-point envrionment.
50939         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
50940         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
50941         Likewise.
50942         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
50943         <math_private.h>.
50944         (__nearbyintl): Use math_force_eval before restoring
50945         floating-point environment.
50946         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
50948         * math/gen-libm-test.pl (special_functions): Remove.
50949         (parse_args): Don't handle TEST_extra.  Handle functions with no
50950         return value.
50951         * math/libm-test.inc (struct test_sincos_data): Replace with
50952         struct test_fFF_11_data.
50953         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
50954         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
50955         (sincos_test_data): Change element type to struct
50956         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
50957         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
50958         RUN_TEST_LOOP_sincos.
50959         * math/README.libm-test: Don't mention special handling of
50960         individual functions.
50961         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
50962         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50963         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50964         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50965         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50968         * math/gen-libm-test.pl (get_variable): Remove function.
50969         (parse_args): Don't show pointer parameters to call in test
50970         names.  Use "extra output N" in test names for extra outputs
50971         rather than naming variables.
50973 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
50975         [BZ #15488]
50976         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
50977         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
50978         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
50979         double tests.
50980         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
50981         disable.
50982         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
50983         check_long_double.
50985         * math/gen-libm-test.pl (@tests): Remove variable.
50986         ($count): Likewise.
50987         (new_test): Remove function.
50988         (show_exceptions): New function.
50989         (special_functions): Use show_exceptions instead of new_test.
50990         (parse_args): Likewise.
50991         (generate_testfile): Pass only function name in generated call to
50992         print_max_error or print_complex_max_error.
50993         (get_ulps): Do not handle complex tests specially.
50994         (output_test): Rename to ...
50995         (get_all_ulps_for_test): ... this.  Return a string rather than
50996         printing to a file.  Require ulps to be present.
50997         (output_ulps): Generate arrays rather than #defines.
50998         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
50999         (struct ulp_data): New type.
51000         (BUILD_COMPLEX_ULP): Remove macro.
51001         (compare_ulp_data): New function.
51002         (find_ulps): Likewise.
51003         (find_test_ulps): Likewise.
51004         (find_function_ulps): Likewise.
51005         (find_complex_function_ulps): Likewise.
51006         (print_max_error): Determine allowed ulps using
51007         find_function_ulps.
51008         (print_complex_max_error): Determine allowed ulps using
51009         find_complex_function_ulps.
51010         (check_float_internal): Determine max ulps using find_test_ulps.
51011         (check_float): Do not take max_ulp parameter.  Update call to
51012         check_float_internal.
51013         (check_complex): Likewise.
51014         (check_int): Do not take max_ulp parameter.
51015         (check_long): Likewise.
51016         (check_bool): Likewise.
51017         (check_longlong): Likewise.
51018         (struct test_f_f_data): Remove max_ulp field.
51019         (struct test_ff_f_data): Likewise.
51020         (struct test_ff_f_data_nexttoward): Likewise.
51021         (struct test_fi_f_data): Likewise.
51022         (struct test_fl_f_data): Likewise.
51023         (struct test_if_f_data): Likewise.
51024         (struct test_fff_f_data): Likewise.
51025         (struct test_c_f_data): Likewise.
51026         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
51027         (struct test_fF_f1_data): Likewise.
51028         (struct test_ffI_f1_data): Likewise.
51029         (struct test_c_c_data): Remove max_ulp field.
51030         (struct test_cc_c_data): Likewise.
51031         (struct test_f_i_data): Likewise.
51032         (struct test_ff_i_data): Likewise.
51033         (struct test_f_l_data): Likewise.
51034         (struct test_f_L_data): Likewise.
51035         (struct test_sincos_data): Likewise.
51036         (RUN_TEST_f_f): Do not handle ulps.
51037         (RUN_TEST_LOOP_f_f): Likewise.
51038         (RUN_TEST_2_f): Likewise.
51039         (RUN_TEST_LOOP_2_f): Likewise.
51040         (RUN_TEST_fff_f): Likewise.
51041         (RUN_TEST_LOOP_fff_f): Likewise.
51042         (RUN_TEST_c_f): Likewise.
51043         (RUN_TEST_LOOP_c_f): Likewise.
51044         (RUN_TEST_f_f1): Likewise.
51045         (RUN_TEST_LOOP_f_f1): Likewise.
51046         (RUN_TEST_fF_f1): Likewise.
51047         (RUN_TEST_LOOP_fF_f1): Likewise.
51048         (RUN_TEST_fI_f1): Likewise.
51049         (RUN_TEST_LOOP_fI_f1): Likewise.
51050         (RUN_TEST_ffI_f1): Likewise.
51051         (RUN_TEST_LOOP_ffI_f1): Likewise.
51052         (RUN_TEST_c_c): Likewise.
51053         (RUN_TEST_LOOP_c_c): Likewise.
51054         (RUN_TEST_cc_c): Likewise.
51055         (RUN_TEST_LOOP_cc_c): Likewise.
51056         (RUN_TEST_f_i): Likewise.
51057         (RUN_TEST_LOOP_f_i): Likewise.
51058         (RUN_TEST_f_i_tg): Likewise.
51059         (RUN_TEST_LOOP_f_i_tg): Likewise.
51060         (RUN_TEST_ff_i_tg): Likewise.
51061         (RUN_TEST_LOOP_ff_i_tg): Likewise.
51062         (RUN_TEST_f_b): Likewise.
51063         (RUN_TEST_LOOP_f_b): Likewise.
51064         (RUN_TEST_f_b_tg): Likewise.
51065         (RUN_TEST_LOOP_f_b_tg): Likewise.
51066         (RUN_TEST_f_l): Likewise.
51067         (RUN_TEST_LOOP_f_l): Likewise.
51068         (RUN_TEST_f_L): Likewise.
51069         (RUN_TEST_LOOP_f_L): Likewise.
51070         (RUN_TEST_sincos): Likewise.
51071         (RUN_TEST_LOOP_sincos): Likewise.
51073 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
51075         [BZ #15480]
51076         [BZ #15485]
51077         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
51078         main case of finite arguments, set rounding mode to FE_TONEAREST
51079         and discard exceptions.
51080         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
51081         exceptions.
51082         (remainder_tonearest_test_data): New variable.
51083         (remainder_test_tonearest): New function.
51084         (remainder_towardzero_test_data): New variable.
51085         (remainder_test_towardzero): New function.
51086         (remainder_downward_test_data): New variable.
51087         (remainder_test_downward): New function.
51088         (remainder_upward_test_data): New variable.
51089         (remainder_test_upward): New function.
51090         (main): Call the new test functions.
51092         * math/libm-test.inc (struct test_f_f1_data): Remove field
51093         extra_init.
51094         (struct test_fF_f1_data): Likewise.
51095         (struct test_ffI_f1_data): Likewise.
51096         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
51097         based on value of EXTRA_EXPECTED.
51098         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51099         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
51100         EXTRA_VAR based on value of EXTRA_EXPECTED.
51101         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51102         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
51103         EXTRA_VAR based on value of EXTRA_EXPECTED.
51104         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51105         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
51106         EXTRA_VAR based on value of EXTRA_EXPECTED.
51107         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51108         * math/gen-libm-test.pl (parse_args): Don't output initializers
51109         for extra output values.
51111         * math/libm-test.inc (check_int): Expect result to be exactly
51112         equal to expected value and do not handle ulps.
51113         (check_long): Likewise.
51114         (check_longlong): Likewise.
51116         * math/libm-test.inc (ceil_test_data): Test for "inexact"
51117         exceptions.
51118         (cimag_test_data): Likewise.
51119         (conj_test_data): Likewise.
51120         (copysign_test_data): Likewise.
51121         (cproj_test_data): Likewise.
51122         (creal_test_data): Likewise.
51123         (fabs_test_data): Likewise.
51124         (fdim_test_data): Likewise.
51125         (finite_test_data): Likewise.
51126         (floor_test_data): Likewise.
51127         (fmax_test_data): Likewise.
51128         (fmin_test_data): Likewise.
51129         (fmod_test_data): Likewise.
51130         (fpclassify_test_data): Likewise.
51131         (frexp_test_data): Likewise.
51132         (ilogb_test_data): Likewise.
51133         (isfinite_test_data): Likewise.
51134         (isgreater_test_data): Likewise.
51135         (isgreaterequal_test_data): Likewise.
51136         (isinf_test_data): Likewise.
51137         (isless_test_data): Likewise.
51138         (islessequal_test_data): Likewise.
51139         (islessgreater_test_data): Likewise.
51140         (isnan_test_data): Likewise.
51141         (isnormal_test_data): Likewise.
51142         (issignaling_test_data): Likewise.
51143         (isunordered_test_data): Likewise.
51144         (ldexp_test_data): Likewise.
51145         (lrint_test_data): Likewise.
51146         (lrint_test_data) [TEST_FLOAT]: Disable one test.
51147         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
51148         (lrint_tonearest_test_data): Test for "inexact" exceptions.
51149         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51150         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
51151         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51152         test input.
51153         (lrint_towardzero_test_data): Test for "inexact" exceptions.
51154         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51155         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
51156         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
51157         that test input.
51158         (lrint_downward_test_data): Test for "inexact" exceptions.
51159         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51160         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
51161         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51162         test input.
51163         (lrint_upward_test_data): Test for "inexact" exceptions.
51164         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
51165         test input.
51166         (llrint_test_data): Test for "inexact" exceptions.
51167         (llrint_test_data) [TEST_FLOAT]: Disable one test.
51168         (llrint_tonearest_test_data): Test for "inexact" exceptions.
51169         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51170         (llrint_towardzero_test_data): Test for "inexact" exceptions.
51171         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51172         (llrint_downward_test_data): Test for "inexact" exceptions.
51173         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51174         (llrint_upward_test_data): Test for "inexact" exceptions.
51175         (logb_test_data): Likewise.
51176         (logb_downward_test_data): Likewise.
51177         (nextafter_test_data): Likewise.
51178         (nexttoward_test_data): Likewise.
51179         (remainder_test_data): Likewise.
51180         (remquo_test_data): Likewise.
51181         (scalbn_test_data): Likewise.
51182         (scalbln_test_data): Likewise.
51183         (signbit_test_data): Likewise.
51184         (sqrt_test_data): Likewise.
51185         (significand_test_data): Likewise.
51187 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51189         [BZ #15424]
51190         * benchtests/bench-modf.c (struct args): Mark arg0 as
51191         volatile.
51192         * scripts/bench.pl: Mark members of struct args as volatile.
51194 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51196         [BZ # 15497]
51197         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
51198         negative infinity on POWER6 or lower.
51199         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
51201 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
51203         [BZ #15442]
51204         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
51205         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
51206         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
51207         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
51208         (_FP_SETQNAN): New macro.
51209         (_FP_SETQNAN_SEMIRAW): Likewise.
51210         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
51211         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
51212         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
51213         (FP_EXTEND): Use _FP_FRAC_SNANP.
51214         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
51215         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
51216         into account.
51217         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51218         New macro.
51219         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51220         Likewise.
51222 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51224         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
51225         with DIVIDE_BY_ZERO_EXCEPTION.
51226         (gamma_test_data): Likewise.
51227         (lgamma_test_data): Likewise.
51228         (log_test_data): Likewise.
51229         (log10_test_data): Likewise.
51230         (log2_test_data): Likewise.
51231         (tgamma_test_data): Likewise.
51233         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
51234         (acos_test_tonearest): Likewise.
51235         (acos_test_towardzero): Likewise.
51236         (acos_test_downward): Likewise.
51237         (acos_test_upward): Likewise.
51238         (acosh_test): Likewise.
51239         (asin_test): Likewise.
51240         (asin_test_tonearest): Likewise.
51241         (asin_test_towardzero): Likewise.
51242         (asin_test_downward): Likewise.
51243         (asin_test_upward): Likewise.
51244         (asinh_test): Likewise.
51245         (atan_test): Likewise.
51246         (atanh_test): Likewise.
51247         (atan2_test): Likewise.
51248         (cabs_test): Likewise.
51249         (cacos_test): Likewise.
51250         (cacosh_test): Likewise.
51251         (casin_test): Likewise.
51252         (casinh_test): Likewise.
51253         (catan_test): Likewise.
51254         (catanh_test): Likewise.
51255         (cbrt_test): Likewise.
51256         (ccos_test): Likewise.
51257         (ccosh_test): Likewise.
51258         (cexp_test): Likewise.
51259         (clog_test): Likewise.
51260         (clog10_test): Likewise.
51261         (cos_test): Likewise.
51262         (cos_test_tonearest): Likewise.
51263         (cos_test_towardzero): Likewise.
51264         (cos_test_downward): Likewise.
51265         (cos_test_upward): Likewise.
51266         (cosh_test): Likewise.
51267         (cosh_test_tonearest): Likewise.
51268         (cosh_test_towardzero): Likewise.
51269         (cosh_test_downward): Likewise.
51270         (cosh_test_upward): Likewise.
51271         (cpow_test): Likewise.
51272         (csin_test): Likewise.
51273         (csinh_test): Likewise.
51274         (csqrt_test): Likewise.
51275         (ctan_test): Likewise.
51276         (ctan_test_tonearest): Likewise.
51277         (ctan_test_towardzero): Likewise.
51278         (ctan_test_downward): Likewise.
51279         (ctan_test_upward): Likewise.
51280         (ctanh_test): Likewise.
51281         (ctanh_test_tonearest): Likewise.
51282         (ctanh_test_towardzero): Likewise.
51283         (ctanh_test_downward): Likewise.
51284         (ctanh_test_upward): Likewise.
51285         (erf_test): Likewise.
51286         (erfc_test): Likewise.
51287         (exp_test): Likewise.
51288         (exp_test_tonearest): Likewise.
51289         (exp_test_towardzero): Likewise.
51290         (exp_test_downward): Likewise.
51291         (exp_test_upward): Likewise.
51292         (exp10_test): Likewise.
51293         (exp2_test): Likewise.
51294         (expm1_test): Likewise.
51295         (fmod_test): Likewise.
51296         (gamma_test): Likewise.
51297         (hypot_test): Likewise.
51298         (j0_test): Likewise.
51299         (j1_test): Likewise.
51300         (jn_test): Likewise.
51301         (lgamma_test): Likewise.
51302         (log_test): Likewise.
51303         (log10_test): Likewise.
51304         (log1p_test): Likewise.
51305         (log2_test): Likewise.
51306         (logb_test_downward): Likewise.
51307         (pow_test): Likewise.
51308         (pow_test_tonearest): Likewise.
51309         (pow_test_towardzero): Likewise.
51310         (pow_test_downward): Likewise.
51311         (pow_test_upward): Likewise.
51312         (remainder_test): Likewise.
51313         (remquo_test): Likewise.
51314         (sin_test): Likewise.
51315         (sin_test_tonearest): Likewise.
51316         (sin_test_towardzero): Likewise.
51317         (sin_test_downward): Likewise.
51318         (sin_test_upward): Likewise.
51319         (sincos_test): Likewise.
51320         (sinh_test): Likewise.
51321         (sinh_test_tonearest): Likewise.
51322         (sinh_test_towardzero): Likewise.
51323         (sinh_test_downward): Likewise.
51324         (sinh_test_upward): Likewise.
51325         (sqrt_test): Likewise.
51326         (tan_test): Likewise.
51327         (tan_test_tonearest): Likewise.
51328         (tan_test_towardzero): Likewise.
51329         (tan_test_downward): Likewise.
51330         (tan_test_upward): Likewise.
51331         (tanh_test): Likewise.
51332         (tgamma_test): Likewise.
51333         (y0_test): Likewise.
51334         (y1_test): Likewise.
51335         (yn_test): Likewise.
51337         * math/gen-libm-test.pl (adjust_arg): Remove function.
51338         (special_function): Remove argument $in_func.  Only handle
51339         generating output for tables of tests, not inside functions.
51340         (parse_args): Likewise.
51341         (generate_testfile): Remove variable $in_func.  Update call to
51342         parse_args.
51343         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
51344         (MINUS_ZERO_INIT): Rename macro to minus_zero.
51345         (PLUS_INFTY_INIT): Rename macro to plus_infty.
51346         (MINUS_INFTY_INIT): Rename macro to minus_infty.
51347         (QNAN_VALUE_INIT): Rename macro to qnan_value.
51348         (MAX_VALUE_INIT): Rename macro to max_value.
51349         (MIN_VALUE_INIT): Rename macro to min_value.
51350         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
51351         (plus_zero): Remove variable.
51352         (minus_zero): Likewise.
51353         (plus_infty): Likewise.
51354         (minus_infty): Likewise.
51355         (qnan_value): Likewise.
51356         (max_value): Likewise.
51357         (min_value): Likewise.
51358         (min_subnorm_value): Likewise.
51360 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51362         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
51363         uint64_t or uint32_t usage.
51364         * crypt/sha256-block.c: Likewise.
51365         * crypt/sha256-crypt.c: Likewise.
51366         * crypt/sha256.c: Likewise.
51367         * crypt/sha512-block.c: Likewise.
51368         * crypt/sha512-crypt.c: Likewise.
51369         * crypt/sha512.c: Likewise.
51370         * debug/backtrace-tst.c: Likewise.
51371         * debug/pcprofiledump.c: Likewise.
51372         * elf/cache.c: Likewise.
51373         * elf/dl-cache.c: Likewise.
51374         * elf/dl-misc.c: Likewise.
51375         * elf/dl-profile.c: Likewise.
51376         * elf/dl-support.c: Likewise.
51377         * elf/ldconfig.c: Likewise.
51378         * elf/sprof.c: Likewise.
51379         * iconv/dummy-repertoire.c: Likewise.
51380         * iconv/iconv_charmap.c: Likewise.
51381         * iconv/skeleton.c: Likewise.
51382         * iconvdata/8bit-generic.c: Likewise.
51383         * iconvdata/cp737.h: Likewise.
51384         * iconvdata/cp775.h: Likewise.
51385         * iconvdata/ibm1008.h: Likewise.
51386         * iconvdata/ibm1025.h: Likewise.
51387         * iconvdata/ibm1046.h: Likewise.
51388         * iconvdata/ibm1097.h: Likewise.
51389         * iconvdata/ibm1112.h: Likewise.
51390         * iconvdata/ibm1122.h: Likewise.
51391         * iconvdata/ibm1123.h: Likewise.
51392         * iconvdata/ibm1124.h: Likewise.
51393         * iconvdata/ibm1129.h: Likewise.
51394         * iconvdata/ibm1130.h: Likewise.
51395         * iconvdata/ibm1132.h: Likewise.
51396         * iconvdata/ibm1133.h: Likewise.
51397         * iconvdata/ibm1137.h: Likewise.
51398         * iconvdata/ibm1140.h: Likewise.
51399         * iconvdata/ibm1141.h: Likewise.
51400         * iconvdata/ibm1142.h: Likewise.
51401         * iconvdata/ibm1143.h: Likewise.
51402         * iconvdata/ibm1144.h: Likewise.
51403         * iconvdata/ibm1145.h: Likewise.
51404         * iconvdata/ibm1146.h: Likewise.
51405         * iconvdata/ibm1147.h: Likewise.
51406         * iconvdata/ibm1148.h: Likewise.
51407         * iconvdata/ibm1149.h: Likewise.
51408         * iconvdata/ibm1153.h: Likewise.
51409         * iconvdata/ibm1154.h: Likewise.
51410         * iconvdata/ibm1155.h: Likewise.
51411         * iconvdata/ibm1156.h: Likewise.
51412         * iconvdata/ibm1157.h: Likewise.
51413         * iconvdata/ibm1158.h: Likewise.
51414         * iconvdata/ibm1160.h: Likewise.
51415         * iconvdata/ibm1161.h: Likewise.
51416         * iconvdata/ibm1162.h: Likewise.
51417         * iconvdata/ibm1163.h: Likewise.
51418         * iconvdata/ibm1164.h: Likewise.
51419         * iconvdata/ibm1166.h: Likewise.
51420         * iconvdata/ibm1167.h: Likewise.
51421         * iconvdata/ibm12712.h: Likewise.
51422         * iconvdata/ibm1390.h: Likewise.
51423         * iconvdata/ibm1399.h: Likewise.
51424         * iconvdata/ibm16804.h: Likewise.
51425         * iconvdata/ibm4517.h: Likewise.
51426         * iconvdata/ibm4899.h: Likewise.
51427         * iconvdata/ibm4909.h: Likewise.
51428         * iconvdata/ibm4971.h: Likewise.
51429         * iconvdata/ibm5347.h: Likewise.
51430         * iconvdata/ibm803.h: Likewise.
51431         * iconvdata/ibm856.h: Likewise.
51432         * iconvdata/ibm901.h: Likewise.
51433         * iconvdata/ibm902.h: Likewise.
51434         * iconvdata/ibm9030.h: Likewise.
51435         * iconvdata/ibm9066.h: Likewise.
51436         * iconvdata/ibm921.h: Likewise.
51437         * iconvdata/ibm922.h: Likewise.
51438         * iconvdata/ibm9448.h: Likewise.
51439         * iconvdata/isiri-3342.h: Likewise.
51440         * iconvdata/jis0201.h: Likewise.
51441         * include/link.h: Likewise.
51442         * include/netdb.h: Likewise.
51443         * inet/check_native.c: Likewise.
51444         * inet/check_pf.c: Likewise.
51445         * inet/getipv4sourcefilter.c: Likewise.
51446         * inet/getnameinfo.c: Likewise.
51447         * inet/getsourcefilter.c: Likewise.
51448         * inet/htonl.c: Likewise.
51449         * inet/setipv4sourcefilter.c: Likewise.
51450         * inet/setsourcefilter.c: Likewise.
51451         * inet/test-inet6_opt.c: Likewise.
51452         * inet/tst-network.c: Likewise.
51453         * locale/C-collate.c: Likewise.
51454         * locale/C-ctype.c: Likewise.
51455         * locale/C-time.c: Likewise.
51456         * locale/C-translit.h: Likewise.
51457         * locale/loadarchive.c: Likewise.
51458         * locale/programs/3level.h: Likewise.
51459         * locale/programs/charmap.c: Likewise.
51460         * locale/programs/charmap.h: Likewise.
51461         * locale/programs/ld-address.c: Likewise.
51462         * locale/programs/ld-collate.c: Likewise.
51463         * locale/programs/ld-ctype.c: Likewise.
51464         * locale/programs/ld-identification.c: Likewise.
51465         * locale/programs/ld-measurement.c: Likewise.
51466         * locale/programs/ld-messages.c: Likewise.
51467         * locale/programs/ld-monetary.c: Likewise.
51468         * locale/programs/ld-name.c: Likewise.
51469         * locale/programs/ld-numeric.c: Likewise.
51470         * locale/programs/ld-paper.c: Likewise.
51471         * locale/programs/ld-telephone.c: Likewise.
51472         * locale/programs/ld-time.c: Likewise.
51473         * locale/programs/linereader.c: Likewise.
51474         * locale/programs/locale.c: Likewise.
51475         * locale/programs/locarchive.c: Likewise.
51476         * locale/programs/locfile.h: Likewise.
51477         * locale/programs/repertoire.c: Likewise.
51478         * locale/programs/simple-hash.c: Likewise.
51479         * locale/programs/simple-hash.h: Likewise.
51480         * malloc/memusage.c: Likewise.
51481         * malloc/memusagestat.c: Likewise.
51482         * nis/nis_defaults.c: Likewise.
51483         * nis/nis_hash.c: Likewise.
51484         * nis/nis_print.c: Likewise.
51485         * nis/nis_xdr.c: Likewise.
51486         * nscd/connections.c: Likewise.
51487         * nscd/hstcache.c: Likewise.
51488         * nscd/nscd_gethst_r.c: Likewise.
51489         * nscd/nscd_getserv_r.c: Likewise.
51490         * nscd/nscd_helper.c: Likewise.
51491         * nscd/servicescache.c: Likewise.
51492         * nss/makedb.c: Likewise.
51493         * nss/nss_db/db-XXX.c: Likewise.
51494         * nss/nss_db/db-initgroups.c: Likewise.
51495         * nss/nss_db/db-netgrp.c: Likewise.
51496         * nss/nss_files/files-network.c: Likewise.
51497         * nss/nss_files/files-parse.c: Likewise.
51498         * posix/bug-regex5.c: Likewise.
51499         * posix/fnmatch_loop.c: Likewise.
51500         * posix/regcomp.c: Likewise.
51501         * posix/regexec.c: Likewise.
51502         * posix/tst-rfc3484-2.c: Likewise.
51503         * posix/tst-rfc3484-3.c: Likewise.
51504         * posix/tst-rfc3484.c: Likewise.
51505         * resolv/nss_dns/dns-canon.c: Likewise.
51506         * resolv/nss_dns/dns-network.c: Likewise.
51507         * resolv/res_init.c: Likewise.
51508         * resolv/res_mkquery.c: Likewise.
51509         * resolv/tst-aton.c: Likewise.
51510         * stdlib/cxa_atexit.c: Likewise.
51511         * stdlib/cxa_finalize.c: Likewise.
51512         * stdlib/gen-fpioconst.c: Likewise.
51513         * stdlib/strtol_l.c: Likewise.
51514         * string/tst-endian.c: Likewise.
51515         * sunrpc/auth_des.c: Likewise.
51516         * sunrpc/clnt_udp.c: Likewise.
51517         * sunrpc/rtime.c: Likewise.
51518         * sunrpc/svcauth_des.c: Likewise.
51519         * sunrpc/xdr.c: Likewise.
51520         * sunrpc/xdr_intXX_t.c: Likewise.
51521         * sunrpc/xdr_rec.c: Likewise.
51522         * sysdeps/generic/ldconfig.h: Likewise.
51523         * sysdeps/generic/ldsodefs.h: Likewise.
51524         * sysdeps/generic/memusage.h: Likewise.
51525         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51526         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
51527         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
51528         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51529         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51530         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51531         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51532         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51533         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51534         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51535         * sysdeps/posix/getaddrinfo.c: Likewise.
51536         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51537         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51538         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51539         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51540         * sysdeps/powerpc/test-gettimebase.c: Likewise.
51541         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
51542         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
51543         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
51544         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
51545         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
51546         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51547         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51548         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
51549         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
51550         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
51551         * sysdeps/x86_64/dl-tls.h: Likewise.
51552         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
51553         * time/alt_digit.c: Likewise.
51554         * time/era.c: Likewise.
51555         * wcsmbs/tst-c16c32-1.c: Likewise.
51557 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51559         * math/libm-test.inc (struct test_sincos_data): New type.
51560         (RUN_TEST_LOOP_sincos): New macro.
51561         (sincos_test_data): New variable.
51562         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
51564 2013-05-16  Richard Henderson  <rth@redhat.com>
51566         * math/atest-exp2.c (LIMB64): New macro.
51567         (CONSTSZ): New macro.
51568         (mp_exp1, mp_exp_m1, mp_log2): New variables.
51569         (hexdig): Move ...
51570         (print_mpn_fp): ... to function scope.
51571         (read_mpn_hex): Remove.
51572         (get_log2): Remove.
51573         (exp2_mpn): Use mp_log2.
51574         (main): Use mp_exp1.
51576 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51578         * math/libm-test.inc: Remove comment about not testing "inexact"
51579         exceptions.
51580         (INEXACT_EXCEPTION): New macro.
51581         (NO_INEXACT_EXCEPTION): Likewise.
51582         (INVALID_EXCEPTION_OK): Update value.
51583         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51584         (OVERFLOW_EXCEPTION_OK): Likewise.
51585         (UNDERFLOW_EXCEPTION_OK): Likewise.
51586         (IGNORE_ZERO_INF_SIGN): Likewise.
51587         (ERRNO_UNCHANGED): Likewise.
51588         (ERRNO_EDOM): Likewise.
51589         (ERRNO_ERANGE): Likewise.
51590         (test_exceptions): Handle testing "inexact" exceptions.
51591         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
51592         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
51593         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
51594         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
51595         INEXACT_EXCEPTION.
51596         (rint_towardzero_test_data): Likewise.
51597         (rint_downward_test_data): Likewise.
51598         (rint_upward_test_data): Likewise.
51600         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
51601         with OVERFLOW_EXCEPTION.
51602         (exp10_test_data): Likewise.
51603         (exp2_test_data): Likewise.
51604         (expm1_test_data): Likewise.
51605         (lgamma_test_data): Likewise.
51606         (pow_test_data): Likewise.
51607         (tgamma_test_data): Likewise.
51608         (yn_test_data): Remove duplicate test of overflow.
51610         * math/libm-test.inc (struct test_cc_c_data): New type.
51611         (RUN_TEST_LOOP_cc_c): New macro.
51612         (cpow_test_data): New variable.
51613         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
51615         * math/libm-test.inc (struct test_f_L_data): New type.
51616         (RUN_TEST_LOOP_f_L): New macro.
51617         (llrint_test_data): New variable.
51618         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
51619         (llrint_tonearest_test_data): New variable.
51620         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
51621         (llrint_towardzero_test_data): New variable.
51622         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
51623         (llrint_downward_test_data): New variable.
51624         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
51625         (llrint_upward_test_data): New variable.
51626         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
51627         (llround_test_data): New variable.
51628         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
51630 2013-05-13  Peter Collingbourne  <pcc@google.com>
51632         * math/atest-exp2.c (get_log2): Remove const attribute.
51634 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51636         * math/libm-test.inc (struct test_f_l_data): New type.
51637         (RUN_TEST_LOOP_f_l): New macro.
51638         (lrint_test_data): New variable.
51639         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
51640         (lrint_tonearest_test_data): New variable.
51641         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
51642         (lrint_towardzero_test_data): New variable.
51643         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
51644         (lrint_downward_test_data): New variable.
51645         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
51646         (lrint_upward_test_data): New variable.
51647         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
51648         (lround_test_data): New variable.
51649         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
51651 2013-05-15  Peter Collingbourne  <pcc@google.com>
51653         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
51654         (EXTRACT_WORDS64) Use where appropriate.
51655         (INSERT_WORDS64) Likewise.
51657         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
51658         constraints with x constraints.
51659         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
51661         * malloc/obstack.c (_obstack_compat): Add initializer.
51663 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51665         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
51666         si_trapno and add si_addr_lsb to _sifields.sigfault.
51667         (si_trapno): Remove macro.
51668         (si_addr_lsb): Define new macro.
51669         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51671 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51673         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
51674         instead of TEST_f_l.
51675         (llrint_test_tonearest): Likewise.
51676         (llrint_test_towardzero): Likewise.
51677         (llrint_test_downward): Likewise.
51678         (llrint_test_upward): Likewise.
51679         (llround_test): Likewise.
51681         * math/libm-test.inc (struct test_f_i_data): Add comment.
51682         (RUN_TEST_LOOP_f_b): New macro.
51683         (RUN_TEST_LOOP_f_b_tg): Likewise.
51684         (finite_test_data): New variable.
51685         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
51686         (isfinite_test_data): New variable.
51687         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51688         (isinf_test_data): New variable.
51689         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51690         (isnan_test_data): New variable.
51691         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51692         (isnormal_test_data): New variable.
51693         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51694         (issignaling_test_data): New variable.
51695         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51696         (signbit_test_data): New variable.
51697         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51699         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
51700         with INVALID_EXCEPTION.
51701         (acosh_test_data): Likewise.
51702         (asin_test_data): Likewise.
51703         (atanh_test_data): Likewise.
51704         (fmod_test_data): Likewise.
51705         (log_test_data): Likewise.
51706         (log10_test_data): Likewise.
51707         (log2_test_data): Likewise.
51708         (pow_test_data): Likewise.
51709         (sqrt_test_data): Likewise.
51710         (y0_test_data): Likewise.
51711         (y1_test_data): Likewise.
51712         (yn_test_data): Likewise.
51714         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
51715         function contents.
51717         * math/libm-test.inc (struct test_ff_i_data): New type.
51718         (RUN_TEST_LOOP_ff_i_tg): New macro.
51719         (isgreater_test_data): New variable.
51720         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51721         (isgreaterequal_test_data): New variable.
51722         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51723         (isless_test_data): New variable.
51724         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51725         (islessequal_test_data): New variable.
51726         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51727         (islessgreater_test_data): New variable.
51728         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51729         (isunordered_test_data): New variable.
51730         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51732 2013-05-14  David S. Miller  <davem@davemloft.net>
51734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51736 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
51738         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
51740         * math/libm-test.inc (struct test_fF_f1_data): Change type of
51741         extra_test to int.
51742         (struct test_f_i_data): Change type of max_ulp to int.
51744         * math/libm-test.inc (test_ffI_f1_data): New type.
51745         (RUN_TEST_LOOP_ffI_f1): New macro.
51746         (remquo_test_data): New variable.
51747         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
51749         * setjmp/tst-setjmp-fp.c: New file.
51750         * setjmp/Makefile (tests): Add tst-setjmp-fp.
51751         (link-libm): New variable.
51752         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
51754         * math/libm-test.inc (struct test_f_i_data): New type.
51755         (RUN_TEST_LOOP_f_i): New macro.
51756         (RUN_TEST_LOOP_f_i_tg): Likewise.
51757         (fpclassify_test_data): New variable.
51758         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
51759         (ilogb_test_data): New variable.
51760         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
51762         * math/libm-test.inc (scalbln_test): Correct function name in END
51763         call.
51765         * math/libm-test.inc (struct test_f_f1_data): Add comment.
51766         (RUN_TEST_LOOP_fI_f1): New macro.
51767         (frexp_test_data): New variable.
51768         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
51770         * math/libm-test.inc (struct test_fF_f1_data): New type.
51771         (RUN_TEST_LOOP_fF_f1): New macro.
51772         (modf_test_data): New variable.
51773         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
51775         * math/libm-test.inc (struct test_f_f1_data): New type.
51776         (RUN_TEST_LOOP_f_f1): New macro.
51777         (gamma_test_data): New variable.
51778         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51779         (lgamma_test_data): New variable.
51780         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51782 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
51784         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
51785         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
51786         (main): Comment "tls" pseudo-hwcap.
51788 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
51790         * math/libm-test.inc (struct test_fl_f_data): New type.
51791         (RUN_TEST_LOOP_fl_f): New variable.
51792         (scalbln_test_data): New variable.
51793         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
51795         * math/libm-test.inc (struct test_fi_f_data): New type.
51796         (RUN_TEST_LOOP_fi_f): New macro.
51797         (ldexp_test_data): New variable.
51798         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
51799         (scalbn_test_data): New variable.
51800         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
51802         * math/libm-test.inc (struct test_c_f_data): New type.
51803         (RUN_TEST_LOOP_c_f): New macro.
51804         (cabs_test_data): New variable.
51805         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
51806         (carg_test_data): New variable.
51807         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
51808         (cimag_test_data): New variable.
51809         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
51810         (creal_test_data): New variable.
51811         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
51813         * math/libm-test.inc (struct test_if_f_data): New type.
51814         (RUN_TEST_LOOP_if_f): New macro.
51815         (jn_test_data): New variable.
51816         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
51817         (yn_test_data): New variable.
51818         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
51820         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
51822 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51824         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
51825         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
51827 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51829         * benchtests/Makefile (CPPFLAGS-nonlib): Add
51830         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
51831         (bench-deps): Add bench-timing.h.
51832         * benchtests-bench-skeleton.c: Include bench-timing.h.
51833         (main): Use TIMING_* macros instead of clock_gettime.
51834         * benchtests/bench-timing.h: New file.
51836         [BZ #14582]
51837         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
51838         Renamed from _LIB_VERSION.
51839         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
51841 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
51843         * math/libm-test.inc (struct test_fff_f_data): New type.
51844         (RUN_TEST_LOOP_fff_f): New macro.
51845         (fma_test_data): New variable.
51846         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
51847         (fma_towardzero_test_data): New variable.
51848         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
51849         (fma_downward_test_data): New variable.
51850         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
51851         (fma_upward_test_data): New variable.
51852         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
51854         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
51855         (struct test_c_c_data): New type.
51856         (RUN_TEST_LOOP_c_c): New macro.
51857         (cacos_test_data): New variable.
51858         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
51859         (cacosh_test_data): New variable.
51860         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
51861         (casin_test_data): New variable.
51862         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
51863         (casinh_test_data): New variable.
51864         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
51865         (catan_test_data): New variable.
51866         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
51867         (catanh_test_data): New variable.
51868         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
51869         (ccos_test_data): New variable.
51870         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
51871         (ccosh_test_data): New variable.
51872         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
51873         (cexp_test_data): New variable.
51874         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
51875         (clog_test_data): New variable.
51876         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
51877         (clog10_test_data): New variable.
51878         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
51879         (conj_test_data): New variable.
51880         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
51881         (cproj_test_data): New variable.
51882         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
51883         (csin_test_data): New variable.
51884         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
51885         (csinh_test_data): New variable.
51886         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
51887         (csqrt_test_data): New variable.
51888         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
51889         (ctan_test_data): New variable.
51890         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
51891         (ctan_tonearest_test_data): New variable.
51892         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51893         (ctan_towardzero_test_data): New variable.
51894         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51895         (ctan_downward_test_data): New variable.
51896         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51897         (ctan_upward_test_data): New variable.
51898         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51899         (ctanh_test_data): New variable.
51900         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
51901         (ctanh_tonearest_test_data): New variable.
51902         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51903         (ctanh_towardzero_test_data): New variable.
51904         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51905         (ctanh_downward_test_data): New variable.
51906         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51907         (ctanh_upward_test_data): New variable.
51908         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51909         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
51910         of BUILD_COMPLEX.
51912         * math/libm-test.inc (struct test_ff_f_data): New type.
51913         (struct test_ff_f_data_nexttoward): Likewise.
51914         (RUN_TEST_LOOP_2_f): New macro.
51915         (RUN_TEST_LOOP_ff_f): Likewise.
51916         (atan2_test_data): New variable.
51917         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
51918         (copysign_test_data): New variable.
51919         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
51920         (fdim_test_data): New variable.
51921         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
51922         (fmax_test_data): New variable.
51923         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
51924         (fmin_test_data): New variable.
51925         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
51926         (fmod_test_data): New variable.
51927         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
51928         (hypot_test_data): New variable.
51929         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
51930         (nextafter_test_data): New variable.
51931         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
51932         (nexttoward_test_data): New variable.
51933         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
51934         (pow_test_data): New variable.
51935         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
51936         (pow_tonearest_test_data): New variable.
51937         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
51938         (pow_towardzero_test_data): New variable.
51939         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
51940         (pow_downward_test_data): New variable.
51941         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
51942         (pow_upward_test_data): New variable.
51943         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
51944         (remainder_test_data): New variable.
51945         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
51946         (scalb_test_data): New variable.
51947         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
51948         * sysdeps/i386/fpu/libm-test-ulps: Update.
51950 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
51952         * math/libm-test.inc (fma_test): Use max_value instead of local
51953         variable fltmax.
51954         (nextafter_test): Likewise.
51956         * math/libm-test.inc (acos_towardzero_test_data): New variable.
51957         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51958         (acos_downward_test_data): New variable.
51959         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51960         (acos_upward_test_data): New variable.
51961         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51962         (acosh_test_data): New variable.
51963         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
51964         (asin_test_data): New variable.
51965         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
51966         (asin_tonearest_test_data): New variable.
51967         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51968         (asin_towardzero_test_data): New variable.
51969         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51970         (asin_downward_test_data): New variable.
51971         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51972         (asin_upward_test_data): New variable.
51973         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51974         (asinh_test_data): New variable.
51975         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
51976         (atan_test_data): New variable.
51977         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
51978         (atanh_test_data): New variable.
51979         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
51980         (cbrt_test_data): New variable.
51981         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
51982         (ceil_test_data): New variable.
51983         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
51984         (cos_test_data): New variable.
51985         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
51986         (cos_tonearest_test_data): New variable.
51987         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51988         (cos_towardzero_test_data): New variable.
51989         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51990         (cos_downward_test_data): New variable.
51991         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51992         (cos_upward_test_data): New variable.
51993         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51994         (cosh_test_data): New variable.
51995         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
51996         (cosh_tonearest_test_data): New variable.
51997         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51998         (cosh_towardzero_test_data): New variable.
51999         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52000         (cosh_downward_test_data): New variable.
52001         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52002         (cosh_upward_test_data): New variable.
52003         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52004         (erf_test_data): New variable.
52005         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
52006         (erfc_test_data): New variable.
52007         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
52008         (exp_test_data): New variable.
52009         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
52010         (exp_tonearest_test_data): New variable.
52011         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52012         (exp_towardzero_test_data): New variable.
52013         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52014         (exp_downward_test_data): New variable.
52015         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52016         (exp_upward_test_data): New variable.
52017         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52018         (exp10_test_data): New variable.
52019         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
52020         (exp2_test_data): New variable.
52021         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
52022         (expm1_test_data): New variable.
52023         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
52024         (fabs_test_data): New variable.
52025         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
52026         (floor_test_data): New variable.
52027         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
52028         (j0_test_data): New variable.
52029         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
52030         (j1_test_data): New variable.
52031         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
52032         (log_test_data): New variable.
52033         (log_test): Run tests with RUN_TEST_LOOP_f_f.
52034         (log10_test_data): New variable.
52035         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
52036         (log1p_test_data): New variable.
52037         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
52038         (log2_test_data): New variable.
52039         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
52040         (logb_test_data): New variable.
52041         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
52042         (logb_downward_test_data): New variable.
52043         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52044         (nearbyint_test_data): New variable.
52045         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
52046         (rint_test_data): New variable.
52047         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
52048         (rint_tonearest_test_data): New variable.
52049         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52050         (rint_towardzero_test_data): New variable.
52051         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52052         (rint_downward_test_data): New variable.
52053         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52054         (rint_upward_test_data): New variable.
52055         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52056         (round_test_data): New variable.
52057         (round_test): Run tests with RUN_TEST_LOOP_f_f.
52058         (sin_test_data): New variable.
52059         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
52060         (sin_tonearest_test_data): New variable.
52061         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52062         (sin_towardzero_test_data): New variable.
52063         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52064         (sin_downward_test_data): New variable.
52065         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52066         (sin_upward_test_data): New variable.
52067         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52068         (sinh_test_data): New variable.
52069         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
52070         (sinh_tonearest_test_data): New variable.
52071         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52072         (sinh_towardzero_test_data): New variable.
52073         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52074         (sinh_downward_test_data): New variable.
52075         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52076         (sinh_upward_test_data): New variable.
52077         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52078         (sqrt_test_data): New variable.
52079         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
52080         (tan_test_data): New variable.
52081         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
52082         (tan_tonearest_test_data): New variable.
52083         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52084         (tan_towardzero_test_data): New variable.
52085         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52086         (tan_downward_test_data): New variable.
52087         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52088         (tan_upward_test_data): New variable.
52089         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52090         (tanh_test_data): New variable.
52091         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
52092         (tgamma_test_data): New variable.
52093         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
52094         (trunc_test_data): New variable.
52095         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
52096         (y0_test_data): New variable.
52097         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
52098         (y1_test_data): New variable.
52099         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
52100         (significand_test_data): New variable.
52101         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
52103 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
52105         [BZ #12387]
52106         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
52108 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52110         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
52112 2013-05-10  Andreas Jaeger  <aj@suse.de>
52114         [BZ #15448]
52115         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
52116         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
52118 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52120         * math/gen-libm-test.pl (adjust_arg): New function.
52121         (special_functions): Handle generating output in both functions
52122         and arrays.
52123         (parse_args): Likewise.
52124         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
52125         $in_func argument to parse_args.
52126         * math/libm-test.inc (struct test_f_f_data): New type.
52127         (IF_ROUND_INIT_): New macro.
52128         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
52129         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52130         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52131         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52132         (ROUND_RESTORE_): Likewise.
52133         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
52134         (ROUND_RESTORE_FE_TONEAREST): Likewise.
52135         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
52136         (ROUND_RESTORE_FE_UPWARD): Likewise.
52137         (RUN_TEST_LOOP_f_f): New macro.
52138         (acos_test_data): New variable.
52139         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
52140         (acos_tonearest_test_data): New variable.
52141         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52143 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52145         * benchtests/bench-skeleton.c (startup): Fix coding style.
52147 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52149         [BZ #6809]
52150         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
52151         negative infinity argument.
52152         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
52153         negative infinity argument.
52154         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
52155         negative infinity argument.
52156         * math/libm-test.inc (tgamma_test): Expect errno to be set for
52157         domain errors.
52159 2013-05-10  Florian Weimer  <fweimer@redhat.com>
52161         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
52162         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
52163         * iconv/iconv_prog.c (main): Likewise.
52164         * locale/programs/charmap-dir.c (charmap_readdir)
52165         (fopen_uncompressed): Likewise.
52166         * locale/programs/locfile.c (siblings_uncached)
52167         (write_locale_data): Use lstat64 instead of lstat.
52168         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
52169         stat.
52171 2013-05-10  Andreas Jaeger  <aj@suse.de>
52173         [BZ #15395]
52174         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
52175         localization.
52176         Include <locale.h>.
52178 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
52180         * elf/dl-close.c (_dl_close_worker): Add comments.
52182 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
52184         [BZ #15359]
52185         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
52186         high part of pi/2.
52187         (__ieee754_rem_pio2l): Update comments.
52189         [BZ #15429]
52190         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
52191         high part of pi/2.
52192         (__ieee754_rem_pio2l): Update comments.
52194         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
52195         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
52197         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
52198         M_PI_4l.
52200         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
52201         (M_PI_34_LOG10El): Likewise.
52202         (M_PI2_LOG10El): Likewise.
52203         (M_PI4_LOG10El): Likewise.
52204         (M_PI_LOG10El): Likewise.
52206 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52210 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
52212         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
52213         (MINUS_ZERO_INIT): Likewise.
52214         (PLUS_INFTY_INIT): Likewise.
52215         (MINUS_INFTY_INIT): Likewise.
52216         (QNAN_VALUE_INIT): Likewise.
52217         (MAX_VALUE_INIT): Likewise.
52218         (MIN_VALUE_INIT): Likewise.
52219         (MIN_SUBNORM_VALUE_INIT): Likewise.
52220         (plus_zero): Initialize with PLUS_ZERO_INIT.
52221         (minus_zero): Initialize with MINUS_ZERO_INIT.
52222         (plus_infty): Initialize with PLUS_INFTY_INIT.
52223         (minus_infty): Initialize with MINUS_INFTY_INIT.
52224         (qnan_value): Initialize with QNAN_VALUE_INIT.
52225         (max_value): Initialize with MAX_VALUE_INIT.
52226         (min_value): Initialize with MIN_VALUE_INIT.
52227         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
52229         * math/libm-test.inc (RUN_TEST_if_f): New macro.
52230         (jn_test): Use TEST_if_f instead of TEST_ff_f.
52231         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
52232         (yn_test): Use TEST_if_f instead of TEST_ff_f.
52234         * math/libm-test.inc (RUN_TEST_f_f): New macro.
52235         (RUN_TEST_2_f): Likewise.
52236         (RUN_TEST_ff_f): Likewise.
52237         (RUN_TEST_fi_f): Likewise.
52238         (RUN_TEST_fl_f): Likewise.
52239         (RUN_TEST_fff_f): Likewise.
52240         (RUN_TEST_c_f): Likewise.
52241         (RUN_TEST_f_f1): Likewise.
52242         (RUN_TEST_fF_f1): Likewise.
52243         (RUN_TEST_fI_f1): Likewise.
52244         (RUN_TEST_ffI_f1): Likewise.
52245         (RUN_TEST_c_c): Likewise.
52246         (RUN_TEST_cc_c): Likewise.
52247         (RUN_TEST_f_i): Likewise.
52248         (RUN_TEST_f_i_tg): Likewise.
52249         (RUN_TEST_ff_i_tg): Likewise.
52250         (RUN_TEST_f_b): Likewise.
52251         (RUN_TEST_f_b_tg): Likewise.
52252         (RUN_TEST_f_l): Likewise.
52253         (RUN_TEST_f_L): Likewise.
52254         (RUN_TEST_sincos): Likewise.
52255         * math/gen-libm-test.pl (new_test): Take new argument to indicate
52256         whether to show exceptions.  Do not include ");\n" in return
52257         value.
52258         (special_functions): Output call to RUN_TEST_sincos instead of
52259         check_float calls.  Update calls to new_test.
52260         (parse_args): Output call to single RUN_TEST_* macro instead of
52261         check_* calls and other assignments.  Update calls to new_test.
52263         [BZ #2546]
52264         [BZ #2560]
52265         [BZ #5159]
52266         [BZ #15426]
52267         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
52268         input to result for tgamma overflow.
52269         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
52270         (gamma_coeff): New variable.
52271         (NCOEFF): New macro.
52272         (gamma_positive): New function.
52273         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
52274         underflow here.  Use gamma_positive instead of exp (lgamma) for
52275         other arguments.
52276         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
52277         (gamma_coeff): New variable.
52278         (NCOEFF): New macro.
52279         (gammaf_positive): New function.
52280         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
52281         underflow here.  Use gamma_positive instead of exp (lgamma) for
52282         other arguments.
52283         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
52284         (gamma_coeff): New variable.
52285         (NCOEFF): New macro.
52286         (gammal_positive): New function.
52287         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
52288         underflow here.  Use gamma_positive instead of exp (lgamma) for
52289         other arguments.
52290         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
52291         (gamma_coeff): New variable.
52292         (NCOEFF): New macro.
52293         (gammal_positive): New function.
52294         (__ieee754_gammal_r): Handle positive infinity, overflow and
52295         underflow here.  Handle NaN the same as positive infinity.  Remove
52296         check x < 0xffffffff for negative integers.  Use gamma_positive
52297         instead of exp (lgamma) for other arguments.
52298         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
52299         (gamma_coeff): New variable.
52300         (NCOEFF): New macro.
52301         (gammal_positive): New function.
52302         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
52303         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
52304         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
52305         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
52306         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
52307         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
52308         * sysdeps/generic/math_private.h (__gamma_productf): New
52309         prototype.
52310         (__gamma_product): Likewise.
52311         (__gamma_productl): Likewise.
52312         * math/Makefile (libm-calls): Add gamma_product.
52313         * math/libm-test.inc (tgamma_test): Add more tests.
52314         * sysdeps/i386/fpu/libm-test-ulps: Update.
52315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52317 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
52319         * benchtests/bench-skeleton.c (main): Preheat CPU.
52321 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
52323         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
52325 2013-05-07  Roland McGrath  <roland@hack.frob.com>
52327         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
52328         and _dl_skip_args_internal.
52330 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
52332         * manual/message.texi (Message Translation): Talk about users.
52333         Message to key mapping impacts design.
52335 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52337         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
52339         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
52341         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
52342         * sysdeps/wordsize-64/glob64.c: ... here.
52344         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
52345         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
52346         New macros.
52348         * debug/getlogin_r_chk.c: Moved to ...
52349         * login/getlogin_r_chk.c: ... here.
52350         * debug/Makefile (routines): Move getlogin_r_chk to ...
52351         * login/Makefile (routines): ... here.
52352         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
52353         * login/Versions (libc: GLIBC_2.4): ... here.
52355         * io/poll.c (__poll): Renamed from poll.
52356         Add libc_hidden_def.
52357         (poll): Define as weak alias.
52359         * debug/ptsname_r_chk.c: Moved to ...
52360         * login/ptsname_r_chk.c: ... here.
52361         * debug/Makefile (routines): Move ptsname_r_chk to ...
52362         * login/Makefile (routines): ... here.
52363         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
52364         * login/Versions (libc: GLIBC_2.4): ... here.
52366         * posix/getlogin.c: Moved to ...
52367         * login/getlogin.c: ... here.
52368         * posix/getlogin_r.c: Moved to ...
52369         * login/getlogin_r.c: ... here.
52370         * posix/getlogin_r.c: Moved to ...
52371         * login/getlogin_r.c: ... here.
52372         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
52373         * login/Makefile (routines): ... here.
52374         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
52375         * login/Versions (libc: GLIBC_2.0): ... here.
52377         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
52378         (setrlimit): Define as weak alias.
52380         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
52381         Call __ names for open, ftruncate, and close.
52382         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
52383         (truncate): Define as weak alias.
52385 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
52387         * math/gen-libm-test.pl (parse_args): Initialize x before each
52388         test of frexp, modf and remquo.
52390         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
52391         test signgam value.
52393 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52395         [BZ #15418]
52396         [BZ #15419]
52397         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
52398         internal tests.
52399         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52401 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52403         * elf/dl-writev.h: New file.
52404         * elf/dl-misc.c: Include it.
52405         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
52406         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
52408 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
52410         * math/libm-test.inc (noXFails): Remove variable.
52411         (noXPasses): Likewise.
52412         (BUILD_COMPLEX_INT): Remove macro.
52413         (print_screen): Remove xfail argument.
52414         (print_screen_max_error): Likewise.
52415         (update_stats): Likewise.
52416         (print_max_error): Likewise.  Update calls to other affected
52417         functions.
52418         (print_complex_max_error): Likewise.
52419         (test_single_exception): Update calls to print_screen.
52420         (test_single_errno): Likewise.
52421         (check_float_internal): Remove xfail argument.  Update calls to
52422         other affected functions.
52423         (check_float): Likewise.
52424         (check_complex): Likewise.
52425         (check_int): Likewise.
52426         (check_long): Likewise.
52427         (check_bool): Likewise.
52428         (check_longlong): Likewise.
52429         (main): Don't print noXFails and noXPasses.
52430         * math/gen-libm-test.pl (top level): Don't mention expected
52431         failure handling in comment.
52432         (new_test): Don't handle expected failures.
52433         (parse_args): Don't mention expected failure handling in comment.
52434         (generate_testfile): Don't handle expected failures.
52435         (parse_ulps): Likewise.
52436         (print_ulps_file): Likewise.
52437         (get_failure): Remove function.
52438         (output_test): Don't handle expected failures.
52439         * make/README.libm-test: Don't mention expected failure handling.
52441         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
52442         (minus_zero): Likewise.
52443         (plus_infty): Likewise.
52444         (minus_infty): Likewise.
52445         (qnan_value): Likewise.
52446         (max_value): Likewise.
52447         (min_value): Likewise.
52448         (min_subnorm_value): Likewise.
52449         (initialize): Do not initialize those variables dynamically.
52451 2013-05-03  Roland McGrath  <roland@hack.frob.com>
52453         * io/open.c (__open_2): Moved to ...
52454         * io/open_2.c: ... this new file.
52455         * io/open64.c (__open64_2): Moved to ...
52456         * io/open64_2.c: ... this new file.
52457         * io/openat.c (__openat_2): Moved to ...
52458         * io/openat_2.c: ... this new file.
52459         * io/openat64.c (__openat64_2): Moved to ...
52460         * io/openat64_2.c: ... this new file.
52461         * io/Makefile (routines): Add them.
52462         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
52463         * sysdeps/unix/sysv/linux/open_2.c: File removed.
52464         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
52465         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
52466         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
52467         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
52468         (__openat64): Add hidden_ver.
52469         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
52470         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
52472         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
52473         Separately conditionalize setting of GLRO(dl_sysinfo) so
52474         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
52475         as well, but the actual setting is only under [NEED_DL_SYSINFO].
52477 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52479         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
52480         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
52481         definition.
52482         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
52483         * sysdeps/unix/sysv/linux/powerpc/init-first.c
52484         (_libc_vdso_platform_setup): Add __vdso_time initialization.
52485         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
52486         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
52488 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
52490         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
52491         test signgam value.
52493         * math/libm-test.inc (hypot_test): Do not use
52494         IGNORE_ZERO_INF_SIGN.
52496 2013-05-03  Andreas Jaeger  <aj@suse.de>
52498         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
52499         Linux 3.9.
52500         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
52501         (PF_MAX): Adjust for VSOCK change.
52503 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52507 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
52509         [BZ #15264]
52510         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
52511         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
52512         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
52514 2013-05-02  David S. Miller  <davem@davemloft.net>
52516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52518 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
52520         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
52522 2013-05-01  Roland McGrath  <roland@hack.frob.com>
52524         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
52526 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
52528         [BZ #14952]
52529         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
52530         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52531         Use __attribute__ ((__gnu_inline__)).
52532         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52533         Don't use __attribute__ ((__gnu_inline__)).
52535 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
52537         [BZ #15423]
52538         * math/s_catan.c (__catan): Handle small real or imaginary part of
52539         input specially to avoid spurious underflow.
52540         * math/s_catanf.c (__catanf): Likewise.
52541         * math/s_catanh.c (__catanh): Likewise.
52542         * math/s_catanhf.c (__catanhf): Likewise.
52543         * math/s_catanhl.c (__catanhl): Likewise.
52544         * math/s_catanl.c (__catanl): Likewise.
52545         * math/libm-test.inc (catan_test): Add more tests.
52546         (catanh_test): Likewise.
52547         * sysdeps/i386/fpu/libm-test-ulps: Update.
52548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52550 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52552         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52554 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
52556         [BZ #15416]
52557         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
52558         accurately for denominator in atan2.
52559         * math/s_catanf.c (__catanf): Likewise.
52560         * math/s_catanh.c (__catanh): Likewise.
52561         * math/s_catanhf.c (__catanhf): Likewise.
52562         * math/s_catanhl.c (__catanhl): Likewise.
52563         * math/s_catanl.c (__catanl): Likewise.
52564         * math/libm-test.inc (catan_test): Add more tests.
52565         (catanh_test): Likewise.
52566         * sysdeps/i386/fpu/libm-test-ulps: Update.
52567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52569 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52571         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
52573         * benchtests/Makefile (bench): Remove slow benchmarks.
52574         * benchtests/atan-inputs: Add slow benchmark inputs.
52575         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
52576         (BENCH_FUNC): Accept variant offset.
52577         (VARIANT): Define.
52578         * benchtests/bench-skeleton.c (main): Run benchmark for each
52579         variant.
52580         * benchtests/cos-inputs: Add slow benchmark inputs.
52581         * benchtests/exp-inputs: Likewise.
52582         * benchtests/pow-inputs: Likewise.
52583         * benchtests/sin-inputs: Likewise.
52584         * benchtests/slowatan-inputs: Remove.
52585         * benchtests/slowatan.c: Remove.
52586         * benchtests/slowcos-inputs: Remove.
52587         * benchtests/slowcos.c: Remove.
52588         * benchtests/slowexp-inputs: Remove.
52589         * benchtests/slowexp.c: Remove.
52590         * benchtests/slowpow-inputs: Remove.
52591         * benchtests/slowpow.c: Remove.
52592         * benchtests/slowsin-inputs: Remove.
52593         * benchtests/slowsin.c: Remove.
52594         * benchtests/slowtan-inputs: Remove.
52595         * benchtests/slowtan.c: Remove.
52596         * benchtests/tan-inputs: Add slow benchmark inputs.
52597         * scripts/bench.pl: Parse comments and directives.
52599         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
52600         in CPPFLAGS.
52601         ($(objpfx)bench-%.c): Remove *-ITER.
52602         * benchtests/bench-modf.c: Remove definition of ITER.
52603         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
52604         (main): Loop for DURATION seconds instead of fixed number of
52605         iterations.
52606         * scripts/bench.pl: Don't expect iterations in parameters.
52608 2013-04-29  Roland McGrath  <roland@hack.frob.com>
52610         * io/fchdir.c (__fchdir): Renamed from fchdir.
52611         (fchdir): Define as weak alias.
52613 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52615         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
52616         (ERRNO_EDOM): Likewise.
52617         (ERRNO_ERANGE): Likewise.
52618         (noErrnoTests): New variable.
52619         (init_max_error): Set errno to 0.
52620         (test_single_errno): New function.
52621         (test_errno): Likewise.
52622         (check_float_internal): Call test_errno.  Set errno to 0.
52623         (check_complex): Refer to errno tests in comment.
52624         (check_int): Call test_errno.  Set errno to 0.
52625         (check_long): Likewise.
52626         (check_bool): Likewise.
52627         (check_longlong): Likewise.
52628         (cos_test): Use ERRNO_* flags for errno tests instead of
52629         check_int.
52630         (expm1_test): Likewise.
52631         (fmod_test): Likewise.
52632         (ilogb_test): Likewise.
52633         (lgamma_test): Likewise.
52634         (pow_test): Likewise.
52635         (remainder_test): Likewise.
52636         (sin_test): Likewise.
52637         (tan_test): Likewise.
52638         (yn_test): Likewise.
52639         (initialize): Set errno to 0.
52640         (main): Print number of errno tests.
52641         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
52643 2013-04-29  Andreas Jaeger  <aj@suse.de>
52645         [BZ #15084]
52646         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
52647         and RES_USEVC.
52649         [BZ #15085]
52650         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
52651         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
52652         unimplemented.
52654         [BZ #15380]
52655         * stdlib/random.c (__initstate): Return NULL if
52656         __initstate fails.
52658         [BZ #15086]
52659         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
52660         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
52661         RES_SNGLKUPREOP.
52663 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52667 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52669         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
52670         of individual tests.
52671         (casin_test): Likewise.
52672         (casinh_test): Likewise.
52674 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
52676         [BZ #15409]
52677         * math/s_catan.c (__catan): Handle arguments with large real or
52678         imaginary part separately without squaring.
52679         * math/s_catanf.c (__catanf): Likewise.
52680         * math/s_catanh.c (__catanh): Likewise.
52681         * math/s_catanhf.c (__catanhf): Likewise.
52682         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52683         and redefine.
52684         (__catanhl): Handle arguments with large real or imaginary part
52685         separately without squaring.
52686         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52687         and redefine.
52688         (__catanl): Handle arguments with large real or imaginary part
52689         separately without squaring.
52690         * math/libm-test.inc (catan_test): Add more tests.
52691         (catanh_test): Likewise.
52692         * sysdeps/i386/fpu/libm-test-ulps: Update.
52693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52695 2013-04-27  Andreas Jaeger  <aj@suse.de>
52697         [BZ #15007]
52698         * stdlib/stdlib.h: Update guards for qecvt.
52699         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
52700         <stdlib.h>.
52702 2013-04-27  Allan McRae  <allan@archlinux.org>
52704         * sysdeps/i386/fpu/libm-test-ulps: Update.
52706 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
52708         [BZ #15406]
52709         * math/s_catan.c: Include <float.h>.
52710         (__catan): Ensure underflow exception occurs for underflowed
52711         result.
52712         * math/s_catanf.c: Include <float.h>.
52713         (__catanf): Ensure underflow exception occurs for underflowed
52714         result.
52715         * math/s_catanh.c: Include <float.h>.
52716         (__catanh): Ensure underflow exception occurs for underflowed
52717         result.
52718         * math/s_catanhf.c: Include <float.h>.
52719         (__catanhf): Ensure underflow exception occurs for underflowed
52720         result.
52721         * math/s_catanhl.c: Include <float.h>.
52722         (__catanhl): Ensure underflow exception occurs for underflowed
52723         result.
52724         * math/s_catanl.c: Include <float.h>.
52725         (__catanl): Ensure underflow exception occurs for underflowed
52726         result.
52727         * math/libm-test.inc (catan_test): Add more tests.
52728         (catanh_test): Likewise.
52730         [BZ #15405]
52731         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
52732         underflowed result.
52733         * math/s_ccoshf.c (__ccoshf): Likewise.
52734         * math/s_ccoshl.c (__ccoshl): Likewise.
52735         * math/s_csin.c (__csin): Likewise.
52736         * math/s_csinf.c (__csinf): Likewise.
52737         * math/s_csinh.c (__csinh): Likewise.
52738         * math/s_csinhf.c (__csinhf): Likewise.
52739         * math/s_csinhl.c (__csinhl): Likewise.
52740         * math/s_csinl.c (__csinl): Likewise.
52741         * math/libm-test.inc (ccos_test): Add more tests.
52742         (ccosh_test): Likewise.
52743         (csin_test): Likewise.
52744         (csinh_test): Likewise.
52746 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52748         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
52749         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
52750         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
52751         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
52752         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
52753         powerpc/power5+/fpu folders.
52754         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
52757 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52759         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52761 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
52763         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
52764         additions to variable.
52765         [$(config-machine) = x86_64] (modules-names): Likewise.
52766         ($(objpfx)tst-audit3): Remove dependency.
52767         ($(objpfx)tst-audit3.out): Likewise.
52768         ($(objpfx)tst-audit4): Likewise.
52769         ($(objpfx)tst-audit4.out): Likewise.
52770         ($(objpfx)tst-audit5): Likewise.
52771         ($(objpfx)tst-audit5.out): Likewise.
52772         ($(objpfx)tst-audit6): Likewise.
52773         ($(objpfx)tst-audit6.out): Likewise.
52774         ($(objpfx)tst-audit7): Likewise.
52775         ($(objpfx)tst-audit7.out): Likewise.
52776         (tst-audit3-ENV): Remove variable.
52777         (tst-audit4-ENV): Likewise.
52778         (tst-audit5-ENV): Likewise.
52779         (tst-audit6-ENV): Likewise.
52780         (tst-audit7-ENV): Likewise.
52781         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
52782         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
52783         addition to variable.
52784         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
52785         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
52786         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
52787         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
52788         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
52789         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
52790         tst-audit3, tst-audit4 and tst-audit5.
52791         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
52792         tst-audit6 and tst-audit7.
52793         [$(subdir) = elf] (modules-names): Add audit modules for those
52794         tests.
52795         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
52796         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
52797         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
52798         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
52799         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
52800         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
52801         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
52802         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
52803         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
52804         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
52805         [$(subdir) = elf] (tst-audit3-ENV): New variable.
52806         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
52807         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
52808         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
52809         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
52810         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
52811         Likewise.
52812         [$(subdir) = elf && $(config-cflags-avx) = yes]
52813         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
52814         [$(subdir) = elf && $(config-cflags-avx) = yes]
52815         (CFLAGS-tst-auditmod4a.c): Likewise.
52816         [$(subdir) = elf && $(config-cflags-avx) = yes]
52817         (CFLAGS-tst-auditmod4b.c): Likewise.
52818         [$(subdir) = elf && $(config-cflags-avx) = yes]
52819         (CFLAGS-tst-auditmod6b.c): Likewise.
52820         [$(subdir) = elf && $(config-cflags-avx) = yes]
52821         (CFLAGS-tst-auditmod6c.c): Likewise.
52822         [$(subdir) = elf && $(config-cflags-avx) = yes]
52823         (CFLAGS-tst-auditmod7b.c): Likewise.
52824         * elf/tst-audit3.c: Move to ...
52825         * sysdeps/x86_64/tst-audit3.c: ... here.
52826         * elf/tst-audit4.c: Move to ...
52827         * sysdeps/x86_64/tst-audit4.c: ... here.
52828         * elf/tst-audit5.c: Move to ...
52829         * sysdeps/x86_64/tst-audit5.c: ... here.
52830         * elf/tst-audit6.c: Move to ...
52831         * sysdeps/x86_64/tst-audit6.c: ... here.
52832         * elf/tst-audit7.c: Move to ...
52833         * sysdeps/x86_64/tst-audit7.c: ... here.
52834         * elf/tst-auditmod3a.c: Move to ...
52835         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
52836         * elf/tst-auditmod3b.c: Move to ...
52837         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
52838         * elf/tst-auditmod4a.c: Move to ...
52839         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
52840         * elf/tst-auditmod4b.c: Move to ...
52841         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
52842         * elf/tst-auditmod5a.c: Move to ...
52843         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
52844         * elf/tst-auditmod5b.c: Move to ...
52845         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
52846         * elf/tst-auditmod6a.c: Move to ...
52847         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
52848         * elf/tst-auditmod6b.c: Move to ...
52849         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
52850         * elf/tst-auditmod6c.c: Move to ...
52851         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
52852         * elf/tst-auditmod7a.c: Move to ...
52853         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
52854         * elf/tst-auditmod7b.c: Move to ...
52855         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
52857 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
52859         [BZ #15366]
52860         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
52861         define unconditionally.
52862         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
52863         define unconditionally.
52864         (INT8_C, INT16_C, etc.): Likewise.
52866 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
52868         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
52869         __ehdr_start with hidden visibility.
52871         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
52873 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
52875         * math/libm-test.inc (cos_test): Use accurate hex constants.
52876         (sincost_test): Likewise.
52878 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
52880         * math/libm-test.inc (catan_test): Add more tests.
52881         (catanh_test): Likewise.
52883         * math/s_catanf.c (__catanf): Use suffixed floating-point
52884         constants.
52885         * math/s_catanhf.c (__catanhf): Likewise.
52886         * math/s_catanhl.c (__catanhl): Likewise.
52887         * math/s_catanl.c (__catanl): Likewise.
52889         [BZ #15394]
52890         * math/s_catan.c (__catan): Calculate imaginary part of result
52891         with log1p not log unless computing log of number close to 0.
52892         * math/s_catanf.c (__catanf): Likewise.
52893         * math/s_catanl.c (__catanl): Likewise.
52894         * math/s_catanh.c (__catanh): Calculate real part of result with
52895         log1p not log unless computing log of number close to 0.
52896         * math/s_catanhf.c (__catanhf): Likewise.
52897         * math/s_catanhl.c (__catanhl): Likewise.
52898         * math/libm-test.inc (catan_test): Add more tests.
52899         (catanh_test): Likewise.
52900         * sysdeps/i386/fpu/libm-test-ulps: Update.
52901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52903 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52905         * benchtests/Makefile: Mention files in which fast and slow
52906         paths of math functions are implemented.
52908 2013-04-23  Roland McGrath  <roland@hack.frob.com>
52910         * sysdeps/posix/timespec_get.c: New file.
52912 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52914         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
52915         POWER.
52916         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
52917         for POWER.
52918         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
52919         powerpc/power5/fpu folders.
52920         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
52921         * benchtests/Makefile: Add modf testcase.
52922         * benchtests/bench-modf.c: New file: Benchmark test for mo
52924 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52926         [BZ #14888]
52927         * time/Makefile (tests): Add tst-strptime-whitespace.
52928         * time/strptime_l.c (get_number): Use ISSPACE.
52929         (__strptime_internal): Likewise.
52930         * time/tst-strptime-whitespace.c: New test case.
52932 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
52934         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
52935         member.
52936         (_nss_files_init): Set it here.
52938 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
52940         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
52941         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
52942         unsigned.
52944 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
52946         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
52948 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52950         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
52951         size just once.
52953 2013-04-21  David S. Miller  <davem@davemloft.net>
52955         * po/ru.po: Update Russion translation from translation project.
52957 2013-04-17  Adam Conrad  <adconrad@0c3.net>
52959         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
52960         and setfsgid.
52962 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
52964         * configure.in: Remove i386 configure warning. Remove i386 case.
52965         * configure: Regenerate.
52966         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
52967         Add example to error message.
52968         * sysdeps/i386/configure: Regenerate.
52970 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52972         * benchtests/Makefile (bench): Add cos, tan, slowcos and
52973         slowtan.
52974         * benchtests/cos-inputs: New file.
52975         * benchtests/slowcos-inputs: New file.
52976         * benchtests/slowcos.c: New file.
52977         * benchtests/slowtan-inputs: New file.
52978         * benchtests/slowtan.c: New file.
52979         * benchtests/tan-inputs: New file.
52981 2013-04-16  Roland McGrath  <roland@hack.frob.com>
52983         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
52984         considered kosher.
52986 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52988         * benchtests/Makefile: Include cppflags-iterator.mk to add
52989         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
52991         * Makefile.in (bench-clean): New target.
52992         * benchtests/Makefile (bench-clean): Likewise.
52994 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
52996         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
52998 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
53000         * stdio-common/tstdiomisc.c: Fix coding-style violation.
53002 2013-04-15  Andreas Schwab  <schwab@suse.de>
53004         * nscd/grpcache.c (cache_addgr): Properly check for short write.
53005         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53006         * nscd/pwdcache.c (cache_addpw): Likewise.
53007         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
53008         more than recsize.
53010 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53012         * benchtests/Makefile (bench): Write all output to
53013         bench-out.tmp together.
53015 2013-04-15  Andreas Schwab  <schwab@suse.de>
53017         * nscd/nscd.c (main): Don't fork again after closing files.
53019 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53021         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
53023         * benchtests/Rules (bench-deps): Collect dependencies into a
53024         single variable.  Add Makefile to dependencies.
53025         ($(objpfx)bench-%.c): Depend on bench-deps.
53027 2013-04-12  Roland McGrath  <roland@hack.frob.com>
53028             Xavier Roche  <roche+kml2@exalead.com>
53030         [BZ #15361]
53031         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
53032         just that it's a file descriptor.
53033         * manual/llio.texi (Synchronizing AIO Operations): Update description
53034         for EBADF error from aio_fsync.
53036 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53038         * Rules (bench): Move target definition...
53039         * benchtests/Makefile: ... here.
53041 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
53043         * math/libm-test.inc (cos_test): Fix PI/2 test.
53044         (sincos_test): Likewise.
53045         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
53046         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
53048 2013-04-11  Andreas Schwab  <schwab@suse.de>
53050         [BZ #13988]
53051         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
53052         accept exponent character only when digits were seen.
53053         * stdio-common/Makefile (tests): Add bug26.
53054         * stdio-common/bug26.c: New file.
53056         [BZ #14293]
53057         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
53058         non-freeable.
53060 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53062         * Makeconfig (rtld-prefix): Define built linker prefix.
53063         * Rules (run-bench): Use it.
53064         * math/Makefile (run-regen-ulps): Likewise.
53066         * Rules (bench): Remove eval.
53068 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53069             Roland McGrath  <roland@hack.frob.com>
53070             Ondrej Bilka  <neleai@seznam.cz>
53072         [BZ #15346]
53073         * time/getdate.c: Include ctype.h and alloca.h.
53074         (__getdate_r): Trim leading and trailing spaces of input.
53075         * time/tst-getdate.c (tests): Add tests with leading and
53076         trailing spaces.
53078 2013-04-08  Roland McGrath  <roland@hack.frob.com>
53080         [BZ #14280]
53081         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
53082         when computing value.
53084 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53086         * math/README.libm-test (How can I generate "libm-test-ulps"?):
53087         Use testrun.sh to run libm tests.
53089         [BZ #15309]
53090         * elf/dl-open.c (dl_open_worker): memset all of seen array.
53092 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
53094         [BZ #15264]
53095         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
53097 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53099         * Makefile.in (regen-ulps): New target.
53100         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
53101         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
53102         [ifneq (no,$(PERL)] (regen-ulps): New target.
53103         [ifeq (no,$(PERL)] (regen-ulps): New target.
53104         * math/libm-test.inc (ulps_file_name): Define.
53105         (output_dir): New variable.
53106         (options): Add "output-dir" option.
53107         (parse_opt): Handle 'o' case.
53108         (main): If output_dir is non-NULL use it as a prefix
53109         otherwise use "".
53110         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
53112 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53114         [BZ #10060, #10062]
53115         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
53116         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
53117         fail configure if __sync_val_compare_and_swap is not inlined.
53118         * sysdeps/i386/configure: Regenerate.
53119         * configure.in: Build for i686 when configured for i386.
53120         * configure: Regenerate.
53121         * README: Remove i386 reference.
53123 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53125         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
53126         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53128 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53130         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
53131         (lmsnanval): New variables.
53132         (F): Add conversion tests.
53133         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
53134         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
53136         * stdio-common/tstdiomisc.c (F): Properly collect individual
53137         tests' results.
53139         [BZ #14686, #15336]
53140         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
53141         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
53142         Instead, use input NaN values or generate a qNaN by arithmetic
53143         operation.  Also fix bugs to comply with the standard.
53144         * math/libm-test.inc (remainder_test): Add more tests.
53146         [BZ #15335, #15342]
53147         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
53148         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
53149         input NaN values or generate a qNaN by arithmetic operation.
53151         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
53152         unreachable code.
53154         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
53155         definitions.
53157 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
53159         [BZ #14478]
53160         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
53161         underflowed result.
53162         * math/s_cexpf.c (__cexpf): Likewise.
53163         * math/s_cexpl.c (__cexpl): Likewise.
53164         * math/libm-test.inc (cexp_test): Add more tests.
53166 2013-04-03  Andreas Schwab  <schwab@suse.de>
53168         [BZ #15330]
53169         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
53170         order arrays from heap if bigger than alloca cutoff.
53172 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
53174         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
53175         (SNAN_TESTS_double): Refer to GCC PR56831.
53176         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
53177         GCC PR56828.
53179 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53181         * Rules (bench): Move bench.out after the run is complete.
53183         * Rules (bench): Echo currently running benchmark.
53185         * benchtests/Makefile (bench): Add atan and slowatan.
53186         * benchtests/atan-inputs: New file.
53187         * benchtests/slowatan-inputs: New file.
53188         * benchtests/slowatan.c: New file.
53190         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
53191         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
53192         its value.
53194         [BZ #15305]
53195         * sysdeps/unix/sysv/linux/kernel-features.h
53196         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
53197         __ASSUME_XFS_RESTRICTED_CHOWN.
53198         * sysdeps/unix/sysv/linux/pathconf.c
53199         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
53200         Save and restore errno.
53202 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
53204         [BZ #15327]
53205         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
53206         arguments using __kernel_casinh.
53207         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
53208         arguments using __kernel_casinhf.
53209         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
53210         arguments using __kernel_casinhl.
53211         * math/libm-test.inc (cacosh_test): Add more tests.
53212         * sysdeps/i386/fpu/libm-test-ulps: Update.
53213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53215 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53217         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
53218         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
53220         * bench/Makefile (bench): Add sin and slowsin.
53221         * benchtests/sin-inputs: New file.
53222         * benchtests/slowsin-inputs: New file.
53223         * benchtests/slowsin.c: New file.
53225         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
53226         (bench): Add slowexp and slowpow.
53227         (exp-ITER): Increase iterations.
53228         (pow-ITER): Likewise.
53229         * benchtests/exp-inputs: Change input.
53230         * benchtests/pow-inputs: Likewise.
53231         * benchtests/slowexp-inputs: New file.
53232         * benchtests/slowexp.c: New file.
53233         * benchtests/slowpow-inputs: New file.
53234         * benchtests/slowpow.c: New file.
53236 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53238         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
53239         instructions.
53240         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53241         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
53242         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
53243         * benchtests/Makefile: Add rint benchtest.
53244         * benchtests/rint-inputs: Input for rint benchtest.
53246 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53248         * Versions.def (libm): Add GLIBC_2.18.
53249         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
53250         hidden libm prototypes.
53251         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
53252         * math/Makefile (libm-calls): Add s_issignaling.
53253         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
53254         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
53255         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
53256         declaration.
53257         * math/math.h [__USE_GNU] (issignaling): New macro.
53258         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
53259         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
53260         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
53261         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
53262         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
53263         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
53264         * manual/arith.texi (issignaling): New section.
53265         * manual/libm-err-tab.pl (@all_functions): Update comment.
53266         * math/gen-libm-test.pl (parse_args): Apply special handling for
53267         issignaling.
53268         * math/libm-test.inc (print_float, issignaling_test): New
53269         functions.
53270         (check_float_internal): Add issignaling checks.
53271         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
53272         default definition.
53273         * sysdeps/powerpc/math-tests.h: New file.
53274         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
53275         tests.
53276         * math/test-snan.c (TEST_FUNC): Likewise.
53278 2013-03-30  David S. Miller  <davem@davemloft.net>
53280         * po/de.po: Update from translation team.
53282 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
53284         [BZ #10357]
53285         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53286         imaginary part less than 1.0 and real part less than 0.5
53287         specially.
53288         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53289         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53290         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
53291         (cacos_test): Add more tests.
53292         (casin_test): Likewise.
53293         (casinh_test): Likewise.
53294         * sysdeps/i386/fpu/libm-test-ulps: Update.
53295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53297 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53299         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
53300         ONE with its value.
53302         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
53303         (__pow_mp): Replace ONE and MONE with their values.
53304         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53305         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
53306         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53307         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
53308         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53309         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53311         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
53313         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
53314         (__pow_mp): Replace ZERO and MZERO with their values.
53315         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53316         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53317         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53318         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53319         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53320         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
53321         (__sqr): Likewise.
53323         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
53325         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
53327 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53329         * include/stdlib.h [!SHARED] (__call_tls_dtors):
53330         Declare with __attribute__ ((weak)).
53331         * stdlib/exit.c (__libc_atexit) [!SHARED]:
53332         Call __call_tls_dtors only if it's not NULL.
53334 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53336         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
53337         didn't do it already, then set _dl_phdr and _dl_phnum based on the
53338         magic __ehdr_start linker symbol if it's defined.
53339         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
53340         them up here if it was already done.
53342         * elf/dl-support.c (_dl_phdr): Make pointer to const.
53343         (_dl_aux_init): Use const in cast when setting it.
53344         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
53345         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
53346         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
53348         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
53349         Declare them here.
53350         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
53351         * csu/libc-tls.c: Nor here.
53352         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
53354         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
53355         (__libc_message): Never call vsyslog.
53357 2013-03-28  Alan Modra  <amodra@gmail.com>
53359         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
53360         Define as empty.
53361         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
53362         Likewise.
53364 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53366         [BZ #15214]
53367         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
53368         underflow.
53369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53371 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53373         [BZ #15304]
53374         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53375         Don't add gid passed as argument.
53377         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
53379 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
53381         [BZ #15307]
53382         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53383         imaginary part between 1.0 and 1.5 and real part less than 0.5
53384         specially.
53385         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53386         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53387         * math/libm-test.inc (cacos_test): Add more tests.
53388         (casin_test): Likewise.
53389         (casinh_test): Likewise.
53390         * sysdeps/i386/fpu/libm-test-ulps: Update.
53391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53393 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53395         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
53396         constants.
53397         (norm): Likewise.
53398         (denorm): Likewise.
53399         (__dbl_mp): Likewise.
53400         (add_magnitudes): Likewise.
53401         (sub_magnitudes): Likewise.
53402         (__add): Likewise.
53403         (__sub): Likewise.
53404         (__mul): Likewise.
53405         (__sqr): Likewise.
53406         (__inv): Likewise.
53407         (__dvd): Likewise.
53409         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
53410         commented code.
53411         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
53412         (__dubcos): Likewise.
53413         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
53414         (__ieee754_acos): Likewise.
53415         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53416         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
53417         (__exp1): Likewise.
53418         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53419         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53420         (log1): Likewise.
53421         (my_log2): Likewise.
53422         (checkint): Likewise.
53423         * sysdeps/ieee754/dbl-64/e_remainder.c
53424         (__ieee754_remainder): Likewise.
53425         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53426         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
53427         (bsloww): Likewise.
53428         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53430         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53431         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
53432         MANTISSA_STORE_T to store computations on mantissa.  Use
53433         macros for rounding and division.
53434         (denorm): Likewise.
53435         (__dbl_mp): Likewise.
53436         (add_magnitudes): Likewise.
53437         (sub_magnitudes): Likewise.
53438         (__mul): Likewise.
53439         (__sqr): Likewise.
53440         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53441         powers of two in terms of TWOPOW macro.
53442         (mp_no): Make type of mantissa as MANTISSA_T.
53443         [!RADIXI]: Define RADIXI.
53444         [!TWO52]: Define TWO52.
53445         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53447 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53449         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
53450         llroundl symbol when building for PPC32.
53452 2013-03-24  Mark H Weaver  <mhw@netris.org>
53454         * manual/arith.texi (Normalization Functions): Fix prototypes for
53455         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
53457 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53459         [BZ #13889]
53460         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
53461         high value to check if expl overflow.
53462         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
53463         to check for underflow and overflow.
53464         * math/libm-test.inc: Add exp test.
53466 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
53468         [BZ #11120]
53469         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
53470         with NOT_IN_libc.
53472 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53474         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
53475         symbol.
53477 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53479         * math/gen-libm-test.pl (parse_args, special_functions): Properly
53480         wrap blocks consisting of several statements.
53482         * sysdeps/generic/math-tests.h: New file.
53483         * sysdeps/i386/fpu/math-tests.h: Likewise.
53484         * math/test-snan.c: Include it.
53485         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
53487 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53489         [BZ #15285]
53490         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
53491         (__ieee754_j0l): Do not improve calculations using cos of twice
53492         input for inputs above LDBL_MAX / 2.0L.
53493         (__ieee754_y0l): Likewise.
53494         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
53495         (__ieee754_j1l): Do not improve calculations using cos of twice
53496         input for inputs above LDBL_MAX / 2.0L.
53497         (__ieee754_y1l): Likewise.
53498         * math/libm-test.inc (j0_test): Add another test.
53499         (j1_test): Likewise.
53500         (y0_test): Likewise.
53501         (y1_test): Likewise.
53502         * sysdeps/i386/fpu/libm-test-ulps: Update.
53504 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53506         * Rules ($(objpfx)bench-%.c): Include code from a C source
53507         file.
53509 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53511         [BZ #15287]
53512         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53513         imaginary part 1.0 and real part less than 0.5 specially.
53514         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53515         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53516         * math/libm-test.inc (cacos_test): Add more tests.
53517         (casin_test): Likewise.
53518         (casinh_test): Likewise.
53519         * sysdeps/i386/fpu/libm-test-ulps: Update.
53520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53522 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53524         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
53525         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
53527 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
53529         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
53530         * config.make.in (config-cflags-sse4): Remove variable.
53531         (config-cflags-avx): Likewise.
53532         (config-cflags-sse2avx): Likewise.
53533         (config-cflags-novzeroupper): Likewise.
53534         (config-asflags-i686): Likewise.
53535         (have-mfma4): Likewise.
53536         (have-as-vis3): Likewise.
53537         (MIG): Likewise.
53538         * configure.in (MIG): Do not AC_SUBST.
53539         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
53540         (libc_cv_cc_sse4): Do not AC_SUBST.
53541         (libc_cv_cc_avx): Likewise.
53542         (libc_cv_cc_sse2avx): Likewise.
53543         (libc_cv_cc_novzeroupper): Likewise.
53544         (libc_cv_cc_fma4): Likewise.
53545         (libc_cv_as_i686): Likewise.
53546         (libc_cv_sparc_as_vis3): Likewise.
53547         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
53548         LIBC_CONFIG_VAR.
53549         (config-asflags-i686): Likewise.
53550         (config-cflags-avx): Likewise.
53551         (config-cflags-sse2avx): Likewise.
53552         (have-mfma4): Likewise.
53553         (config-cflags-novzeroupper): Likewise.
53554         * sysdeps/mach/configure.in (MIG): Likewise.
53555         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
53556         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
53557         LIBC_CONFIG_VAR.
53558         (config-cflags-avx): Likewise.
53559         (config-cflags-sse2avx): Likewise.
53560         (have-mfma4): Likewise.
53561         (config-cflags-novzeroupper): Likewise.
53562         * configure: Regenerated.
53563         * sysdeps/i386/configure: Likewise.
53564         * sysdeps/mach/configure: Likewise.
53565         * sysdeps/sparc/configure: Likewise.
53566         * sysdeps/x86_64/configure: Likewise.
53568 2013-03-20  Roland McGrath  <roland@hack.frob.com>
53570         [BZ #14812]
53571         * locale/programs/localedef.c (options): Put N_ translation marker
53572         on argument names, not just descriptions.
53574 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53576         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
53578 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
53580         [BZ #14176]
53581         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
53583 2013-03-19  Roland McGrath  <roland@hack.frob.com>
53585         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
53586         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
53587         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
53588         [!BEFORE_ABORT] (before_abort): New function.
53589         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
53590         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
53591         (writev_for_fatal): New function.
53592         (WRITEV_FOR_FATAL): New macro; call that.
53593         (backtrace_and_maps): New function.
53594         (BEFORE_ABORT): New macro; call that.
53595         (struct str_list): Type removed.
53596         (__libc_message, __libc_fatal): Functions removed.
53597         Include <sysdeps/posix/libc_fatal.c> instead.
53599 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
53601         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
53602         constants.
53603         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
53604         double constants.
53606 2013-03-19  Andreas Schwab  <schwab@suse.de>
53608         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
53609         * sysdeps/gnu/configure: Regenerate.
53611         * configure.in: Substitute libc_cv_rtlddir.
53612         * configure: Regenerate.
53613         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
53614         * Makeconfig (rtlddir, inst_rtlddir): New variables.
53615         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
53616         * elf/Makefile (install-others, CFLAGS-interp.c)
53617         (ldso_install, common-ldd-rewrite): Likewise.
53618         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
53619         $(inst_slibdir)/$(rtld-installed-name).
53620         * scripts/rellns-sh: Add -p option.
53621         * Makerules (make-shlib-link): Use rellns-sh to get relative name
53622         for source.
53624 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53626         * manual/nptl.texi: Renamed to ...
53627         * manual/threads.texi: ... this.
53628         * manual/Makefile (chapters): Update.
53630 2013-03-18  Roland McGrath  <roland@hack.frob.com>
53632         [BZ #14812]
53633         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
53634         on argument names, not just descriptions.
53635         * malloc/memusagestat.c (options): Likewise.
53636         * nss/getent.c (options): Likewise.
53638 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
53640         [BZ #14812]
53641         * iconv/iconv_prog.c (options): Put N_ translation marker
53642         on argument names, not just descriptions.
53643         * iconv/iconvconfig.c (options): Likewise.
53645 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
53647         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
53648         implementation which is faster on all x86_64 architectures.
53649         Tested on AMD, Intel Nehalem, SNB, IVB.
53650         * sysdeps/x86_64/strnlen.S: Likewise.
53652         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53653         Remove all multiarch strlen and strnlen versions.
53654         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53655         Remove strlen and strnlen related parts.
53657         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
53658         Inline strlen part.
53659         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
53661         * sysdeps/x86_64/multiarch/strlen.S: Remove.
53662         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
53663         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
53664         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
53665         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53666         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
53668 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
53670         * manual/memory.texi (Malloc Tunable Parameters):
53671         Sort parameters alphabetically. Add comments for missing entries.
53673 2013-03-17  David S. Miller  <davem@davemloft.net>
53675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53677 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
53679         [BZ #15283]
53680         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
53681         for arguments at most half maximum finite value.
53682         * math/libm-test.inc (j0_test): Add more tests.
53683         (j1_test): Likewise.
53684         (y0_test): Likewise.
53685         (y1_test): Likewise.
53686         * sysdeps/i386/fpu/libm-test-ulps: Update.
53687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53689         [BZ #14155]
53690         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
53691         1 / x and functions P and Q for arguments above 0x1p256L.
53692         (__ieee754_y0l): Likewise.
53693         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
53694         (__ieee754_y1l): Likewise.
53695         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
53696         (j1_test): Likewise.
53697         (y0_test): Likewise.
53698         (y1_test): Likewise.
53700 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
53702         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
53703         variable.
53705 2013-03-15  Roland McGrath  <roland@hack.frob.com>
53707         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
53708         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
53709         zero since it's initialized to EXEC_PAGESIZE.
53711         * sysdeps/unix/sysv/linux/ldsodefs.h
53712         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
53713         * sysdeps/generic/ldsodefs.h: ... here.
53715 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
53717         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
53719         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
53720         math/test-snan.c.
53721         * math/test-snan.c: Renamed from
53722         sysdeps/powerpc/fpu/test-powerpc-snan.c.
53723         * math/Makefile (tests): Add test-snan.
53724         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
53725         test-powerpc-snan.
53727         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
53728         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
53729         functions.
53730         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
53731         __builtin_nan family of functions.
53732         * math/libm-test.inc (initialize): Initialize qnan_value with
53733         __builtin_nan family of functions.
53734         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
53735         Remove variables.
53736         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
53737         Remove functions.
53738         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
53739         storage class.  Initialize qNaN_var and sNaN_var with
53740         __builtin_nan and __builtin_nans families of functions,
53741         respectively.
53743         * math/libm-test.inc (acosh_test): Also test with qNaN input.
53744         (sqrt_test): Remove duplicate test with qNaN input.
53745         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
53746         (round_test, signbit_test, significand_test): Note missing +/-Inf
53747         as well as qNaN tests.
53749         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
53750         qNaN_var.  Fix a few strings, too.
53751         * math/libm-test.inc (nan_value): Rename to qnan_value.
53752         * math/gen-libm-test.pl (%beautify): Adjust to that.
53753         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
53754         * math/test-misc.c (main): Likewise.
53755         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
53756         to __qnan_bytes, and __qnan_union, respectively.
53757         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
53758         Likewise.
53759         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
53760         and lqnanval, respectively.
53761         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
53762         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
53763         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
53764         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
53766         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
53767         * math/test-misc.c (main) [__x86_64__]: Enable test for long
53768         doubles.
53770         * math/test-misc.c (main): Fix copy'n'pastos.
53771         * misc/tst-efgcvt.c (special): Likewise.
53773         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
53774         Remove declarations.
53776 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53778         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
53779         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
53780         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
53781         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
53783 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53785         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
53786         macro to return vdso values correctly in IFUNC implementations.
53787         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53788         Optimization by using IFUNC.
53790 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53791             Richard Henderson  <rth@redhat.com>
53792             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53794         * Makefile.in (bench): New target.
53795         * NEWS: Mention the benchmark framework.
53796         * Rules (bench): Likewise.
53797         (binaries-bench): Generate binaries for functions to
53798         benchmark.
53799         * benchtests/Makefile: New makefile for benchmark tests.
53800         * benchtests/bench-skeleton.c: New skeleton file for benchmark
53801         programs.
53802         * benchtests/exp-inputs: New input file for EXP function.
53803         * benchtests/pow-inputs: New input file for POW function.
53804         * scripts/bench.pl: New script to generate source files for
53805         benchmark programs.
53807 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53809         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53810         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
53811         computations on mantissa.  Use macros for rounding and
53812         division.
53813         (denorm): Likewise.
53814         (__dbl_mp): Likewise.
53815         (add_magnitudes): Likewise.
53816         (sub_magnitudes): Likewise.
53817         (__mul): Likewise.
53818         (__sqr): Likewise.
53819         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53820         powers of two in terms of TWOPOW macro.
53821         (mp_no): Make type of mantissa as MANTISSA_T.
53822         [!RADIXI]: Define RADIXI.
53823         [!TWO52]: Define TWO52.
53824         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53826         * manual/nptl.texi (cindex): Modify threads to pthreads.
53828 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
53830         * sysdeps/x86_64/preconfigure: Regenerated.
53832 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
53834         [BZ #14155]
53835         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
53836         0x1p28 and above.
53837         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
53838         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
53839         0x1p28 and above.
53840         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
53841         * math/libm-test.inc (j0_test): Do not allow one spurious
53842         underflow exception.
53843         (y1_test): Likewise.
53845 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53847         * manual/Makefile (chapters): Add nptl.
53848         * manual/debug.texi (Debugging Support): Add link to Threads
53849         chapter.
53850         * manual/nptl.texi: New file.
53852         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
53854 2013-03-14  Petr Baudis  <pasky@ucw.cz>
53856         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
53857         for non-NULL pointer before the memory validity test. Pointed
53858         out by Holger Brunck <holger.brunck@keymile.com>.
53860 2013-03-13  Andreas Schwab  <schwab@suse.de>
53862         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
53863         instead of .os.
53865 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
53867         * timezone/zic.c: Update from tzcode 2013b.
53869 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
53871         * manual/install.texi (Configuring and compiling):
53872         Mention i686 and i586.
53873         * INSTALL: Regenerate.
53875 2013-03-12  Roland McGrath  <roland@hack.frob.com>
53877         * sysdeps/init_array/elf-init.c: New file.
53878         * csu/elf-init.c
53879         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
53880         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
53882         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
53883         __gmon_start__ as global, but as static with a .preinit_array pointer.
53884         * sysdeps/init_array/gmon-start.c: New file.  Use that.
53885         * sysdeps/init_array/crti.S: New file, empty except for comments.
53886         * sysdeps/init_array/crtn.S: Likewise.
53888 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
53890         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
53891         definining bcopy.
53892         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53893         Remove Prefer_SSE_for_memop.
53894         * sysdeps/x86_64/multiarch/init-arch.h: Remove
53895         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
53896         HAS_PREFER_SSE_FOR_MEMOP.
53897         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
53898         memset-x86-64.
53899         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53900         Remove bzero, memset ifunc support.
53901         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
53902         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
53903         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53904         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53906 2013-03-11  Andreas Schwab  <schwab@suse.de>
53908         [BZ #15234]
53909         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
53910         by SHLIB_COMPAT.
53911         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
53912         (GLIBC_2.16): Remove pthread_atfork.
53914 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
53916         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
53917         (ptestcases.h): Likewise.
53919 2013-03-08  Roland McGrath  <roland@hack.frob.com>
53921         * Makeconfig ($(common-objpfx)config.status): Depend on
53922         sysdeps/*/preconfigure{,.in} too.
53924 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
53926         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
53927         (__free_hook): Use void * instead of __malloc_ptr_t.
53928         (__malloc_hook): Likewise.
53929         (__realloc_hook): Likewise.
53930         (__memalign_hook): Likewise.
53931         (__after_morecore_hook): Likewise.
53932         * malloc/arena.c (save_malloc_hook): Likewise.
53933         (save_free_hook): Likewise.
53934         * malloc/hooks.c (malloc_hook_ini): Likewise.
53935         (realloc_hook_ini): Likewise.
53936         (memalign_hook_ini): Likewise.
53937         * malloc/malloc.c (malloc_hook_ini): Likewise.
53938         (realloc_hook_ini): Likewise.
53939         (memalign_hook_ini): Likewise.
53940         (__free_hook): Likewise.
53941         (__malloc_hook): Likewise.
53942         (__realloc_hook): Likewise.
53943         (__memalign_hook): Likewise.
53944         (__libc_malloc): Likewise.
53945         (__libc_free): Likewise.
53946         (__libc_realloc): Likewise.
53947         (__libc_memalign): Likewise.
53948         (__libc_valloc): Likewise.
53949         (__libc_pvalloc): Likewise.
53950         (__libc_calloc): Likewise.
53951         (__posix_memalign): Likewise.
53952         * malloc/morecore.c (__sbrk): Likewise.
53953         (__default_morecore): Likewise.
53955         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
53957         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
53958         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
53959         __malloc_ptrdiff_t.
53961         * malloc/malloc.h (__malloc_size_t): Remove macro.
53962         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
53963         __malloc_size_t.
53964         (old_memalign_hook): Likewise.
53965         (old_realloc_hook): Likewise.
53966         (struct hdr): Likewise.
53967         (flood): Likewise.
53968         (mallochook): Likewise.
53969         (memalignhook): Likewise.
53970         (reallochook): Likewise.
53971         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
53972         (tr_old_realloc_hook): Likewise.
53973         (tr_old_memalign_hook): Likewise.
53974         (tr_mallochook): Likewise.
53975         (tr_reallochook): Likewise.
53976         (tr_memalignhook): Likewise.
53978 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53980         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
53981         default_ldbl_pack and using as default implementation.
53982         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
53983         implementation.
53984         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
53985         redundant definition.
53986         (ldbl_insert_mantissa): Likewise.
53987         (ldbl_canonicalize): Likewise.
53988         (ldbl_nearbyint): Likewise.
53989         (ldbl_pack): Rename to ldbl_pack_ppc.
53990         (ldbl_unpack): Rename to ldbl_unpack_ppc.
53991         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
53992         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
53994 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53996         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
53997         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
53998         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
53999         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
54000         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
54001         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
54002         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
54003         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
54005 2013-03-07  Andreas Jaeger  <aj@suse.de>
54007         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54008         bits/mman-linux.h.
54010 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54012         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
54013         Include mpa.h and declare __MPEXP.
54014         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
54015         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54016         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54017         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
54018         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54019         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54020         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
54022         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
54023         (__slowpow): Use long double EXPL and LOGL functions to
54024         compute POW.
54025         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54026         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54027         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
54028         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54029         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54030         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
54032         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
54033         intermediate variable to calculate exponent.
54034         (__sqr): Likewise.
54035         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54036         Likewise.
54037         (__sqr): Likewise.
54039         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
54040         [!NO__SQR]: Define __sqr.
54041         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
54042         and NO__SQR.  Remove all code except __mul and __sqr.  Include
54043         sysdeps/ieee754/dbl-64/mpa.c.
54044         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54046         [BZ #12723]
54047         * posix/Makefile (tests): Add tst-pathconf.
54048         * posix/tst-pathconf.c: New test case.
54049         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
54050         _PC_PIPE_BUF.
54051         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
54053 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
54055         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
54057 2013-03-06  Andreas Jaeger  <aj@suse.de>
54059         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
54060         definition via __MAP_ANONYMOUS.
54062         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
54063         it's not part of Linux headers.
54065         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
54066         (MAP_HUGE_MASK): Define.
54068         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54069         Define.
54070         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54071         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54072         Define.
54073         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54074         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54075         Define.
54076         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54077         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
54078         Define.
54079         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54081         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
54082         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
54083         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
54084         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
54085         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
54086         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
54088         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54089         Handle f2fs.
54091         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54092         Handle f2fs and efivarfs.
54094         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
54095         f2fs.
54097         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
54098         (EFIVARFS_MAGIC): Add.
54099         (F2FS_LINK_MAX): Add.
54101 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54103         * stdio-common/vfprintf.c: Replace __builtin_expect with
54104         __glibc_unlikely.
54106 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
54108         [BZ #13550]
54109         * sysdeps/generic/bp-sym.h: Remove file.
54110         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
54111         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
54112         <bp-sym.h> and <bp-asm.h>.
54113         (__longjmp): Don't use BP_SYM.
54114         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
54115         and <bp-asm.h>.
54116         (memcpy): Don't use BP_SYM.
54117         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
54118         <bp-sym.h> and <bp-asm.h>.
54119         (memcpy): Don't use BP_SYM.
54120         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
54121         <bp-asm.h>.
54122         (memcpy): Don't use BP_SYM.
54123         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
54124         <bp-asm.h>.
54125         (memset): Don't use BP_SYM.
54126         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54127         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54128         (__bzero): Don't use BP_SYM.
54129         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54130         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54131         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
54132         <bp-sym.h> and <bp-asm.h>.
54133         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54134         pointers.
54135         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
54136         <bp-sym.h> and <bp-asm.h>.
54137         (memcpy): Don't use BP_SYM.
54138         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
54139         <bp-sym.h> and <bp-asm.h>.
54140         (memset): Don't use BP_SYM.
54141         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54142         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54143         (__bzero): Don't use BP_SYM.
54144         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54145         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54146         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
54147         <bp-sym.h> and <bp-asm.h>.
54148         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54149         pointers.
54150         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
54151         <bp-sym.h> and <bp-asm.h>.
54152         (memcpy): Don't use BP_SYM.
54153         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
54154         <bp-sym.h> and <bp-asm.h>.
54155         (memset): Don't use BP_SYM.
54156         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54157         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54158         (__bzero): Don't use BP_SYM.
54159         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54160         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54161         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
54162         <bp-sym.h> and <bp-asm.h>.
54163         (__memchr): Don't use BP_SYM.
54164         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
54165         <bp-sym.h> and <bp-asm.h>.
54166         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54167         pointers.
54168         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
54169         <bp-sym.h> and <bp-asm.h>.
54170         (memcpy): Don't use BP_SYM.
54171         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
54172         <bp-sym.h> and <bp-asm.h>.
54173         (__mempcpy): Don't use BP_SYM.
54174         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
54175         <bp-sym.h> and <bp-asm.h>.
54176         (__memrchr): Don't use BP_SYM.
54177         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
54178         <bp-sym.h> and <bp-asm.h>.
54179         (memset): Don't use BP_SYM.
54180         (__bzero): Likewise.
54181         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
54182         <bp-sym.h> and <bp-asm.h>.
54183         (__rawmemchr): Don't use BP_SYM.
54184         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
54185         <bp-sym.h> and <bp-asm.h>.
54186         (__STRCMP): Don't use BP_SYM.
54187         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
54188         <bp-sym.h> and <bp-asm.h>.
54189         (strchr): Don't use BP_SYM.
54190         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
54191         <bp-sym.h> and <bp-asm.h>.
54192         (__strchrnul): Don't use BP_SYM.
54193         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
54194         <bp-sym.h> and <bp-asm.h>.
54195         (strlen): Don't use BP_SYM.
54196         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
54197         <bp-sym.h> and <bp-asm.h>.
54198         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54199         pointers.
54200         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
54201         <bp-sym.h> and <bp-asm.h>.
54202         (__strnlen): Don't use BP_SYM.
54203         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
54204         <bp-sym.h> and <bp-asm.h>.
54205         (__GI__setjmp): Don't use BP_SYM.
54206         (_setjmp): Likewise.
54207         (__sigsetjmp): Likewise.
54208         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
54209         (L(start_addresses)): Don't use BP_SYM.
54210         (_start): Likewise.
54211         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
54212         <bp-asm.h>.
54213         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
54214         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
54215         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54216         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54217         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
54218         <bp-asm.h>.
54219         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
54220         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
54221         about bounded pointers.
54222         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54223         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54224         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
54225         <bp-asm.h>.
54226         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54227         about bounded pointers.  Remove GKM FIXME comments.
54228         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54229         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
54230         <bp-asm.h>.
54231         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
54232         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
54233         Remove GKM FIXME comments.
54234         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54235         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54236         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
54237         <bp-asm.h>.
54238         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54239         about bounded pointers.  Remove GKM FIXME comment.
54240         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
54241         and <bp-asm.h>.
54242         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54243         pointers.
54244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
54245         <bp-sym.h> and <bp-asm.h>.
54246         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
54248         <bp-sym.h> and <bp-asm.h>.
54249         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54250         comment.
54252 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54254         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
54255         call free(NULL).
54257 2013-03-05  David S. Miller  <davem@davemloft.net>
54259         * po/es.po: Update from translation team.
54261 2013-03-05  Andreas Jaeger  <aj@suse.de>
54263         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
54264         <bits/mman-linux.h>.
54265         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54266         is fine.
54267         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
54268         <bits/mman-linux.h> to end of file.
54269         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54270         is fine.
54271         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
54272         <bits/mman-linux.h> to end of file.
54273         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54274         is fine.
54275         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
54276         <bits/mman-linux.h> to end of file.
54278         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
54279         (MCL_CURRENT, MCL_FUTURE): Define here.
54281 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54283         [BZ #15232]
54284         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
54285         attribute_hidden.
54286         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54288 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54290         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
54291         fourth parameter needed for rt_sigprocmask syscall.
54292         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
54293         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54294         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
54295         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54296         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54297         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
54299 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
54301         [BZ #13550]
54302         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
54303         comment about bounded pointers.
54304         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
54305         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
54307 2013-03-04  Andreas Jaeger  <aj@suse.de>
54309         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
54310         common definitions.
54312         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
54313         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
54314         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
54315         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54316         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54317         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54319 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54321         [BZ #15055]
54322         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
54323         __ieee754_sqrl instead of __sqrl.
54325 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
54327         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
54328         * sysdeps/powerpc/fpu_control.h: ... here.
54329         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
54330         * sysdeps/powerpc/bits/fenvinline.h: ... here.
54331         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
54332         * sysdeps/powerpc/bits/mathinline.h: ... here.
54334 2013-03-01  Roland McGrath  <roland@hack.frob.com>
54336         * elf/dl-hwcaps.c (_dl_important_hwcaps):
54337         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
54338         to just [NEED_DL_SYSINFO_DSO].
54339         * elf/dl-support.c: Likewise.
54340         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
54341         * elf/rtld.c (dl_main): Likewise.
54342         * elf/setup-vdso.h (setup_vdso): Likewise.
54343         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
54344         * sysdeps/unix/sysv/linux/dl-sysdep.c
54345         (_dl_discover_osversion): Likewise.
54347 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
54349         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
54350         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54352 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
54354         * NEWS: Mention libm performance improvements and non-x86 PI
54355         futex support.
54357         * csu/libc-start.c (__pthread_initialize_minimal): Change
54358         function arguments.
54359         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54361 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
54363         [BZ #13550]
54364         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
54365         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
54366         <bp-sym.h> and <bp-asm.h>.
54367         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54368         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
54369         and <bp-asm.h>.
54370         (memcpy): Don't use BP_SYM.
54371         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
54372         <bp-asm.h>.
54373         (__mpn_add_n): Don't use BP_SYM.
54374         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
54375         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
54376         and <bp-asm.h>.
54377         (__mpn_addmul_1): Don't use BP_SYM.
54378         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54379         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
54380         <bp-sym.h>.
54381         (_setjmp): Don't use BP_SYM.
54382         (__novmx_setjmp): Likewise.
54383         (__GI__setjmp): Likewise.
54384         (__vmx_setjmp): Likewise.
54385         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
54386         <bp-sym.h>.
54387         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
54388         (__bzero): Don't use BP_SYM.
54389         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54390         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54391         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
54392         <bp-sym.h> and <bp-asm.h>.
54393         (memcpy): Don't use BP_SYM.
54394         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
54395         <bp-sym.h> and <bp-asm.h>.
54396         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54397         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
54398         <bp-sym.h> and <bp-asm.h>.
54399         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54400         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
54401         <bp-asm.h>.
54402         (__mpn_lshift): Don't use BP_SYM.
54403         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54404         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
54405         <bp-asm.h>.
54406         (memset): Don't use BP_SYM.
54407         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54408         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54409         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
54410         <bp-asm.h>.
54411         (__mpn_mul_1): Don't use BP_SYM.
54412         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54413         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
54414         <bp-sym.h> and <bp-asm.h>.
54415         (memcmp): Don't use BP_SYM.
54416         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
54417         <bp-sym.h> and <bp-asm.h>.
54418         (memcpy): Don't use BP_SYM.
54419         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
54420         <bp-sym.h> and <bp-asm.h>.
54421         (memset): Don't use BP_SYM.
54422         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
54423         <bp-sym.h> and <bp-asm.h>.
54424         (strncmp): Don't use BP_SYM.
54425         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
54426         <bp-sym.h> and <bp-asm.h>.
54427         (memcpy): Don't use BP_SYM.
54428         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
54429         <bp-sym.h> and <bp-asm.h>.
54430         (memset): Don't use BP_SYM.
54431         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
54432         <bp-sym.h> and <bp-asm.h>.
54433         (__memchr): Don't use BP_SYM.
54434         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
54435         <bp-sym.h> and <bp-asm.h>.
54436         (memcmp): Don't use BP_SYM.
54437         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
54438         <bp-sym.h> and <bp-asm.h>.
54439         (memcpy): Don't use BP_SYM.
54440         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
54441         <bp-sym.h> and <bp-asm.h>.
54442         (__mempcpy): Don't use BP_SYM.
54443         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
54444         <bp-sym.h> and <bp-asm.h>.
54445         (__memrchr): Don't use BP_SYM.
54446         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
54447         <bp-sym.h> and <bp-asm.h>.
54448         (memset): Don't use BP_SYM.
54449         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
54450         <bp-sym.h> and <bp-asm.h>.
54451         (__rawmemchr): Don't use BP_SYM.
54452         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
54453         <bp-sym.h> and <bp-asm.h>.
54454         (__STRCMP): Don't use BP_SYM.
54455         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
54456         <bp-sym.h> and <bp-asm.h>.
54457         (strchr): Don't use BP_SYM.
54458         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
54459         <bp-sym.h> and <bp-asm.h>.
54460         (__strchrnul): Don't use BP_SYM.
54461         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
54462         <bp-sym.h> and <bp-asm.h>.
54463         (strlen): Don't use BP_SYM.
54464         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
54465         <bp-sym.h> and <bp-asm.h>.
54466         (strncmp): Don't use BP_SYM.
54467         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
54468         <bp-sym.h> and <bp-asm.h>.
54469         (__strnlen): Don't use BP_SYM.
54470         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
54471         <bp-asm.h>.
54472         (__mpn_rshift): Don't use BP_SYM.
54473         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54474         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
54475         <bp-sym.h> and <bp-asm.h>.
54476         (__sigsetjmp): Don't use BP_SYM.
54477         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
54478         (L(start_addresses)): Don't use BP_SYM.
54479         (_start): Likewise.
54480         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
54481         <bp-asm.h>.
54482         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
54483         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54484         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54485         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
54486         <bp-asm.h>.
54487         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
54488         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54489         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54490         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
54491         <bp-asm.h>.
54492         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54493         comments.
54494         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54495         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
54496         <bp-asm.h>.
54497         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
54498         FIXME comments.
54499         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54500         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54501         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
54502         <bp-asm.h>.
54503         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54504         comment.
54505         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
54506         and <bp-asm.h>.
54507         (strncmp): Don't use BP_SYM,
54508         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
54509         <bp-asm.h>.
54510         (__mpn_sub_n): Don't use BP_SYM.
54511         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54512         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
54513         and <bp-asm.h>.
54514         (__mpn_submul_1): Don't use BP_SYM.
54515         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
54517         <bp-sym.h> and <bp-asm.h>.
54518         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
54520         <bp-sym.h> and <bp-asm.h>.
54521         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54522         comment.
54524 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54526         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
54527         Use ZK to minimize writes to Z.
54528         (sub_magnitudes): Simplify code a bit.
54529         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
54530         Use ZK to minimize writes to Z.
54531         (sub_magnitudes): Simplify code a bit.
54533 2013-02-27  Roland McGrath  <roland@hack.frob.com>
54535         * csu/gmon-start.c: Add special exception to license text.
54537 2013-02-27  Richard Henderson  <rth@redhat.com>
54539         * scripts/config.guess: Update from config.git.
54540         * scripts/config.sub: Likewise.
54542 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54544         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
54546         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
54548         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
54550         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
54552         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
54554 2013-02-26  Roland McGrath  <roland@hack.frob.com>
54556         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
54557         [$(build-shared = yes].
54559 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54561         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
54562         (__mul): Reduce iterations for calculating mantissa.
54564         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
54565         MPTWO.
54566         (__mpranred): Likewise.
54568         [BZ #15160]
54569         * malloc/memusagestat.c (main): Draw graphs for heap and stack
54570         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
54572 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
54574         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
54575         Define __attribute__.
54577 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54579         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
54580         unused.
54581         * posix/regex_internal.h (__attribute): Remove.
54582         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
54583         (re_string_context_at): Likewise.
54584         (bitset_not): Use __attribute__ and mark function as possibly
54585         unused.
54586         (bitset_merge): Likewise.
54587         (bitset_mask): Likewise.
54588         (re_string_char_size_at): Likewise.
54589         (re_string_wchar_at): Likewise.
54590         (re_string_elem_size_at): Likewise.
54592 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54594         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
54595         code.
54596         (cc32): Likewise.
54598         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
54599         (__acr): Likewise.
54600         (__cpy): Likewise.
54601         (norm): Likewise.
54602         (denorm): Likewise.
54603         (__dbl_mp): Likewise.
54604         (add_magnitudes): Likewise.
54605         (sub_magnitudes): Likewise.
54606         (__mul): Likewise.
54607         (__inv): Likewise.
54609         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
54610         style.
54612         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
54613         style.
54615         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
54616         code.
54618         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
54619         up changes with default code.
54620         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
54621         Likewise.
54623 2013-02-24  Allan McRae  <allan@archlinux.org>
54625         * manual/socket.texi (The Internet Namespace): Order menu items
54626         to match that in the file.
54628         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
54629         node listing of the info page menu.
54631 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
54633         [BZ #13550]
54634         * sysdeps/i386/bp-asm.h: Remove file.
54635         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54636         (PARMS): Do not use macros from bp-asm.h.
54637         (S1): Likewise.
54638         (S2): Likewise.
54639         (SIZE): Likewise.
54640         (__mpn_add_n): Do not use BP_SYM
54641         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
54642         "bp-asm.h".
54643         (PARMS): Do not use macros from bp-asm.h.
54644         (S1): Likewise.
54645         (SIZE): Likewise.
54646         (__mpn_addmul_1): Do not use BP_SYM
54647         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
54648         "bp-asm.h".
54649         (PARMS): Do not use macros from bp-asm.h.
54650         (SIGMSK): Likewise.
54651         (_setjmp): Likewise.  Do not use BP_SYM.
54652         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
54653         "bp-asm.h".
54654         (PARMS): Do not use macros from bp-asm.h.
54655         (SIGMSK): Likewise.
54656         (setjmp): Likewise.  Do not use BP_SYM.
54657         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
54658         "bp-asm.h".
54659         (PARMS): Do not use macros from bp-asm.h.
54660         (__frexp): Do not use BP_SYM.
54661         (frexp): Likewise.
54662         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
54663         "bp-asm.h".
54664         (PARMS): Do not use macros from bp-asm.h.
54665         (__frexpf): Do not use BP_SYM.
54666         (frexpf): Likewise.
54667         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
54668         "bp-asm.h".
54669         (PARMS): Do not use macros from bp-asm.h.
54670         (__frexpl): Do not use BP_SYM.
54671         (frexpl): Likewise.
54672         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
54673         "bp-asm.h".
54674         (PARMS): Do not use macros from bp-asm.h.
54675         (__remquo): Do not use BP_SYM.
54676         (remquo): Likewise.
54677         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
54678         "bp-asm.h".
54679         (PARMS): Do not use macros from bp-asm.h.
54680         (__remquof): Do not use BP_SYM.
54681         (remquof): Likewise.
54682         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
54683         "bp-asm.h".
54684         (PARMS): Do not use macros from bp-asm.h.
54685         (__remquol): Do not use BP_SYM.
54686         (remquol): Likewise.
54687         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
54688         "bp-asm.h".
54689         (PARMS): Do not use macros from bp-asm.h.
54690         (DEST): Likewise.
54691         (SRC): Likewise.
54692         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
54693         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
54694         "bp-asm.h".
54695         (PARMS): Do not use macros from bp-asm.h.
54696         (strlen): Do not use BP_SYM.
54697         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
54698         "bp-asm.h".
54699         (PARMS): Do not use macros from bp-asm.h.
54700         (S1): Likewise.
54701         (S2): Likewise.
54702         (SIZE): Likewise.
54703         (__mpn_add_n): Do not use BP_SYM.
54704         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
54705         "bp-asm.h".
54706         (PARMS): Do not use macros from bp-asm.h.
54707         (S1): Likewise.
54708         (SIZE): Likewise.
54709         (__mpn_addmul_1): Do not use BP_SYM.
54710         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
54711         weak_alias.
54712         (bzero): Likewise.
54713         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
54714         "bp-asm.h".
54715         (PARMS): Do not use macros from bp-asm.h.
54716         (S): Likewise.
54717         (SIZE): Likewise.
54718         (__mpn_lshift): Do not use BP_SYM.
54719         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
54720         "bp-asm.h".
54721         (PARMS): Do not use macros from bp-asm.h.
54722         (DEST): Likewise.
54723         (SRC): Likewise.
54724         (LEN): Likewise.
54725         (memcpy): Likewise.  Do not use BP_SYM.
54726         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
54727         libc_hidden_def and weak_alias.
54728         (mempcpy): Do not use BP_SYM in weak_alias.
54729         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
54730         "bp-asm.h".
54731         (PARMS): Do not use macros from bp-asm.h.
54732         (DEST): Likewise.
54733         (LEN): Likewise.
54734         [!BZERO_P] (CHR): Likewise.
54735         (memset): Likewise.  Do not use BP_SYM.
54736         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
54737         "bp-asm.h".
54738         (PARMS): Do not use macros from bp-asm.h.
54739         (S1): Likewise.
54740         (SIZE): Likewise.
54741         (__mpn_mul_1): Do not use BP_SYM.
54742         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
54743         "bp-asm.h".
54744         (PARMS): Do not use macros from bp-asm.h.
54745         (S): Likewise.
54746         (SIZE): Likewise.
54747         (__mpn_rshift): Do not use BP_SYM.
54748         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
54749         "bp-asm.h".
54750         (PARMS): Do not use macros from bp-asm.h.
54751         (STR): Likewise.
54752         (CHR): Likewise.
54753         (strchr): Likewise.  Do not use BP_SYM.
54754         (index): Do not use BP_SYM in weak_alias.
54755         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
54756         "bp-asm.h".
54757         (PARMS): Do not use macros from bp-asm.h.
54758         (DEST): Likewise.
54759         (SRC): Likewise.
54760         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
54761         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
54762         "bp-asm.h".
54763         (PARMS): Do not use macros from bp-asm.h.
54764         (strlen): Do not use BP_SYM.
54765         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
54766         "bp-asm.h".
54767         (PARMS): Do not use macros from bp-asm.h.
54768         (S1): Likewise.
54769         (S2): Likewise.
54770         (SIZE): Likewise.
54771         (__mpn_sub_n): Do not use BP_SYM.
54772         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
54773         "bp-asm.h".
54774         (PARMS): Do not use macros from bp-asm.h.
54775         (S1): Likewise.
54776         (SIZE): Likewise.
54777         (__mpn_submul_1): Do not use BP_SYM.
54778         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
54779         "bp-asm.h".
54780         (PARMS): Do not use macros from bp-asm.h.
54781         (S1): Likewise.
54782         (S2): Likewise.
54783         (SIZE): Likewise.
54784         (__mpn_add_n): Do not use BP_SYM.
54785         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
54786         weak_alias.
54787         (bzero): Likewise.
54788         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
54789         "bp-asm.h".
54790         (PARMS): Do not use macros from bp-asm.h.
54791         (BLK2): Likewise.
54792         (LEN): Likewise.
54793         (memcmp): Do not use BP_SYM.
54794         (bcmp): Do not use BP_SYM in weak_alias.
54795         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
54796         "bp-asm.h".
54797         (PARMS): Do not use macros from bp-asm.h.
54798         (DEST): Likewise.
54799         (SRC): Likewise.
54800         (LEN): Likewise.
54801         (memcpy): Likewise.  Do not use BP_SYM.
54802         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
54803         "bp-asm.h".
54804         (PARMS): Do not use macros from bp-asm.h.
54805         (DEST): Likewise.
54806         (SRC): Likewise.
54807         (LEN): Likewise.
54808         (memmove): Likewise.  Do not use BP_SYM.
54809         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
54810         "bp-asm.h".
54811         (PARMS): Do not use macros from bp-asm.h.
54812         (DEST): Likewise.
54813         (SRC): Likewise.
54814         (LEN): Likewise.
54815         (__mempcpy): Likewise.  Do not use BP_SYM.
54816         (mempcpy): Do not use BP_SYM in weak_alias.
54817         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
54818         "bp-asm.h".
54819         (PARMS): Do not use macros from bp-asm.h.
54820         (DEST): Likewise.
54821         (LEN): Likewise.
54822         [!BZERO_P] (CHR): Likewise.
54823         (memset): Likewise.  Do not use BP_SYM.
54824         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
54825         "bp-asm.h".
54826         (PARMS): Do not use macros from bp-asm.h.
54827         (STR2): Likewise.
54828         (strcmp): Do not use BP_SYM.
54829         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
54830         "bp-asm.h".
54831         (PARMS): Do not use macros from bp-asm.h.
54832         (STR): Likewise.
54833         (DELIM): Likewise.
54834         [USE_AS_STRTOK_R] (SAVE): Likewise.
54835         (FUNCTION): Likewise.  Do not use BP_SYM.
54836         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
54837         aliases.
54838         (strtok_r): Likewise.
54839         (__GI___strtok_r): Likewise.
54840         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54841         (PARMS): Do not use macros from bp-asm.h.
54842         (S): Likewise.
54843         (SIZE): Likewise.
54844         (__mpn_lshift): Do not use BP_SYM.
54845         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54846         (PARMS): Do not use macros from bp-asm.h.
54847         (STR): Likewise.
54848         (CHR): Likewise.
54849         (__memchr): Do not use BP_SYM.
54850         (memchr): Do not use BP_SYM in weak_alias.
54851         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54852         (PARMS): Do not use macros from bp-asm.h.
54853         (BLK2): Likewise.
54854         (LEN): Likewise.
54855         (memcmp): Do not use BP_SYM.
54856         (bcmp): Do not use BP_SYM in weak_alias.
54857         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
54858         (PARMS): Do not use macros from bp-asm.h.
54859         (S1): Likewise.
54860         (SIZE): Likewise.
54861         (__mpn_mul_1): Do not use BP_SYM.
54862         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
54863         "bp-asm.h".
54864         (PARMS): Do not use macros from bp-asm.h.
54865         (STR): Likewise.
54866         (CHR): Likewise.
54867         (__rawmemchr): Do not use BP_SYM.
54868         (rawmemchr): Do not use BP_SYM in weak_alias.
54869         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54870         (PARMS): Do not use macros from bp-asm.h.
54871         (S): Likewise.
54872         (SIZE): Likewise.
54873         (__mpn_rshift): Do not use BP_SYM.
54874         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54875         (PARMS): Do not use macros from bp-asm.h.
54876         (SIGMSK): Likewise.
54877         (__sigsetjmp): Likewise.  Do not use BP_SYM.
54878         * sysdeps/i386/start.S: Do not include "bp-sym.h".
54879         (_start): Do not use BP_SYM.
54880         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
54881         (PARMS): Do not use macros from bp-asm.h.
54882         (DEST): Likewise.
54883         (SRC): Likewise.
54884         (__stpcpy): Likewise.  Do not use BP_SYM.
54885         (stpcpy): Do not use BP_SYM in weak_alias.
54886         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
54887         "bp-asm.h".
54888         (PARMS): Do not use macros from bp-asm.h.
54889         (DEST): Likewise.
54890         (SRC): Likewise.
54891         (LEN): Likewise.
54892         (__stpncpy): Likewise.  Do not use BP_SYM.
54893         (stpncpy): Do not use BP_SYM in weak_alias.
54894         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54895         (PARMS): Do not use macros from bp-asm.h.
54896         (STR): Likewise.
54897         (CHR): Likewise.
54898         (strchr): Likewise.  Do not use BP_SYM.
54899         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
54900         "bp-asm.h".
54901         (PARMS): Do not use macros from bp-asm.h.
54902         (STR): Likewise.
54903         (CHR): Likewise.
54904         (__strchrnul): Likewise.  Do not use BP_SYM.
54905         (strchrnul): Do not use BP_SYM in weak_alias.
54906         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
54907         "bp-asm.h".
54908         (PARMS): Do not use macros from bp-asm.h.
54909         (STOP): Likewise.
54910         (strcspn): Do not use BP_SYM.
54911         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
54912         "bp-asm.h".
54913         (PARMS): Do not use macros from bp-asm.h.
54914         (STR): Likewise.
54915         (STOP): Likewise.
54916         (strpbrk): Likewise.  Do not use BP_SYM.
54917         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
54918         "bp-asm.h".
54919         (PARMS): Do not use macros from bp-asm.h.
54920         (STR): Likewise.
54921         (CHR): Likewise.
54922         (strrchr): Likewise.  Do not use BP_SYM.
54923         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
54924         (PARMS): Do not use macros from bp-asm.h.
54925         (SKIP): Likewise.
54926         (strspn): Do not use BP_SYM.
54927         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
54928         (PARMS): Do not use macros from bp-asm.h.
54929         (STR): Likewise.
54930         (DELIM): Likewise.
54931         (SAVE): Likewise.
54932         (FUNCTION): Likewise.  Do not use BP_SYM.
54933         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
54934         aliases.
54935         (strtok_r): Likewise.
54936         (__GI___strtok_r): Likewise.
54937         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54938         (PARMS): Do not use macros from bp-asm.h.
54939         (S1): Likewise.
54940         (S2): Likewise.
54941         (SIZE): Likewise.
54942         (__mpn_sub_n): Do not use BP_SYM.
54943         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
54944         "bp-asm.h".
54945         (PARMS): Do not use macros from bp-asm.h.
54946         (S1): Likewise.
54947         (SIZE): Likewise.
54948         (__mpn_submul_1): Do not use BP_SYM.
54949         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
54950         <bp-sym.h>.
54951         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
54952         and <bp-asm.h>.
54953         (PARMS): Do not use macros from bp-asm.h.
54954         (FLAGS): Likewise.
54955         (PTID): Likewise.
54956         (TLS): Likewise.
54957         (CTID): Likewise.
54958         (__clone): Do not use BP_SYM.
54959         (clone): Do not use BP_SYM in weak_alias.
54960         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
54961         and <bp-asm.h>.
54962         (PARMS): Do not use macros from bp-asm.h.
54963         (LEN): Likewise.
54964         (__mmap64): Do not use BP_SYM.
54965         (mmap64): Do not use BP_SYM in weak_alias.
54966         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54967         <bp-sym.h> and <bp-asm.h>.
54968         (PARMS): Do not use macros from bp-asm.h.
54969         (__posix_fadvise64_l64): Do not use BP_SYM.
54970         * sysdeps/unix/sysv/linux/i386/semtimedop.S
54971         (PARMS): Do not use macros from bp-asm.h.
54972         (NSOPS): Likewise.
54973         (semtimedop): Do not use BP_SYM.
54974         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
54975         and <bp-asm.h>.
54977 2013-02-21  Allan McRae  <allan@archlinux.org>
54979         * manual/message.texi (Charset conversion in gettext):
54980         Move @end statement to beginning of line.
54982 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54984         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
54985         static.
54986         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54987         Likewise.
54989         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
54990         (denorm): Likewise.
54991         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
54992         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
54994 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54996         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
54997         tail-call to the resolved function if pltexit isn't needed.
54999 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55001         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
55002         or Y being zero as being unlikely.
55003         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55004         Likewise.
55006 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
55008         * manual/nss.texi (System Databases and Name Service Switch):
55009         Remove frobnicate @pxref.
55011 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55013         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55014         __attribute__ ((unused)) to __attribute__ ((__unused__)).
55016 2013-02-20  Petr Machata  <pmachata@redhat.com>
55018         * elf/elf.h (R_ARM_TARGET1): New macro.
55019         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
55020         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
55021         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
55022         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
55023         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
55024         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
55025         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
55026         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
55027         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
55028         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
55029         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
55030         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
55031         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
55032         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
55033         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
55034         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
55035         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
55036         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
55037         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
55038         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
55039         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
55040         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
55041         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
55042         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
55043         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
55044         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
55045         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
55046         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
55047         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
55048         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
55049         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
55050         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
55051         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
55052         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
55053         (R_ARM_THM_GOT_BREL12): Likewise.
55054         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
55055         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
55056         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
55057         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
55058         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
55059         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
55060         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
55061         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
55062         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
55064 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55066         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55067         __attribute_used__ to __attribute__ ((unused)).
55069 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55071         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
55072         powerpc mpa.c.
55073         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
55074         comment formatting.
55075         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
55077 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
55079         [BZ #13550]
55080         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
55081         Remove macro.
55082         (ENTER): Remove both macro definitions.
55083         (LEAVE): Likewise.
55084         (CHECK_BOUNDS_LOW): Likewise.
55085         (CHECK_BOUNDS_HIGH): Likewise.
55086         (CHECK_BOUNDS_BOTH): Likewise.
55087         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
55088         (RETURN_BOUNDED_POINTER): Likewise.
55089         (RETURN_NULL_BOUNDED_POINTER): Likewise.
55090         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
55091         (POP_ERRNO_LOCATION_RETURN): Likewise.
55092         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
55093         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55094         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
55095         macros.
55096         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55097         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
55098         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
55099         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
55100         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
55101         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
55102         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
55103         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
55104         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
55105         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
55106         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
55107         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
55108         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55109         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
55110         removed macros.
55111         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55112         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
55113         macros.
55114         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55115         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
55116         * sysdeps/i386/i586/memset.S (memset): Likewise.
55117         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
55118         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55119         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
55120         macros.
55121         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55122         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
55123         Change uses of L(2) to L(out).
55124         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
55125         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
55126         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
55127         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55128         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
55129         removed macros.
55130         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55131         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
55132         macros.
55133         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55134         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
55135         (RETURN): Do not use macro LEAVE.
55136         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
55137         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
55138         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
55139         * sysdeps/i386/i686/memset.S (memset): Likewise.
55140         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
55141         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
55142         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55143         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
55144         Likewise.
55145         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55146         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
55147         L(1_2) and L(1_3) into L(1).
55148         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55149         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
55150         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55151         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
55152         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55153         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
55154         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
55155         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55156         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
55157         macros.
55158         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
55159         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55160         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
55161         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
55162         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
55163         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55164         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
55165         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
55166         * sysdeps/i386/strcspn.S (strcspn): Likewise.
55167         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
55168         * sysdeps/i386/strrchr.S (strrchr): Likewise.
55169         * sysdeps/i386/strspn.S (strspn): Likewise.
55170         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
55171         conditional code.
55172         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55173         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
55174         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55175         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
55176         L(1_3) into L(1_1).
55177         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
55178         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55179         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
55180         macros.
55181         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55183 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
55185         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
55186         macro.
55188 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55190         * math/atest-exp.c (exp_mpn): Remove ROUND.
55191         * math/atest-exp2.c (exp_mpn): Likewise.
55192         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
55194         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
55195         * stdlib/tst-tls-atexit-lib.c: Likewise.
55196         * stdlib/tst-tls-atexit.c: Likewise.
55198 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55200         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
55201         and __attribute_alloc_size__.
55203 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55205         * include/programs/xmalloc.h: Change __attribute_alloc_size to
55206         __attribute_alloc_size__.
55207         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
55208         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
55210 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55212         * include/programs/xmalloc.h: New file.
55213         * catgets/gencat.c: Include it.
55214         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
55215         * elf/pldd.c: Likewise.
55216         * iconv/iconv_charmap.c: Likewise.
55217         * iconv/iconvconfig.c: Likewise.
55218         * iconv/strtab.c: Likewise.
55219         * locale/programs/locale.c: Likewise.
55220         * locale/programs/localedef.h: Likewise.
55221         * locale/programs/simple-hash.c: Likewise.
55222         * nscd/nscd.h: Likewise.
55223         * nss/makedb.c: Likewise.
55224         * sysdeps/generic/ldconfig.h: Likewise.
55226 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55228         * Versions.def: Add GLIBC_2.18.
55229         * include/link.h (struct link_map): New member l_tls_dtor_count.
55230         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
55231         (__call_tls_dtors): Likewise.
55232         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
55233         __cxa_thread_atexit_impl.
55234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55235         Likewise.
55236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55237         Likewise.
55238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55239         Likewise.
55240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55241         Likewise.
55242         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
55244         Likewise.
55245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
55246         Likewise.
55247         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55248         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55249         Likewise.
55250         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
55251         (tests): Add test case tst-tls-atexit.
55252         (modules-names): Add shared library for tst-tls-atexit.
55253         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
55254         (GLIBC_PRIVATE): Add __call_tls_dtors.
55255         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
55256         for libstdc++.
55257         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
55258         * stdlib/tst-tls-atexit.c: New test case.
55259         * stdlib/tst-tls-atexit-lib.c: New test case.
55261         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
55263         * elf/Versions (ld): Add _dl_find_dso_for_object.
55264         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
55265         * elf/dl-open.c (_dl_find_dso_for_object): New function.
55266         (dl_open_worker): Use _dl_find_dso_for_object.
55267         * elf/dl-sym.c (do_sym): Likewise.
55268         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
55270 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55272         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
55273         Syntactic changes only.
55274         (_dl_runtime_profile): Do a tail-call to the resolved function.
55276 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
55278         [BZ #13550]
55279         * sysdeps/x86_64/bp-asm.h: Remove file.
55280         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
55281         <bp-sym.h> and <bp-asm.h>.
55282         (__clone): Do not use BP_SYM.
55283         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
55284         <bp-sym.h> and <bp-asm.h>.
55285         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55286         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
55287         "bp-asm.h".
55288         (_setjmp): Do not use BP_SYM.
55289         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
55290         "bp-asm.h".
55291         (setjmp): Do not use BP_SYM.
55292         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
55293         libc_hidden_def.
55294         (mempcpy): Do not use BP_SYM in weak_alias.
55295         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
55296         "bp-asm.h".
55297         (strchr): Do not use BP_SYM.
55298         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
55299         "bp-asm.h".
55300         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
55301         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
55302         (_start): Do not use BP_SYM.
55303         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
55304         "bp-asm.h".
55305         (strcat): Do not use BP_SYM.
55306         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
55307         "bp-asm.h".
55308         (STRCMP): Do not use BP_SYM.
55309         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
55310         "bp-asm.h".
55311         (STRCPY): Do not use BP_SYM.
55312         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
55313         "bp-asm.h".
55314         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
55315         "bp-asm.h".
55316         (FUNCTION): Do not use BP_SYM.
55317         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
55318         weak_alias.
55319         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
55321 2013-02-17  Andreas Jaeger  <aj@suse.de>
55323         * time/Versions: Sort entries.
55324         * string/Versions: Likewise.
55325         * resolv/Versions: Likewise.
55326         * posix/Versions: Likewise.
55327         * iconv/Versions: Likewise.
55328         * elf/Versions: Likewise.
55329         * wcsmbs/Versions: Likewise.
55331 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55333         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
55334         loop termination condition.
55336         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
55337         variable to calculate EZ.
55338         (__sqr): Likewise.
55340         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
55341         the lower precision input.
55343 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
55345         [BZ #13550]
55346         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
55347         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
55348         (run-via-rtld-prefix): Do not handle %-bp tests.
55349         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
55350         (all-object-suffixes): Remove .ob.
55351         (bppfx): Remove variable.
55352         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
55353         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
55354         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
55355         [$(build-bounded) = yes] (libtype.ob): Likewise.
55356         * Makerules (elide-routines.ob): Remove variable.
55357         (do-tests-clean): Do not handle *-bp.out.
55358         (common-mostlyclean): Do not handle *-bp and *-bp.out.
55359         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
55360         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
55361         (tests): Do not include $(tests-bp.out).
55362         (xtests): Do not include $(xtests-bp.out).
55363         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
55364         [$(build-bounded) = yes] ($(addprefix
55365         $(objpfx),$(binaries-bounded))): Remove rule.
55366         ($(objpfx)%-bp.out): Remove rule.
55367         * config.make.in (build-bounded): Remove variable.
55368         * crypt/Makefile [$(build-bounded) = yes]
55369         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
55370         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
55371         append to variable.
55372         [$(build-bounded) = yes] (install-lib): Likewise.
55373         [$(build-bounded) = yes] (generated): Likewise.
55374         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
55375         Remove rule.
55376         * intl/Makefile [$(build-bounded) = yes]
55377         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
55378         * math/Makefile [$(build-bounded) = yes]
55379         ($(tests:%=$(objpfx)%-bp): Likewise.
55380         * misc/Makefile [$(build-bounded) = yes]
55381         ($(objpfx)tst-tsearch-bp): Likewise.
55382         * nptl/Makeconfig (bounded-thread-library): Remove variable.
55383         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
55384         Remove dependency.
55385         * string/Makefile (o-objects.ob): Remove variable.
55386         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
55387         (CFLAGS-.ob): Remove variable.
55388         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
55389         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
55390         both definitions of variable.
55391         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
55392         (ASFLAGS-.ob): Remove variable.
55394 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
55396         [BZ #13550]
55397         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
55398         Remove __BOUNDED_POINTERS__ from condition.
55399         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
55400         * string/bits/string2.h [!__NO_STRING_INLINES &&
55401         !__BOUNDED_POINTERS__]: Likewise.
55402         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
55403         Likewise.
55404         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
55405         Remove conditional code.
55406         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
55407         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
55408         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
55409         condition.
55411         [BZ #13550]
55412         * csu/libc-start.c: Do not include <bp-sym.h>.
55413         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
55414         * elf/dl-open.c: Do not include <bp-sym.h>.
55415         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
55416         * math/fegetenv.c: Do not include <bp-sym.h>.
55417         (fegetenv): Do not use BP_SYM in versioned symbols.
55418         * nptl/sysdeps/pthread/bits/libc-lockP.h
55419         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
55420         <bp-sym.h>.
55421         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55422         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
55423         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55424         (__pthread_mutex_destroy): Likewise.
55425         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55426         (__pthread_mutex_lock): Likewise.
55427         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55428         (__pthread_mutex_trylock): Likewise.
55429         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55430         (__pthread_mutex_unlock): Likewise.
55431         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55432         (__pthread_mutexattr_init): Likewise.
55433         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55434         (__pthread_mutexattr_destroy): Likewise.
55435         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55436         (__pthread_mutexattr_settype): Likewise.
55437         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55438         (__pthread_rwlock_init): Likewise.
55439         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55440         (__pthread_rwlock_destroy): Likewise.
55441         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55442         (__pthread_rwlock_rdlock): Likewise.
55443         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55444         (__pthread_rwlock_tryrdlock): Likewise.
55445         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55446         (__pthread_rwlock_wrlock): Likewise.
55447         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55448         (__pthread_rwlock_trywrlock): Likewise.
55449         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55450         (__pthread_rwlock_unlock): Likewise.
55451         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55452         (__pthread_key_create): Likewise.
55453         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55454         (__pthread_setspecific): Likewise.
55455         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55456         (__pthread_getspecific): Likewise.
55457         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
55458         Likewise.
55459         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55460         (_pthread_cleanup_push_defer): Likewise.
55461         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55462         (_pthread_cleanup_pop_restore): Likewise.
55463         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55464         (pthread_setcancelstate): Likewise.
55465         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
55466         <bp-sym.h>.
55467         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
55468         (memchr): Do not use BP_SYM in weak_alias.
55469         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
55470         (fegetenv): Do not use BP_SYM in versioned symbols.
55471         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
55472         (fesetenv): Do not use BP_SYM in versioned symbols.
55473         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55474         (feupdateenv): Do not use BP_SYM in versioned symbols.
55475         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55476         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55477         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
55478         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
55479         (open64): Do not use BP_SYM in weak_alias.
55480         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
55481         (fegetenv): Do not use BP_SYM in versioned symbols.
55482         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
55483         (fesetenv): Do not use BP_SYM in versioned symbols.
55484         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55485         (feupdateenv): Do not use BP_SYM in versioned symbols.
55486         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
55487         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
55488         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
55489         (feraiseexcept): Do not use BP_SYM in versioned symbols.
55490         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55491         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55492         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
55493         <bp-sym.h>.
55494         (__libc_start_main): Do not use BP_SYM.
55496 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55498         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
55499         redundant return line.
55500         (norm): Likewise.
55501         (denorm): Likewise.
55502         (dbl_mp): Likewise.
55503         (sub_magnitudes): Likewise.
55504         (__add): Likewise.
55505         (__sub): Likewise.
55506         (__mul): Likewise.
55507         (__inv): Likewise.
55508         (__dvd): Likewise.
55509         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
55510         (norm): Likewise.
55511         (denorm): Likewise.
55512         (dbl_mp): Likewise.
55513         (sub_magnitudes): Likewise.
55514         (__add): Likewise.
55515         (__sub): Likewise.
55516         (__mul): Likewise.
55517         (__inv): Likewise.
55518         (__dvd): Likewise.
55520         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
55521         instead of __mul.
55522         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55523         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
55524         (cc32): Likewise.
55526         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
55527         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
55528         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
55529         of __mul for squares.
55530         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
55531         function
55532         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
55533         Likewise.
55534         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
55535         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55537 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
55539         [BZ #13550]
55540         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
55541         code.
55542         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
55543         prototype or function definition.  Rename ubp_* variables and
55544         parameters.  Remove argv definitions conditional on
55545         [__BOUNDED_POINTERS__].
55546         * debug/backtrace.c (__backtrace): Do not use __unbounded.
55547         * elf/dl-runtime.c (_dl_fixup): Likewise.
55548         * include/set-hooks.h (RUN_HOOK): Likewise.
55549         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
55550         definition.
55551         * string/strcpy.c (strcpy): Do not use __unbounded.
55552         * sysdeps/generic/frame.h (struct layout): Likewise.
55553         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
55554         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
55555         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
55556         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
55557         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
55558         (__backtrace): Likewise.
55559         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
55560         use __ptrvalue.
55561         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
55562         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55563         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
55564         Likewise.
55565         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
55566         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
55567         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55568         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55569         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
55570         Do not use __unbounded.
55571         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
55572         Rename __unboundedrlimits parameter to rlimits in prototype.
55573         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
55574         Do not use __unbounded.
55575         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
55576         not use __ptrvalue.
55577         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55578         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
55579         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55580         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
55581         __ptrvalue or __unbounded.
55582         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
55583         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
55584         use __unbounded.
55585         (__new_msgctl): Do not use __ptrvalue.
55586         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
55587         __unbounded.
55588         (__libc_msgrcv): Do not use __ptrvalue.
55589         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
55590         startup_info): Do not use __unbounded.
55591         (__libc_start_main): Likewise.  Rename ubp_* variables and
55592         parameters.  Remove argv definitions conditional on
55593         [__BOUNDED_POINTERS__].
55594         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
55595         __ptrvalue.
55596         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
55597         use __unbounded.
55598         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
55599         or __ptrvalue.
55600         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
55601         use __unbounded.
55602         (__new_shmctl): Do not use __ptrvalue.
55603         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
55604         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
55605         Likewise.
55606         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
55607         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
55608         (__libc_sigaction): Likewise.
55609         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
55610         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
55611         Likewise.
55612         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55614 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
55616         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
55618         * string/mempcpy.c: Implement by calling memcpy.
55620 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55622         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
55624         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
55625         evaluation.
55627         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
55628         values in the mantissa.
55630         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
55631         minimize writes to Z.
55632         (sub_magnitudes): Simplify code a bit.
55634 2013-02-12  Roland McGrath  <roland@hack.frob.com>
55636         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
55637         from the message.  The linker prefixes all warnings with that already.
55639 2013-02-12  Andreas Schwab  <schwab@suse.de>
55641         [BZ #15078]
55642         * posix/regexec.c (extend_buffers): Add parameter min_len.
55643         (check_matching): Pass minimum needed length.
55644         (clean_state_log_if_needed): Likewise.
55645         (get_subexp): Likewise.
55646         * posix/Makefile (tests): Add bug-regex34.
55647         (bug-regex34-ENV): Define.
55648         * posix/bug-regex34.c: New file.
55650         [BZ #11561]
55651         * posix/regcomp.c (parse_bracket_exp): When looking up collating
55652         elements compare against the byte sequence of it, not its name.
55653         * posix/Makefile (tests): Add bug-regex35.
55654         (bug-regex35-ENV): Define.
55655         * posix/bug-regex35.c: New file.
55657 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55659         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
55660         comment.
55661         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
55662         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
55663         (CHECK_EOL): Add undef.
55665 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
55667         * bits/stdlib-bsearch.h: New file.
55668         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
55669         * stdlib/stdlib.h: Likewise.
55671 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55673         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
55674         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
55675         declaration.
55676         * manual/search.texi (Array Search Function): Add missing const in
55677         lfind prototype.
55678         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
55679         declaration to use rlim_t.
55680         (Basic Scheduling Functions): Remove erroneous const from
55681         sched_getparam prototype.  Remove erroneous * from
55682         sched_get_priority_max and sched_get_priority_min prototypes.
55683         (Resource Usage): Fix summary @comment on vtimes to refer to
55684         sys/vtimes.h rather than vtimes.h.
55685         Add missing *s in vtimes prototype.
55686         (Limits on Resources): Fix ulimit prototype to return long int.
55687         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
55688         prototypes to use long int rather than double.
55689         (BSD Random): Fix initstate and setstate to use char *, not void *.
55690         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
55691         prototype to make second argument 'struct aiocb64 *const[]'.
55692         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
55693         (Status of AIO Operations): Remove erroneous const in aio_return and
55694         aio_return64 prototypes.
55695         (Synchronizing I/O): Fix sync prototype to return void.
55696         * manual/startup.texi (Suboptions): Remove an erroneous const in
55697         getsubopt prototype.
55698         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
55699         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
55700         use size_t rather than int.
55701         (Scanning All Users): Likewise for getpwent_r.
55702         (Setting Groups): Add missing const to setgroups prototype.
55703         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
55704         * manual/socket.texi (Host Names): Fix gethostbyaddr and
55705         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
55706         'const void *' rather than 'const char *'.
55707         (Host Address Functions): Likewise for inet_ntop.
55708         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
55709         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
55710         ssize_t for return value.
55711         (Sending Data): Likewise for send, sendto, sendmsg.
55712         (Socket Option Functions): Add a missing const in setsockopt prototype.
55713         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
55714         use wchar_t for the argument.
55715         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
55716         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
55717         take no arguments.
55718         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
55719         double/float/long double for second argument.
55720         Fix return types of significand, significandf, significandl.
55721         * manual/filesys.texi (Setting Permissions): Use mode_t for second
55722         argument in fchmod prototype.
55723         (File Owner): Use uid_t and gid_t in fchown prototype.
55724         (File Times): Add const to utimes, futimes, and lutimes prototypes.
55725         (Making Special Files): Use mode_t and dev_t in mknod prototype.
55726         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
55727         use 'const struct dirent **' as argument types to CMP function pointer
55728         argument.
55729         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
55730         (File Times): Fix summary magic @comment for struct utimbuf and utime
55731         to refer to utime.h, not time.h.
55732         * manual/string.texi (Argz Functions): Add missing const in
55733         argz_extract and argz_next prototypes.
55734         (Finding Tokens in a String): Likewise for basename.
55735         (String/Array Comparison): Fix typo in wcscasecmp prototype.
55736         (Copying and Concatenation): Fix typo in wmemmove prototype.
55737         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
55738         (Signal Stack): Remove erroneous const in sigstack prototype.
55739         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
55740         prototype.
55741         (Simple Calendar Time): Likewise for stime.
55742         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
55743         prototype.
55744         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
55745         say sys/sysctl.h instead.
55746         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
55747         and vsyslog prototypes.
55749 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55751         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
55752         Remove.
55754 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55756         * misc/sys/mman.h: Fix typo in mremap comment.
55758 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55760         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
55761         the '\0' terminator.
55763 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55765         [BZ #13550]
55766         * debug/segfault.c: Don't include <bp-checks.h>.
55767         * sysdeps/generic/bp-checks.h: Remove file.
55768         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
55769         (__GETDENTS): Don't use CHECK_N.
55770         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
55771         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
55772         (__getgroups): Don't use CHECK_N.
55773         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
55774         (setgroups): Don't use CHECK_N.
55775         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
55776         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
55777         (__libc_msgrcv): Don't use CHECK_N.
55778         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
55779         (__libc_msgsnd): Don't use CHECK_N.
55780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
55781         <bp-checks.h>.
55782         (__libc_pread): Don't use CHECK_N.
55783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
55784         include <bp-checks.h>.
55785         (__libc_pread64): Don't use CHECK_N.
55786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
55787         include <bp-checks.h>.
55788         (__libc_pwrite): Don't use CHECK_N.
55789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
55790         include <bp-checks.h>.
55791         (__libc_pwrite64): Don't use CHECK_N.
55792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
55793         <bp-checks.h>.
55794         (__libc_pread): Don't use CHECK_N.
55795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
55796         include <bp-checks.h>.
55797         (__libc_pread64): Don't use CHECK_N.
55798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
55799         include <bp-checks.h>.
55800         (__libc_pwrite): Don't use CHECK_N.
55801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
55802         include <bp-checks.h>.
55803         (__libc_pwrite64): Don't use CHECK_N.
55804         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
55805         (do_pread): Don't use CHECK_N.
55806         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
55807         (do_pread64): Don't use CHECK_N.
55808         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
55809         (do_pwrite): Don't use CHECK_N.
55810         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
55811         (do_pwrite64): Don't use CHECK_N.
55812         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
55813         (__libc_readv): Don't use CHECK_N.
55814         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
55815         (semop): Don't use CHECK_N.
55816         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
55817         <bp-checks.h>.
55818         (semtimedop): Don't use CHECK_N.
55819         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
55820         (__libc_pread): Don't use CHECK_N.
55821         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
55822         <bp-checks.h>.
55823         (__libc_pread64): Don't use CHECK_N.
55824         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
55825         <bp-checks.h>.
55826         (__libc_pwrite): Don't use CHECK_N.
55827         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
55828         <bp-checks.h>.
55829         (__libc_pwrite64): Don't use CHECK_N.
55830         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
55831         <bp-checks.h>.
55832         (__libc_msgrcv): Don't use CHECK_N.
55833         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
55834         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
55835         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
55836         (__libc_writev): Don't use CHECK_N.
55838 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55840         * string/strcpy.c: Removed unused variable.
55842         * Makeconfig (+sysdep-includes): Define with := rather than =.
55843         Use an existing include/ subdir of each sysdeps dir before it.
55845 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55847         * nscd/connection.c (register_traced_file): Comment function.
55848         [HAVE_INOTIFY] (union __inev): Define.
55849         [HAVE_INOTIFY] (inotify_check_files): New function.
55850         [HAVE_INOTIFY] (clear_db_cache): Likewise.
55851         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
55852         clear_db_cache.
55853         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
55855 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55857         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
55858         loaded if not already and that a failure is permanent.
55860 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55862         [BZ #15006]
55863         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
55864         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
55866 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55868         [BZ #13550]
55869         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
55870         (CHECK_1_NULL_OK): Likewise.
55871         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
55872         (__fxstat): Do not use CHECK_1.
55873         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
55874         <bp-checks.h>.
55875         (___fxstat64): Do not use CHECK_1.
55876         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
55877         <bp-checks.h>.
55878         (__fxstatat): Do not use CHECK_1.
55879         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
55880         <bp-checks.h>.
55881         (__fxstatat64): Do not use CHECK_1.
55882         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
55883         <bp-checks.h>.
55884         (__fxstat): Do not use CHECK_1.
55885         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
55886         <bp-checks.h>.
55887         (__fxstatat): Do not use CHECK_1.
55888         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55889         <bp-checks.h>.
55890         (__getresgid): Do not use CHECK_1.
55891         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55892         <bp-checks.h>.
55893         (__getresuid): Do not use CHECK_1.
55894         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
55895         <bp-checks.h>.
55896         (__lxstat): Do not use CHECK_1.
55897         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55898         <bp-checks.h>.
55899         (__old_msgctl): Do not use CHECK_1.
55900         (__new_msgctl): Likewise.
55901         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
55902         <bp-checks.h>.
55903         (__new_setrlimit): Do not use CHECK_1.
55904         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55905         <bp-checks.h>.
55906         (__old_shmctl): Do not use CHECK_1.
55907         (__new_shmctl): Likewise.
55908         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
55909         <bp-checks.h>.
55910         (__xstat): Do not use CHECK_1.
55911         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
55912         (__lxstat): Do not use CHECK_1.
55913         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
55914         <bp-checks.h>.
55915         (___lxstat64): Do not use CHECK_1.
55916         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
55917         (__old_msgctl): Do not use CHECK_1.
55918         (__new_msgctl): Likewise.
55919         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
55920         <bp-checks.h>.
55921         (__gettimeofday): Do not use CHECK_1.
55922         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
55923         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
55924         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
55925         <bp-checks.h>.
55926         (__gettimeofday): Do not use CHECK_1.
55927         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
55928         (__old_shmctl): Do not use CHECK_1_NULL_OK.
55929         (__new_shmctl): Do not use CHECK_1.
55930         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
55931         <bp-checks.h>.
55932         (do_sigtimedwait): Do not use CHECK_1.
55933         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
55934         <bp-checks.h>.
55935         (do_sigwaitinfo): Do not use CHECK_1.
55936         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
55937         <bp-checks.h>.
55938         (msgctl): Do not use CHECK_1.
55939         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
55940         <bp-checks.h>.
55941         (shmctl): Do not use CHECK_1.
55942         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
55943         (ustat): Do not use CHECK_1.
55944         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
55945         <bp-checks.h>.
55946         (__fxstat): Do not use CHECK_1.
55947         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
55948         <bp-checks.h>.
55949         (__fxstatat): Do not use CHECK_1.
55950         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
55951         <bp-checks.h>.
55952         (__lxstat): Do not use CHECK_1.
55953         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
55954         <bp-checks.h>.
55955         (__xstat): Do not use CHECK_1.
55956         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
55957         (__xstat): Do not use CHECK_1.
55958         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
55959         (___xstat64): Do not use CHECK_1.
55961         [BZ #13550]
55962         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
55963         definitions.
55964         (CHECK_BOUNDS_HIGH): Likewise.
55965         * string/strcpy.c: Do not include <bp-checks.h>.
55966         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
55968 2013-02-07  Roland McGrath  <roland@hack.frob.com>
55970         * nscd/nscd-client.h (__nscd_drop_map_ref):
55971         Add __attribute__ ((unused)).
55972         * nis/nss-nisplus.h (niserr2nss): Likewise.
55974         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
55975         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
55977         * csu/libc-tls.c (init_static_tls, init_slotinfo):
55978         Remove inline keyword.
55979         * include/rounding-mode.h (round_away): Likewise.
55980         * libio/wfileops.c (adjust_wide_data): Likewise.
55981         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
55982         (__m128i_strloadu_tolower): Likewise.
55983         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
55984         (__m128i_strloadu_tolower): Likewise.
55985         * time/mktime.c (ydhms_diff): Likewise.
55986         * locale/elem-hash.h (elem_hash): Likewise.
55987         * locale/setlocale.c (setdata): Likewise.
55988         * posix/regex_internal.h (re_string_char_size_at): Likewise.
55989         (re_string_wchar_at): Likewise.
55990         (bitset_not, bitset_merge, bitset_mask): Likewise.
55991         [!(__GNUC__ > 3)] (inline): Remove macro.
55992         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
55993         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
55994         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
55995         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
55996         * string/memcmp.c (memcmp_bytes): Likewise.
55997         * locale/programs/locarchive.c (compute_hashval): Likewise.
55998         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
55999         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
56000         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
56001         * nss/getent.c (print_rpc, print_protocols): Likewise.
56002         (print_passwd, print_group, print_aliases): Likewise.
56003         * nis/nss-nisplus.h (niserr2nss): Likewise.
56004         * nscd/connections.c (restart_p): Likewise.
56005         Change return type to bool.
56007 2013-02-05  Roland McGrath  <roland@hack.frob.com>
56009         * Makeconfig (all-Depend-files): Add existing
56010         $(sorted-subdirs:=/Depend) files.
56011         (all-subdirs): Remove nss.
56012         * sysdeps/unix/inet/Subdirs: Add it here instead.
56013         * hesiod/Depend: New file.
56015         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
56016         instead of calling alloca.
56018         * io/lseek.c (__lseek): Rename to __libc_lseek.
56019         Define __lseek as an alias.
56021         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
56023 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
56025         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
56026         else clause and remove check for non-standard endianness.
56028 2013-02-04  David S. Miller  <davem@davemloft.net>
56030         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56032 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
56034         [BZ #13550]
56035         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
56036         (__ubp_memchr): Remove prototype.
56037         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
56038         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56039         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
56040         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56041         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
56042         Remove alias.
56043         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
56044         (__ubp_memchr): Likewise.
56045         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
56046         (__ubp_memchr): Likewise.
56047         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
56048         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
56049         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
56050         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
56051         CHECK_STRING.
56052         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
56053         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
56054         (__getcwd): Do not use CHECK_STRING.
56055         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56056         <bp-checks.h>.
56057         (__real_chown): Do not use CHECK_STRING.
56058         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
56059         <bp-checks.h>.
56060         (fchownat): Do not use CHECK_STRING.
56061         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
56062         CHECK_STRING.
56063         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56064         <bp-checks.h>.
56065         (__lchown): Do not use CHECK_STRING.
56066         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56067         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56068         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56069         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
56070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56071         include <bp-checks.h>.
56072         (truncate64): Do not use CHECK_STRING.
56073         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56074         <bp-checks.h>.
56075         (__real_chown): Do not use CHECK_STRING.
56076         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56077         <bp-checks.h>.
56078         (__lchown): Do not use CHECK_STRING.
56079         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56080         <bp-checks.h>.
56081         (__chown): Do not use CHECK_STRING.
56082         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
56083         <bp-checks.h>.
56084         (truncate64): Do not use CHECK_STRING.
56085         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
56086         Likewise.
56087         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
56088         (__xmknod): Do not use CHECK_STRING.
56089         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
56090         <bp-checks.h>.
56091         (__xmknodat): Do not use CHECK_STRING.
56092         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56093         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
56095 2013-02-04  Andreas Schwab  <schwab@suse.de>
56097         [BZ #14142]
56098         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
56099         * include/netdb.h: Likewise for h_errno.
56100         * elf/tst-stackguard1.c: Include <tls.h>.
56102 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
56104         * elf/link.h (struct link_map): Extend the l_addr comment.
56105         * include/link.h (struct link_map): Likewise.
56107 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
56109         [BZ #13550]
56110         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
56111         (BOUNDED_1): Remove macro.
56112         * debug/backtrace.c: Don't include <bp-checks.h>.
56113         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
56114         (__backtrace): Likewise.
56115         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
56116         <bp-checks.h>.
56117         (__backtrace): Don't use BOUNDED_1.
56118         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
56119         <bp-checks.h>.
56120         (__backtrace): Don't use BOUNDED_1.
56121         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
56122         (__backtrace): Don't use BOUNDED_1.
56123         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
56124         (shmat): Don't use BOUNDED_N.
56126 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
56128         [BZ #13550]
56129         * sysdeps/generic/bp-start.h: Remove file.
56130         * csu/libc-start.c: Don't include <bp-start.h>.
56131         (LIBC_START_MAIN): Set up __environ directly instead of using
56132         INIT_ARGV_and_ENVIRON.
56133         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
56134         <bp-start.h>.
56136         [BZ #13550]
56137         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
56138         definitions.
56139         (CHECK_FCNTL): Likewise.
56140         (CHECK_N_PAGES): Likewise.
56142         [BZ #13550]
56143         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
56144         definitions.
56145         (CHECK_SIGSET_NULL_OK): Likewise.
56146         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
56147         <bp-checks.h>.
56148         (sigpending): Don't use CHECK_SIGSET.
56149         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
56150         <bp-checks.h>.
56151         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56152         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
56153         <bp-checks.h>.
56154         (do_sigsuspend): Don't use CHECK_SIGSET.
56155         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
56156         use CHECK_SIGSET.
56157         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
56158         (do_sigwait): Don't use CHECK_SIGSET.
56159         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
56160         use CHECK_SIGSET.
56161         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
56162         include <bp-checks.h>.
56163         (sigpending): Don't use CHECK_SIGSET.
56164         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
56165         include <bp-checks.h>.
56166         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56167         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
56168         <bp-checks.h>.
56169         (sigpending): Don't use CHECK_SIGSET.
56170         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
56171         <bp-checks.h>.
56172         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56174         [BZ #13550]
56175         * sysdeps/generic/bp-semctl.h: Remove file.
56176         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
56177         <bp-checks.h> and <bp-semctl.h>.
56178         (__old_semctl): Don't use CHECK_SEMCTL.
56179         (__new_semctl): Likewise.
56180         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
56181         and <bp-semctl.h>.
56182         (__old_semctl): Don't use CHECK_SEMCTL.
56183         (__new_semctl): Likewise.
56184         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
56185         <bp-checks.h> and <bp-semctl.h>.
56186         (__old_semctl): Don't use CHECK_SEMCTL.
56187         (__new_semctl): Likewise.
56188         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
56189         <bp-checks.h> and <bp-semctl.h>.
56190         (semctl): Don't use CHECK_SEMCTL.
56192         [BZ #13550]
56193         * Makerules (elide-bp-thunks): Remove variable.
56194         (elide-routines.oS): Don't use $(elide-bp-thunks).
56195         (elide-routines.os): Likewise.
56196         (elide-routines.o): Likewise.
56197         (elide-routines.op): Likewise.
56198         (elide-routines.og): Likewise.
56199         (objects): Don't use $(bp-thunks).
56200         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
56201         include.
56202         (common-generated): Do not add s-proto-bp.d.
56203         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
56204         (int): Likewise.
56205         (typ): Likewise.
56206         Do not generate makefile rules for bounded-pointer thunks.
56207         * sysdeps/generic/bp-thunks.h: Remove file.
56208         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
56209         * sysdeps/unix/s-proto-bp.S: Likewise.
56211         [BZ #15062]
56212         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
56213         parts of result separately when argument is not close to line from
56214         -i to i and one part of argument is small.
56215         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56216         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56217         * math/libm-test.inc (cacos_test): Add more tests.
56218         (casin_test): Likewise.
56219         (casinh_test): Likewise.
56220         * sysdeps/i386/fpu/libm-test-ulps: Update.
56221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56223 2013-01-31  David S. Miller  <davem@davemloft.net>
56225         * po/de.po: Update from translation team.
56227 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
56229         * time/tzfile.c: Include stdint.h for SIZE_MAX.
56231 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
56233         * configure.in (_AC_PROG_CC_C89): New definition.
56234         * configure: Regenerate.
56236         * configure.in (AC_PROG_CPP): New definition.
56237         * configure: Regenerate.
56239 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56241         * debug/tst-backtrace.h: New file.
56242         * debug/tst-backtrace2.c: Include tst-backtrace.h.
56243         (ret): Remove variable.
56244         (x): Likewise.
56245         (FAIL): Remove macro.
56246         (NO_INLINE): Likewise.
56247         (fn1): Use match function instead of strstr.
56248         * debug/tst-backtrace3.c: Include tst-backtrace.h.
56249         (ret): Remove variable.
56250         (x): Likewise.
56251         (FAIL): Remove macro.
56252         (NO_INLINE): Likewise.
56253         (fn): Use match function instead of strstr.
56254         * debug/tst-backtrace4.c: Include tst-backtrace.h.
56255         (ret): Remove variable.
56256         (x): Likewise.
56257         (FAIL): Remove macro.
56258         (NO_INLINE): Likewise.
56259         (handle_signal): Use match function instead of strstr.
56260         * debug/tst-backtrace5.c: Include tst-backtrace.h.
56261         (ret): Remove variable.
56262         (x): Likewise.
56263         (FAIL): Remove macro.
56264         (NO_INLINE): Likewise.
56265         (handle_signal): Use match function instead of strstr.
56267 2013-01-23  Roland McGrath  <roland@hack.frob.com>
56269         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
56271 2013-01-23  David S. Miller  <davem@davemloft.net>
56273         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
56274         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
56275         argument of CAS if possible.
56276         * sysdeps/sparc/sparc64/bits/atomic.h
56277         (__arch_compare_and_exchange_val_32_acq): Likewise.
56278         (__arch_compare_and_exchange_val_64_acq): Likewise.
56280 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
56282         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
56283         * sysdeps/posix/ulimit.c: ... this.
56284         Include <limits.h>.
56285         * sysdeps/unix/bsd/ulimit.c: Remove file.
56287 2013-01-23  Adam Conrad  <adconrad@0c3.net>
56289         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
56290         (LDFLAGS-tst-array5): Likewise.
56292 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56294         [BZ #15036]
56295         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
56296         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
56297         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
56298         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
56300 2013-01-21  David S. Miller  <davem@davemloft.net>
56302         * sysdeps/sparc/backtrace.c: New file.
56303         * sysdeps/sparc/sparc32/backtrace.h: New file.
56304         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
56305         * sysdeps/sparc/sparc64/backtrace.h: New file.
56306         * sysdeps/sparc/sparc64/backtrace.c: Delete.
56307         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
56308         -funwind-tables.
56310 2013-01-21  Andreas Schwab  <schwab@suse.de>
56312         [BZ #15020]
56313         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
56314         closed its stdout.
56316 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
56318         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
56319         "mpa2.h".
56320         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56322 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
56323             Mark Mitchell  <mark@codesourcery.com>
56324             Tom de Vries  <tom@codesourcery.com>
56325             Paul Pluzhnikov  <ppluzhnikov@google.com>
56327         * debug/tst-backtrace2.c: New file.
56328         * debug/tst-backtrace3.c: Likewise.
56329         * debug/tst-backtrace4.c: Likewise.
56330         * debug/tst-backtrace5.c: Likewise.
56331         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
56332         (CFLAGS-tst-backtrace3.c): Likewise.
56333         (CFLAGS-tst-backtrace4.c): Likewise.
56334         (CFLAGS-tst-backtrace5.c): Likewise.
56335         (LDFLAGS-tst-backtrace2): Likewise.
56336         (LDFLAGS-tst-backtrace3): Likewise.
56337         (LDFLAGS-tst-backtrace4): Likewise.
56338         (LDFLAGS-tst-backtrace5): Likewise.
56339         (tests): Add new tests tst-backtrace2, tst-backtrace3,
56340         tst-backtrace4 and tst-backtrace5.
56342 2013-01-18  Anton Blanchard  <anton@samba.org>
56343             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56345         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
56346         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
56347         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
56348         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
56349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56350         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
56351         "+r" and remove output regs list as redundant.  Add explicit inline
56352         asm to specify register of return val to work around compiler codegen
56353         bug.  Remove (int) cast on return value.  Add return type parameter to
56354         use in macro so that this macro does not truncate return value for
56355         64-bit values.
56356         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
56357         pass to INTERNAL_VSYSCALL_NCS.
56358         (INLINE_VSYSCALL): Add 'long int' as return type to
56359         INTERNAL_VSYSCALL_NCS macro invocation.
56360         (INTERNAL_VSYSCALL): Add 'long int' as return type to
56361         INTERNAL_VSYSCALL_NCS macro invocation.
56362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56364 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56366         [BZ #14496]
56367         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
56368         Fix application of SIMD FP exception mask.
56370         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
56371         mp_no from a power of two.
56372         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
56373         __mpexp_twomm1.  Use __pow_mp.
56375         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
56376         multiplication.
56378 2013-01-17  David S. Miller  <davem@davemloft.net>
56380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56382 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56384         [BZ #15023]
56385         * include/complex.h: Condition contents on [!_COMPLEX_H].
56386         (__kernel_casinhf): New prototype.
56387         (__kernel_casinh): Likewise.
56388         (__kernel_casinhl): Likewise.
56389         * math/Makefile (libm_calls): Add k_casinh.
56390         * math/k_casinh.c: New file.
56391         * math/k_casinhf.c: Likewise.
56392         * math/k_casinhl.c: Likewise.
56393         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
56394         finite nonzero arguments.
56395         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
56396         finite nonzero arguments.
56397         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
56398         finite nonzero arguments.
56399         * math/s_casinh.c: Do not include <float.h>.
56400         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
56401         * math/s_casinhf.c: Do not include <float.h>.
56402         (__casinhf): Move code for finite nonzero arguments to
56403         k_casinhf.c.
56404         * math/s_casinhl.c: Do not include <float.h>.
56405         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
56406         redefine.
56407         (__casinhl): Move code for finite nonzero arguments to
56408         k_casinhl.c.
56409         * math/libm-test.inc (cacos_test): Add more tests.
56410         * sysdeps/i386/fpu/libm-test-ulps: Update.
56411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56413 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
56415         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
56416         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
56417         [!HAVE_MREMAP]: Remove [defined linux] case.
56418         * malloc/arena.c: Do not include <malloc-sysdep.h>.
56420 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56422         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
56424 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
56426         * elf/elf.h (R_386_SIZE32): New relocation.
56427         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
56428         R_386_SIZE32.
56429         (elf_machine_rela): Likewise.
56430         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56431         R_X86_64_SIZE64 and R_X86_64_SIZE32.
56433 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56435         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
56436         (FP_FAST_FMA): Do not define.
56437         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
56438         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
56439         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
56440         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
56441         !_SOFT_FLOAT]: Likewise.
56442         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
56443         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
56444         value.
56445         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
56446         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
56447         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
56448         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
56449         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
56450         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
56451         file.
56453 2013-01-16  Andreas Schwab  <schwab@suse.de>
56455         [BZ #14327]
56456         * include/stdlib.h (__mktemp): Add declaration.
56457         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
56458         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
56460 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56462         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
56463         definitions.
56464         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56465         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
56466         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
56467         definitions here.
56468         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
56469         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
56470         definitions.
56471         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
56472         and ONE.
56473         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
56474         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
56475         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
56476         definitions.
56477         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
56478         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
56479         definitions.
56480         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56482         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
56484 2013-01-15  David S. Miller  <davem@davemloft.net>
56486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56487         trunc{,f} to libm-sysdep_routes.
56488         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
56490         file.
56491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
56492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
56493         file.
56494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
56495         file.
56496         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
56497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
56498         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
56499         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
56500         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
56501         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
56502         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
56503         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
56505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56506         nearbyint{,f} to libm-sysdep_routes.
56507         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
56509         New file.
56510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
56511         file.
56512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
56513         New file.
56514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
56515         file.
56516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
56517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
56518         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
56519         file.
56520         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
56521         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
56522         file.
56523         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
56524         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
56525         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
56527         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56528         libc_feholdexcept and libc_fesetenv.
56530 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
56532         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
56534 2013-01-14  David S. Miller  <davem@davemloft.net>
56536         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
56537         (SPARC_ASM_VIS2_IFUNC): Likewise.
56538         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
56539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
56540         use of 'siam' instruction.
56541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
56542         Likewise.
56543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
56544         Likewise.
56545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
56546         Likewise.
56547         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
56548         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
56549         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
56550         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
56551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
56552         file.
56553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
56554         file.
56555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
56556         file.
56557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
56558         file.
56559         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
56560         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
56561         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
56562         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
56563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
56564         new VIS2 routines.
56565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56568         Likewise.
56569         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56570         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56571         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56572         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
56574         routines to libm-sysdep_routines.
56575         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56578         fdim/fdimf to libm-sysdep_routines.
56579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
56580         file.
56581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
56582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
56583         file.
56584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
56585         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
56586         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
56587         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
56588         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
56589         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
56590         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
56592 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56594         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
56595         to optimize copies.
56597         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
56598         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56599         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56601         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
56602         local variable MPTWO.
56603         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56604         Likewise.
56606 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56608         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
56609         GLOB_NOESCAPE.
56611 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56613         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
56615 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56617         * manual/pattern.texi (glob_t): Document gl_flags.
56618         (glob64_t): Likewise.
56620 2013-01-11  David S. Miller  <davem@davemloft.net>
56622         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
56623         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
56624         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
56625         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
56626         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
56627         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
56628         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
56629         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
56630         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
56631         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
56632         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
56633         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
56634         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
56636         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56637         sparc V9 rather than using V8 code.
56638         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56639         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56641         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56642         Move to...
56643         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
56644         Here.
56646 2013-01-11  Roland McGrath  <roland@hack.frob.com>
56648         [BZ #14941]
56649         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
56650         not in the main loop.
56651         * configure: Regenerated.
56653 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
56655         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
56656         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
56657         to just #else.
56658         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
56659         [!__GLIBC_HAVE_LONG_LONG] case.
56660         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
56661         condition to just #else.
56662         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
56663         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
56664         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
56665         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
56666         unconditional.
56667         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
56668         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56669         #elif condition to just #else.
56670         * sysdeps/unix/sysv/linux/sys/sysmacros.h
56671         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
56672         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56673         #elif condition to just #else.
56675 2013-01-11  Steve Ellcey  <sellcey@mips.com>
56677         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
56678         (EF_MIPS_ARCH_64): Fix value.
56679         (EF_MIPS_ARCH_32R2): New.
56680         (EF_MIPS_ARCH_64R2): New.
56682 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
56684         * Makeconfig (+link-pie-before-libc): New.
56685         (+link-pie-after-libc): Likewise.
56686         (+link-pie-tests): Likewise.
56687         (+link-pie): Rewritten.
56688         (link-before-libc): Remove $(config-LDFLAGS).
56689         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
56690         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
56691         (config-LDFLAGS): Renamed to ...
56692         (rtld-LDFLAGS): This.
56693         (rtld-tests-LDFLAGS): New macro.
56694         (link-libc-rpath-link): Likewise.
56695         (link-libc-tests-rpath-link): Likewise.
56696         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
56697         (link-libc): Prepand $(link-libc-rpath-link).
56698         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
56699         (test-program-prefix): New macro.
56700         (test-via-rtld-prefix): Likewise.
56701         (test-program-cmd): Likewise.
56702         (host-test-program-cmd): Likewise.
56703         * Makefile ($(common-objpfx)testrun.sh): Replace
56704         $(run-program-prefix) with $(test-program-prefix).
56705         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
56706         $(rtld-LDFLAGS).
56707         ($(common-objpfx)shlib.lds): Likewise.
56708         (build-module-helper): Likewise.
56709         ($(common-objpfx)format.lds): Likewise.
56710         * Rules (binaries-pie-tests): New.
56711         (binaries-pie-notests): Likewise.
56712         (binaries-pie): Rewritten.
56713         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
56714         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
56715         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
56716         (make-test-out): Replace $(host-built-program-cmd) with
56717         $(host-test-program-cmd).
56718         * config.make.in (build-hardcoded-path-in-tests): New variable.
56719         * configure.in (--enable-hardcoded-path-in-tests): New configure
56720         option.
56721         (hardcoded_path_in_tests): New AC_SUBST.
56722         * configure: Regenerated.
56723         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
56724         $(built-program-cmd) with $(test-program-cmd).
56725         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
56726         (test_program_cmd): This.
56727         * elf/Makefile ($(objpfx)order.out): Run test with
56728         $(test-program-prefix).
56729         ($(objpfx)order2.out): Likewise.
56730         ($(objpfx)tst-initorder.out): Likewise.
56731         ($(objpfx)tst-initorder2.out): Likewise.
56732         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
56733         $(test-program-cmd).
56734         ($(objpfx)tst-array1-static.out): Likewise.
56735         ($(objpfx)tst-array2.out): Likewise.
56736         ($(objpfx)tst-array3.out): Likewise.
56737         ($(objpfx)tst-array4.out): Likewise.
56738         ($(objpfx)tst-array5.out): Likewise.
56739         ($(objpfx)tst-array5-static.out): Likewise.
56740         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
56741         $(test-program-cmd).
56742         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
56743         $(run-program-prefix) with $(test-program-prefix).
56744         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
56745         (test_program_prefix): This.
56746         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
56747         $(run-program-prefix) with $(test-program-prefix).
56748         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
56749         (test_program_prefix): This.
56750         * iconvdata/tst-tables.sh: Likewise.
56751         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
56752         $(run-program-prefix) with $(test-program-prefix).
56753         ($(objpfx)tst-translit.out): Likewise.
56754         ($(objpfx)tst-gettext2.out): Likewise.
56755         ($(objpfx)tst-gettext4.out): Likewise.
56756         ($(objpfx)tst-gettext6.out): Likewise.
56757         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
56758         (test_program_prefix): This.
56759         * intl/tst-gettext2.sh: Likewise.
56760         * intl/tst-gettext4.sh  Likewise.
56761         * intl/tst-gettext6.sh: Likewise.
56762         * intl/tst-translit.sh: Likewise.
56763         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
56764         with $(test-program-cmd).
56765         * libio/Makefile ($(objpfx)test-freopen.out): Replace
56766         $(run-program-prefix) with $(test-program-prefix).
56767         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
56768         (test_program_prefix): This.
56769         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
56770         $(run-program-prefix) with $(test-program-prefix).
56771         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
56772         (test_program_prefix): This.
56773         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
56774         * posix/Makefile ($(objpfx)globtest.out): Replace
56775         $(run-via-rtld-prefix) and $(test-wrapper) with
56776         $(test-program-prefix) and $(test-via-rtld-prefix).
56777         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
56778         $(test-program-prefix).
56779         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
56780         $(host-test-program-cmd).
56781         (tst-spawn-ARGS): Likewise.
56782         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
56783         $(test-program-prefix).
56784         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
56785         (test_via_rtld_prefix): This.
56786         (test_wrapper): Renamed to ...
56787         (test_program_prefix): This.
56788         (run_program_prefix): Replaced by test_program_prefix.
56789         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
56790         (test_program_prefix): This.
56791         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
56792         with $(host-test-program-cmd).
56793         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
56794         $(run-program-prefix) with $(test-program-prefix).
56795         ($(objpfx)tst-printf.out): Likewise.
56796         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
56797         $(test-program-cmd).
56798         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
56799         (test_program_prefix): This.
56800         * stdio-common/tst-unbputc.sh: Likewise.
56801         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
56802         $(run-program-prefix) with $(test-program-prefix).
56803         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
56804         (test_program_prefix): This.
56805         * string/Makefile ($(objpfx)tst-svc.out):  Replace
56806         $(built-program-cmd) with $(test-program-cmd).
56808 2013-01-11  Andreas Jaeger  <aj@suse.de>
56810         [BZ #15003]
56811         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
56812         value. Sync with Linux 3.7.
56814 2013-01-10  David S. Miller  <davem@davemloft.net>
56816         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
56817         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56818         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56820 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56822         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
56823         never set.
56824         * configure: Regenerated.
56826 2013-01-10  David S. Miller  <davem@davemloft.net>
56828         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56829         sparc V9 rather than using V8 code.
56830         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56831         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56833 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56835         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
56836         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
56837         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
56838         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
56839         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
56840         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
56841         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
56842         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
56843         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
56844         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
56845         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
56846         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
56847         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
56848         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
56849         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
56850         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
56851         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
56852         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
56853         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
56854         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
56855         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
56856         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
56857         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
56858         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
56859         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
56860         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
56861         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
56863 2013-01-10  David S. Miller  <davem@davemloft.net>
56865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56867 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56869         * posix/Makefile (tests-static): New variable.
56870         (tests): Add $(tests-static).
56871         (tst-exec-static-ARGS): New variable.
56872         (tst-spawn-static-ARGS): Likewise.
56873         * posix/tst-exec-static.c: New file.
56874         * posix/tst-spawn-static.c: Likewise.
56875         * posix/tst-exec.c: Support run directly.
56876         * posix/tst-spawn.c: Likewise.
56878 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
56880         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
56881         long.
56882         * math/bits/mathcalls.h (llrint): Likewise.
56883         (llround): Likewise.
56884         * stdlib/stdlib.h (struct drand48_data): Likewise.
56885         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
56886         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
56887         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
56888         Likewise.
56889         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
56890         Likewise.
56891         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
56892         (elf_greg_t): Likewise.
56893         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
56894         (__jmp_buf): Likewise.
56895         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
56896         definitions.
56897         (llrint): Likewise, for all definitions.
56898         (llrintl): Likewise.
56900         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
56901         Remove [__GNUC__] condition.
56902         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
56903         condition to just [__USE_ISOC99].
56904         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
56906 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56908         [BZ #14200]
56909         * sysdeps/unix/sysv/linux/x86/bits/environments.h
56910         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
56911         defined.
56912         (_POSIX_V6_ILP32_OFF32): Likewise.
56913         (_XBS5_ILP32_OFF32): Likewise.
56914         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
56915         (__ILP32_OFFBIG_LDFLAGS): Likewise.
56917 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56919         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
56921         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
56922         doubles __mpexp_twomm1.  Adjust usage.
56923         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
56924         Remove.
56926 2013-01-10  Andreas Schwab  <schwab@suse.de>
56928         [BZ #14964]
56929         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
56930         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
56932 2013-01-09  David S. Miller  <davem@davemloft.net>
56934         [BZ #15003]
56935         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
56936         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
56937         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
56938         (TCP_FASTOPEN): Define.
56939         (tcp_repair_opt): New structure.
56940         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
56941         enum values.
56942         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
56943         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
56944         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
56945         (tcp_cookie_transactions): New structure.
56947 2013-01-09  Anton Blanchard  <anton@samba.org>
56949         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
56950         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
56951         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
56952         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
56954 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
56956         * include/features.h (__USE_ANSI): Remove.
56958 2013-01-09  Roland McGrath  <roland@hack.frob.com>
56960         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
56962         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
56964 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
56966         * sysdeps/s390/fpu/libm-test-ulps: Update.
56968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56970         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
56971         (__acr): Likewise.
56972         (__cpy): Likewise.
56973         (norm): Likewise.
56974         (denorm): Likewise.
56975         (__mp_dbl): Likewise.
56976         (__dbl_mp): Likewise.
56977         (add_magnitudes): Likewise.
56978         (sub_magnitudes): Likewise.
56979         (__add): Likewise.
56980         (__sub): Likewise.
56981         (__mul): Likewise.
56982         (__inv): Likewise.
56983         (__dvd): Likewise.
56984         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
56985         (__acr): Likewise.
56986         (__cpy): Likewise.
56987         (norm): Likewise.
56988         (denorm): Likewise.
56989         (__mp_dbl): Likewise.
56990         (__dbl_mp): Likewise.
56991         (add_magnitudes): Likewise.
56992         (sub_magnitudes): Likewise.
56993         (__add): Likewise.
56994         (__sub): Likewise.
56995         (__mul): Likewise.
56996         (__inv): Likewise.
56997         (__dvd): Likewise.
56998         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
56999         (__acr): Likewise.
57000         (__cpy): Likewise.
57001         (norm): Likewise.
57002         (denorm): Likewise.
57003         (__mp_dbl): Likewise.
57004         (__dbl_mp): Likewise.
57005         (add_magnitudes): Likewise.
57006         (sub_magnitudes): Likewise.
57007         (__add): Likewise.
57008         (__sub): Likewise.
57009         (__mul): Likewise.
57010         (__inv): Likewise.
57011         (__dvd): Likewise.
57013 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
57015         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
57016         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
57017         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
57018         2 && __USE_EXTERN_INLINES]: Likewise.
57020 2013-01-08  Andreas Jaeger  <aj@suse.de>
57022         [BZ# 14985]
57023         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
57024         Remove.
57025         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57026         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57028 2013-01-07  Anton Blanchard  <anton@samba.org>
57030         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
57031         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57032         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
57033         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57034         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57035         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57036         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
57037         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57038         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57039         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57040         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57041         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57042         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
57043         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57044         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
57045         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57046         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57047         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57048         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
57049         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
57050         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
57051         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
57052         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57053         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
57054         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
57055         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
57056         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57057         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
57058         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
57059         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
57060         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
57061         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57062         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57063         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57064         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57065         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57066         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57067         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57068         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
57069         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57070         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
57071         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57072         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57074 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
57076         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
57077         (__MALLOC_PMT): Likewise.
57078         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
57079         [__GNUC__], only on [_LIBC].
57080         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57081         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
57082         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57083         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
57084         forward declaration.
57085         (realloc_hook_ini): Likewise.
57086         (memalign_hook_ini): Likewise.
57087         (__libc_memalign): Do not use __MALLOC_PMT in variable
57088         declaration.
57089         (__libc_valloc): Likewise.
57090         (__libc_pvalloc): Likewise.
57091         (__libc_calloc): Likewise.
57092         (__posix_memalign): Likewise.
57094         [BZ #14996]
57095         * math/s_casinh.c: Include <float.h>.
57096         (__casinh): Do not do computation with squaring and square root
57097         for large arguments.
57098         * math/s_casinhf.c: Include <float.h>.
57099         (__casinhf): Do not do computation with squaring and square root
57100         for large arguments.
57101         * math/s_casinhl.c: Include <float.h>.
57102         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
57103         (__casinhl): Do not do computation with squaring and square root
57104         for large arguments.
57105         * math/libm-test.inc (casin_test): Add more tests.
57106         (casinh_test): Likewise.
57107         * sysdeps/i386/fpu/libm-test-ulps: Update.
57108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57110 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
57112         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
57113         (__x86_64_raw_data_cache_size): Likewise.
57114         (__x86_64_data_cache_size_half): Likewise.
57115         (__x86_64_raw_data_cache_size_half): Likewise.
57116         (__x86_64_shared_cache_size): Likewise.
57117         (__x86_64_raw_shared_cache_size): Likewise.
57118         (__x86_64_shared_cache_size_half): Likewise.
57119         (__x86_64_raw_shared_cache_size_half): Likewise.
57120         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
57121         to ...
57122         (__x86_data_cache_size): This.
57123         (__x86_64_raw_data_cache_size): Renamed to ...
57124         (__x86_raw_data_cache_size): This.
57125         (__x86_64_data_cache_size_half): Renamed to ...
57126         (__x86_data_cache_size_half): This.
57127         (__x86_64_raw_data_cache_size_half): Renamed to ...
57128         (__x86_raw_data_cache_size_half): This.
57129         (__x86_64_shared_cache_size): Renamed to ...
57130         (__x86_shared_cache_size): This.
57131         (__x86_64_raw_shared_cache_size): Renamed to ...
57132         (__x86_raw_shared_cache_size): This.
57133         (__x86_64_shared_cache_size_half): Renamed to ...
57134         (__x86_shared_cache_size_half): This.
57135         (__x86_64_raw_shared_cache_size_half): Renamed to ...
57136         (__x86_raw_shared_cache_size_half): This.
57137         * sysdeps/x86_64/memcpy.S: Updated.
57138         * sysdeps/x86_64/memset.S: Likewise.
57139         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
57140         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57141         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57143 2013-01-04  David S. Miller  <davem@davemloft.net>
57145         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57147 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
57149         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
57150         1 to avoid redefinition warning.
57151         (__USE_GNU): Don't define.
57152         (init_signaling_nan): Protoize.
57154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57156 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57158         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
57159         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
57160         (__cpymn): Likewise.
57161         (norm): Remove commented code.
57162         (denorm): Likewise.
57163         (__mp_dbl): Likewise.
57164         (__inv): Likewise.
57165         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
57166         (__cpymn): Likewise.
57167         (norm): Remove commented code.
57168         (denorm): Likewise.
57169         (__mp_dbl): Likewise.
57170         (__inv): Likewise.
57172         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
57173         mp_no value for 1.0 and 2.0.
57174         (norm): Use RADIXI instead of radixi.d.
57175         (denorm): Likewise.
57176         (__mul): Use 0.0 instead of zero.d.
57177         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
57178         mp_no value for 1.0 and 2.0.
57179         (norm): Use RADIXI instead of radixi.d.
57180         (denorm): Likewise.
57181         (__mul): Use 0.0 instead of zero.d.
57183 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
57185         [BZ #14994]
57186         * math/s_casinh.c (__casinh): Reduce finite argument to first
57187         quadrant then set signs of results at the end.
57188         * math/s_casinhf.c (__casinhf): Likewise.
57189         * math/s_casinhl.c (__casinhl): Likewise.
57190         * math/libm-test.inc (casin_test): Add more tests.
57191         (casinh_test): Likewise.
57192         * sysdeps/i386/fpu/libm-test-ulps: Update.
57193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57195 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57197         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
57199         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
57201         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
57202         declarations.
57203         (denorm): Likewise.
57204         (__mp_dbl): Likewise.
57205         (__inv): Likewise.
57207         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
57208         and adjust the header comment.
57210         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
57211         variable name from declaration.
57213 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
57215         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57216         Initialize COMMON_CPUID_INDEX_7 element.
57217         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
57218         (CPUID_RTM): Likewise.
57219         (HAS_RTM): Likewise.
57220         (COMMON_CPUID_INDEX_7): New enum.
57222 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
57224         [BZ #14981]
57225         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
57226         size is zero, record memory as freed.
57228 2013-01-03  Andreas Jaeger  <aj@suse.de>
57230         * po/ia.po: Add new Interlingua translation.
57232 2012-01-03  Allan McRae  <allan@archlinux.org>
57234         * locale/programs/localedef.c: Fix description of '--posix' flag.
57236 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
57238         * NEWS: Update dates in second copyright notice.
57239         * README: Update copyright dates in example.
57240         * manual/libc.texinfo: Update copyright dates.
57241         * scripts/test-installation.pl: Update copyright date in --version
57242         output.
57244         * hurd/ctty-input.c: Fix copyright notice formatting.
57245         * hurd/ctty-output.c: Likewise.
57246         * hurd/dtable.c: Likewise.
57247         * hurd/hurd-raise.c: Likewise.
57248         * hurd/hurdprio.c: Likewise.
57249         * hurd/msgportdemux.c: Likewise.
57250         * misc/sys/file.h: Likewise.
57251         * misc/sys/ioctl.h: Likewise.
57252         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
57253         * sysdeps/mach/hurd/chdir.c: Likewise.
57254         * sysdeps/mach/hurd/fchdir.c: Likewise.
57255         * sysdeps/mach/hurd/rename.c: Likewise.
57256         * sysdeps/mach/hurd/rmdir.c: Likewise.
57257         * sysdeps/mach/hurd/seekdir.c: Likewise.
57258         * sysdeps/mach/hurd/setsid.c: Likewise.
57259         * sysdeps/posix/wait3.c: Likewise.
57261         * All files with FSF copyright notices: Update copyright dates
57262         using scripts/update-copyrights.
57263         * intl/plural.c: Regenerated.
57264         * locale/programs/charmap-kw.h: Likewise.
57265         * locale/programs/locfile-kw.h: Likewise.
57267 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57269         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
57270         four values.
57272         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
57273         calculation loop and add branch prediction.
57275         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
57276         check access beyond bounds of m1np.
57278         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57279         MPTWO.
57280         (__inv): Remove local variable MPTWO to use the global
57281         constant.
57282         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
57283         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57284         variable MPTWO.
57285         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
57286         MP3HALFS static const.
57288 2013-01-01  David S. Miller  <davem@davemloft.net>
57290         * po/ca.po: Update from translation team.
57292 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
57294         * scripts/update-copyrights: New file.
57295         * Makeconfig: Reformat copyright notice.
57296         * ctype/ctype.h: Likewise.
57297         * debug/swprintf_chk.c: Likewise.
57298         * elf/dl-cache.c: Likewise.
57299         * elf/dl-debug.c: Likewise.
57300         * elf/dl-object.c: Likewise.
57301         * grp/initgroups.c: Likewise.
57302         * hurd/Makefile: Likewise.
57303         * hurd/hurd/signal.h: Likewise.
57304         * hurd/hurdfault.c: Likewise.
57305         * hurd/hurdioctl.c: Likewise.
57306         * hurd/hurdlookup.c: Likewise.
57307         * hurd/intr-msg.c: Likewise.
57308         * iconv/gconv_open.c: Likewise.
57309         * libio/swprintf.c: Likewise.
57310         * locale/lc-ctype.c: Likewise.
57311         * locale/nl_langinfo.c: Likewise.
57312         * mach/Machrules: Likewise.
57313         * mach/Makefile: Likewise.
57314         * malloc/obstack.h: Likewise.
57315         * manual/Makefile: Likewise.
57316         * manual/tsort.awk: Likewise.
57317         * misc/bits/stab.def: Likewise.
57318         * nis/nis_print_group_entry.c: Likewise.
57319         * nis/nis_table.c: Likewise.
57320         * nis/nss_compat/compat-pwd.c: Likewise.
57321         * nis/nss_compat/compat-spwd.c: Likewise.
57322         * po/Makefile: Likewise.
57323         * posix/fnmatch.c: Likewise.
57324         * posix/regex.h: Likewise.
57325         * resolv/Makefile: Likewise.
57326         * resolv/nss_dns/dns-network.c: Likewise.
57327         * resolv/res_hconf.c: Likewise.
57328         * scripts/gen-sorted.awk: Likewise.
57329         * soft-fp/soft-fp.h: Likewise.
57330         * stdio-common/printf.h: Likewise.
57331         * stdlib/monetary.h: Likewise.
57332         * stdlib/random.c: Likewise.
57333         * stdlib/random_r.c: Likewise.
57334         * sysdeps/generic/Makefile: Likewise.
57335         * sysdeps/gnu/Makefile: Likewise.
57336         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57337         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57338         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57339         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57340         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57341         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57342         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57343         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57344         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57345         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57346         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57347         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57348         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57349         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57350         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
57351         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57352         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57353         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57354         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57355         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57356         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57357         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57358         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57359         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57360         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
57361         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57362         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57363         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
57364         * sysdeps/mach/hurd/errnos.awk: Likewise.
57365         * sysdeps/mach/hurd/fork.c: Likewise.
57366         * sysdeps/mach/hurd/getcwd.c: Likewise.
57367         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
57368         * sysdeps/mach/hurd/mmap.c: Likewise.
57369         * sysdeps/mach/hurd/utimes.c: Likewise.
57370         * sysdeps/mach/hurd/xmknod.c: Likewise.
57371         * sysdeps/posix/profil.c: Likewise.
57372         * sysdeps/posix/readdir_r.c: Likewise.
57373         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57374         * sysdeps/powerpc/bits/setjmp.h: Likewise.
57375         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
57376         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57377         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57378         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57379         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57380         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57381         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57382         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57383         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57384         * sysdeps/pthread/lio_listio.c: Likewise.
57385         * sysdeps/sparc/dl-procinfo.h: Likewise.
57386         * sysdeps/unix/i386/sysdep.S: Likewise.
57387         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
57388         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
57389         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
57390         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
57391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57392         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
57393         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
57394         * sysdeps/unix/sysv/linux/speed.c: Likewise.
57395         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
57396         * sysdeps/wordsize-32/divdi3.c: Likewise.
57397         * time/sys/time.h: Likewise.
57398         * wcsmbs/Makefile: Likewise.
57400 2013-01-01  David S. Miller  <davem@davemloft.net>
57402         * po/fr.po: Update from translation team.
57404         * catgets/gencat.c: Update copyright year.
57405         * csu/version.c: Likewise.
57406         * debug/catchsegv.sh: Likewise.
57407         * debug/pcprofiledump.c: Likewise.
57408         * debug/xtrace.sh: Likewise.
57409         * elf/ldconfig.c: Likewise.
57410         * elf/ldd.bash.in: Likewise.
57411         * elf/pldd.c: Likewise.
57412         * elf/sotruss.ksh: Likewise.
57413         * elf/sprof.c: Likewise.
57414         * iconv/iconv_prog.c: Likewise.
57415         * iconv/iconvconfig.c: Likewise.
57416         * locale/programs/locale.c: Likewise.
57417         * locale/programs/localedef.c: Likewise.
57418         * login/programs/pt_chown.c: Likewise.
57419         * malloc/memusage.sh: Likewise.
57420         * malloc/memusagestat.c: Likewise.
57421         * malloc/mtrace.pl: Likewise.
57422         * nscd/nscd.c: Likewise.
57423         * nss/getent.c: Likewise.
57424         * nss/makedb.c: Likewise.
57425         * posix/getconf.c: Likewise.
57427 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57429         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
57430         numbers.
57432 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
57434         * math/bits/mathcalls.h (modf): Use __nonnull.
57436 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57438         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
57439         (split): Use macro CN instead of the bare value.
57440         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
57441         could be used.
57442         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
57443         instead of the bare value.
57444         (power1): Likewise.
57446 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57448         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
57449         __ATAN_TWOM.
57450         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57452         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
57453         their values.
57454         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57455         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57456         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
57457         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57459 2012-12-28  Andreas Jaeger  <aj@suse.de>
57461         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
57462         values are from Linux 3.7.
57464         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
57465         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
57467 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57469         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
57470         TRUE case.
57472         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
57473         (norm): Likewise.
57474         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
57475         variables with preprocessor constants.
57476         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57477         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57478         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57480 2012-12-27  Bruno Haible  <bruno@clisp.org>
57482         [BZ #14317]
57483         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
57484         only if needed.
57486 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57488         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
57489         and use variable directly.
57490         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
57492         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57493         MPONE.
57494         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
57495         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57496         variable MPONE.
57497         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57498         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57499         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
57500         include directive.  Remove local variable MPONE.
57501         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
57502         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
57503         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57505 2012-12-25  David S. Miller  <davem@davemloft.net>
57507         * version.h (RELEASE): Set to "development".
57508         (VERSION): Set to "2.17.90".
57509         * NEWS: Add 2.18 section.
57511 2012-12-21  David S. Miller  <davem@davemloft.net>
57513         * po/hr.po: Update from translation team.
57515 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57517         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
57519 2012-12-19  Steve Ellcey  <sellcey@mips.com>
57521         * NEWS:  Mention new memcpy for MIPS.
57523 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57525         * manual/contrib.texi (Contributors): Spelling correction.
57527 2012-12-15  David S. Miller  <davem@davemloft.net>
57529         * po/ru.po: Update from translation team.
57531 2012-12-13  David S. Miller  <davem@davemloft.net>
57533         * NEWS: Mention IFUNC testsuite enhancements.
57535         * po/pl.po: Update from translation team.
57536         * po/bg.po: Likewise.
57538         * manual/contrib.texi (Contributors): Update entries for Hongjiu
57539         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
57541 2012-12-11  David S. Miller  <davem@davemloft.net>
57543         * po/sv.po: Update from translation team.
57545         * po/vi.po: Update from translation team.
57547         * po/cs.po: Update from translation team.
57549         * po/de.po: Update from translation team.
57550         * po/eo.po: Likewise.
57551         * po/nl.po: Likewise.
57553 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57555         [BZ #14246]
57556         * manual/argp.texi (Argp Helper Functions): Move node to follow
57557         Argp Parsing State.
57559         [BZ #14872]
57560         * manual/conf.texi (Limits on File System Capacity): Mention if
57561         terminating null is included in the max size.
57563 2012-12-10  Andreas Jaeger  <aj@suse.de>
57565         * po/cs.po: Update from translation team.
57567 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57569         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
57570         void pointer and cast to uintptr_t.
57571         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
57572         path.
57573         * sysdeps/s390/s390-64/memcpy.S: Likewise.
57574         * sysdeps/s390/s390-64/memset.S: Likewise.
57576 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
57578         [BZ #14833]
57579         * menual/message.texi (Message Translation): Fix typos.
57580         (Helper programs for gettext): Likewise.
57582 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
57584         [BZ #14898]
57585         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
57586         Change to -1.
57588 2012-12-07  David S. Miller  <davem@davemloft.net>
57590         * po/libc.pot: Update.
57592 2012-12-07  Richard Henderson  <rth@redhat.com>
57594         [BZ #10114]
57595         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
57596         normal/normal case to before the switch.
57597         (_FP_DIV): Likewise.
57599 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
57600             Mike Frysinger  <vapier@gentoo.org>
57602         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
57603         check for __NR_fadvise64_64.
57605 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
57607         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
57608         0, not just to plain "0" as a statement.
57609         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
57610         with cw.
57612 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
57614         * NEWS: Use sourceware.org in Bugzilla URL.
57616 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
57619         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57621         * stdio-common/tst-put-error.c (do_test): Add newline to the
57622         padded test to ensure flush.
57624 2012-12-05  Jeff Law  <law@redhat.com>
57626         * sunrpc/etc.rpc (fedfs_admin): Add entry.
57628 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
57630         * README: Don't refer to ports add-on as distributed separately.
57631         Mention AArch64 in list of systems supported in the ports add-on.
57633         * LICENSES: Add more non-FSF copyright and license notices.
57635         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
57636         ((unused)).
57638         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
57640         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
57641         10000 as width of padded output.
57643 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57645         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
57647         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
57648         variable LX with __attribute__ ((unused)).
57649         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57650         Likewise.
57651         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57652         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57653         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
57654         with __attribute__ ((unused)).
57656 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
57658         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
57660 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57662         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
57663         (CFLAGS-nldbl-acos.c): New variable.
57664         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
57665         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
57666         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
57667         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
57668         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
57669         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
57670         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
57671         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
57672         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
57673         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
57674         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
57675         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
57676         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
57677         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
57678         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
57679         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
57680         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
57681         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
57682         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
57683         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
57684         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
57685         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
57686         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
57687         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
57688         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
57689         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
57690         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
57691         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
57692         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
57693         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
57694         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
57695         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
57696         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
57697         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
57698         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
57699         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
57700         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
57701         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
57702         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
57703         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
57704         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
57705         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
57706         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
57707         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
57708         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
57709         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
57710         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
57711         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
57712         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
57713         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
57714         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
57715         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
57716         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
57717         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
57718         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
57719         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
57720         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
57721         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
57722         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
57723         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
57724         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
57725         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
57726         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
57727         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
57728         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
57729         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
57730         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
57731         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
57732         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
57733         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
57734         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
57735         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
57736         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
57737         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
57738         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
57739         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
57740         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
57741         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
57742         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
57743         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
57744         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
57745         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
57746         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
57747         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
57748         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
57749         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
57750         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
57751         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
57752         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
57753         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
57754         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
57755         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
57756         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
57757         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
57758         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
57759         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
57760         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
57762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57763         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57765         [BZ #14914]
57766         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
57767         whole low double instead of just low 47 bits when splitting values
57768         into two parts.
57770 2012-12-03  Allan McRae  <allan@archlinux.org>
57772         * manual/stdio.texi (Predefined Printf Handlers): Remove
57773         @hsep and @vsep usage.
57775 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
57777         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
57778         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
57780 2012-12-03  Jeff Law  <law@redhat.com>
57782         * time/sys/time.h (settimeofday): Do not mark TV argument
57783         as __nonnull.
57785 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
57787         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
57788         when currently writing and seek to current position when not.
57789         * libio/Makefile (tests): Remove bug-fclose1.
57790         * libio/bug-fclose1.c: Delete.
57792 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
57794         * manual/arith.texi (feenableexcept): Fix typo.
57795         (fedisableexcept): Likewise.
57797 2012-11-30  Roland McGrath  <roland@hack.frob.com>
57799         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
57800         second, differently-typed declaration, rather than a cast.
57802 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57804         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
57805         * include/rpc/svc.h: ... here.
57807 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
57809         [BZ #13013]
57810         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
57811         depending n and resplen2 to catch cases where answer
57812         equals answerp2.
57814 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
57816         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
57817         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
57819 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
57821         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
57823 2012-11-29  Roland McGrath  <roland@hack.frob.com>
57825         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
57827 2012-11-28  Jeff Law  <law@redhat.com>
57829         [BZ #13761]
57830         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
57831         dataset_temporary.  Track alloca usage into alloca_used.
57832         If dataset is large allocate and release it via malloc/free.
57834 2012-06-04  Florian Weimer  <fweimer@redhat.com>
57836         [BZ #14197]
57837         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
57839 2012-11-28  David S. Miller  <davem@davemloft.net>
57841         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57843 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57845         [BZ #14803]
57846         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
57847         of pi/2 rounded to nearest to 64 bits.
57848         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
57849         nearest to 64 bits.
57850         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
57851         bits.
57853 2012-11-28  Jeff Law <law@redhat.com>
57854             Martin Osvald <mosvald@redhat.com>
57856         [BZ #14889]
57857         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
57858         * sunrpc/svc.c: Include time.h.
57859         (__svc_accept_failed): New function.
57860         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
57861         any reason other than EINTR, call __svc_accept_failed.
57862         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
57863         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
57865 2012-11-28  Andreas Schwab  <schwab@suse.de>
57867         * scripts/abilist.awk: Also handle indirect functions in .opd
57868         section.
57870 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57872         [BZ #13881]
57873         * sysdeps/x86/fpu/powl_helper.c: New file.
57874         * sysdeps/x86/fpu/Makefile: Likewise.
57875         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
57876         (p3): New object.
57877         (__ieee754_powl): Use __powl_helper for finite arguments except
57878         integer exponents below 8.
57879         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
57880         (p3): New object.
57881         (__ieee754_powl): Use __powl_helper for finite arguments except
57882         integer exponents below 8.
57883         * math/libm-test.inc (pow_test): Add more tests and enable some
57884         previously disabled tests.
57885         * sysdeps/i386/fpu/libm-test-ulps: Update.
57886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57888 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57889             Carlos O'Donell  <carlos_odonell@mentor.com>
57891         * nss/makedb.c (is_prime): Assert that input is odd and greater
57892         than 4.  Note that fact in a comment too.
57893         (next_prime): Add 4 to input.
57895 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57897         [BZ #11741]
57898         * libio/Makefile (tests): Add test case tst-fwrite-error.
57899         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
57900         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
57901         * libio/tst-fwrite-error.c: New test case.
57903 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
57905         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
57906         before casting to void *.
57907         * include/libc-internal.h (__pointer_type): New macro.
57908         (__integer_if_pointer_type_sub): Likewise.
57909         (__integer_if_pointer_type): Likewise.
57910         (cast_to_integer): Likewise.
57911         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
57912         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
57913         before casting to atomic64_t.
57914         (atomic_exchange_acq): Likewise.
57915         (__arch_exchange_and_add_body): Likewise.
57916         (__arch_add_body): Likewise.
57917         (atomic_add_negative): Likewise.
57918         (atomic_add_zero): Likewise.
57920 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
57922         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
57923         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
57924         (add_fdes): Likewise.
57925         (linear_search_fdes): Likewise.
57926         (binary_search_unencoded_fdes): Likewise.
57928 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
57930         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
57932 2012-11-24  Adam Conrad  <adconrad@0c3.net>
57934         * configure.in: Autodetect C++ header directories.
57935         * configure: Regenerated.
57937 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
57939         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
57941 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
57943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57945 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
57947         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
57948         LDBL_MANT_DIG == 106]: Disable some tests.
57949         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57950         Likewise.
57951         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57952         Likewise.
57954         [BZ #14871]
57955         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
57956         input for small inputs.  Return +/- pi/2 for large inputs.
57957         * math/libm-test.inc (atan_test): Add more tests.
57959         * sysdeps/generic/unwind-dw2-fde-glibc.c
57960         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
57961         __attribute__ ((unused)).
57963         [BZ #14645]
57964         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
57965         x * y if x and y are nonzero and z is zero.
57967         [BZ #14811]
57968         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
57969         nonzero exponents with absolute value below 0x1p-117 to +/-
57970         0x1p-117.
57972         [BZ #14869]
57973         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
57974         up arguments below 2**-450, not just those below 2**-500.
57975         * math/libm-test.inc (hypot_test): Add another test.
57977         [BZ #14868]
57978         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
57979         Return a+b for ratio over 2**120, not 2**60.
57980         * math/libm-test.inc (hypot_test): Add another test.
57982         * math/libm-test.inc (clog_test): Use
57983         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
57984         (clog10_test): Likewise.
57986         [BZ #6778]
57987         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
57989 2012-11-22  Andreas Schwab  <schwab@suse.de>
57991         * sysdeps/i386/fpu/libm-test-ulps: Update.
57993 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
57995         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
57996         printf output with newline.
57998 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
58000         [BZ #14865]
58001         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
58002         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
58003         -z nodlopen, -z initfirst and -z execstack support.
58004         * configure: Regenerated.
58006         * elf/elf.h (DF_1_NODIRECT): New macro.
58007         (DF_1_IGNMULDEF): Likewise.
58008         (DF_1_NOKSYMS): Likewise.
58009         (DF_1_NOHDR): Likewise.
58010         (DF_1_EDITED): Likewise.
58011         (DF_1_NORELOC): Likewise.
58012         (DF_1_SYMINTPOSE): Likewise.
58013         (DF_1_GLOBAUDIT): Likewise.
58014         (DF_1_SINGLETON): Likewise.
58015         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
58016         DT_1_SUPPORTED_MASK bits.
58017         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
58019 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
58021         * sysdeps/unix/make-syscalls.sh: Document prefixes.
58023 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
58025         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
58026         macro.
58028         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
58029         (sendmmsg): Move declarations...
58030         * socket/sys/socket.h: ... here.
58031         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
58032         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
58033         include it from...
58034         * socket/recvmmsg.c: ... this new file.
58035         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
58036         (sendmmsg): Rename to __sendmmsg, create weak alias and make
58037         definition of __sendmmsg hidden.
58038         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
58039         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
58040         Move ENOSYS stub into and include it from...
58041         * socket/sendmmsg.c: ... this new file.
58042         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
58043         (sysdep_routines): Move recvmmsg and sendmmsg...
58044         * socket/Makefile (routines): ... here.
58045         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
58046         (GLIBC_PRIVATE): Add __sendmmsg.
58047         * include/sys/socket.h (__sendmmsg): Add declarations.
58048         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
58049         sendmmsg.
58051 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
58053         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
58054         variable I1 with __attribute__ ((unused)).
58055         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
58057 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58059         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
58060         DUMMY variables with __attribute__ ((unused)).
58062         * bits/byteswap.h: Include <bits/types.h>.
58063         (__bswap_64): Use __uint64_t instead of unsigned long long int.
58065 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58067         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
58068         string_t.  Do not manually set errno.
58069         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
58070         length with __strnlen.  Make sure to both set errno and return it on
58071         failure.
58073 2012-11-19  David S. Miller  <davem@davemloft.net>
58075         With help from Joseph Myers.
58076         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
58077         very large arguments properly.
58078         * math/libm-test.inc (atan_test): New tests.
58079         (atan2_test): New tests.
58080         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58081         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58083 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58085         [BZ #14856]
58086         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
58087         Define to 3.
58089         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
58090         [POSIX] (EADDRNOTAVAIL): Likewise.
58091         [POSIX] (EAFNOSUPPORT): Likewise.
58092         [POSIX] (EALREADY): Likewise.
58093         [POSIX] (ECONNABORTED): Likewise.
58094         [POSIX] (ECONNREFUSED): Likewise.
58095         [POSIX] (ECONNRESET): Likewise.
58096         [POSIX] (EDESTADDRREQ): Likewise.
58097         [POSIX] (EDQUOT): Likewise.
58098         [POSIX] (EHOSTUNREACH): Likewise.
58099         [POSIX] (EIDRM): Likewise.
58100         [POSIX] (EISCONN): Likewise.
58101         [POSIX] (ELOOP): Likewise.
58102         [POSIX] (EMULTIHOP): Likewise.
58103         [POSIX] (ENETDOWN): Likewise.
58104         [POSIX] (ENETUNREACH): Likewise.
58105         [POSIX] (ENOBUFS): Likewise.
58106         [POSIX] (ENODATA): Likewise.
58107         [POSIX] (ENOLINK): Likewise.
58108         [POSIX] (ENOMSG): Likewise.
58109         [POSIX] (ENOPROTOOPT): Likewise.
58110         [POSIX] (ENOSR): Likewise.
58111         [POSIX] (ENOSTR): Likewise.
58112         [POSIX] (ENOTCONN): Likewise.
58113         [POSIX] (ENOTSOCK): Likewise.
58114         [POSIX] (EOPNOTSUPP): Likewise.
58115         [POSIX] (EOVERFLOW): Likewise.
58116         [POSIX] (EPROTO): Likewise.
58117         [POSIX] (EPROTONOSUPPORT): Likewise.
58118         [POSIX] (EPROTOTYPE): Likewise.
58119         [POSIX] (ESTALE): Likewise.
58120         [POSIX] (ETIME): Likewise.
58121         [POSIX] (ETXTBSY): Likewise.
58122         [POSIX] (EWOULDBLOCK): Likewise.
58123         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
58124         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
58125         [POSIX] (SEEK_CUR): Likewise.
58126         [POSIX] (SEEK_END): Likewise.
58127         [POSIX || UNIX98] (mode_t): Do not require.
58128         [POSIX] (off_t): Likewise.
58129         [POSIX] (pid_t): Likewise.
58130         [POSIX] (sys/stat.h): Do not allow header.
58131         [POSIX] (unistd.h): Likewise.
58132         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
58133         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
58134         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
58135         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
58136         require.
58137         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
58138         sigevent): Specify elements.
58139         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
58140         entry.
58141         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
58142         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
58144         * conform/data/cpio.h-data [POSIX]: Disable whole file.
58145         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
58146         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
58147         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
58148         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
58149         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
58150         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
58151         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
58152         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
58153         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
58154         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
58155         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
58156         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
58157         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
58158         Likewise.
58159         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
58160         Likewise.
58161         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
58162         Likewise.
58163         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
58164         Likewise.
58165         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
58166         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
58167         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
58168         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
58169         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
58170         Specify lower bound on value.
58171         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
58172         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
58173         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
58174         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
58175         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
58176         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
58177         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
58178         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
58179         value.
58180         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
58181         as optional.
58182         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
58183         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
58184         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
58185         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
58186         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
58187         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
58188         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
58189         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
58190         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
58191         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
58192         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
58193         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
58194         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
58195         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
58196         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
58197         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
58198         entry.
58199         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
58200         optional.
58201         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
58202         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
58203         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
58204         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
58205         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
58206         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
58207         Likewise.
58208         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
58209         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
58210         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
58211         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
58212         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
58213         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
58214         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
58215         as optional.
58216         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
58217         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
58218         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
58219         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
58220         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
58221         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
58222         specify as optional.
58223         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
58224         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
58225         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
58226         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
58227         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
58228         [XPG3] (NL_LANGMAX): Likewise.
58229         [POSIX || XPG3] (NL_MSGMAX): Likewise.
58230         [POSIX || XPG3] (NL_NMAX): Likewise.
58231         [POSIX || XPG3] (NL_SETMAX): Likewise.
58232         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
58233         [XPG3] (NZERO): Likewise.
58234         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
58235         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
58236         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
58237         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
58238         (REG_ERANGE): Expect.
58239         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
58240         optional-constant.
58241         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
58242         Use (void) in prototype.
58243         [POSIX] (*_t): Allow.
58244         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
58245         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
58246         (WRDE_BADVAL): Expect.
58248         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
58249         expect.
58250         [XPG3 || XPG4] (O_RSYNC): Likewise.
58251         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
58252         Likewise.
58253         [XPG3 || XPG4] (pthread_sigmask): Likewise.
58254         [XPG3 || XPG4] (sigqueue): Likewise.
58255         [XPG3 || XPG4] (sigtimedwait): Likewise.
58256         [XPG3 || XPG4] (sigwaitinfo): Likewise.
58257         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
58258         [XPG3 || XPG4] (vsnprintf): Likewise.
58259         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
58260         Likewise.
58261         [XPG3 || XPG4] (blksize_t): Likewise.
58262         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
58263         Likewise.
58264         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
58265         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
58266         [XPG3 || XPG4] (struct itimerspec): Likewise.
58267         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
58268         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
58269         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
58270         [XPG3 || XPG4] (clockid_t): Likewise.
58271         [XPG3 || XPG4] (timer_t): Likewise.
58272         [XPG3 || XPG4] (clock_getres): Likewise.
58273         [XPG3 || XPG4] (clock_gettime): Likewise.
58274         [XPG3 || XPG4] (clock_settime): Likewise.
58275         [XPG3 || XPG4] (nanosleep): Likewise.
58276         [XPG3 || XPG4] (timer_create): Likewise.
58277         [XPG3 || XPG4] (timer_delete): Likewise.
58278         [XPG3 || XPG4] (timer_gettime): Likewise.
58279         [XPG3 || XPG4] (timer_getoverrun): Likewise.
58280         [XPG3 || XPG4] (timer_settime): Likewise.
58281         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
58282         [XPG3 || XPG4] (getlogin_r): Likewise.
58283         [XPG3 || XPG4] (pread): Likewise.
58284         [XPG3 || XPG4] (pthread_atfork): Likewise.
58285         [XPG3 || XPG4] (pwrite): Likewise.
58287         [BZ #14835]
58288         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
58289         <bits/siginfo.h>.
58291 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58293         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
58294         finalizing MALLSTREAM.
58296         * sysdeps/mach/hurd/syncfs.c: New file.
58298 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58300         [BZ #14719]
58301         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
58302         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
58303         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
58304         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
58305         (_nss_dns_gethostbyname4_r): Likewise.
58306         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
58307         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
58309 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
58311         [BZ #13763]
58312         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
58314 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
58316         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
58317         * elf/cache.c (print_entry): Print ",AArch64" for
58318         FLAG_AARCH64_LIB64
58320         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
58321         * elf/cache.c (print_entry): Print ",hard-float" for
58322         FLAG_ARM_LIBHF.
58324 2012-11-18  David S. Miller  <davem@davemloft.net>
58326         With help from Joseph Myers.
58327         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
58328         cutoff to 2**-13.
58329         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
58330         cutoff to 2**-25.
58331         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
58332         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
58333         small.
58334         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
58335         * math/libm-test.inc (y0_test): New tests.
58336         (y1_test): New tests.
58337         * sysdeps/i386/fpu/libm-test-ulps: Update.
58338         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58341 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
58343         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
58344         64-bit targets.
58345         * configure: Regenerated.
58347 2012-11-17  David S. Miller  <davem@davemloft.net>
58349         [BZ #14811]
58350         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
58351         nonzero exponents with absolute value below 0x1p-128 to +/-
58352         0x1p-128.
58354 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
58356         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
58358         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
58360         * posix/getconf-speclist.c: New file.
58361         * posix/posix-envs.def: Likewise.
58362         * posix/confstr.c (START_ENV_GROUP): New macro.
58363         (END_ENV_GROUP): Likewise.
58364         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58365         (KNOWN_PRESENT_ENV_STRING): Likewise.
58366         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58367         (UNKNOWN_ENVIRONMENT): Likewise.
58368         (confstr): Include posix-envs.def instead of handling
58369         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
58370         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
58371         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
58372         (END_ENV_GROUP): Likewise.
58373         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58374         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58375         (UNKNOWN_ENVIRONMENT): Likewise.
58376         (__sysconf): Include posix-envs.def instead of handling associated
58377         cases directly here.
58378         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
58379         preprocessing getconf-speclist.c rather than running getconf or
58380         generating empty file.
58382 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
58384         * scripts/check-local-headers.sh: Ignore 'mach' headers.
58386 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
58388         [BZ #14672]
58389         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
58391 2012-11-16  David S. Miller  <davem@davemloft.net>
58393         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
58394         smaller than LDBL_EPSILON/2.0L, just return xm1.
58396 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
58398         * elf/tst-array1.c (init): Set constructor priority to 1000.
58399         (fini): Set destructor priority to 1000.
58400         * elf/tst-array2dep.c: Likewise.
58402 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58404         [BZ #11741]
58405         * libio/fileops.c (_IO_new_file_write): Correctly return error.
58406         (_IO_new_file_xsputn): Also return EOF if none of the input
58407         data was written when overflow failed.
58408         * libio/iopadn.c (_IO_padn): Likewise.
58409         * libio/iowpadn.c (_IO_wpadn): Likewise.
58410         * stdio-common/tst-put-error.c: Add copyright notice.
58411         (do_test): Add case for printing padded string.
58412         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
58413         _IO_padn returned error.
58414         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
58415         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
58416         return EOF.
58418 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58420         * libio/libioP.h: Add comment note that the references to C++
58421         bits are now obsolete.
58423 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58425         * math/libm-test.inc (check_complex): Use asprintf.
58427 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
58429         * debug/pcprofiledump.c (print_version): Update copyright year.
58430         * malloc/memusagestat.c (print_version): Likewise.
58432 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
58434         [BZ #14831]
58435         * elf/Makefile (tests): Add tst-audit8.
58436         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
58437         ($(objpfx)tst-audit8.out): New target.
58438         (tst-audit8-ENV): New variable.
58439         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
58440         audit if l_reloc_result is NULL.
58441         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
58442         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
58443         * elf/tst-audit8.c: New file.
58445 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58447         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
58448         * misc/Makefile (CFLAGS-select.c): Define.
58449         * posix/Makefile (CFLAGS-pause.c): Define.
58451 2012-11-13  David S. Miller  <davem@davemloft.net>
58453         * crypt/Makefile: Move test targets after toplevel Rules
58454         inclusion.  Grab any necessary sysdep routines when linking.
58455         * crypt/md5.c (md5_process_block): Remove define, we will always
58456         name it __md5_process_block.
58457         (md5_finish_ctx): Update md5_process_block call.
58458         (md5_stream): Likewise.
58459         (md5_process_bytes): Likewise.
58460         (md5_process_block): Rename to __md5_process_block and move to ...
58461         * crypt/md5-block.c: ... here.
58462         * crypt/sha256.c (sha256_process_block): Move to ...
58463         * crypt/sha256-block.c: ... here.
58464         * crypt/sha512.c (sha512_process_block): Move to ...
58465         * crypt/sha512-block.c: ... here.
58466         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
58467         path.
58468         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
58469         * sysdeps/sparc/sparc64/multiarch/Makefile
58470         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
58471         crypt subdir.
58472         (localedef-aux): Add md5 crypto assembler when in locale subdir.
58473         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
58474         multiarch changes.
58475         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
58476         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
58477         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
58478         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
58479         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
58480         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
58481         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
58482         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
58483         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
58484         file.
58485         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
58486         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
58487         file.
58488         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
58490 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
58492         * timezone/tzselect.ksh: Update from tzcode git revision
58493         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
58494         * timezone/zdump.c: Likewise.
58495         * timezone/zic.c: Likewise.
58496         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
58497         in TZVERSION setting, not $(PKGVERSION).
58498         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
58499         REPORT_BUGS_TO settings.
58501         [BZ #14838]
58502         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
58503         macro.
58505 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58507         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
58508         detection to immediately after _FP_ROUND().
58509         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
58510         bits are 0.
58512 2012-11-11  David S. Miller  <davem@davemloft.net>
58514         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
58515         inttypes.h
58516         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
58517         __close rather than their public counterparts.
58519 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
58521         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
58522         file.
58523         [UNIX98] (sem_timedwait): Do not expect.
58524         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
58525         [XPG4 || UNIX98] (sockatmark): Do not expect.
58526         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
58527         (clock_getcpuclockid): Do not expect.
58528         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
58529         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
58530         Do not expect.
58531         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
58532         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
58533         [UNIX98] (vwscanf): Likewise.
58534         [UNIX98] (vswscanf): Likewise.
58536 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
58538         * timezone/version.h: Remove file.
58539         * timezone/README: Do not refer to version.h.
58540         * timezone/Makefile ($(objpfx)zic.o): New dependency on
58541         $(objpfx)version.h.
58542         ($(objpfx)zdump.o): Likewise.
58543         ($(objpfx)version.h): New target.
58545         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
58546         2012i.
58547         * timezone/README: Don't mention modification to tzselect.ksh.
58548         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
58549         work on unmodified tzselect.ksh.  Substitute version numbers in
58550         tzselect.ksh.
58552         * Makefile (format-me): Remove.
58553         (INSTALL): Adjust indentation.  Use commands directly instead of
58554         using $(format-me).
58556         * aclocal.m4 (ACX_PKGVERSION): New macro.
58557         (ACX_BUGURL): Likewise.
58558         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
58559         (PKGVERSION): New AC_DEFINE_UNQUOTED.
58560         (REPORT_BUGS_TO): Likewise.
58561         * configure: Regenerated.
58562         * config.h.in (PKGVERSION): New macro.
58563         (REPORT_BUGS_TO): Likewise.
58564         * config.make.in (PKGVERSION): New variable.
58565         (PKGVERSION_TEXI): Likewise.
58566         (REPORT_BUGS_TO): Likewise.
58567         (REPORT_BUGS_TEXI): Likewise.
58568         * Makefile (format-me): Use -I$(common-objpfx)manual.
58569         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
58570         ($(common-objpfx)manual/%): New target.
58571         (manual/%): Remove target.
58572         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
58573         (print_version): Use PKGVERSION.
58574         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
58575         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
58576         and REPORT_BUGS_TO.
58577         ($(objpfx)xtrace): Likewise.
58578         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
58579         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
58580         (print_version): Use PKGVERSION.
58581         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
58582         (do_version): Use PKGVERSION.
58583         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
58584         REPORT_BUGS_TO.
58585         (common-ldd-rewrite): Likewise.
58586         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
58587         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
58588         (print_version): Use PKGVERSION.
58589         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
58590         * elf/pldd.c (argp_program_bug_address): Remove variable.
58591         (more_help): New function.
58592         (argp): Use more_help.
58593         (print_version): Use PKGVERSION.
58594         * elf/sln.c (main): Use PKGVERSION.
58595         (usage): Use REPORT_BUGS_TO.
58596         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
58597         (top level): Use PKGVERSION.
58598         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
58599         (print_version): Use PKGVERSION.
58600         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
58601         (print_version): Use PKGVERSION.
58602         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
58603         (print_version): Use PKGVERSION.
58604         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
58605         (print_version): Use PKGVERSION.
58606         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
58607         (print_version): Use PKGVERSION.
58608         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
58609         (print_version): Use PKGVERSION.
58610         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
58611         and BUGURL.
58612         ($(objpfx)memusage): Likewise.
58613         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
58614         (do_version): Use PKGVERSION.
58615         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
58616         (print_version): Use PKGVERSION.
58617         * malloc/mtrace.pl ($PACKAGE): Remove variable.
58618         ($PKGVERSION): New variable.
58619         ($REPORT_BUGS_TO): Likewise.
58620         (usage): Use $REPORT_BUGS_TO.
58621         (top level): Use $PKGVERSION.
58622         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
58623         ($(objpfx)pkgvers.texi): New rule.
58624         ($(objpfx)stamp-pkgvers): Likewise.
58625         * manual/install.texi: Include pkgvers.texi.
58626         (--with-pkgversion): Document new configure option.
58627         (--with-bugurl): Likewise.
58628         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
58629         than necessarily for this particular distribution.  Use
58630         REPORT_BUGS_TO for where to report bugs.
58631         * INSTALL: Regenerated.
58632         * manual/libc.texinfo: Include pkgvers.texi.
58633         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
58634         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
58635         (print_version): Use PKGVERSION.
58636         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
58637         (print_version): Use PKGVERSION.
58638         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
58639         (print_version): Use PKGVERSION.
58640         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
58641         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
58642         macro.
58643         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
58644         (print_version): Use PKGVERSION.
58645         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
58646         (print_version): Use PKGVERSION.
58647         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
58648         and PKGVERSION.
58650         * timezone/checktab.awk: Update from tzcode 2012i.
58651         * timezone/ialloc.c: Likewise.
58652         * timezone/private.h: Likewise.
58653         * timezone/scheck.c: Likewise.
58654         * timezone/tzfile.h: Likewise.
58655         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
58656         (TZVERSION): Hardcode tzcode version number.
58657         * timezone/zdump.c: Update from tzcode 2012i.
58658         * timezone/zic.c: Likewise.
58659         * timezone/version.h: New file.
58660         * timezone/README: Describe version.h.  Update upstream location.
58662         [BZ #14824]
58663         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
58664         (mktemp): Enable declaration.
58665         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
58666         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
58667         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
58668         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
58669         Likewise.
58670         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
58671         Likewise.
58672         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
58673         Likewise.
58674         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
58675         Likewise.
58676         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
58677         Likewise.
58678         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
58679         Likewise.
58681         [BZ #14821]
58682         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
58683         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
58684         for copies of such integer values.
58685         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58686         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58688 2012-11-09  Andreas Jaeger  <aj@suse.de>
58690         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
58691         definitions and declarations that are provided by
58692         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58694 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58696         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
58697         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
58698         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
58699         definition.
58701 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58703         * elf/elf.h: Update comment before AArch64 relocations.
58705 2012-11-07  David S. Miller  <davem@davemloft.net>
58707         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
58708         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58709         (__start_context): Declare.
58710         (__makecontext_ret): Delete.
58711         (__makecontext): Hook up __start_context instead of
58712         __makecontext_ret.
58713         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
58714         (sysdep_routines): Add __start_context when in stdlib.
58716 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58718         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
58719         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
58720         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
58721         hardcoded "nm".
58722         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
58723         (READELF): New variable.  Use it instead of hardcoded "readelf".
58725 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58727         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
58728         * sysdeps/x86/Makefile: Here.
58729         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
58730         * sysdeps/x86/tst-xmmymm.sh: This.
58732 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58734         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
58735         expectations.
58736         [UNIX98] (pthread_barrier_t): Do not expect.
58737         [UNIX98] (pthread_barrierattr_t): Likewise.
58738         [UNIX98] (pthread_spinlock_t): Likewise.
58739         [UNIX98] (pthread_barrier_destroy): Likewise.
58740         [UNIX98] (pthread_barrier_init): Likewise.
58741         [UNIX98] (pthread_barrier_wait): Likewise.
58742         [UNIX98] (pthread_barrierattr_destroy): Likewise.
58743         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
58744         [UNIX98] (pthread_barrierattr_init): Likewise.
58745         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
58746         [UNIX98] (pthread_getcpuclockid): Likewise.
58747         [UNIX98] (pthread_mutex_timedlock): Likewise.
58748         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
58749         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
58750         [UNIX98] (pthread_sigmask): Likewise.
58751         [UNIX98] (pthread_spin_destroy): Likewise.
58752         [UNIX98] (pthread_spin_init): Likewise.
58753         [UNIX98] (pthread_spin_lock): Likewise.
58754         [UNIX98] (pthread_spin_trylock): Likewise.
58755         [UNIX98] (pthread_spin_unlock): Likewise.
58756         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
58757         Do not expect.
58758         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
58759         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
58760         [XPG3 || XPG4] (pthread_cond_t): Likewise.
58761         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
58762         [XPG3 || XPG4] (pthread_key_t): Likewise.
58763         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
58764         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
58765         [XPG3 || XPG4] (pthread_once_t): Likewise.
58766         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
58767         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
58768         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
58769         [XPG3 || XPG4] (pthread_t): Likewise.
58771         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
58772         not expect.
58773         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
58775         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
58776         Change function return type to int.
58778         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
58779         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
58780         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
58781         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
58782         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
58783         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
58784         [!POSIX] (posix_madvise): Likewise.
58785         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
58786         && !UNIX98].
58787         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
58788         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
58789         (mode_t): Likewise.
58790         (posix_mem_offset): Likewise.
58791         (posix_typed_mem_get_info): Likewise.
58792         (posix_typed_mem_open): Likewise.
58794         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
58795         Change condition to [XOPEN2K8].
58797         * conform/conformtest.pl: Preprocess allow-header data with -x c
58798         instead of from stdin.
58799         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
58800         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
58801         [C99-based standards] (cerfc): Likewise.
58802         [C99-based standards] (cexp2): Likewise.
58803         [C99-based standards] (cexpm1): Likewise.
58804         [C99-based standards] (clog10): Likewise.
58805         [C99-based standards] (clog1p): Likewise.
58806         [C99-based standards] (clog2): Likewise.
58807         [C99-based standards] (clgamma): Likewise.
58808         [C99-based standards] (ctgamma): Likewise.
58809         [C99-based standards] (cerff): Likewise.
58810         [C99-based standards] (cerfcf): Likewise.
58811         [C99-based standards] (cexp2f): Likewise.
58812         [C99-based standards] (cexpm1f): Likewise.
58813         [C99-based standards] (clog10f): Likewise.
58814         [C99-based standards] (clog1pf): Likewise.
58815         [C99-based standards] (clog2f): Likewise.
58816         [C99-based standards] (clgammaf): Likewise.
58817         [C99-based standards] (ctgammaf): Likewise.
58818         [C99-based standards] (cerfl): Likewise.
58819         [C99-based standards] (cerfcl): Likewise.
58820         [C99-based standards] (cexp2l): Likewise.
58821         [C99-based standards] (cexpm1l): Likewise.
58822         [C99-based standards] (clog10l): Likewise.
58823         [C99-based standards] (clog1pl): Likewise.
58824         [C99-based standards] (clog2l): Likewise.
58825         [C99-based standards] (clgammal): Likewise.
58826         [C99-based standards] (ctgammal): Likewise.
58827         * conform/data/inttypes.h-data [C99-based standards]: Include
58828         stdint.h-data.  Remove all expectations for stdint.h contents.
58829         [C99-based standards] (PRI*): Do not allow.
58830         [C99-based standards] (SCN*): Likewise.
58831         [C99-based standards] (*_t): Likewise.
58832         [C99-based-standards] (PRId8): Expect macro.
58833         [C99-based-standards] (PRIi8): Likewise.
58834         [C99-based-standards] (PRIo8): Likewise.
58835         [C99-based-standards] (PRIu8): Likewise.
58836         [C99-based-standards] (PRIx8): Likewise.
58837         [C99-based-standards] (PRIX8): Likewise.
58838         [C99-based-standards] (SCNd8): Likewise.
58839         [C99-based-standards] (SCNi8): Likewise.
58840         [C99-based-standards] (SCNo8): Likewise.
58841         [C99-based-standards] (SCNu8): Likewise.
58842         [C99-based-standards] (SCNx8): Likewise.
58843         [C99-based-standards] (PRIdLEAST8): Likewise.
58844         [C99-based-standards] (PRIiLEAST8): Likewise.
58845         [C99-based-standards] (PRIoLEAST8): Likewise.
58846         [C99-based-standards] (PRIuLEAST8): Likewise.
58847         [C99-based-standards] (PRIxLEAST8): Likewise.
58848         [C99-based-standards] (PRIXLEAST8): Likewise.
58849         [C99-based-standards] (SCNdLEAST8): Likewise.
58850         [C99-based-standards] (SCNiLEAST8): Likewise.
58851         [C99-based-standards] (SCNoLEAST8): Likewise.
58852         [C99-based-standards] (SCNuLEAST8): Likewise.
58853         [C99-based-standards] (SCNxLEAST8): Likewise.
58854         [C99-based-standards] (PRIdFAST8): Likewise.
58855         [C99-based-standards] (PRIiFAST8): Likewise.
58856         [C99-based-standards] (PRIoFAST8): Likewise.
58857         [C99-based-standards] (PRIuFAST8): Likewise.
58858         [C99-based-standards] (PRIxFAST8): Likewise.
58859         [C99-based-standards] (PRIXFAST8): Likewise.
58860         [C99-based-standards] (SCNdFAST8): Likewise.
58861         [C99-based-standards] (SCNiFAST8): Likewise.
58862         [C99-based-standards] (SCNoFAST8): Likewise.
58863         [C99-based-standards] (SCNuFAST8): Likewise.
58864         [C99-based-standards] (SCNxFAST8): Likewise.
58865         [C99-based-standards] (PRId16): Likewise.
58866         [C99-based-standards] (PRIi16): Likewise.
58867         [C99-based-standards] (PRIo16): Likewise.
58868         [C99-based-standards] (PRIu16): Likewise.
58869         [C99-based-standards] (PRIx16): Likewise.
58870         [C99-based-standards] (PRIX16): Likewise.
58871         [C99-based-standards] (SCNd16): Likewise.
58872         [C99-based-standards] (SCNi16): Likewise.
58873         [C99-based-standards] (SCNo16): Likewise.
58874         [C99-based-standards] (SCNu16): Likewise.
58875         [C99-based-standards] (SCNx16): Likewise.
58876         [C99-based-standards] (PRIdLEAST16): Likewise.
58877         [C99-based-standards] (PRIiLEAST16): Likewise.
58878         [C99-based-standards] (PRIoLEAST16): Likewise.
58879         [C99-based-standards] (PRIuLEAST16): Likewise.
58880         [C99-based-standards] (PRIxLEAST16): Likewise.
58881         [C99-based-standards] (PRIXLEAST16): Likewise.
58882         [C99-based-standards] (SCNdLEAST16): Likewise.
58883         [C99-based-standards] (SCNiLEAST16): Likewise.
58884         [C99-based-standards] (SCNoLEAST16): Likewise.
58885         [C99-based-standards] (SCNuLEAST16): Likewise.
58886         [C99-based-standards] (SCNxLEAST16): Likewise.
58887         [C99-based-standards] (PRIdFAST16): Likewise.
58888         [C99-based-standards] (PRIiFAST16): Likewise.
58889         [C99-based-standards] (PRIoFAST16): Likewise.
58890         [C99-based-standards] (PRIuFAST16): Likewise.
58891         [C99-based-standards] (PRIxFAST16): Likewise.
58892         [C99-based-standards] (PRIXFAST16): Likewise.
58893         [C99-based-standards] (SCNdFAST16): Likewise.
58894         [C99-based-standards] (SCNiFAST16): Likewise.
58895         [C99-based-standards] (SCNoFAST16): Likewise.
58896         [C99-based-standards] (SCNuFAST16): Likewise.
58897         [C99-based-standards] (SCNxFAST16): Likewise.
58898         [C99-based-standards] (PRId32): Likewise.
58899         [C99-based-standards] (PRIi32): Likewise.
58900         [C99-based-standards] (PRIo32): Likewise.
58901         [C99-based-standards] (PRIu32): Likewise.
58902         [C99-based-standards] (PRIx32): Likewise.
58903         [C99-based-standards] (PRIX32): Likewise.
58904         [C99-based-standards] (SCNd32): Likewise.
58905         [C99-based-standards] (SCNi32): Likewise.
58906         [C99-based-standards] (SCNo32): Likewise.
58907         [C99-based-standards] (SCNu32): Likewise.
58908         [C99-based-standards] (SCNx32): Likewise.
58909         [C99-based-standards] (PRIdLEAST32): Likewise.
58910         [C99-based-standards] (PRIiLEAST32): Likewise.
58911         [C99-based-standards] (PRIoLEAST32): Likewise.
58912         [C99-based-standards] (PRIuLEAST32): Likewise.
58913         [C99-based-standards] (PRIxLEAST32): Likewise.
58914         [C99-based-standards] (PRIXLEAST32): Likewise.
58915         [C99-based-standards] (SCNdLEAST32): Likewise.
58916         [C99-based-standards] (SCNiLEAST32): Likewise.
58917         [C99-based-standards] (SCNoLEAST32): Likewise.
58918         [C99-based-standards] (SCNuLEAST32): Likewise.
58919         [C99-based-standards] (SCNxLEAST32): Likewise.
58920         [C99-based-standards] (PRIdFAST32): Likewise.
58921         [C99-based-standards] (PRIiFAST32): Likewise.
58922         [C99-based-standards] (PRIoFAST32): Likewise.
58923         [C99-based-standards] (PRIuFAST32): Likewise.
58924         [C99-based-standards] (PRIxFAST32): Likewise.
58925         [C99-based-standards] (PRIXFAST32): Likewise.
58926         [C99-based-standards] (SCNdFAST32): Likewise.
58927         [C99-based-standards] (SCNiFAST32): Likewise.
58928         [C99-based-standards] (SCNoFAST32): Likewise.
58929         [C99-based-standards] (SCNuFAST32): Likewise.
58930         [C99-based-standards] (SCNxFAST32): Likewise.
58931         [C99-based-standards] (PRId64): Likewise.
58932         [C99-based-standards] (PRIi64): Likewise.
58933         [C99-based-standards] (PRIo64): Likewise.
58934         [C99-based-standards] (PRIu64): Likewise.
58935         [C99-based-standards] (PRIx64): Likewise.
58936         [C99-based-standards] (PRIX64): Likewise.
58937         [C99-based-standards] (SCNd64): Likewise.
58938         [C99-based-standards] (SCNi64): Likewise.
58939         [C99-based-standards] (SCNo64): Likewise.
58940         [C99-based-standards] (SCNu64): Likewise.
58941         [C99-based-standards] (SCNx64): Likewise.
58942         [C99-based-standards] (PRIdLEAST64): Likewise.
58943         [C99-based-standards] (PRIiLEAST64): Likewise.
58944         [C99-based-standards] (PRIoLEAST64): Likewise.
58945         [C99-based-standards] (PRIuLEAST64): Likewise.
58946         [C99-based-standards] (PRIxLEAST64): Likewise.
58947         [C99-based-standards] (PRIXLEAST64): Likewise.
58948         [C99-based-standards] (SCNdLEAST64): Likewise.
58949         [C99-based-standards] (SCNiLEAST64): Likewise.
58950         [C99-based-standards] (SCNoLEAST64): Likewise.
58951         [C99-based-standards] (SCNuLEAST64): Likewise.
58952         [C99-based-standards] (SCNxLEAST64): Likewise.
58953         [C99-based-standards] (PRIdFAST64): Likewise.
58954         [C99-based-standards] (PRIiFAST64): Likewise.
58955         [C99-based-standards] (PRIoFAST64): Likewise.
58956         [C99-based-standards] (PRIuFAST64): Likewise.
58957         [C99-based-standards] (PRIxFAST64): Likewise.
58958         [C99-based-standards] (PRIXFAST64): Likewise.
58959         [C99-based-standards] (SCNdFAST64): Likewise.
58960         [C99-based-standards] (SCNiFAST64): Likewise.
58961         [C99-based-standards] (SCNoFAST64): Likewise.
58962         [C99-based-standards] (SCNuFAST64): Likewise.
58963         [C99-based-standards] (SCNxFAST64): Likewise.
58964         [C99-based-standards] (PRIdMAX): Likewise.
58965         [C99-based-standards] (PRIiMAX): Likewise.
58966         [C99-based-standards] (PRIoMAX): Likewise.
58967         [C99-based-standards] (PRIuMAX): Likewise.
58968         [C99-based-standards] (PRIxMAX): Likewise.
58969         [C99-based-standards] (PRIXMAX): Likewise.
58970         [C99-based-standards] (SCNdMAX): Likewise.
58971         [C99-based-standards] (SCNiMAX): Likewise.
58972         [C99-based-standards] (SCNoMAX): Likewise.
58973         [C99-based-standards] (SCNuMAX): Likewise.
58974         [C99-based-standards] (SCNxMAX): Likewise.
58975         [C99-based-standards] (PRIdPTR): Likewise.
58976         [C99-based-standards] (PRIiPTR): Likewise.
58977         [C99-based-standards] (PRIoPTR): Likewise.
58978         [C99-based-standards] (PRIuPTR): Likewise.
58979         [C99-based-standards] (PRIxPTR): Likewise.
58980         [C99-based-standards] (PRIXPTR): Likewise.
58981         [C99-based-standards] (SCNdPTR): Likewise.
58982         [C99-based-standards] (SCNiPTR): Likewise.
58983         [C99-based-standards] (SCNoPTR): Likewise.
58984         [C99-based-standards] (SCNuPTR): Likewise.
58985         [C99-based-standards] (SCNxPTR): Likewise.
58986         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
58987         allow.
58988         * conform/data/stdint.h-data: Update comments to clarify
58989         requirements.
58990         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
58991         type.
58992         [C99-based standards] (INT8_MAX): Likewise.
58993         [C99-based standards] (INT16_MIN): Likewise.
58994         [C99-based standards] (INT16_MAX): Likewise.
58995         [C99-based standards] (INT32_MIN): Likewise.
58996         [C99-based standards] (INT32_MAX): Likewise.
58997         [C99-based standards] (INT64_MIN): Likewise.
58998         [C99-based standards] (INT64_MAX): Likewise.
58999         [C99-based standards] (UINT8_MAX): Likewise.
59000         [C99-based standards] (UINT16_MAX): Likewise.
59001         [C99-based standards] (UINT32_MAX): Likewise.
59002         [C99-based standards] (UINT64_MAX): Likewise.
59003         [C99-based standards] (INT_LEAST8_MIN): Likewise.
59004         [C99-based standards] (INT_LEAST8_MAX): Likewise.
59005         [C99-based standards] (INT_LEAST16_MIN): Likewise.
59006         [C99-based standards] (INT_LEAST16_MAX): Likewise.
59007         [C99-based standards] (INT_LEAST32_MIN): Likewise.
59008         [C99-based standards] (INT_LEAST32_MAX): Likewise.
59009         [C99-based standards] (INT_LEAST64_MIN): Likewise.
59010         [C99-based standards] (INT_LEAST64_MAX): Likewise.
59011         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
59012         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
59013         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
59014         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
59015         [C99-based standards] (INT_FAST8_MIN): Likewise.
59016         [C99-based standards] (INT_FAST8_MAX): Likewise.
59017         [C99-based standards] (INT_FAST16_MIN): Likewise.
59018         [C99-based standards] (INT_FAST16_MAX): Likewise.
59019         [C99-based standards] (INT_FAST32_MIN): Likewise.
59020         [C99-based standards] (INT_FAST32_MAX): Likewise.
59021         [C99-based standards] (INT_FAST64_MIN): Likewise.
59022         [C99-based standards] (INT_FAST64_MAX): Likewise.
59023         [C99-based standards] (UINT_FAST8_MAX): Likewise.
59024         [C99-based standards] (UINT_FAST16_MAX): Likewise.
59025         [C99-based standards] (UINT_FAST32_MAX): Likewise.
59026         [C99-based standards] (UINT_FAST64_MAX): Likewise.
59027         [C99-based standards] (INTPTR_MIN): Likewise.
59028         [C99-based standards] (INTPTR_MAX): Likewise.
59029         [C99-based standards] (UINTPTR_MAX): Likewise.
59030         [C99-based standards] (INTMAX_MIN): Likewise.
59031         [C99-based standards] (INTMAX_MAX): Likewise.
59032         [C99-based standards] (UINTMAX_MAX): Likewise.
59033         [C99-based standards] (PTRDIFF_MIN): Likewise.
59034         [C99-based standards] (PTRDIFF_MAX): Likewise.
59035         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
59036         [C99-based standards] (SIZE_MAX): Likewise.
59037         [C99-based standards] (WCHAR_MAX): Likewise.
59038         [C99-based standards] (WINT_MAX): Likewise.
59039         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
59040         constraint on value.
59041         [C99-based standards] (WCHAR_MIN): Likewise.
59042         [C99-based standards] (WINT_MIN): Likewise.
59043         [C99-based standards] (*_t): Allow.
59044         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
59045         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
59046         Include math.h-data and complex.h-data.  Remove all expectations
59047         of math.h and complex.h contents.
59048         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
59049         at end of line.
59050         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
59051         (struct tm): Expect tag.
59052         [C99-based-standards] (wcstof): Expect function.
59053         [C99-based-standards] (wcstold): Likewise.
59054         [C99-based-standards] (wcstoll): Likewise.
59055         [C99-based-standards] (wcstoull): Likewise.
59056         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
59057         macro-int-constant.  Specify type.
59058         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
59059         constraint on value.
59060         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59061         Specify type.
59062         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
59063         Specify value.
59064         [ISO C standards]: Do not allow headers.
59065         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
59066         wcs[abcdefghijklmnopqrstuvwxyz]*.
59067         [ISO C standards] (*_t): Do not allow.
59068         * conform/data/wctype.h-data [C99-based standards] (iswblank):
59069         Expect function.
59070         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
59071         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59072         Specify type.
59073         [ISO C standards]: Do not allow headers.
59074         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
59075         is[abcdefghijklmnopqrstuvwxyz]*.
59076         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
59077         to[abcdefghijklmnopqrstuvwxyz]*.
59078         [ISO C standards] (*_t): Do not allow.
59079         * conform/data/stdalign.h-data: New file.
59080         * conform/data/stdbool.h-data: Likewise.
59081         * conform/data/stdnoreturn.h-data: Likewise.
59083 2012-11-07  Roland McGrath  <roland@hack.frob.com>
59085         [BZ #14815]
59086         * manual/filesys.texi (Directory Entries): Typo fix.
59087         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
59089 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59091         * elf/elf.h (EM_AARCH64): New macro.
59092         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
59093         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
59094         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
59095         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
59096         (R_AARCH64_TLSDESC): Likewise.
59097         (NT_ARM_TLS): Likewise.
59098         (NT_ARM_HW_BREAK): Likewise.
59099         (NT_ARM_HW_WATCH): Likewise.
59101 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59103         [BZ #14811]
59104         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
59105         (__ieee754_powl): Saturate nonzero exponents with absolute value
59106         below 0x1p-79 to +/- 0x1p-79.
59107         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
59108         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
59109         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
59110         nonzero exponents with absolute value below 0x1p-32 to +/-
59111         0x1p-32.
59112         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
59113         (__ieee754_powl): Saturate nonzero exponents with absolute value
59114         below 0x1p-79 to +/- 0x1p-79.
59115         * math/libm-test.inc (pow_test): Add more tests.
59117 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59119         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
59120         _dl_s390_cap_flags with kernel. Increase string length.
59121         (_dl_s390_platforms): Add z196 and zEC12.
59123 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59125         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
59126         Change XOPEN21K to XOPEN2K.
59128 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
59130         * string/memmove.c: Use memcpy when possible.
59132 2012-11-06  Andreas Jaeger  <aj@suse.de>
59134         * po/eo.po: Update from translation team.
59136 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
59138         [BZ #14793]
59139         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
59140         exponent and small x and y exponents, scale x or y up.  Increase
59141         by 2 the exponent used in scaling up.
59142         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59143         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59144         * math/libm-test.inc (fma_test): Add more tests.
59145         (fma_test_towardzero): Likewise.
59146         (fma_test_downward): Likewise.
59147         (fma_test_upward): Likewise.
59149 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
59151         [BZ #14805]
59152         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
59153         fenv_t *.
59155         [BZ #14801]
59156         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
59157         namespace for names of struct fields.
59158         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
59159         fenv_t fields.
59160         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
59161         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
59163 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59165         [BZ #3665]
59166         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
59168 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59170         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
59171         PTR_DEMANGLE.
59173         [BZ #5246]
59174         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
59175         PTR_DEMANGLE.
59177 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
59179         [BZ #14797]
59180         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
59181         definitely overflow as x * y not x * y + z.
59182         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59183         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59184         * math/libm-test.inc (fma_test): Add more tests.
59185         (fma_test_towardzero): Likewise.
59186         (fma_test_downward): Likewise.
59187         (fma_test_upward): Likewise.
59189 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59191         [BZ #157]
59193         * include/stub-tag.h: Remove file.
59194         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
59195         '#include' of it.
59196         * manual/maint.texi (Porting): Don't reference it.
59197         * Makerules ($(objpfx)stubs): Likewise.
59198         * dirent/closedir.c: Don't include <stub-tag.h>.
59199         * dirent/dirfd.c: Likewise.
59200         * dirent/fdopendir.c: Likewise.
59201         * dirent/getdents.c: Likewise.
59202         * dirent/getdents64.c: Likewise.
59203         * dirent/opendir.c: Likewise.
59204         * dirent/readdir.c: Likewise.
59205         * dirent/readdir64.c: Likewise.
59206         * dirent/readdir64_r.c: Likewise.
59207         * dirent/readdir_r.c: Likewise.
59208         * dirent/rewinddir.c: Likewise.
59209         * dirent/seekdir.c: Likewise.
59210         * dirent/telldir.c: Likewise.
59211         * gmon/profil.c: Likewise.
59212         * grp/setgroups.c: Likewise.
59213         * inet/if_index.c: Likewise.
59214         * io/access.c: Likewise.
59215         * io/chdir.c: Likewise.
59216         * io/chmod.c: Likewise.
59217         * io/chown.c: Likewise.
59218         * io/close.c: Likewise.
59219         * io/dup.c: Likewise.
59220         * io/dup2.c: Likewise.
59221         * io/dup3.c: Likewise.
59222         * io/euidaccess.c: Likewise.
59223         * io/faccessat.c: Likewise.
59224         * io/fchdir.c: Likewise.
59225         * io/fchmod.c: Likewise.
59226         * io/fchmodat.c: Likewise.
59227         * io/fchown.c: Likewise.
59228         * io/fchownat.c: Likewise.
59229         * io/fcntl.c: Likewise.
59230         * io/flock.c: Likewise.
59231         * io/fstatfs.c: Likewise.
59232         * io/fstatfs64.c: Likewise.
59233         * io/fstatvfs.c: Likewise.
59234         * io/fstatvfs64.c: Likewise.
59235         * io/futimens.c: Likewise.
59236         * io/fxstat.c: Likewise.
59237         * io/fxstat64.c: Likewise.
59238         * io/fxstatat.c: Likewise.
59239         * io/fxstatat64.c: Likewise.
59240         * io/getcwd.c: Likewise.
59241         * io/isatty.c: Likewise.
59242         * io/lchmod.c: Likewise.
59243         * io/lchown.c: Likewise.
59244         * io/link.c: Likewise.
59245         * io/linkat.c: Likewise.
59246         * io/lseek.c: Likewise.
59247         * io/lseek64.c: Likewise.
59248         * io/lxstat64.c: Likewise.
59249         * io/mkdir.c: Likewise.
59250         * io/mkdirat.c: Likewise.
59251         * io/mkfifo.c: Likewise.
59252         * io/mkfifoat.c: Likewise.
59253         * io/open.c: Likewise.
59254         * io/open64.c: Likewise.
59255         * io/openat.c: Likewise.
59256         * io/openat64.c: Likewise.
59257         * io/pipe.c: Likewise.
59258         * io/pipe2.c: Likewise.
59259         * io/poll.c: Likewise.
59260         * io/posix_fadvise.c: Likewise.
59261         * io/posix_fadvise64.c: Likewise.
59262         * io/posix_fallocate.c: Likewise.
59263         * io/posix_fallocate64.c: Likewise.
59264         * io/read.c: Likewise.
59265         * io/readlink.c: Likewise.
59266         * io/readlinkat.c: Likewise.
59267         * io/rmdir.c: Likewise.
59268         * io/sendfile.c: Likewise.
59269         * io/sendfile64.c: Likewise.
59270         * io/statfs.c: Likewise.
59271         * io/statfs64.c: Likewise.
59272         * io/statvfs.c: Likewise.
59273         * io/statvfs64.c: Likewise.
59274         * io/symlink.c: Likewise.
59275         * io/symlinkat.c: Likewise.
59276         * io/ttyname.c: Likewise.
59277         * io/ttyname_r.c: Likewise.
59278         * io/umask.c: Likewise.
59279         * io/unlink.c: Likewise.
59280         * io/unlinkat.c: Likewise.
59281         * io/utime.c: Likewise.
59282         * io/utimensat.c: Likewise.
59283         * io/write.c: Likewise.
59284         * io/xmknod.c: Likewise.
59285         * io/xmknodat.c: Likewise.
59286         * io/xstat.c: Likewise.
59287         * io/xstat64.c: Likewise.
59288         * login/getpt.c: Likewise.
59289         * login/grantpt.c: Likewise.
59290         * login/unlockpt.c: Likewise.
59291         * math/e_acoshl.c: Likewise.
59292         * math/e_acosl.c: Likewise.
59293         * math/e_asinl.c: Likewise.
59294         * math/e_atan2l.c: Likewise.
59295         * math/e_atanhl.c: Likewise.
59296         * math/e_coshl.c: Likewise.
59297         * math/e_expl.c: Likewise.
59298         * math/e_fmodl.c: Likewise.
59299         * math/e_gammal_r.c: Likewise.
59300         * math/e_hypotl.c: Likewise.
59301         * math/e_j0l.c: Likewise.
59302         * math/e_j1l.c: Likewise.
59303         * math/e_jnl.c: Likewise.
59304         * math/e_lgammal_r.c: Likewise.
59305         * math/e_log10l.c: Likewise.
59306         * math/e_log2l.c: Likewise.
59307         * math/e_logl.c: Likewise.
59308         * math/e_powl.c: Likewise.
59309         * math/e_rem_pio2l.c: Likewise.
59310         * math/e_sinhl.c: Likewise.
59311         * math/e_sqrtl.c: Likewise.
59312         * math/fclrexcpt.c: Likewise.
59313         * math/fedisblxcpt.c: Likewise.
59314         * math/feenablxcpt.c: Likewise.
59315         * math/fegetenv.c: Likewise.
59316         * math/fegetexcept.c: Likewise.
59317         * math/fegetround.c: Likewise.
59318         * math/feholdexcpt.c: Likewise.
59319         * math/fesetenv.c: Likewise.
59320         * math/fesetround.c: Likewise.
59321         * math/feupdateenv.c: Likewise.
59322         * math/fgetexcptflg.c: Likewise.
59323         * math/fraiseexcpt.c: Likewise.
59324         * math/fsetexcptflg.c: Likewise.
59325         * math/ftestexcept.c: Likewise.
59326         * math/k_cosl.c: Likewise.
59327         * math/k_rem_pio2l.c: Likewise.
59328         * math/k_sinl.c: Likewise.
59329         * math/k_tanl.c: Likewise.
59330         * math/s_asinhl.c: Likewise.
59331         * math/s_atanl.c: Likewise.
59332         * math/s_cbrtl.c: Likewise.
59333         * math/s_erfl.c: Likewise.
59334         * math/s_expm1l.c: Likewise.
59335         * math/s_log1pl.c: Likewise.
59336         * math/s_tanhl.c: Likewise.
59337         * misc/acct.c: Likewise.
59338         * misc/brk.c: Likewise.
59339         * misc/chflags.c: Likewise.
59340         * misc/chroot.c: Likewise.
59341         * misc/fchflags.c: Likewise.
59342         * misc/fgetxattr.c: Likewise.
59343         * misc/flistxattr.c: Likewise.
59344         * misc/fremovexattr.c: Likewise.
59345         * misc/fsetxattr.c: Likewise.
59346         * misc/fsync.c: Likewise.
59347         * misc/ftruncate.c: Likewise.
59348         * misc/futimes.c: Likewise.
59349         * misc/futimesat.c: Likewise.
59350         * misc/getdomain.c: Likewise.
59351         * misc/getdtsz.c: Likewise.
59352         * misc/gethostid.c: Likewise.
59353         * misc/gethostname.c: Likewise.
59354         * misc/getloadavg.c: Likewise.
59355         * misc/getpagesize.c: Likewise.
59356         * misc/getsysstats.c: Likewise.
59357         * misc/getxattr.c: Likewise.
59358         * misc/gtty.c: Likewise.
59359         * misc/ioctl.c: Likewise.
59360         * misc/lgetxattr.c: Likewise.
59361         * misc/listxattr.c: Likewise.
59362         * misc/llistxattr.c: Likewise.
59363         * misc/lremovexattr.c: Likewise.
59364         * misc/lsetxattr.c: Likewise.
59365         * misc/lutimes.c: Likewise.
59366         * misc/madvise.c: Likewise.
59367         * misc/mincore.c: Likewise.
59368         * misc/mlock.c: Likewise.
59369         * misc/mlockall.c: Likewise.
59370         * misc/mmap.c: Likewise.
59371         * misc/mprotect.c: Likewise.
59372         * misc/msync.c: Likewise.
59373         * misc/munlock.c: Likewise.
59374         * misc/munlockall.c: Likewise.
59375         * misc/munmap.c: Likewise.
59376         * misc/preadv.c: Likewise.
59377         * misc/preadv64.c: Likewise.
59378         * misc/ptrace.c: Likewise.
59379         * misc/pwritev.c: Likewise.
59380         * misc/pwritev64.c: Likewise.
59381         * misc/readv.c: Likewise.
59382         * misc/reboot.c: Likewise.
59383         * misc/remap_file_pages.c: Likewise.
59384         * misc/removexattr.c: Likewise.
59385         * misc/revoke.c: Likewise.
59386         * misc/select.c: Likewise.
59387         * misc/setdomain.c: Likewise.
59388         * misc/setegid.c: Likewise.
59389         * misc/seteuid.c: Likewise.
59390         * misc/sethostid.c: Likewise.
59391         * misc/sethostname.c: Likewise.
59392         * misc/setregid.c: Likewise.
59393         * misc/setreuid.c: Likewise.
59394         * misc/setxattr.c: Likewise.
59395         * misc/sstk.c: Likewise.
59396         * misc/stty.c: Likewise.
59397         * misc/swapoff.c: Likewise.
59398         * misc/swapon.c: Likewise.
59399         * misc/sync.c: Likewise.
59400         * misc/syncfs.c: Likewise.
59401         * misc/syscall.c: Likewise.
59402         * misc/truncate.c: Likewise.
59403         * misc/ualarm.c: Likewise.
59404         * misc/usleep.c: Likewise.
59405         * misc/ustat.c: Likewise.
59406         * misc/utimes.c: Likewise.
59407         * misc/vhangup.c: Likewise.
59408         * misc/writev.c: Likewise.
59409         * posix/_exit.c: Likewise.
59410         * posix/alarm.c: Likewise.
59411         * posix/execve.c: Likewise.
59412         * posix/fexecve.c: Likewise.
59413         * posix/fork.c: Likewise.
59414         * posix/fpathconf.c: Likewise.
59415         * posix/getaddrinfo.c: Likewise.
59416         * posix/getegid.c: Likewise.
59417         * posix/geteuid.c: Likewise.
59418         * posix/getgid.c: Likewise.
59419         * posix/getgroups.c: Likewise.
59420         * posix/getlogin.c: Likewise.
59421         * posix/getlogin_r.c: Likewise.
59422         * posix/getpgid.c: Likewise.
59423         * posix/getpid.c: Likewise.
59424         * posix/getppid.c: Likewise.
59425         * posix/getresgid.c: Likewise.
59426         * posix/getresuid.c: Likewise.
59427         * posix/getsid.c: Likewise.
59428         * posix/getuid.c: Likewise.
59429         * posix/glob64.c: Likewise.
59430         * posix/nanosleep.c: Likewise.
59431         * posix/pathconf.c: Likewise.
59432         * posix/pause.c: Likewise.
59433         * posix/posix_madvise.c: Likewise.
59434         * posix/pread.c: Likewise.
59435         * posix/pread64.c: Likewise.
59436         * posix/pwrite.c: Likewise.
59437         * posix/pwrite64.c: Likewise.
59438         * posix/sched_getaffinity.c: Likewise.
59439         * posix/sched_getp.c: Likewise.
59440         * posix/sched_gets.c: Likewise.
59441         * posix/sched_primax.c: Likewise.
59442         * posix/sched_primin.c: Likewise.
59443         * posix/sched_rr_gi.c: Likewise.
59444         * posix/sched_setaffinity.c: Likewise.
59445         * posix/sched_setp.c: Likewise.
59446         * posix/sched_sets.c: Likewise.
59447         * posix/sched_yield.c: Likewise.
59448         * posix/setgid.c: Likewise.
59449         * posix/setlogin.c: Likewise.
59450         * posix/setpgid.c: Likewise.
59451         * posix/setresgid.c: Likewise.
59452         * posix/setresuid.c: Likewise.
59453         * posix/setsid.c: Likewise.
59454         * posix/setuid.c: Likewise.
59455         * posix/sleep.c: Likewise.
59456         * posix/spawni.c: Likewise.
59457         * posix/sysconf.c: Likewise.
59458         * posix/times.c: Likewise.
59459         * posix/wait.c: Likewise.
59460         * posix/wait3.c: Likewise.
59461         * posix/wait4.c: Likewise.
59462         * posix/waitpid.c: Likewise.
59463         * resolv/gai_sigqueue.c: Likewise.
59464         * resource/getpriority.c: Likewise.
59465         * resource/getrlimit.c: Likewise.
59466         * resource/getrusage.c: Likewise.
59467         * resource/nice.c: Likewise.
59468         * resource/setpriority.c: Likewise.
59469         * resource/setrlimit.c: Likewise.
59470         * resource/ulimit.c: Likewise.
59471         * rt/aio_cancel.c: Likewise.
59472         * rt/aio_fsync.c: Likewise.
59473         * rt/aio_read.c: Likewise.
59474         * rt/aio_sigqueue.c: Likewise.
59475         * rt/aio_suspend.c: Likewise.
59476         * rt/aio_write.c: Likewise.
59477         * rt/clock_getres.c: Likewise.
59478         * rt/clock_gettime.c: Likewise.
59479         * rt/clock_nanosleep.c: Likewise.
59480         * rt/clock_settime.c: Likewise.
59481         * rt/lio_listio.c: Likewise.
59482         * rt/mq_close.c: Likewise.
59483         * rt/mq_getattr.c: Likewise.
59484         * rt/mq_notify.c: Likewise.
59485         * rt/mq_open.c: Likewise.
59486         * rt/mq_receive.c: Likewise.
59487         * rt/mq_send.c: Likewise.
59488         * rt/mq_setattr.c: Likewise.
59489         * rt/mq_timedreceive.c: Likewise.
59490         * rt/mq_timedsend.c: Likewise.
59491         * rt/mq_unlink.c: Likewise.
59492         * rt/shm_open.c: Likewise.
59493         * rt/shm_unlink.c: Likewise.
59494         * rt/timer_create.c: Likewise.
59495         * rt/timer_delete.c: Likewise.
59496         * rt/timer_getoverr.c: Likewise.
59497         * rt/timer_gettime.c: Likewise.
59498         * rt/timer_settime.c: Likewise.
59499         * setjmp/__longjmp.c: Likewise.
59500         * setjmp/setjmp.c: Likewise.
59501         * signal/kill.c: Likewise.
59502         * signal/killpg.c: Likewise.
59503         * signal/raise.c: Likewise.
59504         * signal/sigaction.c: Likewise.
59505         * signal/sigaltstack.c: Likewise.
59506         * signal/sigblock.c: Likewise.
59507         * signal/sigignore.c: Likewise.
59508         * signal/sigintr.c: Likewise.
59509         * signal/signal.c: Likewise.
59510         * signal/sigpause.c: Likewise.
59511         * signal/sigpending.c: Likewise.
59512         * signal/sigqueue.c: Likewise.
59513         * signal/sigreturn.c: Likewise.
59514         * signal/sigset.c: Likewise.
59515         * signal/sigsetmask.c: Likewise.
59516         * signal/sigstack.c: Likewise.
59517         * signal/sigsuspend.c: Likewise.
59518         * signal/sigtimedwait.c: Likewise.
59519         * signal/sigvec.c: Likewise.
59520         * signal/sigwait.c: Likewise.
59521         * signal/sigwaitinfo.c: Likewise.
59522         * signal/sysv_signal.c: Likewise.
59523         * socket/accept.c: Likewise.
59524         * socket/accept4.c: Likewise.
59525         * socket/bind.c: Likewise.
59526         * socket/connect.c: Likewise.
59527         * socket/getpeername.c: Likewise.
59528         * socket/getsockname.c: Likewise.
59529         * socket/getsockopt.c: Likewise.
59530         * socket/isfdtype.c: Likewise.
59531         * socket/listen.c: Likewise.
59532         * socket/recv.c: Likewise.
59533         * socket/recvfrom.c: Likewise.
59534         * socket/recvmsg.c: Likewise.
59535         * socket/send.c: Likewise.
59536         * socket/sendmsg.c: Likewise.
59537         * socket/sendto.c: Likewise.
59538         * socket/setsockopt.c: Likewise.
59539         * socket/shutdown.c: Likewise.
59540         * socket/sockatmark.c: Likewise.
59541         * socket/socket.c: Likewise.
59542         * socket/socketpair.c: Likewise.
59543         * stdio-common/ctermid.c: Likewise.
59544         * stdio-common/cuserid.c: Likewise.
59545         * stdio-common/remove.c: Likewise.
59546         * stdio-common/rename.c: Likewise.
59547         * stdio-common/renameat.c: Likewise.
59548         * stdio-common/tempname.c: Likewise.
59549         * stdlib/getcontext.c: Likewise.
59550         * stdlib/makecontext.c: Likewise.
59551         * stdlib/setcontext.c: Likewise.
59552         * stdlib/swapcontext.c: Likewise.
59553         * stdlib/system.c: Likewise.
59554         * streams/fattach.c: Likewise.
59555         * streams/fdetach.c: Likewise.
59556         * streams/getmsg.c: Likewise.
59557         * streams/getpmsg.c: Likewise.
59558         * streams/putmsg.c: Likewise.
59559         * streams/putpmsg.c: Likewise.
59560         * sysdeps/unix/bsd/getpt.c: Likewise.
59561         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
59562         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
59563         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59565         Likewise.
59566         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
59567         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59568         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
59569         * sysvipc/msgctl.c: Likewise.
59570         * sysvipc/msgget.c: Likewise.
59571         * sysvipc/msgrcv.c: Likewise.
59572         * sysvipc/msgsnd.c: Likewise.
59573         * sysvipc/semctl.c: Likewise.
59574         * sysvipc/semget.c: Likewise.
59575         * sysvipc/semop.c: Likewise.
59576         * sysvipc/semtimedop.c: Likewise.
59577         * sysvipc/shmat.c: Likewise.
59578         * sysvipc/shmctl.c: Likewise.
59579         * sysvipc/shmdt.c: Likewise.
59580         * sysvipc/shmget.c: Likewise.
59581         * termios/tcdrain.c: Likewise.
59582         * termios/tcflow.c: Likewise.
59583         * termios/tcflush.c: Likewise.
59584         * termios/tcgetattr.c: Likewise.
59585         * termios/tcgetpgrp.c: Likewise.
59586         * termios/tcsendbrk.c: Likewise.
59587         * termios/tcsetattr.c: Likewise.
59588         * termios/tcsetpgrp.c: Likewise.
59589         * time/adjtime.c: Likewise.
59590         * time/clock.c: Likewise.
59591         * time/getitimer.c: Likewise.
59592         * time/gettimeofday.c: Likewise.
59593         * time/setitimer.c: Likewise.
59594         * time/settimeofday.c: Likewise.
59595         * time/stime.c: Likewise.
59596         * time/time.c: Likewise.
59598 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
59600         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
59601         /usr/old/bin.
59603         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
59604         instead of spaces.
59605         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
59607 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
59609         [BZ #14796]
59610         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
59611         FE_TONEAREST before applying Dekker multiplication and Knuth
59612         addition.  Clear inexact exceptions and check for exact zero
59613         results afterwards.
59614         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59615         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59616         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59617         * math/libm-test.inc (fma_test): Add more tests.
59618         (fma_test_towardzero): Likewise.
59619         (fma_test_downward): Likewise.
59620         (fma_test_upward): Likewise.
59621         * sysdeps/generic/math_private.h (default_libc_fesetround): New
59622         function.
59623         (libc_fesetround): New macro.
59624         (libc_fesetroundf): Likewise.
59625         (libc_fesetroundl): Likewise.
59626         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
59627         function.
59628         (libc_fesetround_387): Likewise.
59629         (libc_fesetroundf): New macro.
59630         (libc_fesetround): Likewise.
59631         (libc_fesetroundl): Likewise.
59632         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
59633         function.
59634         (libc_fesetroundf): New macro.
59635         (libc_fesetround): Likewise.
59636         (libc_fesetroundl): Likewise.
59637         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
59638         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
59639         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
59640         libm_hidden_ver.
59641         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
59642         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
59643         libm_hidden_def.
59644         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
59645         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
59646         libm_hidden_ver.
59647         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
59648         libm_hidden_def.
59650         [BZ #3439]
59651         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
59652         integer constant usable in #if and use that to give value to enum
59653         constant.
59654         (FE_DIVBYZERO): Likewise.
59655         (FE_UNDERFLOW): Likewise.
59656         (FE_OVERFLOW): Likewise.
59657         (FE_INVALID): Likewise.
59658         (FE_INVALID_SNAN): Likewise.
59659         (FE_INVALID_ISI): Likewise.
59660         (FE_INVALID_IDI): Likewise.
59661         (FE_INVALID_ZDZ): Likewise.
59662         (FE_INVALID_IMZ): Likewise.
59663         (FE_INVALID_COMPARE): Likewise.
59664         (FE_INVALID_SOFTWARE): Likewise.
59665         (FE_INVALID_SQRT): Likewise.
59666         (FE_INVALID_INTEGER_CONVERSION): Likewise.
59667         (FE_TONEAREST): Likewise.
59668         (FE_TOWARDZERO): Likewise.
59669         (FE_UPWARD): Likewise.
59670         (FE_DOWNWARD): Likewise.
59671         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
59672         (FE_DIVBYZERO): Likewise.
59673         (FE_OVERFLOW): Likewise.
59674         (FE_UNDERFLOW): Likewise.
59675         (FE_INEXACT): Likewise.
59676         (FE_TONEAREST): Likewise.
59677         (FE_DOWNWARD): Likewise.
59678         (FE_UPWARD): Likewise.
59679         (FE_TOWARDZERO): Likewise.
59680         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
59681         (FE_UNDERFLOW): Likewise.
59682         (FE_OVERFLOW): Likewise.
59683         (FE_DIVBYZERO): Likewise.
59684         (FE_INVALID): Likewise.
59685         (FE_TONEAREST): Likewise.
59686         (FE_TOWARDZERO): Likewise.
59687         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
59688         (FE_OVERFLOW): Likewise.
59689         (FE_UNDERFLOW): Likewise.
59690         (FE_DIVBYZERO): Likewise.
59691         (FE_INEXACT): Likewise.
59692         (FE_TONEAREST): Likewise.
59693         (FE_TOWARDZERO): Likewise.
59694         (FE_UPWARD): Likewise.
59695         (FE_DOWNWARD): Likewise.
59696         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
59697         (FE_DIVBYZERO): Likewise.
59698         (FE_OVERFLOW): Likewise.
59699         (FE_UNDERFLOW): Likewise.
59700         (FE_INEXACT): Likewise.
59701         (FE_TONEAREST): Likewise.
59702         (FE_DOWNWARD): Likewise.
59703         (FE_UPWARD): Likewise.
59704         (FE_TOWARDZERO): Likewise.
59706 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
59708         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
59710 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
59712         * scripts/cross-test-ssh.sh (command): Use newlines to separate
59713         commands.  Quote $PWD.
59714         (blacklist_exports): Don't use remove_newlines.  Replace "declare
59715         -x" by "export".
59716         (remove_newlines): Remove.
59718 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
59720         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
59721         * stdlib/stdlib.h (atof): Moved to ...
59722         * include/bits/stdlib-float.h: Here.  New file.
59723         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
59724         * stdlib/bits/stdlib-float.h: New file.
59725         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
59726         -mno-sse -mno-mmx.
59727         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
59728         <xmmintrin.h>.
59730 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59732         * conform/conformtest.pl (@headers): Add fenv.h.
59733         * conform/data/fenv.h-data: New file.
59734         * include/fenv.h [_ISOMAC]: Disable all contents of file except
59735         include of <math/fenv.h>.
59737         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
59738         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
59739         && !UNIX98].  Enables tests for XOPEN2K8.
59740         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
59741         POSIX2008]: Likewise.
59743         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
59744         (struct rusage): Do not expect type or its members.
59746         [BZ #3439]
59747         * math/math.h (FP_NAN): Define macro to integer constant usable in
59748         #if and use that to give value to enum constant.
59749         (FP_INFINITE): Likewise.
59750         (FP_ZERO): Likewise.
59751         (FP_SUBNORMAL): Likewise.
59752         (FP_NORMAL): Likewise.
59754 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
59756         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
59757         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
59758         arguments.
59760 2012-11-02  Roland McGrath  <roland@hack.frob.com>
59762         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
59763         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
59764         autoconf-time if not.
59765         * configure.in: Remove AC_PREREQ.
59767 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59769         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
59770         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
59771         of the internal implementation.
59773 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59775         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
59776         except include of <misc/sys/syslog.h>.
59778 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
59781         function returns with a NULL context exit with zero.
59783 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59785         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
59787 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
59789         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
59790         (run_program_cmd): This.
59791         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
59792         (tst_langinfo): New variable.  Use it.
59794 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
59796         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
59797         floating point opcodes.
59799 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59801         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
59802         variable.
59804         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
59806         * sysdeps/mach/hurd/powerpc: Remove directory.
59807         * sysdeps/mach/powerpc: Likewise.
59809 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59811         * scripts/check-local-headers.sh: Ignore c++ headers.
59813 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59815         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
59816         __libc_cleanup_region_start argument.
59818 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
59820         [BZ #14784]
59821         [BZ #14785]
59822         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
59823         x * y using scaling, not as x * y + z.
59824         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59825         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59826         * math/libm-test.inc (fma_test): Add more tests.
59827         (fma_test_towardzero): Likewise.
59828         (fma_test_downward): Likewise.
59829         (fma_test_upward): Likewise.
59831 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59833         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
59835 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59837         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
59838         New variable.
59840 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
59842         * rt/tst-shm.c (worker): Correct checking for mmap failure.
59844 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59847         Fix sort order.
59848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59849         Likewise.
59851 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59854         Fix the order of the list for glibc 2.17.
59855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59856         Likewise.
59858 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59862 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59864         [BZ #14610]
59865         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
59866         for low part of x being zero before using __atanl (y).
59867         * math/libm-test.inc (atan2_test): Add another test.
59869         * manual/install.texi (Configuring and compiling): Document
59870         general use of test-wrapper and test-wrapper-env.
59871         * INSTALL: Regenerated.
59873         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
59874         (__fma): Do not extract and scale down low bits on after-rounding
59875         systems when result rounded to normal precision would have normal
59876         exponent.
59877         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
59878         (__fmal): Do not extract and scale down low bits on after-rounding
59879         systems when result rounded to normal precision would have normal
59880         exponent.
59881         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
59882         (__fmal): Do not extract and scale down low bits on after-rounding
59883         systems when result rounded to normal precision would have normal
59884         exponent.
59885         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
59886         macro.
59887         (fma_test): Add more tests.
59888         (fma_test_towardzero): Likewise.
59889         (fma_test_downward): Likewise.
59890         (fma_test_upward): Likewise.
59892 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
59894         * sysdeps/i386/tininess.h: Renamed to ...
59895         * sysdeps/x86/tininess.h: This.
59896         * sysdeps/x86_64/tininess.h: Removed.
59898 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59900         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
59901         input.  Use $(build-program-cmd).
59902         ($(objpfx)tst-array1-static.out): Likewise.
59903         ($(objpfx)tst-array2.out): Likewise.
59904         ($(objpfx)tst-array3.out): Likewise.
59905         ($(objpfx)tst-array4.out): Likewise.
59906         ($(objpfx)tst-array5.out): Likewise.
59907         ($(objpfx)tst-array5-static.out): Likewise.
59909 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
59911         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
59912         if defined.
59914         * nss/nsswitch.h (nss_interface_function): Provide new
59915         macro for use with NSS functions.
59916         * grp/initgroups.c: Use new macro.
59917         * nss/getXXbyYY.c: Likewise.
59918         * nss/getXXbyYY_r.c: Likewise.
59919         * nss/getXXent.c: Likewise.
59920         * nss/getXXent_r.c: Likewise.
59921         * sysdeps/posix/getaddrinfo.c: Likewise.
59923 2012-10-30  Andreas Jaeger  <aj@suse.de>
59925         * po/ru.po: Update Russion translation from translation project.
59927 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59929         [BZ #14152]
59930         [BZ #14783]
59931         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
59932         result and shift together with sticky bit instead of replicating
59933         round-to-nearest rounding.
59934         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59935         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59936         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
59937         missing underflow exceptions.
59938         (fma_test_towardzero): Add more tests.
59939         (fma_test_downward): Likewise.
59940         (fma_test_upward): Likewise.
59942         [BZ #14047]
59943         * sysdeps/generic/tininess.h: New file.
59944         * sysdeps/i386/tininess.h: Likewise.
59945         * sysdeps/sh/tininess.h: Likewise.
59946         * sysdeps/x86_64/tininess.h: Likewise.
59947         * stdlib/tst-strtod-underflow.c: Likewise.
59948         * stdlib/tst-tininess.c: Likewise.
59949         * stdlib/strtod_l.c: Include <tininess.h>.
59950         (round_and_return): Do not set errno for exact underflow cases.
59951         Force an underflow exception when setting errno for underflow.
59952         Determine underflow based on rounding to normal precision if
59953         TININESS_AFTER_ROUNDING.
59954         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
59955         ERANGE for exact underflow cases.
59956         * stdlib/Makefile (tests): Add tst-tininess and
59957         tst-strtod-underflow.
59958         ($(objpfx)tst-tininess): Use $(link-libm).
59959         ($(objpfx)tst-strtod-underflow): Likewise.
59961 2012-10-30  Andreas Jaeger  <aj@suse.de>
59963         [BZ#14767]
59964         * elf/Makefile (tests): Remove conditional for have-initfini-array
59965         since this is now always required and the variable does not exist
59966         anymore.
59967         (tests-static): Likewise.
59968         (modules-names): Likewise.
59970         * po/eo.po: Add Esperanto translation from translation project.
59972         * elf/tst-array1.c (fini_array): Make writeable so that it can be
59973         merged with constructor/destructor.
59974         (init_array): Likewise.
59975         * elf/tst-array2dep.c (fini_array): Likewise.
59976         (init_array): Likewise.
59978 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
59980         * manual/message.texi: Delete @cartouche tags.
59982 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
59984         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
59985         EOPNOTSUPP.
59986         * sysdeps/mach/hurd/fsync.c: Likewise.
59988         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
59989         [_POSIX_REALTIME_SIGNALS]: Change condition to
59990         [_POSIX_REALTIME_SIGNALS > 0].
59992 2012-10-27  Andreas Jaeger  <aj@suse.de>
59994         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
59995         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
59996         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
59997         [__WORDSIZE != 64]: Likewise.
59999 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
60001         *  iconvdata/tst-table.sh: Remove ${SHELL}.
60002         *  iconvdata/tst-tables.sh: Likewise.
60004 2012-10-25  David S. Miller  <davem@davemloft.net>
60006         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60007         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
60008         of strtoull.
60010         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
60011         ifunc-impl-list.c
60012         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60013         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
60014         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
60015         file.
60017 2012-10-25  Roland McGrath  <roland@hack.frob.com>
60019         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60020         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
60021         __getdirentries.
60023 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60024             Jim Blandy  <jimb@codesourcery.com>
60026         * scripts/cross-test-ssh.sh: New file.
60027         * manual/install.texi (Configuring and compiling): Document use of
60028         cross-test-ssh.sh.
60029         * INSTALL: Regenerated.
60031 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
60033         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
60034         EOPNOTSUPP.
60036 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60038         * Makeconfig (run-program-prefix): Fix comment.
60040 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60041             Jim Blandy  <jimb@codesourcery.com>
60043         * Makeconfig (test-wrapper): New variable,
60044         (test-wrapper-env): Likewise.
60045         [$(cross-compiling) = yes && $(test-wrapper) != ""]
60046         (run-built-tests): Define to yes.
60047         (run-program-prefix): Use $(test-wrapper).
60048         (built-program-cmd): Likewise.
60049         * Rules (make-test-out): Use $(test-wrapper-env) and
60050         $(host-built-program-cmd).
60051         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
60052         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
60053         tst-pathopt.sh.
60054         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
60055         $(test-wrapper-env) to tst-rtld-load-self.sh.
60056         ($(objpfx)order2.out): Use $(test-wrapper).
60057         ($(objpfx)tst-initorder.out): Likewise.
60058         ($(objpfx)tst-initorder2.out): Likewise.
60059         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
60060         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
60061         (test_wrapper_env): New variable.  Use it to run ld.so.
60062         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
60063         Use it to run ld.so.
60064         (test_wrapper_env): Likewise.
60065         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
60066         $(test-wrapper) to run-iconv-test.sh.
60067         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
60068         (ICONV): Use $test_wrapper.
60069         * posix/Makefile ($(objpfx)globtest.out): Pass
60070         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
60071         globtest.sh, not $(run-program-prefix).
60072         * posix/globtest.sh (run_via_rtld_prefix): New variable.
60073         (test_wrapper): Likewise.
60074         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
60075         set together with run_via_rtld_prefix.
60076         (run_program_prefix): Define in terms of test_wrapper and
60077         run_via_rtld_prefix.
60079 2012-10-24  Roland McGrath  <roland@hack.frob.com>
60081         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
60082         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
60083         Targets removed.
60085         [BZ #14743]
60086         * include/time.h: Remove librt_hidden_proto (clock_gettime).
60087         Declare __clock_getres, __clock_gettime, __clock_settime,
60088         __clock_nanosleep, and __clock_getcpuclockid.
60089         * rt/clock_gettime.c: Define __clock_gettime as an alias.
60090         Remove librt_hidden_def (clock_gettime).
60091         * sysdeps/unix/clock_gettime.c: Likewise.
60092         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
60093         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
60094         * rt/clock_getres.c: Define __clock_getres as an alias.
60095         * sysdeps/posix/clock_getres.c: Likewise.
60096         * rt/clock_settime.c: Define __clock_settime as an alias.
60097         * sysdeps/unix/clock_settime.c: Likewise.
60098         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
60099         * sysdeps/unix/clock_nanosleep.c: Likewise.
60100         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
60101         * rt/clock-compat.c: New file.
60102         * rt/Makefile (librt-routines): Add clock-compat and move
60103         $(clock-routines) to ...
60104         (routines): ... here, new variable.
60105         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
60106         Don't add get_clockfreq here.
60107         * rt/Versions (libc: GLIBC_2.17): New version set.
60108         Add clock_* symbols here.
60109         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
60110         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
60111         (GLIBC_2.17): Add clock_* symbols.
60112         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60114         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60116         Likewise.
60117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60118         Likewise.
60119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60123         * NEWS: Mention the move.
60125         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
60126         Use __open, __read, __close rather than their public counterparts.
60127         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60128         (__get_clockfreq_via_cpuinfo): Likewise.
60129         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
60130         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
60132         * config.h.in (HAVE_IFUNC): New #undef.
60133         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
60134         was successful.
60135         * configure: Regenerated.
60137 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60139         * configure.in: Move READELF check to start of file.
60140         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
60141         libc_cv_asm_gnu_indirect_function in the process.
60142         * configure: Regenerated.
60144 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60146         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
60147         send the output to /dev/null.
60148         (libc_cv_cc_with_libunwind): Likewise.
60149         (libc_cv_as_noexecstack): Likewise.
60150         * configure: Regenerate.
60152 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60154         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
60156         * posix/globtest.sh (TMPDIR): Do not set.
60157         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
60158         (testout): Likewise.
60160 2012-10-24  Andreas Jaeger  <aj@suse.de>
60162         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
60163         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
60164         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
60165         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
60166         posix_fadvise64, posix_fallocate64.
60168         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
60169         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
60170         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
60171         Likewise.
60172         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
60173         Likewise.
60174         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
60176         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
60177         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
60178         <bits/fcntl-linux.h>.
60179         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
60181         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
60182         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
60183         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
60184         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
60185         [__WORDSIZE != 64]: Likewise.
60187 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60189         * Makeconfig (run-built-tests): New variable.
60190         * Rules [$(cross-compiling) = yes]: Change condition to
60191         [$(run-built-tests) = no].
60192         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
60193         to [$(run-built-tests) = yes].
60194         * elf/Makefile [$(cross-compiling) = no]: Likewise.
60195         * grp/Makefile [$(cross-compiling) = no]: Likewise.
60196         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
60197         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
60198         * intl/Makefile [$(cross-compiling) = no]: Likewise.
60199         * io/Makefile [$(cross-compiling) = no]: Likewise.
60200         * libio/Makefile [$(cross-compiling) = no]: Likewise.
60201         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
60202         * misc/Makefile [$(cross-compiling) = no]: Likewise.
60203         * posix/Makefile [$(cross-compiling) = no]: Likewise.
60204         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
60205         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
60206         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
60207         * string/Makefile [$(cross-compiling) = no]: Likewise.
60209         * posix/Makefile ($(objpfx)globtest.out): Pass
60210         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
60211         $(rtld-installed-name).
60212         * posix/globtest.sh (elf_objpfx): Remove variable.
60213         (rtld_installed_name): Likewise.
60214         (library_path): Likewise.
60215         (run_program_prefix): New variable.  Use for running globtest
60216         binary.
60218 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
60219             Joseph Myers  <joseph@codesourcery.com>
60221         * Makeconfig (host-built-program-cmd): New variable.
60222         * elf/Makefile (tst-stackguard1-ARGS): Use
60223         $(host-built-program-cmd).
60224         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
60225         (tst-spawn-ARGS): Likewise.
60226         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
60228 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60229             Jim Blandy  <jimb@codesourcery.com>
60231         * Makeconfig (run-via-rtld-prefix): New variable.
60232         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
60233         (built-program-cmd): Likewise.
60235 2012-10-22  Andreas Jaeger  <aj@suse.de>
60237         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
60238         __O_RSYNC if it exists, otherwise to O_SYNC.
60240 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
60241             Joseph Myers  <joseph@codesourcery.com>
60243         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
60244         /dev/null.
60245         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
60246         from /dev/null
60247         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
60248         /dev/null.
60250 2012-10-22  Andreas Jaeger  <aj@suse.de>
60252         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
60253         Define always.
60254         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
60256         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60257         bits/fcntl-linux.h.
60259         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
60260         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
60262         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
60263         to __O_LARGEFILE.
60264         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
60265         to __O_LARGEFILE.
60267 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
60268             Joseph Myers  <joseph@codesourcery.com>
60270         * config.make.in (NM): New variable.
60272 2012-10-21  Andreas Jaeger  <aj@suse.de>
60274         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
60275         definitions and declarations that are provided by
60276         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60278 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60280         [BZ #14683]
60281         * elf/Makefile (tests-static): Add tst-leaks1-static.
60282         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
60283         ($(objpfx)tst-leaks1-static): New rule.
60284         ($(objpfx)tst-leaks1-static-mem): Likewise.
60285         (tst-leaks1-static-ENV): New macro.
60286         * elf/dl-open.c (dl_open_worker): Check the main application
60287         only if SHARED is defined.
60288         * elf/tst-leaks1-static.c: New file.
60290 2012-10-20  Andreas Jaeger  <aj@suse.de>
60292         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
60293         generic values for Linux.
60294         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
60295         and declarations that are provided by <bits/fcntl-linux.h> and
60296         include <bits/fcntl-linux.h>.
60297         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60298         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60300 2012-10-20  Roland McGrath  <roland@hack.frob.com>
60302         * io/fcntl.h: Move include of <bits/types.h> to the top and
60303         include it unconditionally.
60305 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60307         * wcsmbs/Makefile (tests-ifunc): New variable.
60308         (tests): Add $(tests-ifunc).
60309         * wcsmbs/test-wcschr-ifunc.c: New file.
60310         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
60311         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
60312         * wcsmbs/test-wcslen-ifunc.c: Likewise.
60313         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
60314         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
60316         * string/Makefile (tests-ifunc): New variable.
60317         (tests): Add $(tests-ifunc).
60318         * string/test-memccpy.c (TEST_NAME): New macro.
60319         * string/test-memchr.c (TEST_NAME): Likewise.
60320         * string/test-memcmp.c (TEST_NAME): Likewise.
60321         * string/test-memcpy.c (TEST_NAME): Likewise.
60322         * string/test-memmem.c (TEST_NAME): Likewise.
60323         * string/test-memmove.c (TEST_NAME): Likewise.
60324         * string/test-memset.c (TEST_NAME): Likewise.
60325         * string/test-rawmemchr.c (TEST_NAME): Likewise.
60326         * string/test-stpcpy.c (TEST_NAME): Likewise.
60327         * string/test-stpncpy.c (TEST_NAME): Likewise.
60328         * string/test-strcasecmp.c (TEST_NAME): Likewise.
60329         * string/test-strcasestr.c (TEST_NAME): Likewise.
60330         * string/test-strcat.c (TEST_NAME): Likewise.
60331         * string/test-strchr.c (TEST_NAME): Likewise.
60332         * string/test-strcmp.c(TEST_NAME): Likewise.
60333         * string/test-strcpy.c (TEST_NAME): Likewise.
60334         * string/test-strcspn.c (TEST_NAME): Likewise.
60335         * string/test-strlen.c (TEST_NAME): Likewise.
60336         * string/test-strncasecmp.c (TEST_NAME): Likewise.
60337         * string/test-strncmp.c (TEST_NAME): Likewise.
60338         * string/test-strncpy.c (TEST_NAME): Likewise.
60339         * string/test-strnlen.c (TEST_NAME): Likewise.
60340         * string/test-strpbrk.c (TEST_NAME): Likewise.
60341         * string/test-strrchr.c (TEST_NAME): Likewise.
60342         * string/test-strspn.c (TEST_NAME): Likewise.
60343         * string/test-strstr.c (TEST_NAME): Likewise.
60344         * string/test-bcopy-ifunc.c: New file.
60345         * string/test-bzero-ifunc.c: Likewise.
60346         * string/test-memccpy-ifunc.c: Likewise.
60347         * string/test-memchr-ifunc.c: Likewise.
60348         * string/test-memcmp-ifunc.c: Likewise.
60349         * string/test-memcpy-ifunc.c: Likewise.
60350         * string/test-memmem-ifunc.c: Likewise.
60351         * string/test-memmove-ifunc.c: Likewise.
60352         * string/test-mempcpy-ifunc.c: Likewise.
60353         * string/test-memset-ifunc.c: Likewise.
60354         * string/test-rawmemchr-ifunc.c: Likewise.
60355         * string/test-stpcpy-ifunc.c: Likewise.
60356         * string/test-stpncpy-ifunc.c: Likewise.
60357         * string/test-strcasecmp-ifunc.c: Likewise.
60358         * string/test-strcasestr-ifunc.c: Likewise.
60359         * string/test-strcat-ifunc.c: Likewise.
60360         * string/test-strchr-ifunc.c: Likewise.
60361         * string/test-strchrnul-ifunc.c: Likewise.
60362         * string/test-strcmp-ifunc.c: Likewise.
60363         * string/test-strcpy-ifunc.c: Likewise.
60364         * string/test-strcspn-ifunc.c: Likewise.
60365         * string/test-strlen-ifunc.c: Likewise.
60366         * string/test-strncasecmp-ifunc.c: Likewise.
60367         * string/test-strncat-ifunc.c: Likewise.
60368         * string/test-strncmp-ifunc.c: Likewise.
60369         * string/test-strncpy-ifunc.c: Likewise.
60370         * string/test-strnlen-ifunc.c: Likewise.
60371         * string/test-strpbrk-ifunc.c: Likewise.
60372         * string/test-strrchr-ifunc.c: Likewise.
60373         * string/test-strspn-ifunc.c: Likewise.
60374         * string/test-strstr-ifunc.c: Likewise.
60376         * debug/Makefile (tests-ifunc): New variable.
60377         (tests): Add $(tests-ifunc).
60378         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
60379         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
60380         * debug/test-stpcpy_chk-ifunc.c: New file.
60381         * debug/test-strcpy_chk-ifunc.c: Likewise.
60383 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60385         [BZ #13601]
60386         * elf/dl-load.c (open_verify): Retry read if the entire ELF
60387         header is not read in.
60389 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
60391         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
60392         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
60393         directly.  Pass built executable to script as
60394         $(built-program-cmd).
60395         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
60396         $testprogram without using LD_LIBRARY_PATH and $ldso.
60398         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
60399         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
60400         $(rtld-installed-name).
60401         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
60402         (rtld_installed_name): Likewise.
60403         (library_path): Likewise.
60404         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
60405         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
60406         $(run-program-prefix) to tst-tables.sh.
60407         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
60408         it to run tst-table-from and tst-table-to.
60409         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
60410         Pass it to tst-table.sh.
60411         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
60412         $(run-program-prefix) to tst-gettext.sh.
60413         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
60414         tst-translit.sh.
60415         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
60416         tst-gettext2.sh.
60417         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
60418         to run tst-gettext.
60419         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
60420         to run tst-gettext2.
60421         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
60422         to run tst-translit.
60423         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
60424         $(run-program-prefix) to tst-mtrace.sh.
60425         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
60426         to run tst-mtrace.
60427         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
60428         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
60429         $(rtld-installed-name).
60430         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
60431         (rtld_installed_name): Likewise.
60432         (run_program_prefix): New variable.  Use it to run wordexp-test.
60434         * Makeconfig (ARCH): Remove all definitions.
60435         (machine): Likewise.
60436         [ARCH]: Remove conditional code.
60437         [!objdir]: Give error.
60438         [!objdir] (objpfx): Remove.
60439         [!objdir] (common-objpfx): Likewise.
60440         [!objdir] (common-objdir): Likewise.
60441         * configure.in (config_makefile): Remove.  Hardcode Makefile in
60442         AC_CONFIG_FILES call.
60443         * configure: Regenerated.
60445         [BZ #13888]
60446         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
60447         or TMPDIR.
60448         (testout): Likewise.
60450         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
60451         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
60452         $(rtld-installed-name).
60453         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
60454         (rtld_installed_name): Likwise.
60455         (runit): Remove function.
60456         (run_getconf): New variable,  Use it for running getconf binary.
60458 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
60460         [BZ #14716]
60461         * string/test-memmem.c (check_result): New function.
60462         (do_one_test): Use it.
60463         (check1): New function.
60464         (test_main): Use it.
60466 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
60468         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
60470 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
60472         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
60473         (_G_LSEEK64): Likewise.
60474         (_G_MMAP64): Likewise.
60475         (_G_FSTAT64): Likewise.
60476         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
60477         (_G_LSEEK64): Likewise.
60478         (_G_MMAP64): Likewise.
60479         (_G_FSTAT64): Likewise.
60480         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
60481         unconditional.  Call __mmap64 directly.
60482         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
60483         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
60484         __lseek64 directly.
60485         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
60486         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
60487         __mmap64 directly.
60488         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
60489         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60490         __lseek64 directly.
60491         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
60492         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60493         __lseek64 directly.
60494         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
60495         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
60496         __lseek64 directly.
60497         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
60498         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
60499         __fxstat64 directly.
60500         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
60501         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
60502         unconditional.
60503         (freopen64) [!_G_OPEN64]: Remove conditional code.
60504         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
60505         unconditional.
60506         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
60507         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
60508         unconditional.
60509         (ftello64) [!_G_LSEEK64]: Remove conditional code.
60510         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
60511         unconditional.
60512         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60513         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
60514         unconditional.
60515         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
60516         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
60517         unconditional.
60518         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60519         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
60520         unconditional.
60521         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60522         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
60523         unconditional.
60524         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60526 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60528         [BZ #12140]
60529         * manual/memory.texi (Malloc Tunable Parameters): Add note
60530         about free list pointers overwriting some perturb bytes.
60531         Wording suggested by Roland McGrath.
60533 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
60535         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
60536         (lgamma_test): Likewise.
60537         (tgamma_test): Likewise.
60539 2012-10-16  Florian Weimer  <fweimer@redhat.com>
60541         [BZ #14700]
60542         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
60543         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
60545 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
60547         * NEWS: Mention BZ #14716.
60548         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
60549         when removing AVAILABLE1_USES_J macro.
60551 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
60553         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
60554         (__bswap_64): __uint64_t for unsigned 64-bit int.
60556 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
60558         * include/string.h (memmem): Declare libc hidden alias.
60559         * string/memmem.c (memmem): Define libc hidden alias.
60560         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
60561         __read, __close instead of open, read, close.
60563 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
60565         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
60566         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
60567         global and hidden.
60568         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
60569         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
60570         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
60571         Likewise.
60572         (__rawmemchr_sse2): Likewise.
60573         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
60574         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
60575         (__strchr_sse2): Likewise.
60576         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
60577         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
60578         (__strcasecmp_sse2): Likewise.
60579         (__strncasecmp_sse2): Likewise.
60580         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
60581         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
60582         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
60583         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
60584         (__strrchr_sse2): Likewise.
60585         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
60586         ifunc-impl-list.c.
60587         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
60588         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
60589         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
60590         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60591         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
60592         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
60593         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60594         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60595         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
60596         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
60597         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
60598         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
60599         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
60600         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
60601         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
60602         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60603         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
60604         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
60605         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
60606         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
60607         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
60608         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
60609         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
60610         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60611         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
60612         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60613         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
60614         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60615         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
60616         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
60618         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
60619         global and hidden.
60620         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
60621         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
60622         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
60623         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
60624         Likewise.
60625         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
60626         Likewise.
60627         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
60628         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
60629         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
60630         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
60631         ifunc-impl-list.c.
60632         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
60633         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
60634         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
60635         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
60636         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
60637         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
60638         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
60639         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
60640         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
60641         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
60642         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
60643         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
60644         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
60645         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
60646         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
60647         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60648         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
60649         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
60650         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
60651         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
60652         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60653         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
60654         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
60655         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
60656         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60657         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
60658         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
60659         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
60660         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
60661         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
60662         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
60663         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
60664         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
60665         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
60666         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
60667         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
60668         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
60669         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
60670         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60671         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
60672         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
60674         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
60675         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
60676         * include/ifunc-impl-list.h: New file.
60677         * misc/ifunc-impl-list.c: Likewise.
60678         * misc/Makefile (routines): Add ifunc-impl-list.
60679         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
60680         * string/test-string.h: Include <ifunc-impl-list.h>.
60681         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
60682         TEST_NAME]: New variables.
60683         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
60684         are defined.
60685         (test_init): Call __libc_ifunc_impl_list to initialize
60686         func_list if TEST_IFUNC and TEST_NAME are defined.
60688         * string/Makefile (strop-tests): Add bcopy and bzero.
60689         * string/test-bcopy.c: New file.
60690         * string/test-bzero.c: Likewise.
60691         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
60692         defined.
60693         * string/test-memset.c: Support bzero test if TEST_BZERO is
60694         defined.
60695         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
60696         __libc_memmove.
60697         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
60698         __libc_memset.
60699         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
60700         of memset.
60702 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
60704         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
60705         * configure: Regenerated.
60707         * Makeconfig (+link-static-before-libc): Don't include
60708         $(link-static-libc).
60710         * libio/libio.h (_IO_pos_t): Remove.
60712 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60714         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
60715         McGrath.
60717 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60719         * crypt/crypt-entry.c: Include fips-private.h.
60720         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
60721         * crypt/md5c-test.c (main): Tolerate disabled MD5.
60722         * sysdeps/unix/sysv/linux/fips-private.h: New file.
60723         * sysdeps/generic/fips-private.h: New file, dummy fallback.
60725 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60727         * crypt/crypt-private.h: Include stdbool.h.
60728         (_ufc_setup_salt_r): Return bool.
60729         * crypt/crypt-entry.c: Include errno.h.
60730         (__crypt_r): Return NULL with EINVAL for bad salt.
60731         * crypt/crypt_util.c (bad_for_salt): New.
60732         (_ufc_setup_salt_r): Check that salt is long enough and within
60733         the specified alphabet.
60734         * crypt/badsalttest.c: New file.
60735         * crypt/Makefile (tests): Add it.
60736         ($(objpfx)badsalttest): New.
60738 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
60740         * NEWS: Add entry for BZ #14602.
60742 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60744         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
60745         type-generic.
60746         * math/libm-test.inc: Update comment listing what functions and
60747         macros are tested.
60748         (isgreater_test): New function.
60749         (isgreaterequal_test): Likewise.
60750         (isless_test): Likewise.
60751         (islessequal_test): Likewise.
60752         (islessgreater_test): Likewise.
60753         (isunordered_test): Likewise.
60754         (main): Call the new functions.
60756 2012-10-09  Roland McGrath  <roland@hack.frob.com>
60758         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
60759         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
60760         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
60761         * sysdeps/i386/configure: Regenerated.
60762         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
60763         * sysdeps/mach/configure: Regenerated.
60764         * sysdeps/mach/hurd/configure: Regenerated.
60765         * sysdeps/powerpc/configure: Regenerated.
60766         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60767         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60768         * sysdeps/s390/s390-32/configure: Regenerated.
60769         * sysdeps/s390/s390-64/configure: Regenerated.
60770         * sysdeps/sh/configure: Regenerated.
60771         * sysdeps/sparc/configure: Regenerated.
60772         * sysdeps/unix/sysv/linux/configure: Regenerated.
60773         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
60774         * sysdeps/x86_64/configure: Regenerated.
60776         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
60777         defined.  Don't check if MAP is NULL.
60779 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60781         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
60782         (_G_stat64): Likewise.
60783         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
60784         (_G_stat64): Likewise.
60785         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
60786         instead of struct _G_stat64.
60787         * libio/fileops.c (mmap_remap_check): Likewise.
60788         (decide_maybe_mmap): Likewise.
60789         (_IO_new_file_seekoff): Likewise.
60790         (_IO_file_stat): Likewise.
60791         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
60792         _G_off64_t.
60793         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
60794         instead of struct _G_stat64.
60795         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60797 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
60799         [BZ #14602]
60800         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60801         Replace with ...
60802         (CHECK_EOL): New macro.
60803         (two_way_short_needle): Check beginning of haystack for EOL.  Use
60804         CHECK_EOL.
60805         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60806         Replace with CHECK_EOL.
60807         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60808         Replace with CHECK_EOL.
60810 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
60812         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
60813         type-generic.
60814         * math/libm-test.inc: Update comment listing what functions and
60815         macros are tested.
60816         (finite_test): New function.
60817         (isinf_test): Likewise.
60818         (isnan_test): Likewise.
60819         (fpclassify_test): Test subnormal input.
60820         (isfinite_test): Likewise.
60821         (isnormal_test): Likewise.
60822         (main): Call the new functions.
60824 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
60826         [BZ #14660]
60827         * Makerules (%.dynsym): Force C locale when running
60828         $(OBJDUMP) --dynamic-syms.
60830 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
60832         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
60833         <stdint.h>.
60835 2012-10-06  David S. Miller  <davem@davemloft.net>
60837         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
60838         upper 32-bits of the length value in %o2 since we use branch-on-register
60839         tests which consider the entire 64-bit register.
60841 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
60843         * string/test-strstr.c (check2): Add a test for page boundary.
60845 2012-10-05  David S. Miller  <davem@davemloft.net>
60847         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
60848         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
60849         file.
60850         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60851         sysdep_routines.
60852         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60853         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
60854         and bzero when HWCAP_SPARC_CRYPTO is present.
60856 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
60858         [BZ #14602]
60859         * string/test-strstr.c (check2): New function.
60860         (test_main): Call check2.
60862         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
60863         and bug-strchr1.
60864         * string/bug-strcasestr1.c (do_test): Moved to ...
60865         * string/test-strcasestr.c (check1): Here.  New function.
60866         (do_one_test): Break out result checking code into ...
60867         (check_result): This.  New function.
60868         (do_one_test): Call check_result.
60869         (test_main): Call check1.
60870         * string/bug-strchr1.c (do_test): Moved to ...
60871         * string/test-strchr.c (check1): Here.  New function.
60872         (do_one_test): Break out result checking code into ...
60873         (check_result): This.  New function.
60874         (do_one_test): Call check_result.
60875         (test_main): Call check1.
60876         * string/bug-strstr1.c (main): Moved to ...
60877         * string/test-strstr.c (check1): Here.  New function.
60878         (do_one_test): Break out result checking code into ...
60879         (check_result): This.  New function.
60880         (do_one_test): Call check_result.
60881         (test_main): Call check1.
60882         * string/bug-strcasestr1.c: Removed.
60883         * string/bug-strchr1.c: Likewise.
60884         * string/bug-strstr1.c: Likewise.
60886         * elf/Makefile (dl-routines): Add hwcaps.
60887         * elf/dl-support.c (_dl_important_hwcaps): Removed.
60888         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
60889         (_dl_important_hwcaps): Moved to ...
60890         * elf/dl-hwcaps.c: Here.  New file.
60891         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
60893         [BZ #14557]
60894         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
60895         if IS_IN_rtld isn't defined.
60897         * elf/dl-support.c (_dl_sysinfo_map): New.
60898         Include "get-dynamic-info.h" and "setup-vdso.h".
60899         (_dl_non_dynamic_init): Call setup_vdso.
60900         * elf/dynamic-link.h: Don't include <assert.h>.
60901         (elf_get_dynamic_info): Moved to ...
60902         * elf/get-dynamic-info.h: Here.  New file.
60903         * elf/dynamic-link.h: Include "get-dynamic-info.h".
60904         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
60905         * elf/setup-vdso.h: Here.  New file.
60906         * elf/rtld.c: Include "setup-vdso.h".
60907         (dl_main): Call setup_vdso.
60909 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
60911         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
60912         creal in comment listing functions tested.  List finite, isinf,
60913         isnan, isless, islessequal, isgreater, isgreaterequal,
60914         islessgreater, isunordered, lgamma_r and pow10 as functions and
60915         macros not tested.  Mention which functions not tested are aliases
60916         for other functions.  Fix typo.  Note that signs of NaNs are not
60917         tested.
60919         * scripts/config.guess: Update from config.git.
60920         * scripts/config.sub: Likewise.
60922 2012-10-04  Roland McGrath  <roland@hack.frob.com>
60924         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
60925         * misc/madvise.c (madvise): Renamed to __madvise.
60926         Make madvise a weak alias.
60927         * include/sys/mman.h: Declare __madvise.
60928         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
60929         * sysdeps/unix/syscalls.list
60930         (madvise): Make __madvise the strong name, and madvise a weak alias.
60931         * sysdeps/unix/sysv/linux/syscalls.list
60932         (madvise, mmap): Remove redundant entries.
60933         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
60934         * malloc/malloc.c (mtrim): Likewise.
60935         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
60937 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60939         * sysdeps/mach/hurd/dl-cache.c: File removed.
60940         * config.h.in (USE_LDCONFIG): New #undef.
60941         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
60942         * configure: Regenerated.
60943         * elf/Makefile (dl-routines): Add dl-cache only under
60944         [$(use-ldconfig) = yes].
60945         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
60946         cache on [USE_LDCONFIG].
60947         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
60948         [USE_LDCONFIG].
60949         * elf/rtld.c (dl_main): Likewise.
60951 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
60953         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
60954         _SC_LEVEL4_CACHE_LINESIZE.
60956 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60958         * sysdeps/unix/bsd/confstr.h: File removed.
60960 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
60962         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
60963         sys/sdt-config.h.
60965 2012-10-02  Roland McGrath  <roland@hack.frob.com>
60967         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
60968         Make 'mapoff' field ElfW(Off) rather than off_t.
60970 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
60972         * nscd/Makefile: Remove nscd-cflags and all its users.
60973         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
60974         (CFLAGS-nonlib): Add compiler flags for nscd modules.
60976         [BZ #10631]
60977         * malloc.c (malloc_printerr): Clarify error message.
60979 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
60981         [BZ #14648]
60982         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60983         Set bit_FMA_Usable if FMA is supported.
60984         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
60985         macro.
60986         (bit_FMA4_Usable): Updated.
60987         (index_FMA_Usable): New macro.
60988         (CPUID_FMA): Likewise.
60989         (HAS_FMA): Defined with bit_FMA_Usable.
60991 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60993         * bits/types.h (__swblk_t): Type removed.
60994         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
60995         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
60996         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60997         (__SWBLK_T_TYPE): Likewise.
60998         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60999         (__SWBLK_T_TYPE): Likewise.
61000         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61001         (__SWBLK_T_TYPE): Likewise.
61002         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61003         (__SWBLK_T_TYPE): Likewise.
61005 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
61006             Honza Horak <hhorak@redhat.com>
61008         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
61009         (xdr_mapname): Use YPMAXMAP as maxsize.
61010         (xdr_peername): Use YPMAXPEER as maxsize.
61011         (xdr_keydat): Use YPAXRECORD as maxsize.
61012         (xdr_valdat): Use YPMAXRECORD as maxsize.
61014 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61016         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
61018         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
61019         * csu/init-first.c: ... here.
61020         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
61021         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
61022         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
61023         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
61024         * sysdeps/i386/init-first.c: File removed.
61025         * sysdeps/sh/init-first.c: File removed.
61027 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
61029         [BZ #14645]
61030         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
61031         if x * y might underflow to zero and z is zero.
61032         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61033         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61034         * math/libm-test.inc (min_subnorm_value): New variable.
61035         (fma_test): Add more tests.
61036         (fma_test_towardzero): Likewise.
61037         (fma_test_downward): Likewise.
61038         (fma_test_upward): Likewise.
61039         (initialize): Set min_subnorm_value.
61041 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
61043         [BZ #14638]
61044         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
61045         0 + 0.
61046         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
61047         mode for addition resulting in exact zero.
61048         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
61049         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
61050         exact 0 + 0.
61051         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61052         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61053         * math/libm-test.inc (fma_test): Add more tests.
61054         (fma_test_towardzero): New function.
61055         (fma_test_downward): Likewise.
61056         (fma_test_upward): Likewise.
61057         (main): Call the new functions.
61059 2012-09-28  David S. Miller  <davem@davemloft.net>
61061         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
61063 2012-09-28  Roland McGrath  <roland@hack.frob.com>
61065         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
61066         instead of SIGALRM.
61068         * sysdeps/gnu/_G_config.h: Moved to ...
61069         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
61070         * sysdeps/mach/hurd/_G_config.h: Moved to ...
61071         * sysdeps/generic/_G_config.h: ... here.
61073         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
61075         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
61077         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
61078         Conditionalize target on [libnss_test1.so-version].
61080         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
61082         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
61083         (elfobjdir): Move out of conditionals.
61085         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
61086         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
61087         (__nss_lookup_function): Conditionalize label remove_from_tree on
61088         [!DO_STATIC_NSS || SHARED], matching its only use.
61090 2012-09-28  David S. Miller  <davem@davemloft.net>
61092         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
61093         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
61094         file.
61095         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61096         sysdep_routines.
61097         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61098         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
61099         when HWCAP_SPARC_CRYPTO is present.
61101 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61103         * io/tst-mknodat.c: Create a FIFO instead of a socket.
61105 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
61107         [BZ #6530]
61108         * stdio-common/vfprintf.c (process_string_arg): Revert
61109         2000-07-22 change.
61111 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
61113         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
61114         for testcase.
61115         * stdio-common/tst-sprintf.c: Include <locale.h>
61116         (main): Test sprintf's handling of incomplete multibyte
61117         characters.
61119 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
61121         * elf/dl-runtime.c (VERSYMIDX): Removed.
61122         * elf/dl-version.c (VERSYMIDX): Likewise.
61123         * elf/do-rel.h (VERSYMIDX): Likewise.
61124         (VALIDX): Likewise.
61125         * elf/dynamic-link.h (VERSYMIDX): Likewise.
61126         * elf/rtld.c (VALIDX): Likewise.
61127         (ADDRIDX): Likewise.
61128         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
61129         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
61130         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
61131         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
61132         (VALIDX): Likewise.
61133         (ADDRIDX): Likewise.
61135 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61137         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
61139 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
61141         [BZ #11438]
61142         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
61143         to global scope.
61144         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
61145         addresses are in the same scope as 192.0.2/24.
61146         * posix/gai.conf: Document new scope table defaults.
61148 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61150         [BZ #5298]
61151         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
61152         for ftell.  Compute offsets from write pointers instead.
61153         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61155 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61157         [BZ #14543]
61158         * libio/Makefile (tests): New test case tst-fseek.
61159         * libio/tst-fseek.c: New test case to verify that fseek/ftell
61160         combination works in wide mode.
61161         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
61162         state when the external buffer state changes.
61164 2012-09-27  David S. Miller  <davem@davemloft.net>
61166         [BZ #14376]
61167         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
61168         pass reloc->r_addend in as the 'high' argument to
61169         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
61171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61173 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61175         * rt/tst-aio2.c: Include <pthread.h>.
61176         * rt/tst-aio3.c: Likewise.
61178 2012-09-27  Steve Ellcey  <sellcey@mips.com>
61180         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
61182 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
61184         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
61185         contents on [SHARED].
61187 2012-09-26  Marek Polacek  <polacek@redhat.com>
61189         [BZ #14530]
61190         [BZ #13741]
61191         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
61192         for C++ and GCC <4.3 as well as for non GCC compilers.
61194 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61196         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61198 2012-09-25  Roland McGrath  <roland@hack.frob.com>
61200         * Makefile.in (all, install): Declare with .PHONY.
61201         Reported by Michael Hope <michael.hope@linaro.org>.
61203 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61205         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
61206         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
61207         system header.
61208         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
61209         Likewise.
61210         (sydep_routines): Add the new and the internal functions.
61211         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
61212         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
61213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
61214         (GLIBC_2.17): Add the new function.
61215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61216         (GLIBC_2.17): Likewise.
61217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
61218         (GLIBC_2.17): Likewise.
61219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
61220         (GLIBC_2.17): Likewise.
61221         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
61223 2012-09-25  Alan Modra  <amodra@gmail.com>
61225         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
61226         Add release barrier before setting once_control to say
61227         initialisation is done.  Add hints on lwarx.  Use macro in
61228         place of isync.
61229         (clear_once_control): Add release barrier.
61231 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61233         [BZ #13629]
61234         * math/s_clog.c (__clog): Handle more values close to |z| = 1
61235         specially.
61236         * math/s_clog10.c (__clog10): Likewise.
61237         * math/s_clog10f.c (__clog10f): Likewise.
61238         * math/s_clog10l.c (__clog10l): Likewise.
61239         * math/s_clogf.c (__clogf): Likewise.
61240         * math/s_clogl.c (__clogl): Likewise.
61241         * math/Makefile (libm-calls): Add x2y2m1.
61242         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
61243         (__x2y2m1): Likewise.
61244         (__x2y2m1l): Likewise.
61245         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
61246         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
61247         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
61248         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61249         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
61250         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
61251         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
61252         * sysdeps/i386/fpu/libm-test-ulps: Update.
61253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61255         [BZ #14621]
61256         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
61257         int as type of variable DEPTH.
61258         (glob): Use size_t instead of int as type of variables NEWCOUNT
61259         and OLD_PATHC.
61261 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61263         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61264         Add s_sincosf-sse2.
61265         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
61266         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
61267         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
61268         macros for using routine as __sincosf_ia32.
61269         Use macro for function declaration and weak_alias.
61270         * sysdeps/i386/fpu/libm-test-ulps: Update.
61272         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
61273         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61275         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
61276         subnormal argument.
61277         * math/s_cexpf.c (__cexpf): Likewise.
61278         * math/s_csinf.c (__csinf): Likewise.
61279         * math/s_csinhf.c (__csinhf): Likewise.
61280         * math/s_ctanf.c (__ctanf): Likewise.
61281         * math/s_ctanhf.c (__ctanhf): Likewise.
61282         * math/s_ccosh.c (__ccoshf): Likewise.
61283         * math/s_cexp.c (__cexpl): Likewise.
61284         * math/s_csin.c (__csin): Likewise.
61285         * math/s_csinh.c (__csinh): Likewise.
61286         * math/s_ctan.c (__ctan): Likewise.
61287         * math/s_ctanh.c (ctanh): Likewise.
61288         * math/s_ccoshl.c (__ccoshl): Likewise.
61289         * math/s_cexpl.c (__cexpl): Likewise.
61290         * math/s_csinl.c (__csinl): Likewise.
61291         * math/s_csinhl.c (__csinhl): Likewise.
61292         * math/s_ctanl.c (__ctanl): Likewise.
61293         * math/s_ctanhl.c (__ctanhl): Likewise.
61295 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61297         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
61298         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
61299         (_IO_off_t): Define to __off_t, not _G_off_t.
61300         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
61301         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
61302         (_IO_wint_t): Define to wint_t, not _G_wint_t.
61303         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
61304         type of __dummy and __dummy2 fields.
61305         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
61306         (_G_ssize_t): Likewise.
61307         (_G_off_t): Likewise.
61308         (_G_pid_t): Likewise.
61309         (_G_uid_t): Likewise.
61310         (_G_wchar_t): Likewise.
61311         (_G_wint_t): Likewise.
61312         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
61313         (_G_ssize_t): Likewise.
61314         (_G_off_t): Likewise.
61315         (_G_pid_t): Likewise.
61316         (_G_uid_t): Likewise.
61317         (_G_wchar_t): Likewise.
61318         (_G_wint_t): Likewise.
61319         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
61320         (_G_ssize_t): Likewise.
61321         (_G_off_t): Likewise.
61322         (_G_pid_t): Likewise.
61323         (_G_uid_t): Likewise.
61324         (_G_wchar_t): Likewise.
61325         (_G_wint_t): Likewise.
61327 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61329         * malloc/arena.c: Include malloc-sysdep.h.
61330         (shrink_heap): Use check_may_shrink_heap to decide if madvise
61331         is sufficient to shrink the heap or an unmap is needed.
61332         * sysdeps/generic/malloc-sysdep.h: New file.  Define
61333         new function check_may_shrink_heap.
61334         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
61335         new function check_may_shrink_heap.
61337 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61339         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
61340         comments.
61342 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
61344         * catgets/test-gencat.sh: Add "set -e".
61345         * elf/tst-pathopt.sh: Likewise.
61346         * grp/tst_fgetgrent.sh: Likewise.
61347         * iconvdata/run-iconv-test.sh: Likewise.
61348         * intl/tst-gettext.sh: Likewise.
61349         * intl/tst-gettext2.sh: Likewise.
61350         * intl/tst-gettext4.sh: Likewise.
61351         * intl/tst-gettext6.sh: Likewise.
61352         * intl/tst-translit.sh: Likewise.
61353         * io/ftwtest-sh: Likewise.
61354         * libio/test-freopen.sh: Likewise.
61355         * malloc/tst-mtrace.sh: Likewise.
61356         * posix/globtest.sh: Likewise.
61357         * posix/tst-getconf.sh: Likewise.
61358         * posix/wordexp-tst.sh: Likewise.
61359         * stdio-common/tst-printf.sh: Likewise.
61360         * stdio-common/tst-unbputc.sh: Likewise.
61361         * stdlib/tst-fmtmsg.sh: Likewise.
61362         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61363         * catgets/Makefile: Do not specify -e option when running
61364         testsuite shell scripts.
61365         * elf/Makefile: Likewise.
61366         * grp/Makefile: Likewise.
61367         * iconvdata/Makefile: Likewise.
61368         * intl/Makefile: Likewise.
61369         * io/Makefile: Likewise.
61370         * libio/Makefile: Likewise.
61371         * malloc/Makefile: Likewise.
61372         * posix/Makefile: Likewise.
61373         * stdio-common/Makefile: Likewise.
61374         * stdlib/Makefile: Likewise.
61375         * sysdeps/x86_64/Makefile: Likewise.
61377         * io/ftwtest-sh: Add copyright header.
61378         * posix/globtest.sh: Likewise.
61379         * posix/tst-getconf.sh: Likewise.
61380         * posix/wordexp-tst.sh: Likewise.
61381         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61383 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
61385         [BZ #13679]
61386         * Makeconfig (+link): Defined as $(+link-static) if
61387         $(build-shared) isn't yes.
61388         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
61389         isn't yes.
61390         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
61392         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
61394         [BZ #14562]
61395         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
61396         new chunk size with MALLOC_ALIGN_MASK.
61398 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
61400         [BZ #5044]
61401         * stdio-common/printf_fphex.c: Include <stdbool.h> and
61402         <rounding-mode.h>.
61403         (__printf_fphex): Determine rounding using get_rounding_mode and
61404         round_away.
61405         * stdio-common/tst-printf-round.c (struct hex_test): New
61406         structure.
61407         (hex_tests): New variable.
61408         (test_hex_in_one_mode): New function.
61409         (do_test): Also run tests for hex float output.
61411 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
61413         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61414         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61415         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
61416         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61417         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61418         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
61419         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61420         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61422 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
61424         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
61425         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
61426         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
61427         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
61429 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
61431         [BZ #14579]
61432         * elf/rtld.c (dl_main): Limit the check for self loading to normal
61433         mode only.
61434         * elf/tst-rtld-load-self.sh: New test.
61435         * elf/Makefile: Run it.
61437 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
61439         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
61440         (tst-writev-ENV): Remove.
61441         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
61443 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
61445         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
61447 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
61449         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
61450         unconditional.
61451         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
61452         Likewise.
61453         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
61454         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
61455         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
61456         Likewise.
61458 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
61460         [BZ #14587]
61461         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
61462         * config.make.in (have-cpp-asm-debuginfo): Removed.
61463         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
61464         * configure: Regenerated.
61466 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
61468         [BZ #5044]
61469         * stdio-common/printf_fp.c: Include <stdbool.h> and
61470         <rounding-mode.h>.
61471         (___printf_fp): Determine rounding using get_rounding_mode and
61472         round_away.
61473         * stdio-common/tst-printf-round.c: New file.
61474         * stdio-common/Makefile (tests): Add tst-printf-round.
61475         (link-libm): New variable.
61476         ($(objpfx)tst-printf-round): Depend in $(link-libm).
61478 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
61480         [BZ #14576]
61481         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
61482         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
61483         Likewise.
61484         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
61485         Likewise.
61487 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
61489         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
61490         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61491         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61492         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61494 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
61496         [BZ #14518]
61497         * include/rounding-mode.h: New file.
61498         * sysdeps/generic/get-rounding-mode.h: Likewise.
61499         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
61500         * stdlib/strtod_l.c: Include <rounding-mode.h>.
61501         (MAX_VALUE): New macro.
61502         (MIN_VALUE): Likewise.
61503         (overflow_value): New function.
61504         (underflow_value): Likewise.
61505         (round_and_return): Use overflow_value and underflow_value to
61506         determine return values in overflow and underflow cases.  Use
61507         round_away to determine rounding depending on rounding mode.
61508         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
61509         determine return values in overflow and underflow cases.
61510         * stdlib/tst-strtod-round.c: Include <fenv.h>.
61511         (struct test_results): New structure.
61512         (struct test): Use struct test_results to store expected results
61513         for all rounding modes.
61514         (TEST): Include expected results for all rounding modes.
61515         (test_in_one_mode): New function.
61516         (do_test): Use test_in_one_mode to compute and check results.
61517         Check results for all rounding modes.
61518         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
61519         $(link-libm).
61521 2012-12-09  Allan McRae  <allan@archlinux.org>
61523         * sysdeps/i386/fpu/libm-test-ulps: Update
61525 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
61527         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
61528         (_G_int32_t): Likewise.
61529         (_G_uint16_t): Likewise.
61530         (_G_uint32_t): Likewise.
61531         (_G_HAVE_BOOL): Likewise.
61532         (_G_HAVE_ATEXIT): Likewise.
61533         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61534         (_G_HAVE_IO_FILE_OPEN): Likewise.
61535         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
61536         (_G_int32_t): Likewise.
61537         (_G_uint16_t): Likewise.
61538         (_G_uint32_t): Likewise.
61539         (_G_HAVE_BOOL): Likewise.
61540         (_G_HAVE_ATEXIT): Likewise.
61541         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61542         (_G_HAVE_IO_FILE_OPEN): Likewise.
61543         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
61544         (_G_int32_t): Likewise.
61545         (_G_uint16_t): Likewise.
61546         (_G_uint32_t): Likewise.
61547         (_G_HAVE_BOOL): Likewise.
61548         (_G_HAVE_ATEXIT): Likewise.
61549         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61550         (_G_HAVE_IO_FILE_OPEN): Likewise.
61552 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
61554         * csu/libc-tls.c: Update copyright years.
61556 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
61558         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
61559         [!_G_USING_THUNKS]: Remove conditional code.
61560         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
61561         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
61563         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
61564         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
61565         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61566         (_G_VTABLE_LABEL_PREFIX): Likewise.
61567         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61568         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61569         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61570         (_G_VTABLE_LABEL_PREFIX): Likewise.
61571         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61572         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61573         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61574         (_G_VTABLE_LABEL_PREFIX): Likewise.
61575         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61577 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
61579         * libio/Makefile: Include ../Makeconfig before tests.
61580         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
61581         only if $(build-shared) is yes.
61583         * iconv/gconv_db.c: Update copyright years.
61585 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61587         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
61588         unwind info if defined PIC. Fix special cases description.
61589         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
61591         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
61592         DP_HI_MASK entry.
61593         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
61595 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
61597         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
61599         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
61600         is NULL.
61602         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
61603         (LDLIBS-tst-chk4): This.
61604         (LDFLAGS-tst-chk5): Renamed to ...
61605         (LDLIBS-tst-chk5): This.
61606         (LDFLAGS-tst-chk6): Renamed to ...
61607         (LDLIBS-tst-chk6): This.
61608         (LDFLAGS-tst-lfschk4): Renamed to ...
61609         (LDLIBS-tst-lfschk4): This.
61610         (LDFLAGS-tst-lfschk5): Renamed to ...
61611         (LDLIBS-tst-lfschk5): This.
61612         (LDFLAGS-tst-lfschk6): Renamed to ...
61613         (LDLIBS-tst-lfschk6): This.
61615         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
61616         on $(common-objpfx)soversions.mk.
61618 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
61620         [BZ #10014]
61621         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
61622         example host name.
61624 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61626         * malloc/arena.c (arena_get_retry): New function that gets
61627         another arena for the caller to try its request on.
61628         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
61629         current arena cannot fulfill the request.
61630         (__libc_memalign): Likewise.
61631         (__libc_memalign): Likewise.
61632         (__libc_pvalloc): Likewise.
61633         (__libc_calloc): Likewise.
61635 2012-09-05  John Tobey  <john.tobey@gmail.com>
61637         [BZ #13542]
61638         * manual/arith.texi (Operations on Complex): Fix description
61639         of carg branch cut.
61641 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61643         [BZ #10014]
61644         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
61645         host name.
61647         [BZ #10038]
61648         * manual/memory.texi (Memory): Make order of menu items match
61649         order of sections.
61651 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61653         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
61654         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
61655         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
61657 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61659         * csu/libc-tls.c (static_dtv): Renamed to ...
61660         (_dl_static_dtv): This.  Make it global.
61661         (_dl_initial_dtv): Removed.
61662         (__libc_setup_tls): Updated.
61663         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
61664         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
61665         DL_INITIAL_DTV.
61667 2012-09-06  Petr Machata  <pmachata@redhat.com>
61669         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
61670         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
61671         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
61672         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
61674 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61676         [BZ #14545]
61677         * csu/libc-tls.c (_dl_initial_dtv): New variable.
61678         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
61679         freeing dtv[-1].
61681 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61683         [BZ #14544]
61684         * Makeconfig (link-static-before-libc): Replace $(+prector)
61685         with $(+prectorT).
61686         (link-static-after-libc): Replace $(+postctor) with
61687         $(+postctorT).
61688         (link-bounded): Replace $(+prector)/$(+postctor) with
61689         $(+prectorT)/$(+postctorT).
61690         (+prectorT): New macro.
61691         (+postctorT): Likewise.
61693 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61695         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
61696         (round_str): Handle values above the maximum for IBM long double
61697         as inexact.
61698         * stdlib/tst-strtod-round.c (tests): Regenerated.
61700 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61702         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
61703         assembler flag.
61704         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
61705         zarch_nohighgprs around the zarch optimized routines.
61706         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
61707         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
61708         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
61709         for zarch.
61711 2012-09-05  David S. Miller  <davem@davemloft.net>
61713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61715         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
61716         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
61717         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
61718         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61719         entries.
61721 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61723         * malloc/arena.c: Fold copyright years.
61724         * malloc/mcheck.c, malloc/memusage.c: Likewise.
61726 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61728         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
61730 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61732         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
61734 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61736         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
61737         change internal state upon failure.
61739 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61741         * malloc/mcheck.c (mcheck_check_all): Fix typo.
61742         * malloc/memusage.c (mmap): Likewise.
61743         (mmap64, mremap): Likewise.  Adjust name in comment.
61745 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61747         * libio/fileops.c: Fix typos in comments.
61748         * libio/oldfileops.c: Likewise.
61749         * libio/wfileops.c: Likewise.
61751 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61753         [BZ #1349]
61754         * malloc/Makefile (tests): Add tst-malloc-usable test case.
61755         (tst-malloc-usable-ENV): Set environment for test case.
61756         * malloc/hooks.c (malloc_check_get_size): New function to get
61757         requested size.
61758         * malloc/malloc.c (musable): Use malloc_check_get_size.
61759         * malloc/tst-malloc-usable.c: New test case.
61761 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61763         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
61765 2012-09-05  Allan McRae  <allan@archlinux.org>
61767         [BZ #13966]
61768         * configure.in (CXX_SYSINCLUDES): Use compiler output to
61769         determine header location.
61770         * configure: Regenerated.
61772 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61774         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
61775         float format.
61776         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
61777         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
61778         format.
61779         (test): Regenerate.
61781 2012-09-04  David S. Miller  <davem@davemloft.net>
61783         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
61784         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
61785         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
61787 2012-09-04  Florian Weimer  <fweimer@redhat.com>
61789         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
61790         failures.
61792         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
61794 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
61796         [BZ #9914]
61797         * libio/iogetdelim.c: Include <limits.h>.
61798         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
61799         + len + 1 would overflow.
61801 2012-09-03  Andreas Jaeger  <aj@suse.de>
61803         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61804         * sysdeps/i386/fpu/libm-test-ulps: Update.
61806 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61808         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61809         Add s_sinf-sse2, s_conf-sse2.
61811         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
61812         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
61813         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
61814         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
61816         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
61817         for using routine as __sinf_ia32.
61818         Use macro for function declaration and weak_alias.
61819         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
61820         for using routine as __cosf_ia32.
61821         Use macro for function declaration and weak_alias.
61823         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
61824         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
61826         * sysdeps/x86_64/fpu/s_sinf.S: New file.
61827         * sysdeps/x86_64/fpu/s_cosf.S: New file.
61828         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61830         * math/libm-test.inc (cos_test): Add more test cases.
61831         (sin_test): Likewise.
61832         (sincos_test): Likewise.
61834 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61836         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
61837         (IFUNC_RESOLVE): Make pointers to the specialized implementations
61838         hidden.
61839         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61841 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
61843         [BZ #14538]
61844         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
61845         first element of the GOT.
61846         (elf_machine_load_address): Return the difference between
61847         the runtime address of _DYNAMIC and elf_machine_dynamic ().
61849 2012-09-01  Allan McRae  <allan@archlinux.org>
61851         [BZ #13412]
61852         * configure.in (AWK): Require gawk version 3.0 or later.
61853         * configure: Regenerated.
61855 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
61857         * sysdeps/unix/sysv/linux/kernel-features.h
61858         (__ASSUME_POSIX_CPU_TIMERS): Remove.
61859         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61860         [__NR_clock_getres]: Make code unconditional.
61861         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
61862         (clock_getcpuclockid): Remove code left unreachable by removal of
61863         conditionals.
61864         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
61865         code unconditional.
61866         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61867         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61868         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
61869         Make code unconditional.
61870         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61871         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61872         * sysdeps/unix/sysv/linux/clock_settime.c
61873         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
61874         conditional code.
61875         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
61876         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61878 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
61880         [BZ #14476]
61881         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
61882         scripts/test-installation.pl.
61884         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
61885         and $ld_so_version if it is set.
61887 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61889         [BZ #14516]
61890         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
61891         failure if reading from procfs failed.
61892         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
61894 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61896         * sysdeps/unix/sysv/linux/kernel-features.h
61897         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
61898         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61899         Remove conditional code.
61900         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61901         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
61902         Remove conditional code.
61903         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61904         * sysdeps/unix/sysv/linux/i386/fxstat.c
61905         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61906         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61907         * sysdeps/unix/sysv/linux/i386/fxstatat.c
61908         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61909         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61910         * sysdeps/unix/sysv/linux/i386/lxstat.c
61911         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61912         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61913         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
61914         Remove conditional code.
61915         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61916         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61917         Remove conditional code.
61918         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61919         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
61920         <kernel-features.h>.
61921         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
61922         Remove.
61923         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
61924         Remove conditional code.
61925         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61926         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
61927         Remove conditional.
61929 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
61931         [BZ #5400]
61932         * NEWS: Add fixed bug number.
61934 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61936         [BZ #14519]
61937         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
61938         underflowing exponent in case of negative sign.
61939         * stdlib/tst-strtod-round-data: Add more tests.
61940         * stdlib/tst-strtod-round.c (tests): Regenerated.
61942         [BZ #3479]
61943         * stdlib/strtod_l.c (NDIG): Remove.
61944         (HEXNDIG): Likewise.
61945         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
61946         smallest representable value.
61947         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
61948         lie within an exact representation of 1/2 ulp of the result.
61949         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
61950         unconditionally.
61951         (TENS_P9_IDX): Define unconditionally.
61952         (TENS_P9_SIZE): Likewise.
61953         (TENS_P10_IDX): Likewise.
61954         (TENS_P10_SIZE): Likewise.
61955         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
61956         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
61957         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
61958         entries for 10^2^13 and 10^2^14.
61959         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
61960         (TENS_P13_IDX): Define.
61961         (TENS_P13_SIZE): Likewise.
61962         (TENS_P14_IDX): Likewise.
61963         (TENS_P14_SIZE): Likewise.
61964         (_fpioconst_pow10): Change array size to
61965         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
61966         unconditional.
61967         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
61968         1024]: Add entries for 10^2^13 and 10^2^14.
61969         [LAST_POW10 > _LAST_POW10]: Remove #error.
61970         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
61971         (_fpioconst_pow10): Change array size to
61972         FPIOCONST_POW10_ARRAY_SIZE.
61973         * stdlib/gen-fpioconst.c: New file.
61974         * stdlib/gen-tst-strtod-round.c: Likewise.
61975         * stdlib/tst-strtod-round-data: Likewise.
61976         * stdlib/tst-strtod-round.c: Likewise.
61977         * stdlib/Makefile (tests): Add tst-strtod-round.
61979         [BZ #14459]
61980         * stdlib/strtod_l.c: Include <stdint.h>.
61981         (NDEBUG): Do not define.
61982         (round_and_return): Change EXPONENT parameter to type intmax_t.
61983         Rearrange calculations to avoid internal overflow possibilities.
61984         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
61985         Rearrange calculations to avoid internal overflow possibilities.
61986         Assert that number fits inside MPNSIZE limbs.
61987         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
61988         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
61989         calculations and add assertions to avoid internal overflow
61990         possibilities.  Add casts to avoid signed/unsigned operations.
61991         * stdlib/tst-strtod-overflow.c: New file.
61992         * stdlib/Makefile (tests): Add tst-strtod-overflow.
61994 2012-08-25  Marek Polacek  <polacek@redhat.com>
61996         * time/time.h: Fix some typos in comments.
61998 2012-08-23  Roland McGrath  <roland@hack.frob.com>
62000         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
62001         * posix/tst-rfc3484-2.c: Likewise.
62002         * posix/tst-rfc3484-3.c: Likewise.
62004 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
62006         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
62007         (EF_ARM_ABI_FLOAT_HARD): Likewise.
62009 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
62011         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
62012         #include of fxstatat64.c.
62014 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62016         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
62017         * shadow/getspent_r.c: Likewise.
62018         * shadow/getspnam.c: Likewise.
62019         * shadow/getspnam_r.c: Likewise.
62020         * gshadow/getsgent.c: Likewise.
62021         * gshadow/getsgent_r.c: Likewise.
62022         * gshadow/getsgnam.c: Likewise.
62023         * gshadow/getsgnam_r.c: Likewise.
62024         * inet/getnetbyad.c: Likewise.
62025         * inet/getnetbyad_r.c: Likewise.
62026         * inet/getnetbynm.c: Likewise.
62027         * inet/getnetbynm_r.c: Likewise.
62028         * inet/getnetent.c: Likewise.
62029         * inet/getnetent_r.c: Likewise.
62030         * inet/getproto.c: Likewise.
62031         * inet/getproto_r.c: Likewise.
62032         * inet/getprtent.c: Likewise.
62033         * inet/getprtent_r.c: Likewise.
62034         * inet/getprtname.c: Likewise.
62035         * inet/getprtname_r.c: Likewise.
62036         * inet/getrpcbyname.c: Likewise.
62037         * inet/getrpcbyname_r.c: Likewise.
62038         * inet/getrpcbynumber.c: Likewise.
62039         * inet/getrpcbynumber_r.c: Likewise.
62040         * inet/getrpcent.c: Likewise.
62041         * inet/getrpcent_r.c: Likewise.
62042         * inet/getaliasent.c: Likewise.
62043         * inet/getaliasent_r.c: Likewise.
62044         * inet/getaliasname.c: Likewise.
62045         * inet/getaliasname_r.c: Likewise.
62046         * nscd/getgrgid_r.c: Likewise.
62047         * nscd/getgrnam_r.c: Likewise.
62048         * nscd/gethstbyad_r.c: Likewise.
62049         * nscd/gethstbynm3_r.c: Likewise.
62050         * nscd/getpwnam_r.c: Likewise.
62051         * nscd/getpwuid_r.c: Likewise.
62052         * nscd/getsrvbynm_r.c: Likewise.
62053         * nscd/getsrvbypt_r.c: Likewise.
62054         * nscd/gai.c: Likewise.
62056         * configure.in (build_nscd): New substituted variable, set
62057         by --disable-build-nscd and defaults to $use_nscd.
62058         * configure: Regenerated.
62059         * config.make.in (build-nscd): New substituted variable.
62060         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
62061         Change conditional to require [$(build-nscd) = yes] as well.
62062         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
62064         [BZ# 13696]
62065         * configure.in (use_nscd): New substituted variable, set by
62066         --disable-nscd.  If enabled, define USE_NSCD.
62067         * configure: Regenerated.
62068         * config.h.in: Add USE_NSCD.
62069         * config.make.in (use-nscd): New substituted variable.
62070         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
62071         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
62072         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
62073         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
62074         (CFLAGS-getgrnam_r.c): Likewise.
62075         (CFLAGS-initgroups.c): Likewise.
62076         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
62077         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
62078         Variables removed.
62079         * inet/getnetgrent_r.c
62080         (nscd_setnetgrent): New function, broken out of ...
62081         (setnetgrent): ... here.  Call it.
62082         (innetgr): Conditionalize nscd bits on [USE_NSCD].
62083         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
62084         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
62085         * nscd/Makefile (routines, aux): Move definitions after include of
62086         Makeconfig.  Conditionalize on [$(use-nscd) != no].
62087         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
62088         Conditionalize on [USE_NSCD].
62089         (is_nscd, nscd_init_cb): Likewise.
62090         (nss_load_library): Conditionalize init callback on [USE_NSCD].
62091         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
62092         * nss/nss_db/db-init.c: Likewise.
62093         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
62094         [USE_NSCD].
62095         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
62096         (make_request): Use it.
62097         (cache_valid_p): New function.
62098         (__check_pf): Use it.
62099         * NEWS: Add item for --disable-nscd.
62101 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
62103         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
62104         to support sed >= 4.2.1-20-ga9bf076.
62105         * configure: Regenerated.
62107 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62109         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
62110         Conditionalize whole body on [IREL].
62112 2012-08-22  Jeff Law <law@redhat.com>
62114         [BZ #14505]
62115         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
62116         if the family is PF_UNSPEC.
62118 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
62120         * Makerules (lib-version): Rename from V.
62121         (install-lib-nosubdir): Change V to lib-version.
62123 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
62125         [BZ #14252]
62126         * powerpc32/power6/wcschr.c: New file.
62127         * powerpc32/power6/wcscpy.c: New file.
62128         * powerpc32/power6/wcsrchr.c: New file.
62129         * powerpc64/power6/wcschr.c: New file.
62130         * powerpc64/power6/wcscpy.c: New file.
62131         * powerpc64/power6/wcsrchr.c: New file.
62133 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62135         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
62136         (two_way_short_needle): Use it.
62137         * string/strstr.c (AVAILABLE1_USES_J): Define.
62138         * string/strcasestr.c: Likewise.
62140         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
62141         array references.
62142         * string/strcasestr.c (TOLOWER): Make side-effect safe.
62144         [BZ #11607]
62145         * NEWS: Add an entry.
62146         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
62147         define their defaults.
62148         (two_way_short_needle): Detect end-of-string on-the-fly.
62149         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
62150         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
62151         * string/bug-strcasestr1.c: New test.
62152         * string/Makefile: Run it.
62154 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62156         [BZ #11607]
62157         * string/str-two-way.h (two_way_short_needle): Optimize matching of
62158         the first character.
62160 2012-08-21  Roland McGrath  <roland@hack.frob.com>
62162         * csu/elf-init.c (__libc_csu_irel): Function removed.
62163         * csu/libc-start.c (apply_irel): New function.
62164         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
62166 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
62168         * sysdeps/unix/sysv/linux/kernel-features.h
62169         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
62170         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
62171         <kernel-features.h>.
62172         [__NR_fadvise64_64]: Make code unconditional.
62173         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
62174         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62175         !__NR_fadvise64_64)]: Likewise.
62176         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62177         !__NR_fadvise64_64))]: Likewise.
62178         [__NR_fadvise64]: Make code unconditional.
62179         [!__NR_fadvise64]: Remove conditional code.
62180         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
62181         <kernel-features.h>.
62182         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62183         unconditional.
62184         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62185         conditional code.
62186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
62187         not include <kernel-features.h>.
62188         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62189         unconditional.
62190         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62191         conditional code.
62192         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
62193         include <kernel-features.h>.
62194         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62195         unconditional.
62196         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62197         conditional code.
62199 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62201         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
62202         slight instruction rearrangements per scrollpipe analysis.
62203         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62205 2012-08-20  Roland McGrath  <roland@hack.frob.com>
62207         * manual/syslog.texi (syslog; vsyslog, closelog):
62208         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
62209         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
62211         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
62212         DSOCAPS to match condition on defining it.
62214 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
62216         * sysdeps/unix/sysv/linux/kernel-features.h
62217         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
62218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
62219         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62220         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
62222         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62223         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
62225         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62226         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62228         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
62229         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
62231         * sysdeps/unix/sysv/linux/kernel-features.h
62232         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
62233         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
62234         unconditional.
62235         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62236         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
62237         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62238         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62239         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
62240         Make code unconditional.
62241         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62242         (__mmap64) [!__NR_mmap2]: Likewise.
62243         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
62244         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62245         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62246         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
62247         [__NR_mmap2]: Make code unconditional.
62248         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62249         (__mmap64) [!__NR_mmap2]: Likewise.
62251 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62253         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
62255 2012-08-18  Andreas Jaeger  <aj@suse.de>
62257         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
62259 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62261         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
62262         * include/unistd.h (__have_sock_cloexec): Likewise.
62263         (__have_pipe2): Likewise.
62264         (__have_dup3): Likewise.
62266 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62268         [BZ #9685]
62269         * include/unistd.h (__have_pipe2): Change define into an extern int.
62270         (__have_dup3): Likewise.
62271         * socket/have_sock_cloexec.c: Include fcntl.h.
62272         (__have_pipe2): New variable.
62273         (__have_dup3): Likewise.
62275 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
62277         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
62279 2012-08-17  Marek Polacek  <polacek@redhat.com>
62281         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
62282         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
62284 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62286         * configure.in: Add AC_SUBST for sysheaders.
62287         * configure: Regenerated.
62288         * config.make.in (sysheaders): New substituted variable.
62290         * sysdeps/unix/mkfifo.c: Moved ...
62291         * sysdeps/posix/mkfifo.c: ... here.
62292         * sysdeps/unix/mkfifoat.c: Moved ...
62293         * sysdeps/posix/mkfifoat.c: ... here.
62295         * sysdeps/unix/utime.c: Moved ...
62296         * sysdeps/posix/utime.c: ... here.
62298         * sysdeps/unix/time.c: Moved ...
62299         * sysdeps/posix/time.c: ... here.
62300         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
62301         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
62303         * sysdeps/unix/nice.c: Moved ...
62304         * sysdeps/posix/nice.c: ... here.
62306         * sysdeps/unix/alarm.c: Moved ...
62307         * sysdeps/posix/alarm.c: ... here.
62309         * intl/Makefile ($(codeset_mo)): Depend on the input file.
62311 2012-08-17  Jeff Law <law@redhat.com>
62313         * intl/Makefile (codeset_mo): New variable.
62314         ($(codeset_mo)): New target.
62315         (tst-codeset.out): Depend on that.  Remove explicit rule.
62316         (tst-gettext3.out, tst-gettext5.out): Likewise.
62317         (LOCPATH-ENV, tst-codeset-ENV): New variables.
62318         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
62319         * intl/tst-codeset.sh: Remove.
62320         * intl/tst-gettext3.sh: Likewise.
62321         * intl/tst-gettext5.sh: Likewise.
62323 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62325         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
62326         * sysdeps/unix/syscalls.list: ... here.
62328         * sysdeps/posix/getaddrinfo.c
62329         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
62330         (gaiconf_init, gaiconf_reload): Use them.
62331         [!_STATBUF_ST_NSEC]
62332         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
62333         Define using time_t rather than struct timespec.
62335         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
62336         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
62337         Macros removed.
62338         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
62339         [!NO_THREADS].
62340         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
62341         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
62342         Likewise.
62344         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
62345         __libc_cleanup_push argument.
62347         * bits/param.h: New file.
62348         * misc/sys/param.h: New file.
62349         * include/sys/param.h: New file.
62350         * misc/Makefile (headers): Add bits/param.h.
62351         * sysdeps/generic/sys/param.h: File removed.
62352         * sysdeps/unix/sysv/linux/bits/param.h: New file.
62353         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
62354         * sysdeps/mach/hurd/bits/param.h: New file.
62355         * sysdeps/mach/hurd/sys/param.h: File removed.
62357         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
62358         last change.
62360         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
62361         [_IO_MTSAFE_IO].
62362         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
62363         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
62364         New macros.
62366         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
62367         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
62368         rather than -D_IO_MTSAFE_IO conditionally.
62369         * stdio-common/Makefile (CPPFLAGS): Likewise.
62370         * wcsmbs/Makefile (CPPFLAGS): Likewise.
62371         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
62372         Use $(libio-mtsafe).
62373         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
62374         of -D_IO_MTSAFE_IO.
62375         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
62376         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
62377         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
62378         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
62379         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
62380         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
62381         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
62382         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
62383         (CFLAGS-fread_u_chk.c): Likewise.
62384         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
62385         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
62386         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
62387         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
62388         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
62389         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
62390         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
62391         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
62392         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
62394         * libio/Makefile: Test [$(libc-reentrant) = yes]
62395         instead of [$(filter %REENTRANT, $(defines)) nonempty].
62397         * Makeconfig
62398         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
62399         * sysdeps/pthread/configure: File removed.
62400         * sysdeps/pthread/Makeconfig: New file.
62401         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
62402         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
62404 2012-08-16  Gary Benson  <gbenson@redhat.com>
62406         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
62407         unmapping the first object in a namespace.
62409 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62411         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
62412         (__internal_setnetgrent): ... this.  Add internal_function to
62413         definition.  Add libc_hidden_def.
62414         (setnetgrent): Update caller.
62415         (internal_endnetgrent): Renamed to ...
62416         (__internal_endnetgrent): ... this.  Add internal_function to
62417         definition.  Add libc_hidden_def.
62418         (endnetgrent): Update caller.
62419         (internal_getnetgrent_r): Renamed to ...
62420         (__internal_getnetgrent_r): ... this.  Add internal_function to
62421         definition.  Add libc_hidden_def.
62422         (__getnetgrent_r): Update caller.
62423         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
62425 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62427         * stdlib/longlong.h: Update from GCC.
62429 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62431         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
62432         on _QL, which is set by umul_ppmm but never used.
62433         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
62434         variables, which are set by GMP macros but never used.
62435         * stdio-common/_itowa.c (_itowa): Likewise.
62436         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
62437         * stdlib/mod_1.c (mpn_mod_1): Likewise.
62439 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
62441         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
62442         struct La_sh_regs is not constant.
62443         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
62444         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
62445         and struct La_sparc64_regs are not constant.
62447 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62449         * sysdeps/unix/sysv/linux/kernel-features.h
62450         (__ASSUME_POSIX_TIMERS): Remove.
62451         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62452         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62453         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
62454         Make code unconditional.
62455         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62456         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
62457         Make code unconditional.
62458         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62459         * sysdeps/unix/sysv/linux/clock_nanosleep.c
62460         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
62461         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62462         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
62463         Make code unconditional.
62464         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62465         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
62466         (__libc_missing_posix_timers): Remove.
62468 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62470         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
62471         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
62473         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
62475         * elf/dl-sym.c: Include <stdlib.h>.
62477         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
62478         constants, which avoids warnings in 32-bit builds.
62480         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
62481         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
62483         * misc/lseek.c: File moved to ...
62484         * io/lseek.c: ... here.
62486         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
62488         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
62489         shifting LEN more than 31 bits at once.
62491 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62493         [BZ #14195]
62494         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
62495         segmentation fault for a case of two empty input strings.
62496         * string/test-strncasecmp.c (check1): Renamed to...
62497         (bz12205): ...this.
62498         (bz14195): Add new testcase for two empty input strings and N > 0.
62499         (test_main): Call new testcase, adapt for renamed function.
62501 2012-08-15  Andreas Jaeger  <aj@suse.de>
62503         [BZ #14090]
62504         * crypt/md5test2.c: New test, based on test supplied by Serge
62505         Belyshev <belyshev@depni.sinp.msu.ru>.
62506         * crypt/Makefile (xtests): Add md5test-giant..
62507         * crypt/Makefile ($(objpfx)md5test-giant): Add.
62509 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
62511         [BZ #14090]
62512         * crypt/md5.c (md5_process_block): Don't assume the buffer
62513         length is less than 2**32.
62514         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
62515         length is less than 2**64.
62517 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62519         * string/str-two-way.h: Include <sys/param.h>.
62520         (MAX): Macro removed.
62522         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
62523         Move #define and #undef of memmove to just before and after
62524         including <string.h>.
62526         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
62527         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
62528         and after including <string.h>.  Move declarations of
62529         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
62530         to before #include "string/memmove.c".
62532         * include/dirent.h: Declare __getdirentries.
62534         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
62535         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
62537 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
62539         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
62540         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
62541         * sysdeps/i386/configure: Regenerated.
62542         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
62543         STABS_CURRENT_FILE, and STABS_FUN.
62544         (END): Remove call to STABS_FUN_END.
62545         (STABS_CURRENT_FILE1): Delete.
62546         (STABS_CURRENT_FILE): Likewise.
62547         (STABS_FUN): Likewise.
62548         (STABS_FUN_END): Likewise.
62549         (STABS_FUN2): Likewise.
62550         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
62551         * sysdeps/x86_64/configure: Regenerated.
62553 2012-08-14  Roland McGrath  <roland@hack.frob.com>
62555         * elf/dl-open.c: Include <atomic.h>.
62556         * elf/dl-lookup.c: Likewise.
62558 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
62560         * sysdeps/unix/sysv/linux/kernel-features.h
62561         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
62562         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
62563         unconditionally.
62564         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
62565         unconditionally.
62566         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
62567         condition on __ASSUME_CLONE_THREAD_FLAGS.
62569 2012-08-14  Andreas Jaeger  <aj@suse.de>
62571         * sysdeps/i386/fpu/libm-test-ulps: Update.
62573 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
62575         * include/atomic.h (atomic_exchange_and_add): Split into ...
62576         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
62577         New atomic macros.
62579 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
62581         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62583 2012-08-13  Jeff Law <law@redhat.com>
62585         * manual/stdio.texi (snprintf): Clarify handling of the trailing
62586         null byte in the output string.
62588 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
62590         * sysdeps/unix/sysv/linux/kernel-features.h
62591         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
62592         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
62593         (__ASSUME_ARG_MAX_STACK_BASED): Define.
62594         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
62595         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
62596         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
62597         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
62599 2012-08-09  Jeff Law <law@redhat.com>
62601         [BZ #13939]
62602         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
62603         When avoid_arena is set, don't retry in the that arena.  Pick the
62604         next one, whatever it might be.
62605         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
62606         (arena_lock): Pass in new parameter to arena_get2.
62607         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
62608         arena_get2.
62609         (__libc_malloc): Unify retrying after main arena failure with
62610         __libc_memalign version.
62611         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
62613 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
62615         [BZ #14166]
62616         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
62617         to __redirect_strstr.
62618         (__strstr_sse42): Use typeof __redirect_strstr.
62619         (__strstr_ia32): Likewise.
62620         (__libc_strstr): New prototype.
62621         (strstr): Renamed to ...
62622         (__libc_strstr): This.
62623         (strstr): New strong alias of __libc_strstr.
62624         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62625         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
62626         __redirect_time.
62627         Include <time.h>.
62628         (__libc_time): New prototype.
62629         (time_ifunc): Replace time with __libc_time.
62630         (time): New strong alias and hidden definition of __libc_time.
62631         (__GI_time): Remove strong alias.
62632         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
62633         Include <stddef.h>.
62634         (memmove): Redefined to __redirect_memmove.
62635         (__memmove_sse2): Use typeof __redirect_memmove.
62636         (__memmove_ssse3): Likewise.
62637         (__memmove_ssse3_back): Likewise.
62638         (__libc_memmove): New prototype.
62639         (memmove): Renamed to ...
62640         (__libc_memmove): This.
62641         (memmove): New strong alias of __libc_memmove.
62643 2012-08-08  Mark Salter  <msalter@redhat.com>
62645         * elf/elf.h
62646         (R_MN10300_TLS_GD): Define.
62647         (R_MN10300_TLS_LD): Likewise.
62648         (R_MN10300_TLS_LDO): Likewise.
62649         (R_MN10300_TLS_GOTIE): Likewise.
62650         (R_MN10300_TLS_IE): Likewise.
62651         (R_MN10300_TLS_LE): Likewise.
62652         (R_MN10300_TLS_DTPMOD): Likewise.
62653         (R_MN10300_TLS_DTPOFF): Likewise.
62654         (R_MN10300_TLS_TPOFF): Likewise.
62655         (R_MN10300_SYM_DIFF): Likewise.
62656         (R_MN10300_ALIGN): Likewise.
62657         (R_MN10300_NUM): Update.
62659 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
62661         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
62662         Remove.
62664 2012-08-08  Roland McGrath  <roland@hack.frob.com>
62666         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
62668         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
62669         sysdeps/unix -> sysdeps/posix move.
62670         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62672 2012-08-07      Allan McRae     <allan@archlinux.org>
62674         [BZ #14303]
62675         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
62676         (SUNOS_CPP): Likewise.
62677         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
62678         not found.
62679         (open_input): Call CPP using execvp.
62681 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62683         * sysdeps/unix/sysv/linux/kernel-features.h
62684         (__ASSUME_PROT_GROWSUPDOWN): Remove.
62685         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62686         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62687         (__ASSUME_WAITID_SYSCALL): Likewise.
62688         * sysdeps/unix/sysv/linux/dl-execstack.c
62689         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
62690         code unconditional.
62691         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
62692         conditional code.
62693         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
62694         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
62695         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
62696         code.
62697         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
62698         unconditional.
62699         [__ASSUME_WAITID_SYSCALL]: Likewise.
62700         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
62702 2012-08-07  Roland McGrath  <roland@hack.frob.com>
62704         * sysdeps/unix/closedir.c: Renamed to ...
62705         * sysdeps/posix/closedir.c: ... here.
62706         * sysdeps/unix/dirfd.c: Renamed to ...
62707         * sysdeps/posix/dirfd.c: ... here.
62708         * sysdeps/unix/dirstream.h: Renamed to ...
62709         * sysdeps/posix/dirstream.h: ... here.
62710         * sysdeps/unix/fdopendir.c: Renamed to ...
62711         * sysdeps/posix/fdopendir.c: ... here.
62712         * sysdeps/unix/opendir.c: Renamed to ...
62713         * sysdeps/posix/opendir.c: ... here.
62714         * sysdeps/unix/readdir.c: Renamed to ...
62715         * sysdeps/posix/readdir.c: ... here.
62716         * sysdeps/unix/readdir_r.c: Renamed to ...
62717         * sysdeps/posix/readdir_r.c: ... here.
62718         * sysdeps/unix/rewinddir.c: Renamed to ...
62719         * sysdeps/posix/rewinddir.c: ... here.
62720         * sysdeps/unix/seekdir.c: Renamed to ...
62721         * sysdeps/posix/seekdir.c: ... here.
62722         * sysdeps/unix/telldir.c: Renamed to ...
62723         * sysdeps/posix/telldir.c: ... here.
62724         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
62725         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
62726         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
62727         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
62729         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
62730         * bits/fcntl.h: ... here.
62732         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
62733         not 0.
62734         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
62735         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
62736         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
62737         (struct flock): Move l_start, l_len to the beginning.
62738         Use __pid_t for l_pid.
62739         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
62740         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
62741         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
62742         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
62743         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
62744         [__USE_LARGEFILE64] (struct flock64): New type.
62745         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
62747         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
62748         * bits/dirent.h: ... here.
62750         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
62751         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
62753 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62755         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62756         Change from 2.6.0 to 2.6.16.
62757         * sysdeps/unix/sysv/linux/configure: Regenerated.
62758         * sysdeps/unix/sysv/linux/kernel-features.h
62759         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
62760         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
62761         version.
62762         (__ASSUME_UTIMES): Likewise.
62763         (__ASSUME_CLONE_STOPPED): Remove.
62764         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
62765         architectures, not kernel version.
62766         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
62767         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62768         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62769         (__ASSUME_WAITID_SYSCALL): Likewise.
62770         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
62771         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
62772         * README: State 2.6.16 as minimum Linux kernel version.  Do not
62773         refer to older versions.
62775 2012-08-06  Roland McGrath  <roland@hack.frob.com>
62777         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
62778         Define alphasort64 as an alias.
62779         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
62780         Define versionsort64 as an alias.
62781         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
62782         Define scandir64 as an alias.
62783         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
62784         Define scandirat64 as an alias.
62785         * dirent/alphasort64.c (alphasort64):
62786         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
62787         * dirent/versionsort64.c: Likewise.
62788         * dirent/scandir64.c: Likewise.
62789         * dirent/scandirat64.c: Likewise.
62790         * sysdeps/wordsize-64/alphasort.c: File removed.
62791         * sysdeps/wordsize-64/alphasort64.c: File removed.
62792         * sysdeps/wordsize-64/scandir.c: File removed.
62793         * sysdeps/wordsize-64/scandir64.c: File removed.
62794         * sysdeps/wordsize-64/scandirat.c: File removed.
62795         * sysdeps/wordsize-64/scandirat64.c: File removed.
62796         * sysdeps/wordsize-64/versionsort.c: File removed.
62797         * sysdeps/wordsize-64/versionsort64.c: File removed.
62798         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
62799         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
62800         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
62801         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
62802         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
62803         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
62804         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
62805         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
62807         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
62808         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62809         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
62810         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62811         [defined __arch64__ || defined __sparcv9]
62812         (__INO_T_MATCHES_INO64_T): New macro.
62813         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62814         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
62815         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
62816         * sysdeps/unix/sysv/linux/bits/dirent.h
62817         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
62818         (_DIRENT_MATCHES_DIRENT64): New macro.
62820         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
62821         Define lockf64 as an alias.
62822         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
62823         Define fseeko64 as an alias.
62824         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
62825         Define ftello64 as an alias.
62826         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
62827         Define _IO_fgetpos64 and fgetpos64 as aliases.
62828         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
62829         Define _IO_fsetpos64 and fsetpos64 as aliases.
62830         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
62831         Conditionalize body on this.
62832         * libio/fseeko64.c: Likewise.
62833         * libio/ftello64.c: Likewise.
62834         * libio/iofgetpos64.c: Likewise.
62835         * libio/iofsetpos64.c: Likewise.
62836         * sysdeps/wordsize-64/lockf.c: File removed.
62837         * sysdeps/wordsize-64/lockf64.c: File removed.
62838         * sysdeps/wordsize-64/fseeko.c: File removed.
62839         * sysdeps/wordsize-64/fseeko64.c: File removed.
62840         * sysdeps/wordsize-64/ftello.c: File removed.
62841         * sysdeps/wordsize-64/ftello64.c: File removed.
62842         * sysdeps/wordsize-64/iofgetpos.c: File removed.
62843         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
62844         * sysdeps/wordsize-64/iofsetpos.c: File removed.
62845         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
62846         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
62847         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
62848         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
62849         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
62850         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
62851         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
62852         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
62853         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
62854         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
62855         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
62857         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62858         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62859         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
62860         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62861         [defined __arch64__ || defined __sparcv9]
62862         (__OFF_T_MATCHES_OFF64_T): New macro.
62863         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62864         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62865         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62866         (__OFF_T_MATCHES_OFF64_T): New macro.
62868 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62870         * stdlib/secure-getenv.c (__secure_getenv): Replace
62871         GLIBC_2_16 with GLIBC_2_17.
62873 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62875         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
62876         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62878 2012-08-03  David S. Miller  <davem@davemloft.net>
62880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62882 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62884         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
62885         Remove.
62886         (__ASSUME_CORRECT_SI_PID): Likewise.
62887         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
62888         (__ASSUME_TMPFS_NAME): Likewise.
62889         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
62890         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
62891         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
62892         (HAVE_AUX_SECURE): Make definition unconditional.
62893         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
62894         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
62896 2012-08-03  Roland McGrath  <roland@hack.frob.com>
62898         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
62899         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
62900         * sysdeps/mach/hurd/eloop-threshold.h: New file.
62901         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62902         __eloop_threshold instead of SYMLOOP_MAX.
62904         * sysdeps/generic/eloop-threshold.h: New file.
62905         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
62906         of MAXSYMLINKS.
62907         * elf/chroot_canon.c (chroot_canon): Likewise.
62909 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62911         [BZ #13717]
62912         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62913         Change to 2.6.0 everywhere.
62914         * sysdeps/unix/sysv/linux/configure: Regenerated.
62915         * sysdeps/unix/sysv/linux/kernel-features.h
62916         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
62917         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
62918         kernel versions.
62919         (__ASSUME_POSIX_TIMERS): Define unconditionally.
62920         (__ASSUME_FUTEX_REQUEUE): Remove.
62921         (__ASSUME_STATFS64): Define unconditionally.
62922         (__ASSUME_AT_SECURE): Likewise.
62923         (__ASSUME_CORRECT_SI_PID): Likewise.
62924         (__ASSUME_TGKILL): Define without depending on kernel version for
62925         i386.
62926         (__ASSUME_UTIMES): Likewise.
62927         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
62928         kernel version.
62929         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
62930         (__ASSUME_TMPFS_NAME): Likewise.
62931         * README: Update reference to Linux kernel versions.
62933 2012-08-02  Marek Polacek  <polacek@redhat.com>
62935         [BZ# 14150]
62936         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
62937         libc_cv_asm_type_prefix with %.
62938         * configure: Regenerated.
62939         * include/libc-symbols.h: Remove comment about
62940         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62941         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
62942         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
62943         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
62944         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
62945         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62946         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
62947         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
62948         * elf/tst-unique2mod1.c: Likewise.
62949         * elf/tst-unique1mod2.c: Likewise.
62950         * elf/tst-unique1mod1.c: Likewise.
62951         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
62952         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
62953         Replace ASM_TYPE_DIRECTIVE with .type.
62954         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62955         * sysdeps/i386/sysdep.h: Likewise.
62956         * sysdeps/x86_64/sysdep.h: Likewise.
62957         * sysdeps/sh/sysdep.h: Likewise.
62958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62959         Do not define ASM_TYPE_DIRECTIVE.
62960         * sysdeps/powerpc/sysdep.h: Likewise.
62961         * sysdeps/powerpc/powerpc32/sysdep.h:
62962         Replace ASM_TYPE_DIRECTIVE with .type.
62963         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62964         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62965         * sysdeps/i386/fpu/e_powf.S: Likewise.
62966         * sysdeps/i386/fpu/e_expl.S: Likewise.
62967         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62968         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62969         * sysdeps/i386/fpu/e_pow.S: Likewise.
62970         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62971         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62972         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62973         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62974         * sysdeps/i386/fpu/e_log2.S: Likewise.
62975         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62976         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62977         * sysdeps/i386/fpu/e_powl.S: Likewise.
62978         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62979         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62980         * sysdeps/i386/fpu/e_logl.S: Likewise.
62981         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62982         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62983         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62984         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62985         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62986         * sysdeps/i386/fpu/e_log.S: Likewise.
62987         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62988         * sysdeps/i386/fpu/e_logf.S: Likewise.
62989         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62990         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62991         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62992         * sysdeps/i386/fpu/e_log10.S: Likewise.
62993         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62994         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62995         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62996         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62997         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62998         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
62999         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63000         * sysdeps/i386/i686/strtok.S: Likewise.
63001         * sysdeps/i386/i386-mcount.S: Likewise.
63002         * sysdeps/i386/strtok.S: Likewise.
63003         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
63004         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63005         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63006         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63007         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63008         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63009         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63010         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63011         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63012         * sysdeps/x86_64/_mcount.S: Likewise.
63013         * sysdeps/x86_64/strtok.S: Likewise.
63014         * sysdeps/sh/_mcount.S: Likewise.
63016 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63018         * libio/iofopen.c: Include <fcntl.h>.
63019         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
63020         (_IO_fopen64, fopen64): Define as aliases.
63021         * libio/iofopen64.c: Include <fcntl.h>.
63022         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
63023         Conditionalize body on this.
63024         * sysdeps/wordsize-64/iofopen.c: File removed.
63025         * sysdeps/wordsize-64/iofopen64.c: File removed.
63027 2012-08-01  Marek Polacek  <polacek@redhat.com>
63029         * libc/Makeconfig: Use elf in place of binfmt-subdir.
63030         Use dlfcn directly instead of a variable.
63031         (binfmt-subdir): Do not define.
63032         (dlfcn): Likewise.
63034 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
63036         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
63037         Remove all definitions.
63038         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
63039         <kernel-features.h>.
63040         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63041         (miss_F_GETOWN_EX): Remove all definitions.
63042         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
63043         macro definition.
63044         [!__ASSUME_FCNTL64]: Remove conditional code.
63045         [__ASSUME_FCNTL64]: Make code unconditional.
63046         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
63047         <kernel-features.h>.
63048         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63049         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
63050         (lockf64) [__NR_fcntl64]: Make code unconditional.
63051         (lockf64) [__ASSUME_FCNTL64]: Likewise.
63053         * sysdeps/unix/sysv/linux/kernel-features.h
63054         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
63055         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
63056         Make code unconditional.
63057         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63058         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
63060         [__NR_vfork]: Make code unconditional.
63061         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63062         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
63064         [__NR_vfork]: Make code unconditional.
63065         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63066         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63068 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63070         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
63071         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
63073         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63074         Define mkstemp64 as an alias.
63075         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63076         Define mkstemps64 as an alias.
63077         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63078         Define mkostemp64 as an alias.
63079         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63080         Define mkostemps64 as an alias.
63081         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
63082         Conditionalize body on this.
63083         * misc/mkostemp64.c: Likewise.
63084         * misc/mkostemps64.c: Likewise.
63085         * misc/mkstemps64.c: Likewise.
63086         * sysdeps/wordsize-64/mkstemp64.c: File removed.
63087         * sysdeps/wordsize-64/mkostemp64.c: File removed.
63088         * sysdeps/wordsize-64/mkostemp.c: File removed.
63089         * sysdeps/wordsize-64/mkstemp.c: File removed.
63090         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
63091         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
63092         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
63093         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
63095         [BZ #14138]
63096         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
63097         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
63098         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
63099         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
63101         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
63102         compat_symbol macros from <shlib-compat.h> rather than the underlying
63103         default_symbol_version and symbol_version macros, so that DEFAULT
63104         lines in shlib-versions are respected.
63105         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
63107 2012-08-01  Florian Weimer  <fweimer@redhat.com>
63109         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
63110         Declare with warn_unused_result.
63111         (setgid, setregid, setegid, setresgid): Likewise.
63112         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
63113         Likewise.
63114         * WUR-REPORT: Remove set*id functions.
63116 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
63118         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
63120 2012-07-31  Roland McGrath  <roland@hack.frob.com>
63122         [BZ #10191]
63123         * include/sys/socket.h (__libc_accept, __libc_accept4):
63124         Add attribute_hidden.
63125         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
63127         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
63128         use of PTR_MANGLE.
63129         * inet/getnetgrent_r.c (setup): Likewise.
63131         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
63133 2012-07-31  David S. Miller  <davem@davemloft.net>
63135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63137 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
63139         [BZ #13629]
63140         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
63141         value between 1.0 and 2.0 and smaller part has absolute value less
63142         than 1.0.
63143         * math/s_clog10.c (__clog10): Likewise.
63144         * math/s_clog10f.c (__clog10f): Likewise.
63145         * math/s_clog10l.c (__clog10l): Likewise.
63146         * math/s_clogf.c (__clogf): Likewise.
63147         * math/s_clogl.c (__clogl): Likewise.
63148         * math/libm-test.inc (clog_test): Add more tests.
63149         (clog10_test): Likewise.
63150         * sysdeps/i386/fpu/libm-test-ulps: Update.
63151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63153 2012-07-31  Florian Weimer  <fweimer@redhat.com>
63155         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
63156         Exit with zero in case no suitable GID is found, and write a
63157         message to standard error.
63159 2012-07-30  Roland McGrath  <roland@hack.frob.com>
63161         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
63162         rather than to 1.
63163         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
63164         (MAXPATHLEN): Removed.
63165         (NOGROUP, NODEV): New macros.
63166         (setbit, clrbit, isset, isclr): New macros.
63167         (howmany, roundup, powerof2): New macros.
63168         (DEV_BSIZE): New macro.
63170         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
63171         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
63173         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
63174         definition on [!__NO_LONG_DOUBLE_MATH].
63176         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
63177         PTR_MANGLE and PTR_DEMANGLE.
63179         * socket/accept4.c (accept4): Rename to __libc_accept4.
63180         Define accept4 as a weak alias.
63182         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
63183         on [_DIRENT_HAVE_D_TYPE].
63184         * io/ftw.c (ftw_dir): Likewise.
63186         * io/xmknod.c (__xmknod): Don't check PATH for being null.
63188         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
63190         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
63191         Use the BSD numbers rather than the arbitrary ones we had.
63192         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
63193         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
63194         (SIGXCPU, SIGXFSZ): New macros.
63195         (_NSIG): Now 32.
63197         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
63198         initializer on [_LIBC_REENTRANT].
63200         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
63201         definitions inside [_POSIX_MAPPED_FILES].
63203         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
63205         * dirent/opendir.c: Include <fcntl.h>.
63207         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
63208         (__libc_getspecific): Likewise.
63209         (__libc_key_create): Likewise.
63211         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
63212         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
63213         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
63214         (tmpfile64): Define as alias.
63215         * sysdeps/wordsize-64/tmpfile.c: File removed.
63216         * sysdeps/wordsize-64/tmpfile64.c: File removed.
63217         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
63218         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
63220         * stdio-common/vfscanf.c: Include <stdbool.h>.
63221         * nss/makedb.c: Likewise.
63222         * stdio-common/_i18n_number.h: Likewise.
63223         * argp/argp-help.c: Likewise.
63224         * posix/wordexp.c: Likewise.
63225         * sysdeps/posix/spawni.c: Likewise.
63226         * nss/nss_files/files-initgroups.c: Likewise.
63227         * stdio-common/reg-modifier.c: Include <stdlib.h>.
63228         * nss/nss_files/files-initgroups.c: Likewise.
63229         * nss/nss_db/db-netgrp.c: Likewise.
63230         * nss/nss_db/db-initgroups.c: Likewise.
63231         * io/fchmodat.c: Include <sys/stat.h>.
63233         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
63234         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
63236         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
63237         [HAVE_MMAP].
63239         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
63240         Add multiple inclusion protection.
63242 2012-07-27  David S. Miller  <davem@davemloft.net>
63244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63246 2012-07-27  Gary Benson  <gbenson@redhat.com>
63248         [BZ #14298]
63249         * elf/rtld.c: Include <stap-probe.h>.
63250         (dl_main): Added static probes "init_start" and "init_complete".
63251         * elf/dl-load.c: Include <stap-probe.h>.
63252         (lose): Take new parameter "nsid".
63253         Added static probe "map_failed".
63254         (_dl_map_object_from_fd): Pass namespace id to lose.
63255         Added static probe "map_start".
63256         (open_verify): Pass namespace id to lose.
63257         * elf/dl-open.c: Include <stap-probe.h>.
63258         (dl_open_worker) Added static probes "map_complete", "reloc_start"
63259         and "reloc_complete".
63260         * elf/dl-close.c: Include <stap-probe.h>.
63261         (_dl_close_worker): Added static probes "unmap_start" and
63262         "unmap_complete".
63263         * elf/rtld-debugger-interface.txt: New file documenting the above.
63265 2012-07-26  Roland McGrath  <roland@hack.frob.com>
63267         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
63268         rather than a string variable.
63269         * sunrpc/rpc_main.c (h_output): Likewise.
63270         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
63272 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
63274         * inet/check_native.c: New file.
63276 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
63278         [BZ #13629]
63279         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
63280         if larger part has absolute value 1.0.
63281         * math/s_clog10.c (__clog10): Likewise.
63282         * math/s_clog10f.c (__clog10f): Likewise.
63283         * math/s_clog10l.c (__clog10l): Likewise.
63284         * math/s_clogf.c (__clogf): Likewise.
63285         * math/s_clogl.c (__clogl): Likewise.
63286         * math/libm-test.inc (clog_test): Add more tests.
63287         (clog10_test): Likewise.
63288         * sysdeps/i386/fpu/libm-test-ulps: Update.
63289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63291         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
63292         (pltexit): Likewise.
63293         (La_regs): Likewise.
63294         (La_retval): Likewise.
63295         (int_retval): Likewise.
63296         Update #error for removed macros to refer only to definitions in
63297         tst-audit.h.
63298         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
63299         macro.
63300         (pltexit): Likewise.
63301         (La_regs): Likewise.
63302         (La_retval): Likewise.
63303         (int_retval): Likewise.
63304         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
63305         macro.
63306         (pltexit): Likewise.
63307         (La_regs): Likewise.
63308         (La_retval): Likewise.
63309         (int_retval): Likewise.
63310         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
63311         macro.
63312         (pltexit): Likewise.
63313         (La_regs): Likewise.
63314         (La_retval): Likewise.
63315         (int_retval): Likewise.
63316         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
63317         macro.
63318         (pltexit): Likewise.
63319         (La_regs): Likewise.
63320         (La_retval): Likewise.
63321         (int_retval): Likewise.
63322         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
63323         macro.
63324         (pltexit): Likewise.
63325         (La_regs): Likewise.
63326         (La_retval): Likewise.
63327         (int_retval): Likewise.
63328         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
63329         macro.
63330         (pltexit): Likewise.
63331         (La_regs): Likewise.
63332         (La_retval): Likewise.
63333         (int_retval): Likewise.
63334         * sysdeps/generic/tst-audit.h: Update comment to refer only to
63335         macro definitions in tst-audit.h.
63336         * sysdeps/i386/tst-audit.h: New file.
63337         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
63338         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
63339         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
63340         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
63341         * sysdeps/sh/tst-audit.h: Likewise.
63342         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
63343         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
63344         * sysdeps/x86_64/tst-audit.h: Likewise.
63346 2012-07-26  Andreas Jaeger  <aj@suse.de>
63348         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
63349         ptrace.
63351         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
63352         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
63353         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
63354         PTRACE_O_MASK.
63355         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
63356         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
63357         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
63359         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
63360         value.
63362         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
63363         _sigsys.
63364         (si_call_addr, si_syscall, si_arch): Define new macro.
63365         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
63366         _sigsys.
63367         (si_call_addr, si_syscall, si_arch): Define new marcro.
63368         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
63369         _sigsys.
63370         (si_call_addr, si_syscall, si_arch): Define new macro.
63371         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
63372         _sigsys.
63373         (si_call_addr, si_syscall, si_arch): Define new macro.
63375 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63377         [BZ #13717]
63378         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63379         Change to 2.4.21 where previously 2.4.1.
63380         * sysdeps/unix/sysv/linux/configure: Regenerated.
63381         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
63382         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
63383         Linux kernel version.
63384         (__ASSUME_STD_AUXV): Remove.
63385         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
63386         kernel version.
63387         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
63388         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
63389         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
63390         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
63391         (__ASSUME_NETLINK_SUPPORT): Likewise.
63392         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
63393         (__no_netlink_support): Remove conditional definition.
63394         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
63395         Remove.
63396         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63397         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
63398         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
63399         (if_nameindex_ioctl): Remove.
63400         (if_nameindex_netlink): Do not handle __no_netlink_support.
63401         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63402         code.
63403         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
63404         Remove conditional code.
63405         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63406         code.
63407         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
63408         unconditional.
63409         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63410         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
63411         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
63412         Remove.
63413         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
63414         [!__ASSUME_STD_AUXV]: Remove conditional code.
63415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
63416         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
63417         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
63418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
63419         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
63420         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63421         code.
63422         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
63424         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
63425         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63426         conditional code.
63427         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
63429         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63430         code.
63431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
63432         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63433         conditional code.
63434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
63435         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63436         code unconditional.
63437         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63438         conditional code.
63439         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63440         unconditional.
63441         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63442         conditional code.
63443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63444         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63445         unconditional.
63446         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63447         conditional code.
63448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
63449         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63450         code unconditional.
63451         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63452         conditional code.
63453         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63454         unconditional.
63455         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63456         conditional code.
63457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
63458         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63459         code unconditional.
63460         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63461         conditional code.
63462         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63463         unconditional.
63464         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63465         conditional code.
63467 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
63469         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
63470         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
63471         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
63472         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
63473         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
63474         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
63475         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
63476         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
63477         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
63478         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
63479         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
63480         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
63481         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
63482         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
63483         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
63484         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
63485         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
63486         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
63487         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
63488         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
63489         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
63490         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
63491         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63493 2012-07-25  Florian Weimer  <fweimer@redhat.com>
63495         * Versions.def: Add GLIBC_2.17.
63496         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
63497         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
63498         Introduce __libc_secure_getenv.
63499         * stdlib/Versions (2.17): Add secure_getenv
63500         (GLIBC_PRIVATE): Add __libc_secure_getenv.
63501         * stdlib/secure-getenv.c: Rename __secure_getenv to
63502         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
63503         symbol __secure_getenv for GLIBC_2.0.
63504         * stdlib/tst-secure-getenv.c: New.
63505         * stdlib/Makefile (tests): Add testcase.
63506         * manual/startup.texi (Environment Access): Document
63507         secure_getenv.
63508         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
63509         __libc_secure_getenv.
63510         * inet/ruserpass.c (ruserpass): Likewise.
63511         * malloc/mtrace.c (mtrace): Likewise.
63512         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
63513         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
63514         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
63515         * sysdeps/posix/tempname.c: Likewise.  Evaluate
63516         HAVE_SECURE_GETENV.
63517         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
63518         __secure_getenv to __libc_secure_getenv.
63519         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
63520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63521         Likewise.
63522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63523         Likewise.
63524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
63525         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
63526         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
63528         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63529         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63530         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
63532 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63534         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
63535         (struct La_i86_retval): Likewise.
63536         (struct La_x86_64_regs): Likewise.
63537         (struct La_x86_64_retval): Likewise.
63538         (struct La_x32_regs): Likewise.
63539         (struct La_x32_retval): Likewise.
63540         (struct La_ppc32_regs): Likewise.
63541         (struct La_ppc32_retval): Likewise.
63542         (struct La_ppc64_regs): Likewise.
63543         (struct La_ppc64_retval): Likewise.
63544         (struct La_sh_regs): Likewise.
63545         (struct La_sh_retval): Likewise.
63546         (struct La_s390_32_regs): Likewise.
63547         (struct La_s390_32_retval): Likewise.
63548         (struct La_s390_64_regs): Likewise.
63549         (struct La_s390_64_retval): Likewise.
63550         (struct La_sparc32_regs): Likewise.
63551         (struct La_sparc32_retval): Likewise.
63552         (struct La_sparc64_regs): Likewise.
63553         (struct La_sparc64_retval): Likewise.
63554         (struct audit_ifaces): Remove architecture-specific pltenter and
63555         pltexit members.
63556         * sysdeps/i386/ldsodefs.h: New file.
63557         * sysdeps/powerpc/ldsodefs.h: Likewise.
63558         * sysdeps/s390/ldsodefs.h: Likewise.
63559         * sysdeps/sh/ldsodefs.h: Likewise.
63560         * sysdeps/sparc/ldsodefs.h: Likewise.
63561         * sysdeps/x86_64/ldsodefs.h: Likewise.
63563 2012-07-25  Marek Polacek  <polacek@redhat.com>
63565         [BZ #6808]
63566         * math/libm-test.inc (yn_test): Add another test.
63567         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
63568         to ERANGE when the result is +-Inf.
63569         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
63570         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
63571         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
63572         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
63574 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
63576         * conform/data/time.h-data (NULL): Use macro-constant.  Require
63577         equal to 0.
63578         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
63579         clock_t.
63580         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
63582 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
63584         * configure.in <sysdeps resolving>: Correct printing
63585         Implies_before.
63586         * configure: Regenerate.
63588 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
63590         * math/w_ilogb.c: Include <limits.h>.
63591         * math/w_ilogbl.c: Likewise.
63593 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63595         * manual/lang.texi (__va_copy): Document primarily as ISO C99
63596         va_copy.  Document allowing for unavailable va_copy only as
63597         pre-C99 compatibility.
63598         * manual/string.texi (Copying and Concatenation): Use va_copy
63599         instead of __va_copy in concat example.
63601 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
63603         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
63604         (__sendto): Use create_address_port.  Initialize APORT and deallocate
63605         it if not null.
63607         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
63608         with O_NOLINK passed to __file_name_lookup.
63610         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
63611         with O_NOLINK passed to __file_name_lookup.
63613         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
63614         negative N or less than NGIDS.
63616         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
63617         type to string_t.  Set ERANGE as errno and return it if NAME is not big
63618         enough.  Use memcpy instead of strncpy.
63620 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63622         * elf/Makefile (check-data): Remove.
63623         (localplt.data): New vpath directive.
63624         ($(objpfx)check-localplt.out): Use localplt.data from vpath
63625         instead of $(check-data).
63626         * scripts/data/localplt-generic.data: Move to ...
63627         * sysdeps/generic/localplt.data: ... here.
63628         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
63629         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
63630         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
63631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
63632         ... here.
63633         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
63634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
63635         ... here.
63636         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
63637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
63638         ... here.
63639         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
63640         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
63641         ... here.
63642         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
63643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
63644         ... here.
63645         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
63646         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
63647         ... here.
63649 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63651         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
63652         PPC32 and PPC64 files.
63653         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
63654         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
63656 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63658         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
63659         __makecontext_ret to ...
63660         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
63661         ... here and call exit if uc_link is NULL.  New file.
63662         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
63663         __makecontext_ret.S.
63664         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
63665         __makecontext_ret to ...
63666         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
63667         ... here and call exit if uc_link is NULL.  New file.
63668         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
63669         __makecontext_ret.S.
63671 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63673         * elf/elf.h (R_390_IRELATIVE): New definition.
63674         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
63675         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
63676         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
63677         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63678         (elf_machine_lazy_rel): Likewise.
63679         * sysdeps/s390/dl-irel.h: New file.
63680         * sysdeps/s390/s390-64/memcpy.S: New asm code.
63681         * sysdeps/s390/s390-64/memset.S: New asm code.
63682         * sysdeps/s390/s390-64/memcmp.S: New asm code.
63683         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
63684         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
63685         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
63686         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
63687         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
63688         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
63689         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
63690         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
63691         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
63692         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
63693         * sysdeps/s390/s390-32/memcpy.S: New asm code.
63694         * sysdeps/s390/s390-32/memset.S: New asm code.
63695         * sysdeps/s390/s390-32/memcmp.S: New asm code.
63697 2012-07-17  Marek Polacek  <polacek@redhat.com>
63699         [BZ #14349]
63700         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
63701         * sysdeps/s390/s390-64/configure.in: Likewise.
63702         * sysdeps/sparc/configure.in: Likewise.
63703         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
63704         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
63705         * sysdeps/i386/configure.in: Likewise.
63706         * sysdeps/x86_64/configure.in: Likewise.
63707         * sysdeps/sh/configure.in: Likewise.
63708         * sysdeps/s390/s390-32/configure: Regenerated.
63709         * sysdeps/s390/s390-64/configure: Likewise.
63710         * sysdeps/x86_64/configure: Likewise.
63711         * sysdeps/sh/configure: Likewise.
63712         * sysdeps/powerpc/powerpc64/configure: Likewise.
63713         * sysdeps/powerpc/powerpc32/configure: Likewise.
63714         * sysdeps/sparc/configure: Likwise.
63715         * sysdeps/i386/configure: Likewise.
63717         * elf/dl-open.c: Comment fixes.
63719 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
63721         * Makefile [CXX] (check-data): Remove.
63722         [CXX] (c++-types.data): New vpath directive.
63723         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
63724         vpath.  Do not allow for C++ type data being missing.
63725         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
63726         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
63727         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
63728         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
63729         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
63730         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
63731         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
63732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
63733         ... here.
63734         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
63735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
63736         ... here.
63737         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
63738         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
63739         ... here.
63740         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
63741         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
63742         ... here.
63743         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
63744         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
63745         ... here.
63746         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
63747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
63748         ... here.
63749         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
63750         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
63751         ... here.
63752         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
63753         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
63755         * elf/tls-macros.h (TLS_LE): Move architecture-specific
63756         definitions to architecture-specific files.
63757         (TLS_IE): Likewise.
63758         (TLS_LD): Likewise.
63759         (TLS_GD): Likewise.
63760         * sysdeps/i386/tls-macros.h: New file.
63761         * sysdeps/powerpc/tls-macros.h: Likewise.
63762         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
63763         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
63764         * sysdeps/sh/tls-macros.h: Likewise.
63765         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
63766         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
63767         * sysdeps/x86_64/tls-macros.h: Likewise.
63769 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63771         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
63772         zero value for regular exit case.
63774         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
63775         (__start_context): Preserve zero value for regular exit case.
63777 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63778             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63780         * manual/setjmp.texi (setcontext): Clarify normal process
63781         termination when uc_link is the null pointer.
63782         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
63783         exit call.
63785 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
63787         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
63788         preprocessor.  Test for each exception mask separately.
63790 2012-07-16  Andreas Jaeger  <aj@suse.de>
63792         * po/ru.po: Update from translation team.
63794 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
63796         * conform/data/string.h-data (NULL): Use macro-constant.  Require
63797         equal to 0.
63798         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63799         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63800         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
63801         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
63802         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63804 2012-07-13  Andreas Jaeger  <aj@suse.de>
63806         * po/fr.po: Update from translation team.
63808 2012-07-12  Marek Polacek  <polacek@redhat.com>
63810         [BZ #14173]
63811         * math/libm-test.inc (yn_test): Add test for BZ #14173.
63812         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
63813         loop condition.
63815 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
63817         [BZ #13717]
63818         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63819         Change to 2.4.1 where previously 2.4.0.
63820         * sysdeps/unix/sysv/linux/configure: Regenerated.
63821         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
63822         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
63823         version.
63824         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
63825         (__ASSUME_AT_CLKTCK): Remove.
63826         (__ASSUME_AT_PAGESIZE): Likewise.
63827         (__ASSUME_AT_XID): Likewise.
63828         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
63829         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
63830         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
63831         unconditionally.
63832         (HAVE_AUX_PAGESIZE): Likewise.
63833         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
63834         [__ASSUME_AT_CLKTCK]: Make code unconditional.
63835         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
63837 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
63839         [BZ #14307]
63840         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
63841         the temporary buffer used to invoke __gethostbyname2_r,
63842         __gethostbyaddr_r and gethostbyname4_r to make room for struct
63843         host_data / struct gaih_addrtuple.
63844         * resolv/nss_dns/dns-host.c (global scope): Move definition of
63845         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
63846         header file nss/nsswitch.h.
63847         * nss/nsswitch.h (global scope): Add definition of implementation
63848         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
63849         resolv/nss_dns/dns-host.c).
63851 2012-07-11  Andreas Jaeger  <aj@suse.de>
63853         * po/fr.po: Update from translation team.
63855         * po/sv.po: Update from translation team
63856         * po/fr.po: Another update from translation team.
63858 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63860         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
63861         for subnormals or multiply small sinh result by itself.
63862         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63863         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63865 2012-07-11  David S. Miller  <davem@davemloft.net>
63867         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63869 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
63871         [BZ #14347]
63872         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
63873         (INTERNAL_MARK): Shift it here.
63875 2012-07-10  Marek Polacek  <polacek@redhat.com>
63877         [BZ #14151]
63878         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
63879         libc_cv_asm_global_directive with .globl.
63880         * configure: Regenerated.
63881         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
63882         with .globl.
63883         * sysdeps/i386/configure: Regenerated.
63884         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
63885         with .globl.
63886         * sysdeps/x86_64/configure: Regenerated.
63887         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
63888         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
63889         * elf/tst-unique2mod2.c: Likewise.
63890         * elf/tst-unique2mod1.c: Likewise.
63891         * elf/tst-unique1mod2.c: Likewise.
63892         * elf/tst-unique1mod1.c: Likewise.
63893         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63894         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63895         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63896         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63897         * sysdeps/mach/sysdep.h: Likewise.
63898         * sysdeps/i386/sysdep.h: Likewise.
63899         * sysdeps/i386/i386-mcount.S: Likewise.
63900         * sysdeps/x86_64/_mcount.S: Likewise.
63901         * sysdeps/x86_64/sysdep.h: Likewise.
63902         * sysdeps/sh/_mcount.S: Likewise.
63903         * sysdeps/sh/sysdep.h: Likewise.
63904         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
63905         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
63906         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
63907         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63908         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
63909         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
63910         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
63911         * locale/localeinfo.h: Likewise.
63912         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
63913         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
63915 2012-07-09  Roland McGrath  <roland@hack.frob.com>
63917         [BZ #14336]
63918         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
63919         system".
63920         * manual/message.texi (The Uniforum approach): Likewise.
63921         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
63922         (glibc iconv Implementation): Likewise.
63924 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
63926         [BZ #14337]
63927         * math/s_clog.c (__clog): Avoid scaling a value down where that
63928         could result in underflow.
63929         * math/s_clog10.c (__clog10): Likewise.
63930         * math/s_clog10f.c (__clog10f): Likewise.
63931         * math/s_clog10l.c (__clog10l): Likewise.
63932         * math/s_clogf.c (__clogf): Likewise.
63933         * math/s_clogl.c (__clogl): Likewise.
63934         * math/libm-test.inc (clog_test): Add more tests.
63935         (clog10_test): Likewise.
63936         * sysdeps/i386/fpu/libm-test-ulps: Update.
63937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63939 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
63941         [BZ #14283]
63942         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
63943         by 7 not 8 to examine high bit of fractional part.
63945         [BZ #14042]
63946         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
63947         for call to __mcount_internal.
63948         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
63949         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
63950         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
63952 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
63954         [BZ #14154]
63955         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
63956         approximation for values within 0x1p-13f of an odd multiple of
63957         pi/4.
63958         * math/libm-test.inc (tan_test): Do not allow spurious underflow
63959         exception.  Add more tests.
63960         * sysdeps/i386/fpu/libm-test-ulps: Update.
63962         [BZ #6778]
63963         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
63964         inputs and return -1 for them.  Do not check for +Inf in case not
63965         reachable for +Inf.
63966         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
63967         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
63968         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63969         and return -1 for them.  Do not check for +Inf in case not
63970         reachable for +Inf.
63971         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
63972         define.
63973         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63974         and return -1 for them.  Do not check for +Inf in case not
63975         reachable for +Inf.
63976         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
63977         spurious underflow.
63978         * sysdeps/i386/fpu/libm-test-ulps: Update.
63979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63981 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
63983         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
63985 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
63987         [BZ #14157]
63988         [BZ #14331]
63989         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
63990         could result in spurious underflow.  Scale down values above
63991         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
63992         * math/s_csqrtf.c (__csqrtf): Likewise.
63993         * math/s_csqrtl.c (__csqrtl): Likewise.
63994         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
63995         spurious underflow.
63996         * sysdeps/i386/fpu/libm-test-ulps: Update.
63997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63999 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
64001         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
64002         xopen-msg.sed.
64003         * catgets/xopen-msg.awk: New file.
64004         * catgets/xopen-msg.sed: Removed.
64006         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
64007         po2text.sed.
64008         * intl/po2test.awk: New file.
64009         * intl/po2test.sed: Removed.
64011 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
64013         [BZ #14328]
64014         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
64015         or multiply small sinh result by itself.
64016         * math/s_ctanf.c (__ctanf): Likewise.
64017         * math/s_ctanh.c (__ctanh): Likewise.
64018         * math/s_ctanhf.c (__ctanhf): Likewise.
64019         * math/s_ctanhl.c (__ctanhl): Likewise.
64020         * math/s_ctanl.c (__ctanl): Likewise.
64021         * math/libm-test.inc (ctan_test_tonearest): New function.
64022         (ctan_test_towardzero): Likewise.
64023         (ctan_test_downward): Likewise.
64024         (ctan_test_upward): Likewise.
64025         (ctanh_test_tonearest): Likewise.
64026         (ctanh_test_towardzero): Likewise.
64027         (ctanh_test_downward): Likewise.
64028         (ctanh_test_upward): Likewise.
64029         (main): Call these new functions.
64030         * sysdeps/i386/fpu/libm-test-ulps: Update.
64031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64033 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
64035         * .gitignore: Delete /ports entry.
64037 2012-07-03  Andreas Jaeger  <aj@suse.de>
64039         * po/bg.po: Update from translation team.
64040         * po/cs.po: Likewise.
64041         * po/de.po: Likewise.
64042         * po/hr.po: Likewise.
64043         * po/nl.pl: Likewise.
64044         * po/pl.po: Likewise.
64045         * po/vi.po: Likewise.
64047 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
64049         * Makeconfig [!+link] (+link-before-libc): New variable.
64050         [!+link] (+link-after-libc): Likewise.
64051         [!+link] (+link-tests): Likewise.
64052         [!+link] (+link): Define in terms of $(+link-before-libc) and
64053         $(+link-after-libc).
64054         [!+link-static] (+link-static-before-libc): New variable.
64055         [!+link-static] (+link-static-after-libc): Likewise.
64056         [!+link-static] (+link-static-tests): Likewise.
64057         [!+link-static] (+link-static): Define in terms of
64058         $(+link-static-before-libc) and $(+link-static-after-libc).
64059         [build-shared] (link-libc-before-gnulib): New variable.
64060         [build-shared] (link-libc-tests): Likewise.
64061         [build-shared] (link-libc): Define in terms of
64062         $(link-libc-before-gnulib).
64063         [!build-shared] (link-libc-tests): New variable.
64064         (link-libc-static-tests): New variable.
64065         [!gnulib] (gnulib-arch): New variable.
64066         [!gnulib] (gnulib-tests): Likewise.
64067         [!gnulib] (static-gnulib-arch): Likewise.
64068         [!gnulib] (static-gnulib-tests): Likewise.
64069         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
64070         Define with "=" instead of ":=".
64071         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
64072         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
64073         * Rules (binaries-all-notests): New variable.
64074         (binaries-all-tests): Likewise.
64075         (binaries-static-notests): Likewise.
64076         (binaries-static-tests): Likewise.
64077         (binaries-all): Define using $(binaries-all-notests) and
64078         $(binaries-all-tests).
64079         (binaries-static): Define using $(binaries-static-notests) and
64080         $(binaries-static-tests).
64081         (binaries-shared-tests): New variable.
64082         (binaries-shared-notests): Likewise.
64083         (binaries-shared): Remove variable.
64084         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
64085         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
64086         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
64087         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
64088         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
64089         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
64090         * elf/Makefile (sln-modules): New variable.
64091         (extra-objs): Add $(sln-modules:=.o).
64092         (ldconfig-modules): Add static-stubs.
64093         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
64094         * elf/static-stubs.c: New file.
64096         [BZ #14283]
64097         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
64098         by 7 not 8 to examine high bit of fractional part.  Use volatile
64099         variables when splitting into final array of floats if
64100         __FLT_EVAL_METHOD__ != 0.
64101         * math/libm-test.inc (cos_test): Add another test.
64102         (sin_test): Likewise.
64103         * sysdeps/i386/fpu/libm-test-ulps: Update.
64105         [BZ #14273]
64106         * math/libm-test.inc (cosh_test): Add more tests.
64108         * version.h (RELEASE): Set to "development".
64109         (VERSION): Set to "2.16.90".
64111 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
64113         * NEWS: Update copyright. Remove last-updated date.
64114         Mention math library bug fixes and timezone data changes.
64115         * README: Mention GNU/Hurd, x32, and HPPA support status.
64117 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
64119         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
64121 2012-06-27  Andreas Jaeger  <aj@suse.de>
64123         * manual/contrib.texi (Contributors): Add Samuel Thibault.
64125 2012-06-25  Andreas Jaeger  <aj@suse.de>
64127         * sysdeps/s390/fpu/libm-test-ulps: Update.
64129 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
64130             Thomas Schwinge  <thomas@codesourcery.com>
64132         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
64133         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
64134         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
64135         fanotify_mark.
64137 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
64139         * sysdeps/mach/start.c: Remove file.
64140         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
64141         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
64142         * sysdeps/sh/init-first.c: Likewise.
64144         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
64145         registers for frame unwinding purposes, add CFI directives.
64146         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64147         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
64148         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
64149         Likewise.
64151         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
64152         __fortify_fail returning.
64153         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64155         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
64156         sysdeps/sh/____longjmp_chk.S.
64157         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
64158         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
64159         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
64160         (gen-as-const-headers): Append sigaltstack-offsets.sym.
64162         * sysdeps/sh/abort-instr.h: New file.
64163         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
64164         process in case exit returns.
64166         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
64167         initialize the GOT register before use.
64169         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
64170         calculation of ARGC > 4.
64172         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
64173         meaningful names to some local labels.
64175 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64176             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64178         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
64179         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
64180         (__arch_compare_and_exchange_val_16_acq): Likewise.
64181         (__arch_compare_and_exchange_val_32_acq): Likewise.
64182         (atomic_exchange_and_add): Fix gUSA sequence.
64183         (atomic_add): Likewise.
64184         (atomic_add_negative): Likewise.
64185         (atomic_add_zero): Likewise.
64186         (atomic_bit_test_set): Likewise.
64188 2012-06-22  Andreas Schwab  <schwab@redhat.com>
64190         [BZ #13579]
64191         * include/link.h (struct link_map): Add l_free_initfini.
64192         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
64193         l_initfini.
64194         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
64195         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
64196         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
64197         set.
64199 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
64201         * configure.in: Use AC_LANG_SOURCE.
64202         * configure: Regenerate.
64204 2012-06-22  Roland McGrath  <roland@hack.frob.com>
64206         * configure.in (libc_cv_localstatedir): New substituted variable.
64207         * configure: Regenerated.
64208         * config.make.in (localstatedir): New variable, substituted from
64209         libc_cv_localstatedir.
64210         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
64211         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
64212         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
64213         * sysdeps/gnu/configure: Regenerated.
64215 2012-06-21  Jeff Law  <law@redhat.com>
64217         [BZ #14277]
64218         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
64219         free.  Simplify list management for _LIBC case.
64221 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
64223         [BZ #14273]
64224         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
64225         Clear sign bit of 64-bit integer value before comparing against
64226         overflow value.
64228         * sysdeps/mach/configure: Regenerated.
64230 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
64232         [BZ #14278]
64233         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
64235 2012-06-21  Jeff Law  <law@redhat.com>
64237         [BZ #13882]
64238         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
64239         uint16_t for elements in the "seen" array to avoid char overflows.
64240         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64241         * elf/dl-open.c (dl_open_worker): Likewise.
64243 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
64245         * scripts/list-sources.sh: Scan PORTS for translations.
64246         * po/libc.pot: Regenerated.
64248 2012-06-21  Andreas Jaeger  <aj@suse.de>
64250         [BZ #12194]
64251         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
64252         warning.
64253         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
64254         * bits/byteswap-16.h (__bswap_16): Likewise.
64255         * bits/byteswap.h (__bswap_constant_16): Likewise.
64257 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
64259         [BZ #14117]
64260         * sysdeps/i386/fpu_control.h: Removed.
64261         * sysdeps/x86_64/fpu_control.h: Moved to ...
64262         * sysdeps/x86/fpu_control.h: Here.
64264         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
64265         (_FPU_SETCW): Likewise.
64267 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
64269         [BZ #14117]
64270         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
64271         * sysdeps/x86/fpu/bits/mathinline.h: This.
64272         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
64274         [BZ #14050]
64275         [BZ #14117]
64276         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
64277         functions if __x86_64__ is defined.
64279 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
64281         * string/endian.h: Add !__ASSEMBLER__ condition for including
64282         conversion interfaces.
64284 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
64286         [BZ #14241]
64287         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
64288         of ABS(x) in calculating zero to negative powers other than odd
64289         integers.
64290         * math/libm-test.inc (pow_test): Add more tests.
64292 2012-06-15  Andreas Jaeger  <aj@suse.de>
64294         * manual/contrib.texi (Contributors): Update entry of Liubov
64295         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
64296         Machado Filho.
64298 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
64300         * string/string.h: Add __wur to GNU version of strerror_r.
64302 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
64304         [BZ #14229]
64305         * string/Makefile (tests): Add tst-strtok_r.
64306         * string/tst-strtok_r.c: New file.
64307         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
64308         RAX_LP/RDX_LP on SAVE_PTR.
64310 2012-06-14  Roland McGrath  <roland@hack.frob.com>
64312         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
64314 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
64316         * libm_test.inc (csqrt_test): Allow more spurious underflow
64317         exceptions.
64318         (j0_test): Likewise.
64319         (j1_test): Likewise.
64320         (y0_test): Likewise.
64321         (y1_test): Likewise.
64323 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
64325         * po/Makefile (libc.pot): Use UTF-8 charset.
64327 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
64329         [BZ #14210]
64330         Suppress sign-conversion warning from FD_SET.
64331         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
64332         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
64333         not unsigned long int.
64334         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
64336 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
64338         [BZ #14050]
64339         [BZ #14117]
64340         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
64341         __extern_always_inline instead of __extern_inline.
64342         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
64343         (__signbit): Likewise.
64344         (__signbitl): Support C++ namespace.
64345         (lrintf): New inline function.
64346         (lrint): Likewise.
64347         (llrintf): Likewise.
64348         (llrint): Likewise.
64349         (fmaxf): Likewise.
64350         (fmax): Likewise.
64351         (fminf): Likewise.
64352         (fmin): Likewise.
64353         (rint): Likewise.
64354         (rintf): Likewise.
64355         (ceil): Likewise.
64356         (ceilf): Likewise.
64357         (floor): Likewise.
64358         (floorf): Likewise.
64359         (nearbyint): Likewise.
64360         (nearbyintf): Likewise.
64362 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
64364         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
64365         non-default versions.
64367 2012-06-11  Roland McGrath  <roland@hack.frob.com>
64369         [BZ #14218]
64370         * manual/argp.texi (Argp): Reword argp_parse description slightly.
64372 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
64374         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
64375         (FE_UPWARD, FE_DOWNWARD): Don't define.
64376         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
64377         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64379         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
64380         reading it.
64381         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64382         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64384 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64386         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64387         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
64388         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
64389         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
64391 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
64393         [BZ #14117]
64394         * sysdeps/i386/fpu/bits/fenv.h: Removed.
64395         * sysdeps/i386/fpu/Implies: New file.
64396         * sysdeps/x86_64/fpu/Implies: Likewise.
64397         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
64398         * sysdeps/x86/fpu/bits/fenv.h: This.
64400         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
64401         __SSE_MATH__.
64403 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64405         [BZ #14134]
64406         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
64407         character 0xffff that matches the last element of the
64408         conversion table.
64410 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64412         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
64413         fmodl commit.
64415 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64417         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
64418         values higher than 25.6283.
64420 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64422         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
64423         subnormal exponent extraction and add some __builtin_expect.
64424         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
64425         Fix for subnormal mantissa calculation.
64427 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
64429         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
64430         cpu2 is -1 and errno is not ENOSYS.
64432 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
64434         [BZ #14117]
64435         * sysdeps/i386/i486/bits/string.h: Renamed to ...
64436         * sysdeps/x86/bits/string.h: This.
64437         * sysdeps/x86_64/bits/string.h: Removed.
64439         * sysdeps/i386/i486/bits/string.h: Define inline functions only
64440         if not compiling for x86-64, but compiling for >= i486.
64442         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
64443         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
64445         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
64446         New macro from Linux kernel 3.4.0.
64447         (FP_XSTATE_MAGIC2): Likewise.
64448         (FP_XSTATE_MAGIC2_SIZE): Likewise.
64449         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
64450         (struct _fpx_sw_bytes): New struct.
64451         (struct _xsave_hdr): Likewise.
64452         (struct _ymmh_state): Likewise.
64453         (struct _xstate): Likewise.
64455         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
64456         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
64457         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
64458         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
64459         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
64460         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
64462         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
64463         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
64464         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
64465         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
64466         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
64467         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
64469 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64471         [BZ #13743]
64472         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
64473         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
64474         (sysdep_headers): Include sys/platform/ppc.h.
64475         * sysdeps/powerpc/test-gettimebase.c: Test for
64476         __ppc_get_timebase() to catch future ISA opcode/insn changes.
64477         * manual/Makefile (appendices): Include platform.texi.
64478         * manual/contrib.texi (Contributors): Update @node pointers.
64479         * manual/maint.texi (Maintenance): Likewise.
64480         (Platform): New node.
64481         * manual/platform.texi: New file.  Document the new features.
64483 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64484             Jakub Jelinek  <jakub@redhat.com>
64486         [BZ #14188]
64487         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
64488         where __builtin_expect is unavailable.
64490 2012-06-03  David S. Miller  <davem@davemloft.net>
64492         * stdlib/longlong.h: Updated from GCC.
64494 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
64496         [BZ #14042]
64497         * sysdeps/powerpc/powerpc32/mcount.c: New file.
64498         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
64499         __mcount_internal.
64500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
64501         (GLIBC_2.16): Likewise.
64503 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64505         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
64507 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
64510         (default-abi): New variable.
64511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
64512         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
64513         variable.
64514         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
64515         Likewise.
64516         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
64517         Likewise.
64518         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
64519         Likewise.
64521         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
64522         definition.  Document in comment.
64524 2012-06-01  David S. Miller  <davem@davemloft.net>
64526         * stdlib/longlong.h: Updated from GCC.
64528 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64530         [BZ #14117]
64531         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
64532         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
64533         sys/debugreg.h sys/io.h here.
64534         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
64535         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
64536         sys/io.h.
64537         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
64538         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
64539         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
64540         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
64541         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
64542         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
64544         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
64545         Define only if __x86_64__ is defined.
64547 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64549         [BZ #14048]
64550         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
64551         Use int64_t for variable i.
64552         * math/libm-test.inc (fmod_test): Add more tests.
64554         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
64555         z computation is not scheduled after fetestexcept.
64556         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
64557         Use math_force_eval instead of asm to ensure calculation scheduled
64558         before exception test.
64559         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
64560         Ensure a1 + u.d computation is not scheduled after fetestexcept.
64562 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
64564         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
64565         computation is not scheduled after fetestexcept.
64567 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64569         [BZ #14117]
64570         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
64571         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
64573 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64575         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
64576         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64578 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64580         [BZ #14117]
64581         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
64582         <bits/wordsize.h>.
64583         (__WCHAR_MIN): Support __WORDSIZE == 64.
64584         (__WCHAR_MAX): Likewise.
64586         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
64587         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
64589         [BZ #14183]
64590         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
64591         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
64593         [BZ #14117]
64594         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
64595         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
64597         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
64598         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
64600         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
64601         Defined to 1 if __x86_64__ isn't defined.
64602         (_STAT_VER_LINUX_OLD): New.
64603         (st_atime): Remove duplicate.
64604         (st_mtime): Likewise.
64605         (st_ctime): Likewise.
64607 2012-05-31  David S. Miller  <davem@davemloft.net>
64609         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
64610         entries.
64612 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
64614         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
64615         gen-libm-test.pl.
64617         [BZ #14132]
64618         * elf/dl-reloc.c: Include <_itoa.h>.
64619         (_dl_reloc_bad_type): Remove use of INTUSE.
64620         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
64621         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
64622         * stdio-common/psiginfo.c (psiginfo): Likewise.
64623         * stdio-common/psignal.c (psignal): Likewise.
64624         * string/strsignal.c (strsignal): Likewise.
64625         * include/signal.h (_sys_siglist): Declare hidden proto.
64626         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
64627         INTVARDEF with libc_hidden_data_def.
64628         * stdio-common/itoa-udigits.c: Likewise.
64629         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
64630         (_itoa_lower_digits_internal): Remove declaration.
64631         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
64632         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
64633         (_sys_sigabbrev_internal): Remove aliases.
64634         (_sys_siglist): Define hidden alias.
64636 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
64638         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64639         bits/sysctl.h.
64641 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64643         [BZ #14117]
64644         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
64645         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
64647         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
64648         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
64649         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
64650         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
64651         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
64652         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
64654         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
64655         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
64656         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
64658         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
64659         with __addr.
64660         (insw): Likewise.
64661         (insl): Likewise.
64662         (outsb): Likewise.
64663         (outsw): Likewise.
64664         (outsl): Likewise.
64666         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
64667         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
64668         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
64670         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
64671         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
64672         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
64673         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
64674         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
64675         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
64677         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
64678         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
64680         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
64681         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
64683         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
64684         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
64685         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
64687         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
64688         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
64689         to ...
64690         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
64692         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
64693         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
64694         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
64696         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
64697         for x86-64.
64698         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
64700 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
64702         * math/math.h (M_El): Use two more decimal places.
64703         (M_LOG2El): Likewise.
64704         (M_LOG10El): Likewise.
64705         (M_LN2l): Likewise.
64706         (M_LN10l): Likewise.
64707         (M_PIl): Likewise.
64708         (M_PI_2l): Likewise.
64709         (M_PI_4l): Likewise.
64710         (M_1_PIl): Likewise.
64711         (M_2_PIl): Likewise.
64712         (M_2_SQRTPIl): Likewise.
64713         (M_SQRT2l): Likewise.
64714         (M_SQRT1_2l): Likewise.
64716 2012-05-31  David S. Miller  <davem@davemloft.net>
64718         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
64719         values between float registers.
64720         * sysdeps/sparc/sparc64/memset.S: Likewise.
64721         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64723 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
64725         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
64726         -D_FORTIFY_SOURCE=1.
64727         (CPPFLAGS-tst-longjmp_chk.c): Define.
64728         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
64729         (CPPFLAGS-tst-longjmp_chk2.c): Define.
64730         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
64731         CFLAGS-tst-wchar-h.c.
64733 2012-05-31  Marek Polacek  <polacek@redhat.com>
64735         [BZ #14132]
64736         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
64737         __endmntent_internal): Remove declaration.
64738         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
64739         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
64740         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
64742 2012-05-30  David S. Miller  <davem@davemloft.net>
64744         * sysdeps/sparc/sparc32/soft-fp/q_util.c
64745         (___Q_simulate_exceptions): Use real FP ops rather than writing
64746         into the %fsr.
64747         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
64748         Likewise.
64750 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64752         [BZ #14117]
64753         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
64754         * sysdeps/x86/bits/xtitypes.h: This.
64756         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
64757         * sysdeps/x86/bits/wordsize.h: This.
64759         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
64760         * sysdeps/x86/bits/huge_vall.h: This.
64762         * sysdeps/i386/bits/select.h: Removed.
64763         * sysdeps/x86_64/bits/select.h: Renamed to ...
64764         * sysdeps/x86/bits/select.h: This.
64766         * sysdeps/i386/bits/setjmp.h: Removed.
64767         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
64768         * sysdeps/x86/bits/setjmp.h: This.
64770         * sysdeps/i386/bits/mathdef.h: Removed.
64771         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
64772         * sysdeps/x86/bits/mathdef.h: This.
64774 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
64776         [BZ #14132]
64777         * include/sys/socket.h (__connect_internal)
64778         (__libc_sa_len_internal): Remove declaration.
64779         (__connect, __libc_sa_len): Declare hidden_proto.
64780         (SA_LEN): Remove use of INTUSE.
64781         * socket/connect.c: Add libc_hidden_def.
64782         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
64783         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
64784         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
64785         alias.
64786         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
64787         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
64788         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
64789         of adding _internal alias.
64791 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64793         [BZ #14117]
64794         * sysdeps/i386/bits/link.h: Removed.
64795         * sysdeps/i386/bits/linkmap.h: Likewise.
64796         * sysdeps/x86_64/bits/link.h: Renamed to ...
64797         * sysdeps/x86/bits/link.h: This.
64798         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
64799         * sysdeps/x86/bits/linkmap.h: This.
64801         * sysdeps/i386/bits/endian.h: Removed.
64802         * sysdeps/x86_64/bits/endian.h: Renamed to ...
64803         * sysdeps/x86/bits/endian.h: This.
64805         * sysdeps/i386/bits/byteswap.h: Removed.
64806         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64807         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
64808         * sysdeps/x86/bits/byteswap.h: This.
64809         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
64810         * sysdeps/x86/bits/byteswap-16.h: This.
64811         * sysdeps/i386/Implies: Add x86.
64812         * sysdeps/x86_64/Implies: Likewise.
64814 2012-05-30  David S. Miller  <davem@davemloft.net>
64816         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
64817         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
64818         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
64819         (FP_TRAPPING_EXCEPTIONS): Define.
64820         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
64821         (FP_TRAPPING_EXCEPTIONS): Define.
64822         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
64823         subnormals only when inexact has been signalled or underflow
64824         exceptions are enabled.
64825         (_FP_PACK_CANONICAL): Likewise.
64827 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64829         [BZ #14183]
64830         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
64831         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
64833 2012-05-30  Richard Henderson  <rth@twiddle.net>
64835         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
64836         with #ifndef NOT_IN_libc.
64838         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
64839         marked to avoid plt entry.
64841 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64843         [BZ #14112]
64844         * Makeconfig (default-abi): New macro.
64845         (abi-includes): Likewise.
64846         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
64847         $(abi-$(default-abi)-lib-soname) for soname if defined.
64848         ($(common-objpfx)gnu/lib-names.stmp): Generate from
64849         abi-variants.
64850         * Makefile (installed-stubs): Likewise.
64851         * include/stubs-biarch.h: Removed.
64852         * scripts/lib-names.awk: Only handle one library at a time.
64853         * scripts/soversions.awk: Remove WORDSIZE support.
64854         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
64855         entries.
64856         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
64857         Removed.
64858         (syscall-list-default-condition): Likewise.
64859         (syscall-list-default-condition): Likewise.
64860         (syscall-list-includes): Likewise.
64861         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
64862         syscall-list-* with abi-*.  Handle undefined abi-variants.
64863         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
64864         * sysdeps/unix/sysv/linux/i386/Implies: New file.
64865         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
64866         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
64867         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
64868         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
64869         Removed.
64870         (syscall-list-32-options): Likewise.
64871         (syscall-list-32-condition): Likewise.
64872         (syscall-list-64-options): Likewise.
64873         (syscall-list-64-condition): Likewise.
64874         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
64875         macro.
64876         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
64877         Renamed to ...
64878         (abi-*): This.
64879         (abi-64-ld-soname): New macro.
64880         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
64881         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
64882         Renamed to ...
64883         (abi-*): This.
64884         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
64885         * sysdeps/x86_64/x32/shlib-versions: Likewise.
64887 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
64889         * sysdeps/unix/sysv/linux/kernel-features.h
64890         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
64891         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
64892         include <kernel-features.h>.
64893         [!__NR_ftruncate64]: Remove conditional code.
64894         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64895         [__NR_ftruncate64]: Make code unconditional.
64896         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64897         * sysdeps/unix/sysv/linux/truncate64.c: Do not
64898         include <kernel-features.h>.
64899         [!__NR_ftruncate64]: Remove conditional code.
64900         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64901         [__NR_ftruncate64]: Make code unconditional.
64902         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
64904         include <kernel-features.h>.
64905         [!__NR_ftruncate64]: Remove conditional code.
64906         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64907         [__NR_ftruncate64]: Make code unconditional.
64908         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64910         include <kernel-features.h>.
64911         [!__NR_ftruncate64]: Remove conditional code.
64912         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64913         [__NR_ftruncate64]: Make code unconditional.
64914         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64916         * configure.in (libc_cv_fpie): Weaken to a compile test using
64917         LIBC_TRY_CC_OPTION.
64918         * configure: Regenerated.
64920 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
64923         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
64924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
64925         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64926         Refreshed.
64927         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
64928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
64929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
64930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
64931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
64932         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64933         Refreshed.
64935 2012-05-27  David S. Miller  <davem@davemloft.net>
64937         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
64938         (___Q_zero): New.
64939         (__Q_simulate_exceptions): Return void.  Change to simulate
64940         exceptions by writing into the %fsr.
64941         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
64942         (__Qp_handle_exceptions): Likewise.
64943         (numbers): Delete.
64944         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
64945         __Qp_handle_exceptions.
64946         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
64947         __Qp_handle_exceptions.
64948         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64949         as unused and give dummy FP_RND_NEAREST initializer.
64950         (FP_INHIBIT_RESULTS): Define.
64951         (___Q_simulate_exceptions): Update declaration.
64952         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
64953         formatting.
64954         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64955         as unused and give dummy FP_RND_NEAREST initializer.
64956         (__Qp_handle_exceptions): Update declaration.
64957         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
64958         formatting.
64960 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
64962         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
64963         the temporary FPU control word.
64964         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
64965         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
64966         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
64967         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64968         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
64969         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
64970         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
64971         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64972         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
64973         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
64974         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64976 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64978         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
64979         fields.
64981 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
64983         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
64984         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
64985         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
64986         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
64987         Likewise.
64988         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
64989         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
64990         Likewise.
64992 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
64994         * po/h.po: Update from translation team.
64996 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
64998         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
65000         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
65001         handling of denormals.
65002         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65003         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
65004         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65005         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65006         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65007         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
65008         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
65009         Likewise.
65011 2012-05-26  Marek Polacek  <polacek@redhat.com>
65013         [BZ #14152]
65014         * math/libm-test.inc (fma_test): Don't always expect underflow
65015         exception.
65017 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65019         [BZ #12416]
65020         * elf/tst-execstack.c: Include stackinfo.h.
65021         (do_test): Adjust test case to ensure that pthread_getattr_np
65022         behaviour remains the same after marking stack executable.
65024 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65026         * sysdeps/unix/sysv/linux/kernel-features.h
65027         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
65028         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
65029         kernel-features.h.
65030         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65031         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65032         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
65033         kernel-features.h.
65034         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65035         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65037 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
65039         * configure.in: Define the default includes to being none.
65040         * configure: Regenerated.
65042 2012-05-25  Roland McGrath  <roland@hack.frob.com>
65044         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
65045         * sysdeps/x86_64/setjmp.S: Likewise.
65046         * sysdeps/i386/bsd-setjmp.S: Likewise.
65047         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65048         * sysdeps/i386/setjmp.S: Likewise.
65049         * sysdeps/i386/__longjmp.S: Likewise.
65050         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65051         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
65053         * include/stap-probe.h: New file.
65054         * configure.in: Handle --enable-systemtap.
65055         * configure: Regenerated.
65056         * config.h.in (USE_STAP_PROBE): New #undef.
65057         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
65058         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
65059         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
65061 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65063         [BZ #13717]
65064         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65065         to 2.4.0 where earlier.
65066         * sysdeps/unix/sysv/linux/configure: Regenerated.
65067         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65068         <kernel-features.h>.
65069         [__ASSUME_32BITUIDS]: Make code unconditional.
65070         [!__ASSUME_32BITUIDS]: Remove conditional code.
65071         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
65072         <kernel-features.h>.
65073         [__ASSUME_32BITUIDS]: Make code unconditional.
65074         [!__ASSUME_32BITUIDS]: Remove conditional code.
65075         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
65076         [__ASSUME_32BITUIDS]: Make code unconditional.
65077         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
65078         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
65079         <kernel-features.h>.
65080         [__ASSUME_32BITUIDS]: Make code unconditional.
65081         [!__ASSUME_32BITUIDS]: Remove conditional code.
65082         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
65083         <kernel-features.h>.
65084         [__ASSUME_32BITUIDS]: Make code unconditional.
65085         [!__ASSUME_32BITUIDS]: Remove conditional code.
65086         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
65087         <kernel-features.h>.
65088         [__ASSUME_32BITUIDS]: Make code unconditional.
65089         [!__ASSUME_32BITUIDS]: Remove conditional code.
65090         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
65091         <kernel-features.h>.
65092         [__ASSUME_32BITUIDS]: Make code unconditional.
65093         [!__ASSUME_32BITUIDS]: Remove conditional code.
65094         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
65095         <kernel-features.h>.
65096         [__ASSUME_32BITUIDS]: Make code unconditional.
65097         [!__ASSUME_32BITUIDS]: Remove conditional code.
65098         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
65099         <kernel-features.h>.
65100         [__ASSUME_32BITUIDS]: Make code unconditional.
65101         [!__ASSUME_32BITUIDS]: Remove conditional code.
65102         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
65103         <kernel-features.h>.
65104         [__ASSUME_32BITUIDS]: Make code unconditional.
65105         [!__ASSUME_32BITUIDS]: Remove conditional code.
65106         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65107         <kernel-features.h>.
65108         [__ASSUME_32BITUIDS]: Make code unconditional.
65109         [!__ASSUME_32BITUIDS]: Remove conditional code.
65110         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
65111         <kernel-features.h>.
65112         [__ASSUME_32BITUIDS]: Make code unconditional.
65113         [!__ASSUME_32BITUIDS]: Remove conditional code.
65114         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
65115         <kernel-features.h>.
65116         [__ASSUME_32BITUIDS]: Make code unconditional.
65117         [!__ASSUME_32BITUIDS]: Remove conditional code.
65118         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
65119         <kernel-features.h>.
65120         [__NR_setresgid] (__setresgid): Do not declare.
65121         [__ASSUME_32BITUIDS]: Make code unconditional.
65122         [!__ASSUME_32BITUIDS]: Remove conditional code.
65123         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
65124         <kernel-features.h>.
65125         [__NR_setresuid] (__setresuid): Do not declare.
65126         [__ASSUME_32BITUIDS]: Make code unconditional.
65127         [!__ASSUME_32BITUIDS]: Remove conditional code.
65128         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
65129         <kernel-features.h>.
65130         [__ASSUME_32BITUIDS]: Make code unconditional.
65131         [!__ASSUME_32BITUIDS]: Remove conditional code.
65132         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
65133         <kernel-features.h>.
65134         [__ASSUME_32BITUIDS]: Make code unconditional.
65135         [!__ASSUME_32BITUIDS]: Remove conditional code.
65136         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
65137         <kernel-features.h>.
65138         [__ASSUME_32BITUIDS]: Make code unconditional.
65139         [!__ASSUME_32BITUIDS]: Remove conditional code.
65140         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
65141         <kernel-features.h>.
65142         [__ASSUME_32BITUIDS]: Make code unconditional.
65143         [!__ASSUME_32BITUIDS]: Remove conditional code.
65144         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
65145         <kernel-features.h>.
65146         [__ASSUME_32BITUIDS]: Make code unconditional.
65147         [!__ASSUME_32BITUIDS]: Remove conditional code.
65148         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
65149         <kernel-features.h>.
65150         [__ASSUME_32BITUIDS]: Make code unconditional.
65151         [!__ASSUME_32BITUIDS]: Remove conditional code.
65152         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
65153         <kernel-features.h>.
65154         [__ASSUME_32BITUIDS]: Make code unconditional.
65155         [!__ASSUME_32BITUIDS]: Remove conditional code.
65156         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
65157         <kernel-features.h>.
65158         [__ASSUME_32BITUIDS]: Make code unconditional.
65159         [!__ASSUME_32BITUIDS]: Remove conditional code.
65160         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
65161         <kernel-features.h>.
65162         [__ASSUME_32BITUIDS]: Make code unconditional.
65163         [!__ASSUME_32BITUIDS]: Remove conditional code.
65164         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65165         <kernel-features.h>.
65166         [__ASSUME_32BITUIDS]: Make code unconditional.
65167         [!__ASSUME_32BITUIDS]: Remove conditional code.
65168         * sysdeps/unix/sysv/linux/kernel-features.h
65169         (__ASSUME_SETRESUID_SYSCALL): Remove.
65170         (__ASSUME_SETRESGID_SYSCALL): Likewise.
65171         (__ASSUME_32BITUIDS): Likewise.
65172         (__ASSUME_LDT_WORKS): Likewise.
65173         (__ASSUME_O_DIRECTORY): Likewise.
65174         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
65175         architecture but not kernel version.
65176         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
65177         (__ASSUME_MMAP2_SYSCALL): Likewise.
65178         (__ASSUME_STAT64_SYSCALL): Likewise.
65179         (__ASSUME_IPC64): Likewise.
65180         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
65181         <kernel-features.h>.
65182         [__ASSUME_32BITUIDS]: Make code unconditional.
65183         [!__ASSUME_32BITUIDS]: Remove conditional code.
65184         * sysdeps/unix/sysv/linux/opendir.c: Do not include
65185         <kernel-features.h>.
65186         [__ASSUME_O_DIRECTORY]: Make code unconditional.
65187         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
65188         132096]: Remove conditional code.
65189         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
65190         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65191         <kernel-features.h>.
65192         [__ASSUME_32BITUIDS]: Make code unconditional.
65193         [!__ASSUME_32BITUIDS]: Remove conditional code.
65194         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65195         <kernel-features.h>.
65196         [__ASSUME_32BITUIDS]: Make code unconditional.
65197         [!__ASSUME_32BITUIDS]: Remove conditional code.
65198         * sysdeps/unix/sysv/linux/setegid.c: Do not include
65199         <kernel-features.h>.
65200         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
65201         unconditional.
65202         (__setresgid): Do not declare.
65203         [__ASSUME_32BITUIDS]: Make code unconditional.
65204         [!__ASSUME_32BITUIDS]: Remove conditional code.
65205         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
65206         <kernel-features.h>.
65207         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
65208         unconditional.
65209         (__setresuid): Do not declare.
65210         [__ASSUME_32BITUIDS]: Make code unconditional.
65211         [!__ASSUME_32BITUIDS]: Remove conditional code.
65212         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65213         <kernel-features.h>.
65214         [__ASSUME_32BITUIDS]: Make code unconditional.
65215         [!__ASSUME_32BITUIDS]: Remove conditional code.
65216         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
65217         <kernel-features.h>.
65218         [__ASSUME_32BITUIDS]: Make code unconditional.
65219         [!__ASSUME_32BITUIDS]: Remove conditional code.
65221 2012-05-25  Richard Henderson  <rth@twiddle.net>
65223         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
65224         dl_hwcap to ifunc resolver.
65225         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
65226         elf_ifunc_invoke.
65227         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
65228         dl_hwcap to ifunc resolver.
65229         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
65231 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65233         [BZ #14153]
65234         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
65235         for |x| <= 2**-26, not 2**-57.
65236         * math/libm-test.inc (acos_test): Do not allow spurious underflow
65237         exception.
65239 2012-05-24  Jeff Law  <law@redhat.com>
65241         * stdio-common/Makefile (tests): Add bug25.
65242         * stdio-common/bug25.c: New test.
65244 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65246         [BZ #13576]
65247         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
65248         multiple of MALLOC_ALIGNMENT in size.
65249         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
65251 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65253         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
65254         Require >= 256.
65255         (FILENAME_MAX): Use macro-int-constant.
65256         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
65257         (_IOFBF): Use macro-int-constant.
65258         (_IOLBF): Likewise.
65259         (_IONBF): Likewise.
65260         (SEEK_CUR): Likewise.
65261         (SEEK_END): Likewise.
65262         (SEEK_SET): Likewise.
65263         (TMP_MAX): Likewise.
65264         (EOF): Use macro-int-constant.  Require < 0.
65265         (NULL): Use macro-constant.  Require == 0.
65266         (stdin): Require type to be FILE *.
65267         (stdout): Likewise.
65268         (stderr): Likewise.
65269         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
65270         macro-int-constant.
65271         (EXIT_SUCCESS): Likewise.
65272         (NULL): Use macro-constant.  Require == 0.
65273         (RAND_MAX): Use macro-int-constant.
65274         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
65275         [C99-based standards] (strtof): Require function.
65276         [C99-based standards] (strtold): Likewise.
65277         [C99-based standards] (strtoll): Likewise.
65278         [C99-based standards] (strtoull): Likewise.
65279         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
65280         [ISO || ISO99 || ISO11] (limits.h): Likewise.
65281         [ISO || ISO99 || ISO11] (math.h): Likewise.
65282         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
65283         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
65284         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65286 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
65288         [BZ #14132]
65289         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
65290         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
65291         * intl/dgettext.c (DCGETTEXT): Likewise.
65292         * intl/gettext.c (DCGETTEXT): Likewise.
65293         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
65294         * posix/regex_internal.h (gettext): Likewise.
65295         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
65296         Remove declaration.
65297         * include/argz.h (__argz_count_internal)
65298         (__argz_stringify_internal): Remove declaration.
65299         (__argz_count, __argz_stringify): Declare hidden proto.
65300         * intl/dcgettext.c: Remove use of INTDEF.
65301         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
65302         * string/argz-stringify.c: Likewise.
65303         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65304         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65305         Declare hidden proto.
65306         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65307         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65308         Declare hidden proto.
65309         * include/stdio.h (__asprintf_internal): Don't declare.
65310         (__asprintf): Don't define as macro.  Declare hidden proto.
65311         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
65312         (__fsetlocking): Declare hidden proto.
65313         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
65314         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
65315         hidden proto.
65316         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
65317         (_IO_setlinebuf): Remove use of INTUSE.
65318         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
65319         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
65320         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
65321         Remove declaration.
65322         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
65323         (_IO_do_flush): Remove use of INTUSE.
65324         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
65325         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
65326         (_IO_adjust_column, _IO_least_wmarker)
65327         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
65328         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
65329         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
65330         (_IO_default_doallocate, _IO_wdefault_doallocate)
65331         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
65332         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
65333         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
65334         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
65335         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
65336         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
65337         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
65338         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
65339         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
65340         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
65341         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
65342         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
65343         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
65344         proto.
65345         (_IO_flush_all_internal, _IO_adjust_column_internal)
65346         (_IO_default_uflow_internal, _IO_default_finish_internal)
65347         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
65348         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
65349         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
65350         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
65351         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
65352         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
65353         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
65354         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
65355         (_IO_file_close_internal, _IO_file_close_it_internal)
65356         (_IO_file_underflow_internal, _IO_file_overflow_internal)
65357         (_IO_file_init_internal, _IO_file_attach_internal)
65358         (_IO_file_fopen_internal, _IO_file_read_internal)
65359         (_IO_file_sync_internal, _IO_file_seek_internal)
65360         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
65361         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
65362         (_IO_str_underflow_internal, _IO_str_overflow_internal)
65363         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
65364         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
65365         (_IO_list_all_internal, _IO_link_in_internal)
65366         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
65367         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
65368         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
65369         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
65370         (_IO_do_write_internal, _IO_padn_internal)
65371         (_IO_getline_info_internal, _IO_getline_internal)
65372         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
65373         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
65374         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
65375         (_IO_vfscanf_internal, _IO_vfprintf_internal)
65376         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
65377         (_IO_init_internal, _IO_un_link_internal): Don't declare.
65378         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
65379         with libc_hidden_ver, remove use of INTUSE.
65380         * libio/genops.c: Likewise.
65381         * libio/freopen.c: Likewise.
65382         * libio/freopen64.c: Likewise.
65383         * libio/iofclose.c: Likewise.
65384         * libio/iofdopen.c: Likewise.
65385         * libio/iofflush.c: Likewise.
65386         * libio/iofflush_u.c: Likewise.
65387         * libio/iofgets.c: Likewise.
65388         * libio/iofgets_u.c: Likewise.
65389         * libio/iofopen.c: Likewise.
65390         * libio/iofopncook.c: Likewise.
65391         * libio/iofread.c: Likewise.
65392         * libio/iofread_u.c: Likewise.
65393         * libio/ioftell.c: Likewise.
65394         * libio/iofwrite.c: Likewise.
65395         * libio/iogetline.c: Likewise.
65396         * libio/iogets.c: Likewise.
65397         * libio/iogetwline.c: Likewise.
65398         * libio/iopadn.c: Likewise.
65399         * libio/iopopen.c: Likewise.
65400         * libio/ioseekoff.c: Likewise.
65401         * libio/ioseekpos.c: Likewise.
65402         * libio/iosetbuffer.c: Likewise.
65403         * libio/iosetvbuf.c: Likewise.
65404         * libio/ioungetc.c: Likewise.
65405         * libio/ioungetwc.c: Likewise.
65406         * libio/iovdprintf.c: Likewise.
65407         * libio/iovsprintf.c: Likewise.
65408         * libio/iovsscanf.c: Likewise.
65409         * libio/memstream.c: Likewise.
65410         * libio/obprintf.c: Likewise.
65411         * libio/oldfileops.c: Likewise.
65412         * libio/oldiofclose.c: Likewise.
65413         * libio/oldiofdopen.c: Likewise.
65414         * libio/oldiofopen.c: Likewise.
65415         * libio/oldiopopen.c: Likewise.
65416         * libio/oldstdfiles.c: Likewise.
65417         * libio/putc.c: Likewise.
65418         * libio/setbuf.c: Likewise.
65419         * libio/setlinebuf.c: Likewise.
65420         * libio/stdfiles.c: Likewise.
65421         * libio/strops.c: Likewise.
65422         * libio/vasprintf.c: Likewise.
65423         * libio/vscanf.c: Likewise.
65424         * libio/vsnprintf.c: Likewise.
65425         * libio/vswprintf.c: Likewise.
65426         * libio/wfiledoalloc.c: Likewise.
65427         * libio/wfileops.c: Likewise.
65428         * libio/wgenops.c: Likewise.
65429         * libio/wmemstream.c: Likewise.
65430         * libio/wstrops.c: Likewise.
65431         * libio/__fpurge.c: Likewise.
65432         * libio/__fsetlocking.c: Likewise.
65433         * assert/assert.c: Likewise.
65434         * debug/fgets_chk.c: Likewise.
65435         * debug/fgets_u_chk.c: Likewise.
65436         * debug/fread_chk.c: Likewise.
65437         * debug/fread_u_chk.c: Likewise.
65438         * debug/gets_chk.c: Likewise.
65439         * debug/obprintf_chk.c: Likewise.
65440         * debug/vasprintf_chk.c: Likewise.
65441         * debug/vdprintf_chk.c: Likewise.
65442         * debug/vsnprintf_chk.c: Likewise.
65443         * debug/vsprintf_chk.c: Likewise.
65444         * malloc/mtrace.c: Likewise.
65445         * misc/error.c: Likewise.
65446         * misc/syslog.c: Likewise.
65447         * stdio-common/asprintf.c: Likewise.
65448         * stdio-common/fxprintf.c: Likewise.
65449         * stdio-common/getw.c: Likewise.
65450         * stdio-common/isoc99_fscanf.c: Likewise.
65451         * stdio-common/isoc99_scanf.c: Likewise.
65452         * stdio-common/isoc99_vfscanf.c: Likewise.
65453         * stdio-common/isoc99_vscanf.c: Likewise.
65454         * stdio-common/isoc99_vsscanf.c: Likewise.
65455         * stdio-common/printf-prs.c: Likewise.
65456         * stdio-common/printf_fp.c: Likewise.
65457         * stdio-common/printf_fphex.c: Likewise.
65458         * stdio-common/printf_size.c: Likewise.
65459         * stdio-common/putw.c: Likewise.
65460         * stdio-common/scanf.c: Likewise.
65461         * stdio-common/sprintf.c: Likewise.
65462         * stdio-common/tmpfile.c: Likewise.
65463         * stdio-common/vfprintf.c: Likewise.
65464         * stdio-common/vfscanf.c: Likewise.
65465         * stdlib/strfmon_l.c: Likewise.
65466         * sunrpc/openchild.c: Likewise.
65467         * sunrpc/xdr_stdio.c: Likewise.
65468         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
65469         * sysdeps/mach/hurd/tmpfile.c: Likewise.
65471 2012-05-24  Roland McGrath  <roland@hack.frob.com>
65473         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65475         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
65476         in the third column, to generate for the shared library an IFUNC
65477         that uses _dl_vdso_vsym.
65478         * Makerules (COMPILE.c, compile-stdin.c): New variables.
65479         * Makeconfig (object-suffixes-noshared): New variable.
65481         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
65482         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
65483         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
65484         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
65486         [BZ #14132]
65487         * include/sys/time.h (__gettimeofday): Remove macro.
65488         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
65489         * time/gettimeofday.c (__gettimeofday): Remove #undef.
65490         Remove INTDEF.
65491         (__gettimeofday): Add libc_hidden_def.
65492         (gettimeofday): Add libc_hidden_weak.
65493         * sysdeps/mach/gettimeofday.c: Likewise.
65494         * sysdeps/posix/gettimeofday.c: Likewise.
65495         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
65496         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
65497         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
65498         (__gettimeofday_internal): Remove strong_alias.
65499         (__gettimeofday): Add libc_hidden_def.
65500         (gettimeofday): Add libc_hidden_weak.
65501         * sysdeps/unix/syscalls.list (gettimeofday):
65502         Remove __gettimeofday_internal alias.
65504 2012-05-24  Daniel Jacobowitz  <drow@false.org>
65505             H.J. Lu  <hongjiu.lu@intel.com>
65507         [BZ #12495]
65508         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
65509         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
65510         (largebin_index_32_big): New.
65511         (largebin_index): Use it for 16-byte alignment.
65512         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
65513         correction with front_misalign.
65515 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65517         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
65518         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
65519         Likewise.
65520         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
65521         Likewise.
65522         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65523         Likewise.
65524         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
65525         Likewise.
65526         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
65527         Likewise.
65528         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
65529         Likewise.
65530         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
65531         Likewise.
65532         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65533         Likewise.
65534         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
65535         Likewise.
65536         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
65537         Likewise.
65538         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
65539         Likewise.
65540         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
65541         Likewise.
65543         * scripts/data/c++-types-x32-linux-gnu.data: New file.
65544         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
65546 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65548         [BZ #10846]
65549         [BZ #14036]
65550         * math/libm-test.inc (exp_test): Add test from bug 14036.
65551         (pow_test): Add test from bug 10846.
65553         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
65554         and other flags.
65555         (special_function): Do not include flags in test name.
65556         (parse_args): Likewise.
65557         * sysdeps/i386/fpu/libm-test-ulps: Update.
65558         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65559         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65560         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65563         * math/gen-libm-test.pl (%beautify): Add entries for underflow
65564         exceptions.
65565         * math/libm-test.inc ("Philosophy"): Update comment about
65566         exception testing.
65567         (UNDERFLOW_EXCEPTION): New macro.
65568         (UNDERFLOW_EXCEPTION_OK): Likewise.
65569         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
65570         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
65571         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
65572         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
65573         (INVALID_EXCEPTION_OK): Update value.
65574         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65575         (OVERFLOW_EXCEPTION_OK): Likewise.
65576         (IGNORE_ZERO_INF_SIGN): Likewise.
65577         (test_exceptions): Handle underflow exceptions.
65578         (acos_test): Update for underflow exception expectations.
65579         (cexp_test): Likewise.
65580         (clog_test): Likewise.
65581         (clog10_test): Likewise.
65582         (csqrt_test): Likewise.
65583         (ctan_test): Likewise.
65584         (ctanh_test): Likewise.
65585         (exp_test): Likewise.
65586         (exp10_test): Likewise.
65587         (exp2_test): Likewise.
65588         (expm1_test): Likewise.
65589         (fma_test): Likewise.
65590         (j0_test): Likewise.
65591         (jn_test): Likewise.
65592         (nexttoward_test): Likewise.
65593         (pow_test): Likewise.
65594         (scalbn_test): Likewise.
65595         (scalbln_test): Likewise.
65596         (tan_test): Likewise.
65597         (y1_test): Likewise.
65598         * sysdeps/i386/fpu/libm-test-ulps: Update.
65599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65601 2012-05-23  David S. Miller  <davem@davemloft.net>
65603         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65604         (__libc_sigaction): Remove unused local variables.
65606 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65608         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
65610 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
65612         mktime: avoid signed integer overflow
65613         * time/mktime.c (__mktime_internal): Do not mishandle the case
65614         where diff == INT_MIN.
65616         mktime: simplify computation of average
65617         * time/mktime.c (ranged_convert): Use new time_t_avg function
65618         instead of rolling our own (probably-slower) code.
65620         mktime: do not assume signed right shift propagates sign bit
65621         * time/mktime.c (isdst_differ): New static function.
65622         (__mktime_internal): No need to normalize tm_isdst now.
65623         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
65624         tm_isdst values.
65626         mktime: merge another wrapv change from gnulib
65627         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
65628         from some compilers.
65630         mktime: remove incorrect attempt at unusual arithmetics
65631         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
65632         The code didn't really work on such machines anyway.
65633         (TYPE_MINIMUM): Assume two's complement.
65634         (twos_complement_arithmetic): Verify that long_int and time_t
65635         are two's complement (or unsigned, in the latter case).
65637         mktime: check signed shifts on long_int and time_t, too
65638         * time/mktime.c (SHR): Check that shifts work as desired
65639         on the types long_int and time_t too, as SHR is used on
65640         such types.
65642         mktime: do not assume 'long' is wide enough
65643         * time/mktime.c (verify): Move decl up.
65644         (long_int): New type.
65645         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
65646         to remove assumption in the code that 'long' is wide enough to
65647         store year values.  This assumption is not true on x32 and on
65648         some non-glibc platforms.
65650         mktime: merge wrapv change from gnulib
65651         * time/mktime.c (WRAPV): New macro.
65652         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
65653         (guess_time_tm, __mktime_internal): Do not assume that signed
65654         integer overflow wraps around; modern compilers generate code
65655         where this assumption is no longer valid.
65657 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65659         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65660         Replace "jmp L(pseudo_end)" with "ret".
65661         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
65662         Likewise.
65664 2012-05-23  Andreas Jaeger  <aj@suse.de>
65666         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
65667         * sysdeps/unix/sysv/linux/poll.c: Remove file.
65669 2012-05-23  Andreas Jaeger  <aj@suse.de>
65670             Maximilian Attems  <max@stro.at>
65672         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
65673         New macros.
65675 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65677         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
65678         code so that pseudo_end is just ret and the stack pointer is
65679         correct also for static library in error case.
65681 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
65683         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
65684         move to syscalls.list.
65685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
65686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
65687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
65688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
65690         * manual/install.texi (Running make install): Do not mention Linux
65691         kernel version for which pt_chown is not needed.
65692         (Linux): Do not mention problems with nscd with 2.0 kernels.
65693         * INSTALL: Regenerated.
65695 2012-05-23  Andreas Jaeger  <aj@suse.de>
65697         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
65698         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
65699         macro.
65700         * sysdeps/unix/sysv/linux/s390/bits/mman.h
65701         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65702         * sysdeps/unix/sysv/linux/sh/bits/mman.h
65703         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65704         * sysdeps/unix/sysv/linux/i386/bits/mman.h
65705         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65706         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
65707         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65708         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
65709         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65710         * sysdeps/unix/sysv/linux/bits/in.h
65711         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
65713 2012-05-22  Roland McGrath  <roland@hack.frob.com>
65715         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
65716         (PREPARE_VERSION): Just use assert instead, it will be elided
65717         under [NDEBUG] anyway.
65719 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65721         * sysdeps/unix/sysv/linux/Makefile: Include
65722         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
65723         (sysdep_routines): Remove sysctl.
65724         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
65725         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
65726         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
65727         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
65728         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
65730 2012-05-22  Andreas Jaeger  <aj@suse.de>
65732         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
65733         that pseudo_end is just ret and the stack pointer is correct also
65734         for static library in error case.
65736 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
65738         [BZ #14122]
65739         * nss/nsswitch.c (defconfig_entries): New variable.
65740         (__nss_database_lookup): Don't leak defconfig entries.
65741         (nss_parse_service_list): Don't leak on error paths.
65742         (free_database_entries): New function.
65743         (free_defconfig): New function.
65744         (free_mem): Move common code to free_database_entries.
65746 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65748         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
65749         Add arch_prctl.
65750         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
65752         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
65753         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
65754         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
65755         New macro.
65756         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
65757         (INTERNAL_SYSCALL_TYPES): Likewise.
65758         (LOAD_ARGS_TYPES_[1-6]): Likewise.
65759         (LOAD_REGS_TYPES_[1-6]): Likewise.
65760         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
65761         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
65763 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65765         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
65766         copysignl for GLIBC_2_0.
65767         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
65768         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
65769         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
65770         logbl for GLIBC_2_0.
65771         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
65772         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
65774 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65776         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
65777         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65779         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65780         Use "neg %eax".
65782         * time/mktime.c: Update copyright years.
65784 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
65786         mktime: merge comment-quoting-style change from gnulib
65787         * time/mktime.c: Quote 'like this' in comments.
65788         The GNU coding standards suggest that we no longer quote `like this',
65789         as "`" and "'" are typically rendered asymmetrically nowadays.
65790         The typical gnulib style is to quote 'like this' when quoting
65791         code, and "like this" when quoting English.
65793         * time/mktime.c (compile-command): Add "-I.".
65795         mktime: merge mktime-internal.h change from gnulib
65796         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
65798         mktime: merge time_r change from gnulib
65799         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
65801         mktime: merge DEBUG change from gnulib
65802         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
65803         case system <time.h> has a #define.
65805         mktime: merge <sys/types.h> change from gnulib
65806         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
65807         since <time.t> is now guaranteed to define time_t.
65809         mktime: merge HAVE_CONFIG_H change from gnulib
65810         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
65812 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65814         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65815         Use "neg %eax".
65817         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
65818         __rlim_t cast.
65819         (struct rusage): Use anonymous union to pad each field to
65820         __syscall_slong_t.
65822 2012-05-21  David S. Miller  <davem@davemloft.net>
65824         * Makefules (o-iterator): Remove .s cases.
65825         (compile-command.s): Delete.
65826         (COMPILE.s): Delete.
65827         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
65829 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
65831         * configure.in (libc_cv_predef_stack_protector): Only consider
65832         "foobar" and "__stack_chk_fail" lines in libc_undefs.
65833         * configure: Regenerated.
65835 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65837         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65838         New macro.  Use R*LP on int and pointer.
65839         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
65840         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
65841         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
65842         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
65844         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
65845         [__WORDSIZE_TIME64_COMPAT32] instead of
65846         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
65847         (struct utmp): Likewise.
65848         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
65849         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
65850         Renamed to ...
65851         (__WORDSIZE_TIME64_COMPAT32): This.
65852         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
65853         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
65854         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
65855         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
65856         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
65857         (__WORDSIZE_TIME64_COMPAT32): New macro.
65859 2012-05-21  Andreas Jaeger  <aj@suse.de>
65861         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
65862         only if [SHARED]. Add prototype for __wcschr_ia32.
65864 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65866         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65867         of %rbp unmolested in the jmp_buf while mangling the low bits.
65868         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
65869         unmolested high bits of %rbp while demangling the low bits.
65870         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65872 2012-05-21  Andreas Jaeger  <aj@suse.de>
65874         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
65875         * sunrpc/svc_simple.c: Use it for registerrpc.
65876         * sunrpc/xcrypt.c: Use it for passwd2des.
65878         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
65880 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65882         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
65883         Don't define if [__SYSCALL_WORDSIZE != 32].
65884         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
65885         New macro.
65887 2012-05-21  Bruno Haible  <bruno@clisp.org>
65888             Andreas Jaeger  <aj@suse.de>
65890         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
65891         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
65892         inptr and inend for must_buffer_ch.
65893         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
65894         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
65895         * stdio-common/Makefile (tests): Remove bug15.
65896         (bug15-ENV): Remove macro.
65897         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
65898         anymore.
65900 2012-05-19  Andreas Jaeger  <aj@suse.de>
65901             Roland McGrath  <roland@hack.frob.com>
65903         * manual/contrib.texi: Completely rewritten. It contains now an
65904         alphabetical list of contributors and their contributions.
65906 2012-05-21  Richard Henderson  <rth@twiddle.net>
65908         * misc/getauxval.c (__getauxval): Use unsigned long int.
65909         * misc/sys/auxv.h: Include <sys/cdefs.h>.
65910         (getauxval): Use unsigned long int.
65912 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65914         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65916 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65918         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
65919         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
65920         __alignof__ (long double).
65922 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65926 2012-05-20  Richard Henderson  <rth@twiddle.net>
65928         * misc/getauxval.c: New file.
65929         * misc/sys/auxv.h: New file.
65930         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
65931         (routines): Add getauxval.
65932         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
65933         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
65934         * elf/dl-sysdep.c (_dl_auxv): Remove.
65935         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
65936         * elf/dl-support.c (_dl_auxv): New variable.
65937         (_dl_aux_init): Initialize it.
65938         * manual/startup.texi (Auxiliary Vector): New node.
65939         * sysdeps/generic/bits/hwcap.h: New file.
65940         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
65941         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
65942         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
65943         * sysdeps/sparc/sysdep.h: ... here.  Include it.
65944         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
65945         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
65946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65947         Update.
65948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
65949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
65950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
65951         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
65952         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65954         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
65955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
65957 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65961 2012-05-19  David S. Miller  <davem@davemloft.net>
65963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65965 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65967         [BZ #14123]
65968         * math/s_ccosh.c: Include <float.h>
65969         (__ccosh): Avoid internal overflow calculating sinh and cosh
65970         values before multiplying by sin and cos values.
65971         * math/s_ccoshf.c: Likewise.
65972         * math/s_ccoshl.c: Likewise.
65973         * math/s_csin.c: Likewise.
65974         * math/s_csinf.c: Likewise.
65975         * math/s_csinl.c: Likewise.
65976         * math/s_csinh.c: Likewise.
65977         * math/s_csinhf.c: Likewise.
65978         * math/s_csinhl.c: Likewise.
65979         * math/libm-test.inc (ccos_test): Add more tests.
65980         (ccosh_test): Likewise.
65981         (csin_test): Likewise.
65982         (csinh_test): Likewise.
65983         * sysdeps/i386/fpu/libm-test-ulps: Update.
65984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65986 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
65988         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
65989         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
65991         * sysdeps/x86_64/x32/_itoa.h: Add comment.
65993 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65995         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
65996         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
65997         * sysdeps/powerpc/soft-fp/Versions: Likewise.
65998         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
65999         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
66000         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
66001         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
66002         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
66003         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
66004         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
66005         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
66006         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
66007         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
66008         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
66009         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
66010         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
66011         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
66012         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
66013         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
66014         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
66015         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
66016         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
66017         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
66018         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
66019         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
66020         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
66021         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
66022         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
66023         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
66024         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
66025         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
66027 2012-05-18  Andreas Jaeger  <aj@suse.de>
66029         * csu/.gitignore: Delete.
66031 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66033         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
66034         (timex): Use __syscall_slong_t.
66036 2012-05-18  Andreas Jaeger  <aj@suse.de>
66037             Carlos O'Donell  <carlos_odonell@mentor.com>
66039         * manual/install.texi (Configuring and compiling): Update
66040         description about files modified in the source directory.
66041         * INSTALL: Regenerated.
66043 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66045         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
66046         value.  Use "or" to set return value to -1.
66047         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
66048         negate return value.
66050 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66052         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
66053         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
66054         failure if the compiler has Graphite support disabled.
66055         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
66056         Likewise.
66057         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
66058         (CFLAGS-memmove.c): Likewise.
66059         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
66060         Likewise.
66062 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66064         * sysdeps/x86_64/x32/_itoa.h: New file.
66066         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
66067         getdents system call only if kernel and user dirents have the
66068         same d_ino and d_off.
66070         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66071         LLONG_MAX != LONG_MAX.
66072         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66073         (_fitoa_word): Likewise.
66075         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
66076         years.
66077         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
66078         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
66079         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
66081         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
66082         include <bits/wordsize.h>.  Check __x86_64__ instead of
66083         __WORDSIZE.
66084         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
66085         if __x86_64__ is defined.  Use anonymous union on fpstate.
66087         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
66088         anonymous union.
66090 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
66092         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
66093         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
66094         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
66095         Refer to _rtld_local_ro instead of _rtld_global_ro.
66096         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
66097         Likewise.
66098         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
66099         Likewise.
66100         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
66101         Likewise.
66102         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
66103         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
66104         of _rtld_global, and rtld_progname instead of _dl_argv[0].
66106         [BZ #10882]
66107         * sysdeps/powerpc/powerpc32/dl-machine.c
66108         (__elf_machine_runtime_setup) [PROF]: Don't reference
66109         _dl_prof_resolve.
66111 2012-05-18  Andreas Jaeger  <aj@suse.de>
66113         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
66114         function only available for GCCs before 3.4 since GCC 3.4
66115         introduced a builtin.
66116         (lrint): Likewise.
66117         (llrintf): Likewise.
66118         (llrint): Likewise.
66119         (fmaxf): Likewise.
66120         (fmax): Likewise.
66121         (fminf): Likewise.
66122         (fmin): Likewise.
66123         (rint): Likewise.
66124         (rintf): Likewise.
66125         (nearbyint): Likewise.
66126         (nearbyintf): Likewise.
66127         (ceil): Likewise.
66128         (ceilf): Likewise.
66129         (floor): Likewise.
66130         (floorf): Likewise.
66132 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66134         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
66135         on both fields and cast pointer to __syscall_ulong_t.
66137         * bits/types.h (__fsword_t): New type.
66138         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
66139         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
66140         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66141         (__FSWORD_T_TYPE): Likewise.
66142         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66143         (__FSWORD_T_TYPE): Likewise.
66144         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66145         (__FSWORD_T_TYPE): Likewise.
66146         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
66147         (__FSWORD_T_TYPE): Likewise.
66148         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
66149         __SWORD_TYPE with __fsword_t.
66150         (statfs64): Likewise.
66152 2012-05-17  David S. Miller  <davem@davemloft.net>
66154         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
66156 2012-05-17  Andreas Jaeger  <aj@suse.de>
66158         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
66159         warning.
66161 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66163         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
66165 2012-05-17  Andreas Jaeger  <aj@suse.de>
66167         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
66168         when it is used.
66170 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66172         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
66174 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66176         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
66177         * sysdeps/x86_64/tst-mallocalign1.c: New file.
66179 2012-05-17  Andreas Jaeger  <aj@suse.de>
66180             Carlos O'Donell  <carlos_odonell@mentor.com>
66182         [BZ #14059]
66183         * sysdeps/x86_64/multiarch/init-arch.h
66184         (bit_YMM_Usable): Rename to...
66185         (bit_AVX_Usable): ... this.
66186         (bit_FMA4_Usable): New macro.
66187         (bit_XMM_state): New macro.
66188         (bit_YMM_state): New macro.
66189         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
66190         [__ASSEMBLER__] (index_AVX_Usable): ... this.
66191         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
66192         (CPUID_OSXSAVE): New macro.
66193         (CPUID_AVX): New macro.
66194         (CPUID_FMA4): New macro.
66195         (index_YMM_Usable): Rename to...
66196         (index_AVX_Usable): ... this.
66197         (HAS_AVX): Use HAS_ARCH_FEATURE.
66198         (HAS_FMA4): Likewise.
66199         (HAS_YMM_USABLE): Remove.
66200         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66201         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
66202         are present.
66203         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
66204         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
66205         * sysdeps/x86_64/multiarch/Makefile: Likewise.
66206         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
66207         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
66209 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66211         * math/libm-test.c: Support platforms without multiple rounding modes.
66212         * math/bug-nextafter.c: Support platforms without FP exceptions.
66213         * math/bug-nexttoward.c: Likewise.
66214         * math/test-fenv.c: Likewise.
66215         * math/test-misc.c: Likewise.
66216         * stdlib/bug-getcontext.c: Likewise.
66218 2012-05-17  Andreas Jaeger  <aj@suse.de>
66220         * manual/examples/search.c (critter_cmp): Change signature to
66221         avoid warnings.
66222         * manual/string.texi (Collation Functions): Likewise.
66224 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66226         * bits/types.h: Fold copyright years.
66227         * bits/typesizes.h: Likewise.
66228         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
66229         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
66230         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
66231         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
66232         * time/time.h: Likewise.
66234 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
66236         [BZ #208]
66237         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
66238         in instead of returning them.  Return void.
66239         (__libc_mallinfo): Accumulate over all arenas.
66240         (__malloc_stats): Adjust for change in int_mallinfo interface.
66242 2012-05-16  Roland McGrath  <roland@hack.frob.com>
66244         [BZ #10375]
66245         * configure.in (NM): Add AC_CHECK_TOOL for it.
66246         (libc_extra_cflags): New substituted variable.
66247         Check for -fstack-protector being used implicitly.
66248         * configure: Regenerated.
66249         * config.make.in (config-extra-cflags): New variable,
66250         gets @libc_extra_cflags@.
66251         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
66253         [BZ #10375]
66254         * configure.in: Check for _FORTIFY_SOURCE being predefined.
66255         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
66256         * configure: Regenerated.
66257         * config.make.in (CPPUNDEFS): New substituted variable.
66258         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
66259         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
66260         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
66262 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66264         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
66265         (mq_attr): Use __syscall_slong_t.
66267 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66269         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
66270         Check __x86_64__ instead of __WORDSIZE.
66271         (_STAT_VER_LINUX): Likewise.
66272         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
66273         __syscall_ulong_t and __syscall_slong_t.
66274         (stat64): Likewise.
66276 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66278         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
66280 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66282         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
66284 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66286         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
66287         __syscall_ulong_t.
66289         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
66290         include <bits/wordsize.h>.  Check __x86_64__ instead of
66291         __WORDSIZE.
66292         (greg_t): Use "__extension__ long long int" if __x86_64__ is
66293         defined.
66294         (mcontext_t): Replace "unsigned long" with "unsigned long long".
66296         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
66297         include <bits/wordsize.h>.  Check __x86_64__ instead of
66298         __WORDSIZE.
66299         (user_regs_struct): Use "__extension__ unsigned long long"
66300         instead of "unsigned long" if __x86_64__ is defined.
66301         (user): Likewise.  Pad after pointer field if __ILP32__ is
66302         defined.
66304 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
66306         * configure.in (makeinfo): Require version 4.5 or later.  Allow
66307         versions 5 to 9.
66308         * configure: Regenerated.
66309         * manual/install.texi (texinfo): Increase version requirement to
66310         4.5 or later.
66311         * INSTALL: Regenerated.
66313         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
66315 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66317         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
66319         * sysdeps/x86_64/x32/ffs.c: New file.
66321         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
66322         __syscall_ulong_t.
66323         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
66324         defined.  Use __syscall_ulong_t.
66325         (shminfo): Use __syscall_ulong_t.
66326         (shm_info): Likewise.
66328         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
66329         __syscall_ulong_t.
66331         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
66332         <bits/wordsize.h>.
66333         (msgqnum_t): Use __syscall_ulong_t.
66334         (msglen_t): Likewise.
66335         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
66336         __syscall_ulong_t.
66338         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
66339         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66341         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
66343         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
66344         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
66346         * sysvipc/sys/msg.h (msgbuf): Replace long int with
66347         __syscall_slong_t.
66349         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
66350         include <bits/wordsize.h>.  Check __x86_64__ instead of
66351         __WORDSIZE.
66353         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
66354         "unsigned long long int" if __x86_64__ is defined.
66355         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
66357         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
66358         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66359         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
66361         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
66362         <stdint.h>.
66363         (GET_PC): Cast to uintptr_t first.
66364         (GET_FRAME): Likewise.
66365         (GET_STACK): Likewise.
66367         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
66368         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
66369         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
66370         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
66371         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
66372         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
66373         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
66374         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
66375         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
66376         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
66377         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
66378         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
66379         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
66380         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
66381         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
66382         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
66383         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
66384         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
66385         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
66386         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
66387         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
66388         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
66389         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
66390         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
66391         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
66392         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
66393         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
66394         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
66395         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
66397 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
66399         * Makerules (+depfiles): Also collect depfiles from .oS in
66400         $(extra-objs).
66401         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
66402         .oS, $(libnldbl-routines)).
66404         * Makerules (native-compile-mkdep-flags): Define.
66405         * sunrpc/Makefile (extra-objs): Add $(addprefix
66406         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
66407         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
66408         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
66409         calling $(make-target-directory).
66411 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66413         * bits/types.h (__snseconds_t): Removed.
66414         * time/time.h (struct timespec): Replace __snseconds_t with
66415         __syscall_slong_t.
66416         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
66417         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
66418         Likewise.
66419         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66420         (__SNSECONDS_T_TYPE): Likewise.
66421         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66422         (__SNSECONDS_T_TYPE): Likewise.
66423         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66424         (__SNSECONDS_T_TYPE): Likewise.
66426 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66428         * sysdeps/mach/hurd/bits/typesizes.h
66429         (__SYSCALL_SLONG_TYPE): New macro.
66430         (__SYSCALL_ULONG_TYPE): Likewise.
66432 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66434         * bits/types.h (__syscall_slong_t): New type.
66435         (__syscall_ulong_t): Likewise.
66437         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
66438         (__SYSCALL_ULONG_TYPE): Likewise.
66439         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66440         (__SYSCALL_SLONG_TYPE): Likewise.
66441         (__SYSCALL_ULONG_TYPE): Likewise.
66442         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66443         (__SYSCALL_SLONG_TYPE): Likewise.
66444         (__SYSCALL_ULONG_TYPE): Likewise.
66445         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66446         (__SYSCALL_SLONG_TYPE): Likewise.
66447         (__SYSCALL_ULONG_TYPE): Likewise.
66449 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66451         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
66452         Add sigaltstack-offsets.sym.
66453         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
66454         <sigaltstack-offsets.h>.
66455         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
66456         longjmp_msg pointer.
66457         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
66458         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
66459         signal stack.
66460         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
66462 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66464         * elf/stackguard-macros.h: Remove file.
66465         * sysdeps/generic/stackguard-macros.h: New file.
66466         * sysdeps/i386/stackguard-macros.h: Likewise.
66467         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
66468         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
66469         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
66470         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
66471         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
66472         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
66473         * sysdeps/x86_64/stackguard-macros.h: Likewise.
66474         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
66475         <elf/stackguard-macros.h>.
66477         [BZ #14109]
66478         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
66479         __aligned__ in attribute.
66480         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
66481         (gregset_t): Likewise.
66483 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66485         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
66486         * sysdeps/x86_64/64/Implies-after: Here.  New file.
66487         * sysdeps/x86_64/x32/Implies-after: New file.
66489 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66491         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
66492         and access return value for _dl_profile_fixup.  Use R10_LP to
66493         load frame size.
66495 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66497         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
66499 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66501         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
66502         * sysdeps/x86_64/x32/sysdep.h: New file.
66504 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66506         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
66507         * sysdeps/x86_64/setjmp.S: Likewise.
66509 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66511         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
66512         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
66513         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
66514         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
66515         remove unused global constant.
66517 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
66519         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
66520         include of <not-cancel.h>.
66522 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66524         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
66526 2012-05-15  Jeff Law  <law@redhat.com>
66527             Andreas Jaeger  <aj@suse.de>
66529         [BZ #13594]
66530         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
66531         out from...
66532         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
66533         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
66534         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
66535         code changing __hst_map_handle.map.
66537 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66539         * configure.in (sysnames): Look for Implies-before and Implies-after
66540         files.
66541         * configure: Regenerated.
66543 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66545         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
66546         8-byte data alignment with LP_SIZE alignment.
66548 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66550         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
66551         into R10_LP.
66553 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66555         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
66557 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66559         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
66560         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
66561         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
66562         Likewise.
66563         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66565 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66567         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
66568         (stackinfo_sub_sp): Likewise.
66570 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66572         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
66573         RAX_LP.
66575 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66577         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
66578         into R*_LP.
66580 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66582         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
66583         sizes into R*_LP.
66585 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66587         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
66589 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66591         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
66592         into R11_LP and load __x86_64_shared_cache_size_half into
66593         R8_LP.
66595 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66597         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
66598         R8_LP.
66600 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66602         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
66603         logb for POWER7.
66604         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
66605         logbf for POWER7.
66606         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
66607         logbl for POWER7.
66608         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
66609         powerpc32/power7/fpu/s_logb.c via #include.
66610         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
66611         powerpc32/power7/fpu/s_logbf.c via #include.
66612         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
66613         powerpc32/power7/fpu/s_logbl.c via #include.
66615 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66617         * README.libm: Remove file.
66619 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66621         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
66622         count for x32.  Use R*_LP and omit operand-size suffix.
66624 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66626         * shlib-versions: Move x86_64-.*-linux.* entries to ...
66627         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
66628         * sysdeps/x86_64/x32/shlib-versions: New file.
66630 2012-05-14  Roland McGrath  <roland@hack.frob.com>
66632         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
66633         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
66634         Use _dl_fatal_printf instead.
66636 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66638         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
66639         set if not set by the user.  Do not allow for being unset.
66640         * sysdeps/unix/sysv/linux/configure: Regenerated.
66642 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66644         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
66645         the `q' suffix from lea and replace .quad with ASM_ADDR.
66647 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66649         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
66650         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
66651         instead of $17.
66652         (PTR_DEMANGLE): Likewise.
66654 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66656         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
66657         (LP_OP): Likewise.
66658         (ASM_ADDR): Likewise.
66659         (RAX_LP): Likewise.
66660         (RBP_LP): Likewise.
66661         (RBX_LP): Likewise.
66662         (RCX_LP): Likewise.
66663         (RDI_LP): Likewise.
66664         (RSI_LP): Likewise.
66665         (RSP_LP): Likewise.
66666         (R8_LP): Likewise.
66667         (R9_LP): Likewise.
66668         (R10_LP): Likewise.
66669         (R10_LP): Likewise.
66670         (R11_LP): Likewise.
66671         (R12_LP): Likewise.
66672         (R13_LP): Likewise.
66673         (R14_LP): Likewise.
66674         (R15_LP): Likewise.
66676 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66678         * sysdeps/x86_64/x32/dl-machine.h: New file.
66680 2012-05-14  Andreas Jaeger  <aj@suse.de>
66682         * manual/Makefile (subdir): Remove export of subdir.
66683         (all): Remove target.
66684         (.PHONY): Remove all from list.
66685         (mkinstalldirs): Remove.
66686         (.PHONY): Remove installdirs from list.
66687         ($(inst_infodir)/libc.info): Use make-target-directory.
66688         (installdirs): Remove.
66689         (subdir_%): Remove.
66690         (glibc-targets): Remove.
66691         (lib): Remove.
66692         (stubs): Remove.
66693         ($(objpfx)stubs ../po/manual.pot): Remove.
66694         ($(objpfx)stamp%): Remove.
66695         (make-target-directory): Remove.
66696         (subdir_install): Remove.
66697         (routines): Remove.
66698         (aux): Remove.
66699         (sources): Remove.
66700         (objects): Remove.
66701         (headers): Remove.
66703         [BZ #13750]
66704         * manual/.gitignore: Remove, it's not needed anymore.
66705         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
66706         all files in it.
66707         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
66708         directory.
66709         (texis): Renamed to $(objpfx)texis.
66710         (texis-path): New, contains path to generated files.
66711         (chapters.%): Use texis-path for complete path, add extra argument
66712         libc-texinfo.sh.
66713         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
66714         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
66715         (summary,texi, stamp-summary): Use complete path of
66716         files. Generate files in build dir.
66717         (dir-add.texi): Build in build dir.
66718         (libm-err.texi,stamp-libm-err): Likewise.
66719         (version.texi, stamp-version): Likewise.
66720         (.%c.texi): Likewise.
66721         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
66722         (mostlyclean): Remove target.
66723         (realclean): Remove target.
66724         (generated): Add new variable with contents from mostlyclean and
66725         realclean, remove entries duplicated in common-mostlyclean, add
66726         stamp-libm-err and stamp-version.
66727         (generated-dirs): Add libc directory.
66728         ($(inst_infodir)/libc.info): Install files from build dir.
66730         * manual/install.texi (Configuring and compiling): Adjust since
66731         the info files are not part of the tar ball anymore.
66733 2012-05-14  Andreas Jaeger  <aj@suse.de>
66735         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
66736         variable.
66738 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66740         [BZ #13717]
66741         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66742         to 2.2.0 where earlier.
66743         * sysdeps/unix/sysv/linux/configure: Regenerated.
66744         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
66745         Remove conditional code.
66746         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
66747         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
66748         Remove conditional code.
66749         [!__NR_lchown]: Likewise.
66750         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66751         [__NR_lchown]: Likewise.
66752         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
66753         comment referencing __ASSUME_LCHOWN_SYSCALL.
66754         * sysdeps/unix/sysv/linux/i386/sigaction.c
66755         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66756         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66757         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
66758         Remove conditional code.
66759         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
66760         (__protocol_available): Remove #if 0 code.
66761         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
66762         conditional code.
66763         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
66764         * sysdeps/unix/sysv/linux/kernel-features.h
66765         (__ASSUME_GETCWD_SYSCALL): Don't define.
66766         (__ASSUME_REALTIME_SIGNALS): Likewise.
66767         (__ASSUME_PREAD_SYSCALL): Likewise.
66768         (__ASSUME_PWRITE_SYSCALL): Likewise.
66769         (__ASSUME_POLL_SYSCALL): Likewise.
66770         (__ASSUME_LCHOWN_SYSCALL): Likewise.
66771         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
66772         non-SPARC.
66773         (__ASSUME_SIOCGIFNAME): Don't define.
66774         (__ASSUME_MSG_NOSIGNAL): Likewise.
66775         (__ASSUME_SENDFILE): Define unconditionally.
66776         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
66777         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
66778         conditional code.
66779         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
66780         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
66781         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66782         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66783         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
66784         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66785         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
66787         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66788         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
66790         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66791         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
66793         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66794         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
66796         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66797         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
66799         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66800         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
66802         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66803         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
66805         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66806         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
66808         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66809         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66810         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
66811         Remove conditional code.
66812         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66813         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66814         Remove conditional code.
66815         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66816         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
66817         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
66818         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66819         Remove conditional code.
66820         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66821         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
66822         Remove conditional code.
66823         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66824         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
66825         Remove conditional code.
66826         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66827         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66828         Remove conditional code.
66829         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66830         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66831         Remove conditional code.
66832         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66833         * sysdeps/unix/sysv/linux/sh/pwrite64.c
66834         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66835         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66836         * sysdeps/unix/sysv/linux/sigaction.c
66837         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66838         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66839         * sysdeps/unix/sysv/linux/sigpending.c
66840         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66841         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66842         * sysdeps/unix/sysv/linux/sigprocmask.c
66843         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66844         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66845         * sysdeps/unix/sysv/linux/sigsuspend.c
66846         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66847         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66848         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66849         (__libc_missing_rt_sigs): Remove.
66850         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
66851         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
66852         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
66853         Remove conditional code.
66854         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
66855         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
66856         return 1.
66857         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
66858         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
66859         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
66860         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
66862 2012-05-14  Andreas Jaeger  <aj@suse.de>
66864         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
66865         it's not used in glibc.
66866         (__coshm1): Likewise.
66867         (__acosh1p): Likewise.
66868         (__sgn): Likewise.
66870         * manual/string.texi (Copying and Concatenation): Add missing
66871         variable in concat example.
66872         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
66874 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66876         [BZ #14103]
66877         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
66878         __builtin_clzl with __builtin_clzll.
66880 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66882         [BZ #14104]
66883         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
66884         libc_freeres_ptr.
66886 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66888         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
66889         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
66890         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
66891         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
66893 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
66895         * NEWS: Update ia64 info.
66897 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
66899         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
66900         used as bcopy.
66902 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
66904         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
66905         * sysdeps/unix/syscalls.list (dup3): Likewise.
66906         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
66907         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
66909 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66911         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
66912         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
66914 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66916         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
66917         thread pointer.
66918         (TLS_IE): Use mov/add instead of movq/addq to load thread
66919         pointer.
66920         (TLS_GD_PREFIX): New.
66921         (TLS_GD): Use it.
66923 2012-05-11  David S. Miller  <davem@davemloft.net>
66925         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
66926         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
66927         (_FPU_SETCW): Likewise.
66929 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66931         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
66932         is 32-byte aligned.
66934 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
66936         [BZ #11837]
66937         * iconvdata/gb18030.c: Update tables.
66938         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
66939         characters specially.
66940         (BODY for TO_LOOP): Add encoding of missing ranges.
66942 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
66944         [BZ #13673]
66945         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
66946         * sysdeps/mach/hurd/dup3.c: Likewise.
66947         * sysdeps/mach/hurd/readlinkat.c: Likewise.
66948         * sysdeps/powerpc/memmove.c:: Likewise.
66950 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66952         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
66953         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
66955 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66957         * elf/elf.h (R_X86_64_RELATIVE64): New.
66958         (R_X86_64_NUM): Updated.
66959         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66960         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
66961         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
66962         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
66963         tst-quad1pie tst-quad2pie
66964         (modules-names): Add tst-quadmod1 tst-quadmod2.
66965         ($(objpfx)tst-quad1): New dependency.
66966         ($(objpfx)tst-quad2): Likewise.
66967         ($(objpfx)tst-quad1pie): Likewise.
66968         ($(objpfx)tst-quad2pie): Likewise.
66969         * sysdeps/x86_64/tst-quad1.c: New file.
66970         * sysdeps/x86_64/tst-quad1pie.c: New file.
66971         * sysdeps/x86_64/tst-quad2.c: Likewise.
66972         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
66973         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
66974         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
66975         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
66976         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
66978 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66980         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
66981         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
66982         * streams/stropts.h (t_scalar_t): Define type.
66984         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
66985         (_PATH_PRESERVE): Set to "/var/lib".
66986         (_PATH_RWHODIR): Set to "/var/spool/rwho".
66988         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
66989         instead of int.
66991         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
66992         if __dir_mkfile succeeded.
66994         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
66995         checking for _hurd_dtablesize.  Unlock it right after having
66996         finished _hurd_dtable allocation.
66998 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67000         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
67001         * sysdeps/mach/hurd/configure: Regenerated.
67002         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
67003         special-casing to...
67004         * sysdeps/gnu/configure.in: ... this new file.
67005         * sysdeps/unix/sysv/linux/configure: Regenerated.
67006         * sysdeps/gnu/configure: New generated file.
67008         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
67009         for Linux: use nsec instead of usec, as well as:
67010         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
67011         members of type struct timespec.
67012         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
67013         New macros.
67014         (struct stat64): Likewise.
67015         (_STATBUF_ST_NSEC): New macro.
67016         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
67018         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67019         __strtoul_internal rather than strtoul.
67021 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67023         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
67024         and reject them.
67026 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67028         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
67029         which preserves existing values.
67030         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
67032 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67034         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
67035         TIMEOUT values.  Return EINVAL for NFDS values either negative or
67036         greater than FD_SETSIZE.
67038 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67040         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
67041         allocated, call __vm_protect to finish enabling the existing space, and
67042         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
67043         allocate the remainder.
67045 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67047         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
67048         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
67050 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67052         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
67053         sysdeps/mach/hurd/readlink.c.
67055         * posix/tst-sysconf.c (posix_options): Only use
67056         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
67057         _POSIX_SYNCHRONIZED_IO when they are defined
67058         * sysdeps/mach/hurd/bits/posix_opt.h:
67059         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
67060         (_XOPEN_REALTIME): Undefine macro.
67061         (_XOPEN_REALTIME_THREADS): Undefine macro.
67062         (_XOPEN_SHM): Undefine macro.
67063         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
67064         macro to -1.
67065         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
67066         macro to -1.
67067         (_POSIX_ASYNC_IO): Undefine macro.
67068         (_POSIX_PRIORITIZED_IO): Undefine macro.
67069         (_POSIX_SPIN_LOCKS): Define macro to -1.
67071         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
67072         SA_NODEFER, SA_RESETHAND.
67073         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
67074         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
67075         F_DUPFD_CLOEXEC.
67077 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67079         * elf/Makefile (pldd-modules): Define unconditionally.
67081 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67083         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
67085 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67087         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
67088         Return ENOENT when name is empty.
67089         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
67091 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67093         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
67095         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
67097 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67099         Fix mlock in all cases except non-readable pages.
67100         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
67101         instead of VM_PROT_ALL as parameter to __vm_wire function.
67103         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
67104         (__mkdir): When path is `/', just fail with EEXIST.
67105         * sysdeps/mach/hurd/mkdirat.c: Likewise.
67107 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67109         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
67110         <sys/uio.h> (for writev).
67111         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
67112         and <sys/param.h> (for MIN).
67114 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67116         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
67117         REQUESTED_TIME.  Properly set the remaining time and return EINTR
67118         if interrupted.
67120 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67122         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
67123         Depend on against $(link-rpcuserlibs).
67125 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67127         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
67128         (__libc_stack_end): Do not use attribute_relro.
67129         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
67130         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
67131         to libthread-provided value.
67132         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
67133         attribute_relro.
67135 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67137         [BZ #3748]
67138         * bits/libc-lock.h (__libc_once_get): New macro.
67139         * sysdeps/mach/bits/libc-lock.h: Likewise.
67140         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
67141         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
67142         instead of using implementation details.
67144         * libio/fileops.c: Unconditionally include <kernel-features.h>.
67145         * libio/freopen.c: Likewise.
67146         * libio/freopen64.c: Likewise.
67147         * misc/syslog.c: Likewise.
67148         * nscd/connections.c: Likewise.
67149         * nscd/netgroupcache.c: Likewise.
67150         * sysdeps/posix/getcwd.c: Likewise.
67152 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67154         * math/w_ilogbf.c: Add #include <limits.h>.
67156 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67158         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
67159         path instead of returning without unlocking.
67161         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
67162         immediate-write ioctls.
67163         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
67165 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67167         * sysdeps/mach/hurd/i386/init-first.c (init): Use
67168         __builtin_frame_address instead of making assumptions about the
67169         location of the return address relative to DATA.  Force early load of
67170         the return address.
67171         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
67172         __builtin_frame_address.
67174         dup3 for GNU Hurd.
67175         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
67176         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
67177         implement dup3 and do some further code clean-ups.
67178         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
67179         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
67181 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67183         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
67185         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
67186         HURD_CRITICAL_END around holding _hurd_dtable_lock.
67187         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
67188         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
67189         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
67190         d->port.lock.
67192         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
67193         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
67194         when handler == SIG_ERR, not when handler != SIG_ERR.
67196 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67198         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
67199         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
67200         definitions.
67202         accept4 for GNU Hurd.
67203         * include/sys/socket.h (__libc_accept4): New prototype.
67204         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
67205         to implement __libc_accept4.
67206         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
67207         __libc_accept4.
67208         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
67210         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
67211         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
67212         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
67213         signal-defines.sym.
67215 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67217         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
67219 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67221         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
67222         assertion on O_CLOEXEC flag.
67223         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
67224         * hurd/intern-fd.c: Likewise.
67225         * hurd/port2fd.c: Likewise.
67227 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67229         [BZ #3906]
67230         * bits/in.h (IPV6_PKTINFO): Define new macro.
67231         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
67233 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67235         [BZ #13954]
67236         [BZ #13955]
67237         [BZ #13956]
67238         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
67239         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67240         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
67241         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67242         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67243         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67244         * math/libm-test.inc (logb_test) : Additional logb tests.
67246 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
67247             Andreas Jaeger  <aj@suse.de>
67249         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
67250         * configure: Regenerated.
67251         * config.h.in (LINK_OBSOLETE_RPC): New macro.
67252         * config.make.in (link-obsolete-rpc): New substituted variable.
67253         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
67254         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
67255         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67256         (shared-only-routines): Don't set it under [link-obsolete-rpc],
67257         so that libc.a contains the symbols.
67258         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67259         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
67260         * sunrpc/auth_none.c: Likewise.
67261         * sunrpc/auth_unix.c: Likewise.
67262         * sunrpc/authdes_prot.c: Likewise.
67263         * sunrpc/authuxprot.c: Likewise.
67264         * sunrpc/clnt_gen.c: Likewise.
67265         * sunrpc/clnt_perr.c: Likewise.
67266         * sunrpc/clnt_raw.c: Likewise.
67267         * sunrpc/clnt_simp.c: Likewise.
67268         * sunrpc/clnt_tcp.c: Likewise.
67269         * sunrpc/clnt_udp.c: Likewise.
67270         * sunrpc/clnt_unix.c: Likewise.
67271         * sunrpc/des_crypt.c: Likewise.
67272         * sunrpc/des_soft.c: Likewise.
67273         * sunrpc/get_myaddr.c: Likewise.
67274         * sunrpc/key_call.c: Likewise.
67275         * sunrpc/key_prot.c: Likewise.
67276         * sunrpc/netname.c: Likewise.
67277         * sunrpc/pm_getmaps.c: Likewise.
67278         * sunrpc/pm_getport.c: Likewise.
67279         * sunrpc/pmap_clnt.c: Likewise.
67280         * sunrpc/pmap_prot.c: Likewise.
67281         * sunrpc/pmap_prot2.c: Likewise.
67282         * sunrpc/pmap_rmt.c: Likewise.
67283         * sunrpc/publickey.c: Likewise.
67284         * sunrpc/rpc_cmsg.c: Likewise.
67285         * sunrpc/rpc_common.c: Likewise.
67286         * sunrpc/rpc_dtable.c: Likewise.
67287         * sunrpc/rpc_prot.c: Likewise.
67288         * sunrpc/rpc_thread.c: Likewise.
67289         * sunrpc/rtime.c: Likewise.
67290         * sunrpc/svc.c: Likewise.
67291         * sunrpc/svc_auth.c: Likewise.
67292         * sunrpc/svc_raw.c: Likewise.
67293         * sunrpc/svc_run.c: Likewise.
67294         * sunrpc/svc_tcp.c: Likewise.
67295         * sunrpc/svc_udp.c: Likewise.
67296         * sunrpc/svc_unix.c: Likewise.
67297         * sunrpc/svcauth_des.c: Likewise.
67298         * sunrpc/xcrypt.c: Likewise.
67299         * sunrpc/xdr.c: Likewise.
67300         * sunrpc/xdr_array.c: Likewise.
67301         * sunrpc/xdr_float.c: Likewise.
67302         * sunrpc/xdr_intXX_t.c: Likewise.
67303         * sunrpc/xdr_mem.c: Likewise.
67304         * sunrpc/xdr_rec.c: Likewise.
67305         * sunrpc/xdr_ref.c: Likewise.
67306         * sunrpc/xdr_sizeof.c: Likewise.
67307         * sunrpc/xdr_stdio.c: Likewise.
67309 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67311         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
67312         change.  Update copyright years.
67314 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67316         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
67318 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
67319             Joseph Myers  <joseph@codesourcery.com>
67320             Paul Pluzhnikov  <ppluzhnikov@google.com>
67322         [BZ #14012]
67323         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
67324         requiring rpcgen.
67325         [cross-compiling] (extra-libs): Likewise.
67326         [cross-compiling] (extra-libs-others): Likewise.
67327         [cross-compiling] (librpcsvc-routines): Likewise.
67328         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
67329         [cross-compiling] (omit-deps): Likewise.
67330         (sunrpc-CPPFLAGS): New variable.
67331         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
67332         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
67333         (cross-rpcgen-objs): New variable.
67334         (extra-objs): Append $(cross-rpcgen-objs).
67335         ($(cross-rpcgen-objs)): New rule.
67336         ($(objpfx)cross-rpcgen): Likewise.
67337         (rpcgen-cmd): Define to use $(built-program-file).  Expand
67338         comment.
67339         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
67340         ($(objpfx)x%.stmp): Likewise.
67341         * sunrpc/proto.h [IS_IN_build] (_): Define.
67342         [IS_IN_build] (_libc_intl_domainname): Likewise.
67344 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67346         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
67347         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
67348         and R_X86_64_TPOFF64.
67350 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67352         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
67353         sysdeps/unix/sysv/syscalls.list.
67354         (stime): Likewise.
67355         (utime): Likewise.
67356         * sysdeps/unix/sysv/syscalls.list: Remove file.
67358 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
67360         [BZ #3440]
67361         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
67362         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
67363         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
67364         (__LC_IDENTIFICATION): Make these macros useful in #if
67365         expressions, as required by C99.
67367 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
67369         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
67370         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
67371         after this.
67373 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
67375         * stdlib/longlong.h: Updated from GCC.
67377 2012-05-09  Andreas Jaeger  <aj@suse.de>
67379         * nscd/nscd.c (run_modes): Make named enum, reorder so that
67380         default is first entry.
67381         (run_mode): Set type.
67382         (main): Remove informal message about syslog.
67383         (options): Fix typo.
67385         [BZ #14053]
67386         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
67387         to asm.
67388         (lrint): Likewise.
67389         (llrintf): Likewise.
67390         (llrint): Likewise.
67391         (rint): Likewise.
67392         (rintf): Likewise.
67393         (nearbyint): Likewise.
67394         (nearbyintf): Likewise.
67396 2012-05-09  Andreas Jaeger  <aj@suse.de>
67397             Pedro Alves  <palves@redhat.com>
67399         * nscd/nscd.c (run_mode): Use enum.
67400         (main): Cleanup coding style issue.
67402 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
67403             Andreas Jaeger  <aj@suse.de>
67405         * nscd/nscd.c (go_background): Replaced with...
67406         (run_mode): ... this.
67407         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
67408         (options): Add -F --foreground.
67409         (main): Implement it.
67410         (parse_opt): Parse it.
67412 2012-05-09  Andreas Jaeger  <aj@suse.de>
67414         [BZ #14083]
67415         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
67416         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
67417         -Wconversion warning.
67418         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
67419         Likewise.
67421 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
67423         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
67424         == 0.
67425         (LC_ALL): Use macro-int-constant.
67426         (LC_COLLATE): Likewise.
67427         (LC_CTYPE): Likewise.
67428         (LC_MESSAGES): Likewise.
67429         (LC_MONETARY): Likewise.
67430         (LC_NUMERIC): Likewise.
67431         (LC_TIME): Likewise.
67432         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
67433         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67434         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67435         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
67436         Specify type.
67437         [C99-based standards] (float_t): Expect type.
67438         [C99-based standards] (double_t): Expect type.
67439         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
67440         type.
67441         [C99-based standards] (HUGE_VALL): Likewise.
67442         [C99-based standards] (INFINITY): Likewise.
67443         [C99-based standards] (NAN): Likewise.
67444         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
67445         [C99-based standards] (FP_NAN): Likewise.
67446         [C99-based standards] (FP_NORMAL): Likewise.
67447         [C99-based standards] (FP_SUBNORMAL): Likewise.
67448         [C99-based standards] (FP_ZERO): Likewise.
67449         [C99-based standards] (FP_FAST_FMA): Use
67450         optional-macro-int-constant.  Specify type.  Require == 1.
67451         [C99-based standards] (FP_FAST_FMAF): Likewise.
67452         [C99-based standards] (FP_FAST_FMAL): Likewise.
67453         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
67454         [C99-based standards] (FP_ILOGBNAN): Likewise.
67455         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
67456         Specify type.
67457         [C99-based standards] (MATH_ERREXCEPT): Likewise.
67458         [C99-based standards] (math_errhandling): Specify type.
67459         [ISO99 || ISO11] (signgam): Do not allow.
67460         [non-C99-based standards] (copysignf): Do not allow.
67461         [non-C99-based standards] (exp2f): Likewise.
67462         [non-C99-based standards] (log2f): Likewise.
67463         [non-C99-based standards] (modff): Allow.
67464         [non-C99-based standards] (erff): Do not allow.
67465         [non-C99-based standards] (erfcf): Likewise.
67466         [non-C99-based standards] (gammaf): Likewise.
67467         [non-C99-based standards] (hypotf): Likewise.
67468         [non-C99-based standards] (j0f): Likewise.
67469         [non-C99-based standards] (j1f): Likewise.
67470         [non-C99-based standards] (jnf): Likewise.
67471         [non-C99-based standards] (lgammaf): Likewise.
67472         [non-C99-based standards] (tgammaf): Likewise.
67473         [non-C99-based standards] (y0f): Likewise.
67474         [non-C99-based standards] (y1f): Likewise.
67475         [non-C99-based standards] (ynf): Likewise.
67476         [non-C99-based standards] (isnanf): Likewise.
67477         [non-C99-based standards] (acoshf): Likewise.
67478         [non-C99-based standards] (asinhf): Likewise.
67479         [non-C99-based standards] (atanhf): Likewise.
67480         [non-C99-based standards] (cbrtf): Likewise.
67481         [non-C99-based standards] (expm1f): Likewise.
67482         [non-C99-based standards] (ilogbf): Likewise.
67483         [non-C99-based standards] (log1pf): Likewise.
67484         [non-C99-based standards] (logbf): Likewise.
67485         [non-C99-based standards] (nextafterf): Likewise.
67486         [non-C99-based standards] (remainderf): Likewise.
67487         [non-C99-based standards] (rintf): Likewise.
67488         [non-C99-based standards] (scalbf): Likewise.
67489         [non-C99-based standards] (copysignl): Likewise.
67490         [non-C99-based standards] (exp2l): Likewise.
67491         [non-C99-based standards] (log2l): Likewise.
67492         [non-C99-based standards] (modfl): Allow.
67493         [non-C99-based standards] (erfl): Do not allow.
67494         [non-C99-based standards] (erfcl): Likewise.
67495         [non-C99-based standards] (gammal): Likewise.
67496         [non-C99-based standards] (hypotl): Likewise.
67497         [non-C99-based standards] (j0l): Likewise.
67498         [non-C99-based standards] (j1l): Likewise.
67499         [non-C99-based standards] (jnl): Likewise.
67500         [non-C99-based standards] (lgammal): Likewise.
67501         [non-C99-based standards] (tgammal): Likewise.
67502         [non-C99-based standards] (y0l): Likewise.
67503         [non-C99-based standards] (y1l): Likewise.
67504         [non-C99-based standards] (ynl): Likewise.
67505         [non-C99-based standards] (isnanl): Likewise.
67506         [non-C99-based standards] (acoshl): Likewise.
67507         [non-C99-based standards] (asinhl): Likewise.
67508         [non-C99-based standards] (atanhl): Likewise.
67509         [non-C99-based standards] (cbrtl): Likewise.
67510         [non-C99-based standards] (expm1l): Likewise.
67511         [non-C99-based standards] (ilogbl): Likewise.
67512         [non-C99-based standards] (log1pl): Likewise.
67513         [non-C99-based standards] (logbl): Likewise.
67514         [non-C99-based standards] (nextafterl): Likewise.
67515         [non-C99-based standards] (remainderl): Likewise.
67516         [non-C99-based standards] (rintl): Likewise.
67517         [non-C99-based standards] (scalbl): Likewise.
67518         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67519         [non-C99-based standards] (FP_*): Do not allow.
67520         [C99-based standards] (FP_*): Change to
67521         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67522         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67523         allow.
67524         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
67525         (SIG_ERR): Likewise.
67526         [X/Open-based standards] (SIG_HOLD): Likewise.
67527         (SIG_IGN): Likewise.
67528         (SIGABRT): Use macro-int-constant.  Specify type.  Require
67529         positive value.
67530         (SIGFPE): Likewise.
67531         (SIGILL): Likewise.
67532         (SIGINT): Likewise.
67533         (SIGSEGV): Likewise.
67534         (SIGTER): Likewise.
67535         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
67536         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
67537         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
67538         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
67539         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
67540         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
67541         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
67542         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
67543         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
67544         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
67545         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
67546         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
67547         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
67548         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
67549         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
67550         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
67551         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
67552         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
67553         [X/Open-based standards] (SIGTRAP): Likewise.
67554         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
67555         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
67556         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
67557         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
67558         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67559         allow.
67561 2012-05-08  Ian Wienand  <ianw@vmware.com>
67563         [BZ #14080]
67564         * time/tzset.c (__tzset_parse_tz): Update default rules for
67565         daylight time changes in the Energy Policy Act of 2005.
67567 2012-05-09  Andreas Jaeger  <aj@suse.de>
67569         [BZ #13983]
67570         * elf/ldconfig.c (parse_conf): Change string to make clear that
67571         ldconfig only issued a warning if ld.so.conf does not exist.
67573 2012-05-08  David S. Miller  <davem@davemloft.net>
67575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
67576         movxtod instead of popping the value on the stack.
67578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67580 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
67582         * config.h.in: Add HAVE_ARM_PCS_VFP.
67584 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
67586         [BZ #13979]
67587         * include/features.h: Warn if user requests __FORTIFY_SOURCE
67588         checking but the checks are disabled for any reason.
67590 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
67592         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
67593         and ELF64_R_TYPE with ELFW(R_TYPE).
67595 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
67597         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
67598         (ulimit): Likewise.
67600         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
67601         (settimeofday): Likewise.
67603 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
67605         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
67606         a struct th_u2 inside the union, and move tu_block/tu_code into
67607         a new th_u3 union of tu_block/tu_code inside of that.  Move
67608         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
67609         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
67610         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
67611         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
67612         (th_stuff): Change to th_u1.tu_stuff.
67613         (th_data): Define.
67614         (th_msg): Change to th_u1.th_u2.tu_data.
67616 2012-05-07  David S. Miller  <davem@davemloft.net>
67618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67620         [BZ #14074]
67621         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
67622         (SETUP_PIC_REG): Use it.
67623         (SETUP_PIC_REG_LEAF): Use it.
67625 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
67627         [BZ #13885]
67628         [BZ #13923]
67629         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67630         USE_AS_EXPM1L.
67631         (EXPL_FINITE): Likewise.
67632         (FLDLOG): Likewise.
67633         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67634         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67635         e_expl.S.
67636         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67637         USE_AS_EXPM1L.
67638         (EXPL_FINITE): Likewise.
67639         (FLDLOG): Likewise.
67640         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67641         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67642         e_expl.S.
67643         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
67644         test of -max_value argument for long double.
67645         * sysdeps/i386/fpu/libm-test-ulps: Update.
67646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67648 2012-05-06  David S. Miller  <davem@davemloft.net>
67650         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
67651         quad soft-float symbols whose references which are compiler
67652         generated.
67653         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67655 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
67657         [BZ #13884]
67658         [BZ #13914]
67659         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67660         USE_AS_EXP10L.
67661         (EXPL_FINITE): Likewise.
67662         (FLDLOG): Likewise.
67663         (c0): Likewise.
67664         (c1): Likewise.
67665         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67666         Adjust comments for base varying.
67667         (__expl_finite): Change alias to EXPL_FINITE.
67668         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
67669         e_expl.S.
67670         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
67671         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
67672         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
67673         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
67674         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67675         USE_AS_EXP10L.
67676         (EXPL_FINITE): Likewise.
67677         (FLDLOG): Likewise.
67678         (c0): Likewise.
67679         (c1): Likewise.
67680         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67681         Adjust comments for base varying.
67682         (__expl_finite): Change alias to EXPL_FINITE.
67683         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
67684         tests for bugs.
67685         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67687         [BZ #14064]
67688         * math/libm-test.inc (check_float_internal): Correct ulp
67689         calculation for subnormal expected results.
67691 2012-05-06  Andreas Jaeger  <aj@suse.de>
67693         * Makeconfig (+math-flags): New, set to -frounding-math.
67694         (+cflags): Add +math-flags so that all of glibc gets compiled with
67695         it.
67697         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
67699 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
67701         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
67702         Disable one test.
67704         [BZ #13787]
67705         [BZ #13922]
67706         [BZ #14036]
67707         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
67708         (__ieee754_expl): Allow for and saturate large arguments.
67709         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
67710         (u_threshold): Likewise.
67711         (__exp): Call __ieee754_exp before checking for overflow and
67712         underflow.
67713         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
67714         (u_threshold): Likewise.
67715         (__expf): Call __ieee754_expf before checking for overflow and
67716         underflow.
67717         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
67718         (u_threshold): Likewise.
67719         (__expl): Call __ieee754_expl before checking for overflow and
67720         underflow.
67721         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
67722         (__ieee754_expl): Allow for and saturate large arguments.
67723         * math/libm-test.inc (exp_test): Add another test.  Do not allow
67724         missing overflow exception on overflow.
67725         (expm1_test): Do not allow missing overflow exception on overflow.
67727         * sysdeps/i386/fpu/e_expl.c: Move to ...
67728         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
67729         rather than using inline asm.
67730         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
67731         * sysdeps/x86_64/fpu/e_expl.S: Copy from
67732         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
67734         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
67735         (nice): Likewise.
67736         (poll): Likewise.
67737         (signal): Likewise.
67738         (time): Likewise.
67739         (times): Likewise.
67741 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67743         * sysdeps/unix/syscalls.list (adjtime): Add entry from
67744         sysdeps/unix/common/syscalls.list.
67745         (fchmod): Likewise.
67746         (fchown): Likewise.
67747         (ftruncate): Likewise.
67748         (getrusage): Likewise.
67749         (gettimeofday): Likewise.
67750         (setpgid): Likewise.
67751         (setregid): Likewise.
67752         (setreuid): Likewise.
67753         (sigaction): Likewise.
67754         (truncate): Likewise.
67755         (vhangup): Likewise.
67756         * sysdeps/unix/common/syscalls.list: Remove file.
67757         * sysdeps/unix/bsd/Implies: Don't include unix/common.
67758         * sysdeps/unix/sysv/linux/Implies: Likewise.
67760 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
67762         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
67763         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
67764         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
67765         Moved to ...
67766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
67767         Here.
67768         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
67769         to ...
67770         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
67771         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
67772         to ...
67773         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
67774         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
67775         to ...
67776         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
67777         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
67778         to ...
67779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
67780         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
67781         to ...
67782         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
67783         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
67784         to ...
67785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
67786         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
67787         to ...
67788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
67789         Here.
67790         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
67791         to ...
67792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
67793         Here.
67794         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
67795         to ...
67796         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
67797         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
67798         Moved to ...
67799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
67800         Here.
67801         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
67802         to ...
67803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
67805 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67807         * sysdeps/unix/common/bits/dirent.h: Remove file.
67808         * sysdeps/unix/common/bits/fcntl.h: Likewise.
67810         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
67811         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
67812         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
67813         * sysdeps/unix/bsd/isatty.c: Likewise.
67814         * sysdeps/unix/bsd/tcdrain.c: Likewise.
67815         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
67816         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
67818 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67820         [BZ #13563]
67821         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
67822         long double comparison inaccuracies.
67823         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
67824         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67826 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
67828         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
67829         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
67831 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67833         [BZ #14049]
67834         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
67835         nonzero digits before rounding a hex value.
67836         * stdlib/tst-strtod.c (tests): Add another test.
67838 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67840         * sysdeps/s390/fpu/libm-test-ulps: Update.
67842 2012-05-03  Andreas Jaeger  <aj@suse.de>
67844         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
67845         does not get optimized out.
67846         (malloc_opt_barrier): New.
67848 2012-05-03  Andreas Jaeger  <aj@suse.de>
67849             Roland McGrath  <roland@hack.frob.com>
67851         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
67852         intermediate file deletion.
67853         (generated): Add .symlist files.
67855 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
67857         [BZ #13775]
67858         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
67859         Redirect under this condition.
67860         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67861         [__USE_GNU] (__dprintf_chk): Not under this condition.
67862         [__USE_GNU] (__vdprintf_chk): Likewise.
67863         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
67864         under this condition.
67865         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67866         [__USE_XOPEN2K8] (dprintf): Define under this condition.
67867         [__USE_XOPEN2K8] (vdprintf): Likewise.
67868         [__USE_GNU] (__dprintf_chk): Not under this condition.
67869         [__USE_GNU] (__vdprintf_chk): Likewise.
67870         [__USE_GNU] (dprintf): Likewise.
67871         [__USE_GNU] (vdprintf): Likewise.
67873 2012-05-03  Roland McGrath  <roland@hack.frob.com>
67875         * elf/Makefile (common-generated): Set this instead of generated for
67876         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
67877         $(all-built-dso)-derived lists.
67879 2012-05-03  Andreas Jaeger  <aj@suse.de>
67881         * sysdeps/i386/fpu/libm-test-ulps: Update.
67883         * FAQ: Removed.
67884         * FAQ.in: Likewise.
67885         * scripts/gen-FAQ.pl: Likewise.
67886         * manual/install.texi (Installation): Point to online location of
67887         FAQ.
67888         * Makefile (files-for-dist): Remove FAQ.
67889         (FAQ): Remove.
67891 2012-05-02  Allan McRae  <allan@archlinux.org>
67893         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
67894         (LDFLAGS-reldepmod5.so): Likewise.
67895         (LDFLAGS-reldep6mod1.so): Likewise.
67896         (LDFLAGS-reldep6mod4.so): Likewise.
67897         (LDFLAGS-reldep8mod3.so): Likewise.
67898         (LDFLAGS-unload4mod1.so): Likewise.
67899         (LDFLAGS-unload4mod2.so): Likewise.
67900         (LDFLAGS-tst-initorder): Likewise.
67901         (LDFLAGS-tst-initordera2.so): Likewise.
67902         (LDFLAGS-tst-initordera3.so): Likewise.
67903         (LDFLAGS-tst-initordera4.so): Likewise.
67904         (LDFLAGS-tst-initorderb2.so): Likewise.
67905         (LDFLAGS-noload): Likewise.
67906         (LDFLAGS-next): Likewise.
67907         (LDFLAGS-order2mod1.so): Likewise.
67908         (LDFLAGS-order2mod2.so): Likewise.
67909         (LDFLAGS-tst-initorder2): Likewise.
67910         (LDFLAGS-tst-initorder2a.so): Likewise.
67911         (LDFLAGS-tst-initorder2b.so): Likewise.
67912         (LDFLAGS-tst-initorder2c.so): Likewise.
67913         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
67915 2012-05-02  David S. Miller  <davem@davemloft.net>
67917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67919 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
67921         [BZ #14055]
67922         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
67924 2012-05-02  Andreas Jaeger  <aj@suse.de>
67926         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
67927         since we manipulate rounding mode.
67928         (CPPFLAGS-test-idouble.c): Likewise.
67929         (CPPFLAGS-test-ifloat.c): Likewise.
67930         (CFLAGS-test-ldouble.c): Likewise.
67931         (CFLAGS-test-double.c): Likewise.
67932         (CFLAGS-test-float.c): Likewise.
67933         (CFLAGS-test-misc.c): Likewise.
67934         (CFLAGS-test-test-fenv.c): Likewise.
67936 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67938         [BZ #2550]
67939         [BZ #2570]
67940         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
67941         comparisons to determine direction to adjust input.
67943 2012-05-01  Roland McGrath  <roland@hack.frob.com>
67945         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
67946         output to the target.
67948         * scripts/localplt.awk: New file.
67949         * elf/Makefile ($(objpfx)check-localplt): Target removed.
67950         (check-localplt-CFLAGS): Variable removed.
67951         ($(all-built-dso:=.jmprel)): New static pattern rule.
67952         (generated): Add those targets.
67953         (localplt-built-dso): New variable.
67954         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
67956         * elf/check-localplt.c: File removed.
67958         * scripts/check-execstack.awk: New file.
67959         * elf/Makefile ($(objpfx)check-execstack): Target removed.
67960         (check-execstack-CFLAGS): Variable removed.
67961         ($(objpfx)check-execstack.h): Target removed.
67962         ($(objpfx)execstack-default): New target.
67963         (generated): Add that instead of check-execstack.h.
67964         ($(all-built-dso:=.phdr)): New static pattern rule.
67965         (generated): Add those targets.
67966         * elf/check-execstack.c: File removed.
67968         * scripts/check-textrel.awk: New file.
67969         * elf/Makefile ($(objpfx)check-textrel): Target removed.
67970         (check-textrel-CFLAGS): Variable removed.
67971         (all-built-dso): Use := to define.o
67972         ($(all-built-dso:=.dyn)): New static pattern rule.
67973         (generated): Add those targets.
67974         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
67975         * config.make.in (READELF): New substituted variable.
67976         * elf/check-textrel.c: File removed.
67978 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67980         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67981         allow.
67982         * conform/data/ctype.h-data [C99-based standards] (isblank):
67983         Expect function.
67984         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
67985         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
67986         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67987         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
67988         Specify type.  Require positive value.
67989         (EILSEQ): Likewise.
67990         (ERANGE): Likewise.
67991         [ISO || POSIX] (EILSEQ): Do not expect.
67992         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
67993         Specify type.  Require positive value.
67994         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
67995         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
67996         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
67997         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
67998         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
67999         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
68000         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
68001         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
68002         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
68003         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
68004         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
68005         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
68006         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
68007         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
68008         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
68009         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
68010         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
68011         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
68012         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
68013         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
68014         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
68015         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
68016         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
68017         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
68018         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
68019         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
68020         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
68021         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
68022         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
68023         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
68024         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
68025         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
68026         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
68027         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
68028         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
68029         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
68030         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
68031         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
68032         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
68033         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
68034         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
68035         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
68036         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
68037         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
68038         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
68039         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
68040         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
68041         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
68042         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
68043         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
68044         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
68045         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
68046         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
68047         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
68048         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
68049         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
68050         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
68051         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
68052         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
68053         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
68054         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
68055         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
68056         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
68057         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
68058         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
68059         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
68060         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
68061         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
68062         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
68063         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
68064         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
68065         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
68066         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
68067         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
68068         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
68069         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
68070         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
68071         Require >= 2.
68072         (FLT_ROUNDS): Expect as macro, not constant.
68073         (FLT_MANT_DIG): Use macro-int-constant.
68074         (DBL_MANT_DIG): Likewise.
68075         (LDBL_MANT_DIG): Likewise.
68076         (FLT_DIG): Likewise.
68077         (DBL_DIG): Likewise.
68078         (LDBL_DIG): Likewise.
68079         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
68080         (DBL_MIN_EXP): Likewise.
68081         (LDBL_MIN_EXP): Likewise.
68082         (FLT_MAX_EXP): Use macro-int-constant.
68083         (DBL_MAX_EXP): Likewise.
68084         (LDBL_MAX_EXP): Likewise.
68085         (FLT_MAX_10_EXP): Likewise.
68086         (DBL_MAX_10_EXP): Likewise.
68087         (LDBL_MAX_10_EXP): Likewise.
68088         (FLT_MAX): Use macro-constant.
68089         (DBL_MAX): Likewise.
68090         (LDBL_MAX): Likewise.
68091         (FLT_EPSILON): Use macro-constant.  Give upper bound.
68092         (DBL_EPSILON): Likewise.
68093         (LDBL_EPSILON): Likewise.
68094         (FLT_MIN): Likewise.
68095         (DBL_MIN): Likewise.
68096         (LDBL_MIN): Likewise.
68097         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
68098         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
68099         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
68100         [ISO11] (FLT_HAS_SUBNORM): Likewise.
68101         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
68102         [ISO11] (DBL_DECIMAL_DIG): Likewise.
68103         [ISO11] (FLT_DECIMAL_DIG): Likewise.
68104         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
68105         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
68106         [ISO11] (FLT_TRUE_MIN): Likewise.
68107         [ISO11] (LDBL_TRUE_MIN): Likewise.
68108         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68109         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
68110         (SCHAR_MIN): Use macro-int-constant.  Specify type.
68111         (SCHAR_MAX): Likewise.
68112         (UCHAR_MAX): Likewise.
68113         (CHAR_MIN): Likewise.
68114         (CHAR_MAX): Likewise.
68115         (MB_LEN_MAX): Use macro-int-constant.
68116         (SHRT_MIN): Use macro-int-constant.  Specify type.
68117         (SHRT_MAX): Likewise.
68118         (USHRT_MAX): Likewise.
68119         (INT_MAX): Likewise.
68120         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
68121         bound negative.
68122         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68123         bound with "U".
68124         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68125         bound with "L".
68126         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
68127         bound negative.  Suffix upper bound with "L".
68128         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68129         bound with "UL".
68130         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
68131         Specify type.
68132         [C99-based standards] (LLONG_MAX): Likewise.
68133         [C99-based standards] (ULLONG_MAX): Likewise.
68134         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
68135         == 0.
68136         [ISO11] (max_align_t): Require type.
68137         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68139         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
68140         from $CFLAGS, without defining away __attribute__ calls.
68141         (checknamespace): Use $CFLAGS_namespace.
68143         * conform/conformtest.pl (@keywords): Only include C99 keywords
68144         for standards based on C99 or C11.
68146         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
68147         Disable tests.
68148         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
68149         UNIX98]: Likewise.
68151         * conform/conformtest.pl: Handle "macro-int-constant" and test for
68152         usability of symbols in #if.
68154         * conform/conformtest.pl: If macro or constant types start
68155         "promoted:", expect the symbol to be of the following type
68156         promoted by the integer promotions.
68158         * conform/conformtest.pl: Parse all "constant" and "macro" lines
68159         in one place.  Also handle "macro-constant".
68161         * conform/conformtest.pl: Only accept expected macro values with
68162         "==".  Parse all "macro" lines in one place.
68163         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
68165         * conform/conformtest.pl: Handle braced types on "constant" lines
68166         instead of handling "typed-constant".
68167         * conform/data/signal.h-data: Use "constant" instead of
68168         "typed-constant".
68170         * conform/conformtest.pl: Handle "optional-" at start of lines in
68171         one place rather than duplicating several cases.  Handle each
68172         format of "macro" line with initial "optional-".
68174         * conform/conformtest.pl: Only accept expected constant or
68175         optional-constant values with "==".  Parse all "constant" lines in
68176         one place.  Parse all "optional-constant" lines in one place.
68177         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
68178         * conform/data/fmtmsg.h-data: Likewise.
68179         * conform/data/netinet/in.h-data: Likewise.
68180         * conform/data/tar.h-data: Likewise.
68181         * conform/data/limits.h-data: Use "==" form on "constant" and
68182         "optional-constant" lines.
68184         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
68185         Use -std=c99 for XOPEN2K.
68186         (@knownproblems): Remove.
68187         (newtoken): Don't check %isknown.
68189         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
68190         Do not expect macro.
68191         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
68192         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
68193         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
68194         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
68195         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
68196         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
68197         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
68198         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
68199         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
68200         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
68201         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
68202         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
68203         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
68204         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
68205         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
68206         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
68207         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
68208         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
68209         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
68210         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
68211         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
68212         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
68213         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
68214         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
68215         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
68216         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
68217         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
68218         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
68219         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
68220         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
68221         [XPG3] (acosh): Likewise.
68222         [XPG3] (asinh): Likewise.
68223         [XPG3] (atanh): Likewise.
68224         [XPG3] (cbrt): Likewise.
68225         [XPG3] (expm1): Likewise.
68226         [XPG3] (ilogb): Likewise.
68227         [XPG3] (log1p): Likewise.
68228         [XPG3] (logb): Likewise.
68229         [XPG3] (nextafter): Likewise.
68230         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
68231         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
68232         [XPG3] (remainder): Likewise.
68233         [XPG3] (rint): Likewise.
68234         [XPG3 || XPG4 || UNIX98] (round): Likewise.
68235         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
68236         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
68237         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
68238         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
68239         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
68240         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
68241         [UNIX98 || XOPEN2K] (scalb): Expect.
68242         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
68243         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
68244         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
68245         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
68246         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
68247         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
68248         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
68249         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
68250         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
68251         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
68252         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
68253         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
68254         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
68255         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
68256         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
68257         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
68258         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
68259         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
68260         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
68261         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
68262         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
68263         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
68264         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
68265         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
68266         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
68267         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
68268         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
68269         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
68270         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
68271         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
68272         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
68273         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
68274         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
68275         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
68276         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
68277         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
68278         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
68279         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
68280         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
68281         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
68282         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
68283         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
68284         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
68285         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
68286         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
68287         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
68288         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
68289         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
68290         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
68291         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
68292         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
68293         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
68294         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
68295         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
68296         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
68297         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
68298         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
68299         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
68300         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
68301         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
68302         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
68303         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
68304         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
68305         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
68306         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
68307         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
68308         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
68309         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
68310         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
68311         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
68312         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
68313         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
68314         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
68315         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
68316         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
68317         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
68318         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
68319         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
68320         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
68321         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
68322         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
68323         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
68324         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
68325         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
68326         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
68327         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
68328         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
68329         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
68330         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
68331         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
68332         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
68333         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
68334         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
68335         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
68336         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
68337         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
68338         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
68339         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
68340         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
68341         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
68342         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
68343         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
68344         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
68345         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
68346         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
68347         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
68348         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
68349         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
68350         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
68351         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
68352         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
68353         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
68354         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
68355         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
68356         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
68357         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
68358         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
68359         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
68360         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
68361         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
68362         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
68363         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
68364         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
68365         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
68366         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
68367         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
68368         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
68369         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
68370         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
68371         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
68372         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
68373         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
68374         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
68375         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
68376         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
68377         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
68378         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
68380         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
68381         _XOPEN_SOURCE_EXTENDED for XPG4.
68383         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
68385         * Makeconfig (localtime): Remove variable.
68386         (inst_localtime-file): Likewise.
68388 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
68391         Update.
68392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68393         Update.
68394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
68395         Update.
68396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
68397         Update.
68398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
68399         Update.
68400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
68401         Update.
68402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68403         Update.
68404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
68405         Update.
68406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68407         Update.
68409 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68411         [BZ #2550]
68412         [BZ #2570]
68413         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
68414         comparisons to determine direction to adjust input.
68415         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
68416         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
68417         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
68418         Likewise.
68419         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
68420         Likewise.
68421         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
68422         Likewise.
68423         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
68424         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
68425         Likewise.
68426         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
68427         Likewise.
68428         * math/libm-test.inc (nexttoward_test): Add more tests.
68430 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68432         [BZ #14040]
68433         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
68434         in version GLIBC_2.1, not GLIBC_2.0.
68435         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
68436         Likewise.
68438 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
68440         [BZ #13942]
68441         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
68442         (1 - x) * (1 + x).
68443         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68444         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
68445         * math/libm-test.inc (acos_test): Add more tests.
68446         (asin_test): Likewise.
68447         * sysdeps/i386/fpu/libm-test-ulps: Update.
68448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68450         [BZ #14034]
68451         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
68452         of square root.
68453         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
68454         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68455         * math/libm-test.inc (acos_test_tonearest): New function.
68456         (acos_test_towardzero): Likewise.
68457         (acos_test_downward): Likewise.
68458         (acos_test_upward): Likewise.
68459         (asin_test_tonearest): Likewise.
68460         (asin_test_towardzero): Likewise.
68461         (asin_test_downward): Likewise.
68462         (asin_test_upward): Likewise.
68463         (main): Call the new functions.
68464         * sysdeps/i386/fpu/libm-test-ulps: Update.
68465         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68467         [BZ #13884]
68468         [BZ #13924]
68469         * math/e_exp10.c: Include <float.h>.
68470         (__ieee754_exp10): Handle underflow here rather than multiplying
68471         large negative argument by M_LN10.
68472         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
68473         of __ieee754_expf.
68474         * math/e_exp10l.c: Include <float.h>.
68475         (__ieee754_exp10l): Handle underflow here rather than multiplying
68476         large negative argument by M_LN10l.
68477         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
68478         spurious overflow exception on underflow.
68480 2012-04-29  Marek Polacek  <polacek@redhat.com>
68482         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
68483         (__fortify_function): New macro.
68484         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
68485         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
68486         __extern_always_inline.
68487         * libio/bits/stdio2.h: Likewise.
68488         * libio/bits/stdio.h: Likewise.
68489         * string/string.h: Likewise.
68490         * string/bits/string3.h: Likewise.
68491         * include/stdio.h: Likewise.
68492         * stdlib/bits/stdlib.h: Likewise.
68493         * stdlib/stdlib.h: Likewise.
68494         * rt/bits/mqueue2.h: Likewise.
68495         * rt/mqueue.h: Likewise.
68496         * posix/bits/unistd.h: Likewise.
68497         * posix/unistd.h: Likewise.
68498         * io/bits/poll2.h: Likewise.
68499         * io/bits/fcntl2.h: Likewise.
68500         * io/fcntl.h: Likewise.
68501         * io/sys/poll.h: Likewise.
68502         * misc/bits/syslog.h: Likewise.
68503         * misc/bits/syslog-ldbl.h: Likewise.
68504         * misc/sys/syslog.h: Likewise.
68505         * socket/bits/socket2.h: Likewise.
68506         * socket/sys/socket.h: Likewise.
68507         * debug/tst-chk1.c: Likewise.
68508         * wcsmbs/bits/wchar2.h: Likewise.
68509         * wcsmbs/bits/wchar-ldbl.h: Likewise.
68510         * wcsmbs/wchar.h: Likewise.
68512 2012-04-29  Andreas Jaeger  <aj@suse.de>
68514         * Makerules (tests): Remove enable-check-abi protection.
68515         (check-abi-warn): Remove.
68516         (check-abi-%): Remove check-abi-warn usage.
68518         * configure.in: Remove check-abi configure option.
68519         * configure: Regenerated.
68520         * config.make.in (enable-check-abi): Remove.
68522 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
68524         [BZ #14033]
68525         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
68526         double functions to double *_finite functions.
68528         [BZ #13941]
68529         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
68530         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
68531         LDBL_MIN_EXP.
68532         * stdio-common/Makefile (tests): Add tst-sprintf3.
68533         * stdio-common/tst-sprintf3.c: New file.
68535         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
68536         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
68538 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68540         * conform/conformtest.pl: Remove duplicate typed-constant
68541         handling.
68543 2012-04-28  David S. Miller  <davem@davemloft.net>
68545         * Makerules (%.abilist): Add vpath on sysdep_dirs.
68546         (check-abi-%): Remove AWK script prerequisite and explicit
68547         abilist directory.
68548         (check-abi): Rewrite to just diff the symlist with the abilist.
68549         (config-tls, config-abi-config): Delete, no longer used.
68550         (update-abi-%): Remove AWK script and explicit abilist directory.
68551         (update-abi): Rewrite to simply compare and conditionally copy the
68552         symlist and the sysdep abilist file.  Remove update-abi-config
68553         checks.
68554         * abilist/ld.abilist: Remove.
68555         * abilist/libBrokenLocale.abilist: Remove.
68556         * abilist/libanl.abilist: Remove.
68557         * abilist/libcrypt.abilist: Remove.
68558         * abilist/libdl.abilist: Remove.
68559         * abilist/librt.abilist: Remove.
68560         * abilist/libthread_db.abilist: Remove.
68561         * abilist/libutil.abilist: Remove.
68562         * scripts/extract-abilist.awk: Remove.
68563         * scripts/merge-abilist.awk: Remove.
68564         * sysdeps/generic/libcidn.abilist: New file.
68565         * sysdeps/generic/libnss_compat.abilist: New file.
68566         * sysdeps/generic/libnss_db.abilist: New file.
68567         * sysdeps/generic/libnss_dns.abilist: New file.
68568         * sysdeps/generic/libnss_files.abilist: New file.
68569         * sysdeps/generic/libnss_hesiod.abilist: New file.
68570         * sysdeps/generic/libnss_nis.abilist: New file.
68571         * sysdeps/generic/libnss_nisplus.abilist: New file.
68572         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
68573         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
68574         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
68575         file.
68576         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
68577         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
68578         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
68579         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
68580         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
68581         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
68582         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
68583         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
68584         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
68585         file.
68586         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
68587         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
68588         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
68589         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
68590         file.
68591         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
68592         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
68593         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
68594         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
68595         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
68596         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
68597         file.
68598         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
68599         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
68600         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
68601         file.
68602         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
68603         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
68604         New file.
68605         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
68606         New file.
68607         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
68608         New file.
68609         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
68610         New file.
68611         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
68612         New file.
68613         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
68614         New file.
68615         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
68616         New file.
68617         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
68618         New file.
68619         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
68620         New file.
68621         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
68622         New file.
68623         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
68624         New file.
68625         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
68626         New file.
68627         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
68628         New file.
68629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
68630         file.
68631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
68632         New file.
68633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
68634         New file.
68635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
68636         file.
68637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
68638         New file.
68639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
68640         New file.
68641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
68642         file.
68643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
68644         New file.
68645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68646         New file.
68647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
68648         New file.
68649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
68650         New file.
68651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
68652         New file.
68653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
68654         New file.
68655         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
68656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
68657         file.
68658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
68659         New file.
68660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
68661         file.
68662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
68663         file.
68664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
68665         file.
68666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
68667         file.
68668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
68669         file.
68670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
68671         New file.
68672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
68673         file.
68674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
68675         file.
68676         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
68677         New file.
68678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
68679         file.
68680         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
68681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
68682         file.
68683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
68684         New file.
68685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
68686         file.
68687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
68688         file.
68689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
68690         file.
68691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
68692         file.
68693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
68694         file.
68695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68696         New file.
68697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
68698         file.
68699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
68700         file.
68701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
68702         New file.
68703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
68704         file.
68705         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68706         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
68707         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
68708         file.
68709         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
68710         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
68711         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
68712         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
68713         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
68714         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
68715         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
68716         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
68717         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
68718         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
68719         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
68720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
68721         file.
68722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
68723         New file.
68724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
68725         file.
68726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
68727         file.
68728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
68729         file.
68730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
68731         file.
68732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
68733         file.
68734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
68735         New file.
68736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
68737         New file.
68738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
68739         file.
68740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
68741         New file.
68742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
68743         file.
68744         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
68745         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
68746         file.
68747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
68748         New file.
68749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
68750         file.
68751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
68752         file.
68753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
68754         file.
68755         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
68756         file.
68757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
68758         file.
68759         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
68760         New file.
68761         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
68762         New file.
68763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
68764         file.
68765         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
68766         New file.
68767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
68768         file.
68770 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68772         * conform/conformtest.pl: Fix typo in handling typed-constant from
68773         allow-header.
68775 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68777         * README: Cut down references to pre-2.6 Linux kernels and
68778         Linuxthreads.  Update lists of configurations in libc and ports
68779         and sort alphabetically.  Say "or newer" with Linux kernel version
68780         requirements.
68782         * config.h.in [IS_IN_build]: Allow compiling without optimization.
68784 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68786         [BZ #887]
68787         * math/libm-test.inc (logb_test_downward): New test to expose
68788         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
68789         rounding mode.
68791 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68793         [BZ #14027]
68794         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
68795         to be done.
68796         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
68797         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
68799 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
68801         * sysdeps/unix/i386/brk.S: Remove file.
68802         * sysdeps/unix/i386/dl-brk.S: Likewise.
68803         * sysdeps/unix/i386/pipe.S: Likewise.
68804         * sysdeps/unix/i386/sigreturn.S: Likewise.
68805         * sysdeps/unix/i386/syscall.S: Likewise.
68806         * sysdeps/unix/i386/vfork.S: Likewise.
68807         * sysdeps/unix/i386/wait.S: Likewise.
68809         * sysdeps/unix/common/tcsendbrk.c: Move to ...
68810         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
68812         * configure.in (arm*-none*): Do not allow without
68813         --enable-hacker-mode.
68814         (netbsd*): Remove case setting base_os.
68815         (386bsd*): Likewise.
68816         (freebsd*): Likewise.
68817         (bsdi*): Likewise.
68818         (osf*): Likewise.
68819         (sunos*): Likewise.
68820         (ultrix*): Likewise.
68821         (newsos*): Likewise.
68822         (dynix*): Likewise.
68823         (*bsd*): Likewise.
68824         (sysv*): Likewise.
68825         (isc*): Likewise.
68826         (esix*): Likewise.
68827         (sco*): Likewise.
68828         (minix*): Likewise.
68829         (irix4*): Likewise.
68830         (irix6*): Likewise.
68831         (solaris[2-9]*): Likewise.
68832         (none): Likewise.
68833         * configure: Regenerated.
68835 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68837         [BZ #11521]
68838         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
68839         overflow or cancellation in calculating denominator.
68840         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
68841         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
68842         down expression to avoid unexpected rounding in newer GCCs.
68843         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
68845 2012-04-26  David S. Miller  <davem@davemloft.net>
68847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
68848         long-double compat symbols.
68849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
68853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68854         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
68855         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
68856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
68857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
68858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
68859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
68860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
68861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68863 2012-04-25  David S. Miller  <davem@davemloft.net>
68865         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
68866         HWCAP_* values only after the memory barriers have been defined.
68867         (atomic_full_barrier): Define.
68868         (atomic_read_barrier): Define.
68869         (atomic_write_barrier): Define.
68871 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68873         * shlib-versions: Add libgcc_s version information.
68874         * sysdeps/generic/libgcc_s.h: Remove.
68875         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
68876         libgcc_s.h.
68877         * sysdeps/gnu/unwind-resume.c: Likewise.
68878         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
68880 2012-04-25  David S. Miller  <davem@davemloft.net>
68882         * sysdeps/unix/sparc/brk.S: Delete.
68883         * sysdeps/unix/sparc/dl-brk.S: Delete.
68884         * sysdeps/unix/sparc/pipe.S: Delete.
68885         * sysdeps/unix/sparc/sysdep.S: Delete.
68886         * sysdeps/unix/sparc/sysdep.h: Delete.
68887         * sysdeps/unix/sparc/vfork.S: Delete.
68888         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
68889         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
68890         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
68891         (ret_ERRVAL, r0, r1, MOVE): Define.
68892         (JUMPTARGET): Remove.
68893         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
68894         sysdeps/unix/sparc/sysdep.h
68895         (ENTRY, END): Remove.
68896         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68898 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
68900         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
68901         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
68902         -DIS_IN_build.
68904         * timezone/README: Update upstream location and email address for
68905         tzcode and tzdata.
68906         * timezone/zdump.c: Update from tzcode 2012b.
68907         * timezone/zic.c: Likewise.
68909         * configure.in (libc_cv_as_needed): Remove test.
68910         * configure: Regenerated.
68911         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
68912         conditional definition.
68913         [$(have-as-needed) != yes] (no-as-needed): Likewise.
68914         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
68915         * config.make.in (have-as-needed): Remove variable.
68917 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68918             Paul Pluzhnikov  <ppluzhnikov@google.com>
68920         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
68921         strings correctly.
68923 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
68925         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
68926         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
68927         * sysdeps/sh/strlen.S: Likewise.
68929 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68931         * sysdeps/unix/fork.S: Remove file.
68932         * sysdeps/unix/i386/fork.S: Likewise.
68933         * sysdeps/unix/sparc/fork.S: Likewise.
68935         * sysdeps/unix/system.c: Remove file.
68936         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
68938         * sysdeps/unix/getegid.S: Remove file.
68939         * sysdeps/unix/geteuid.S: Likewise.
68941 2012-04-24  Roland McGrath  <roland@hack.frob.com>
68943         * scripts/check-localplt.awk: New file.
68944         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
68945         of diff.
68946         * scripts/data/localplt-generic.data: Add a comment.
68948         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
68949         NODE when __dir_mkfile failed.
68950         * sysdeps/mach/hurd/symlinkat.c: Likewise.
68951         Reported by Ludovic Courtès <ludo@gnu.org>.
68953 2012-04-24  Andreas Jaeger  <aj@suse.de>
68955         * Makerules (common-clean): Also remove gen-as-const-headers
68956         files.
68958 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68960         * Makerules (native-compile): Do not change working directory for
68961         build.  Use $(OUTPUT_OPTION) in command.
68962         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
68964 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68966         [BZ #13886]
68967         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
68968         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
68969         * math/libm-test.inc (floor_test): Add more tests.
68970         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
68972 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68974         * sysdeps/unix/getdents.c: Remove file.
68975         * sysdeps/unix/sysv/getdents.c: Likewise.
68976         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
68978         * sysdeps/unix/syscalls.list (madvise): Add syscall from
68979         sysdeps/unix/mman/syscalls.list.
68980         (mmap): Likewise.
68981         (mprotect): Likewise.
68982         (msync): Likewise.
68983         (munmap): Likewise.
68984         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
68985         * sysdeps/unix/mman/syscalls.list: Remove.
68986         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
68988         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
68989         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
68990         * configure: Regenerated.
68991         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
68992         $(libgcc_s_suffix).
68993         * config.make.in (libgcc_s_suffix): Remove variable.
68995 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
68997         * sysdeps/unix/sysv/gethostname.c: Move to ...
68998         * sysdeps/posix/gethostname.c: ... here.
69000         * sysdeps/unix/execve.S: Remove file.
69002         * sysdeps/unix/_exit.S: Remove file.
69004 2012-04-23  Andreas Jaeger  <aj@suse.de>
69006         [BZ #13739]
69007         * manual/Makefile: Remove make dist support, there's no
69008         need for a stand-alone documentation tar ball.
69009         (TEXI2DVI): Define always, it's not in Makeconfig.
69010         (dist): Removed.
69011         (tar-it): Removed.
69012         (edition): Removed.
69013         (glibc-doc-$(edition).tar): Removed
69014         (%.Z): Removed.
69015         (%.gz): Removed.
69016         (%.uu): Removed.
69017         (ETAGS): Remove, it's in Makeconfig.
69018         (move-if-change): Remove, it's in Makeconfig.
69020 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
69022         [BZ #13970]
69023         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
69024         (strtod, strtof, strtold, strtol, strtoul, strtoq)
69025         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
69026         (strtod_l, strtof_l, strtold_l): Remove __wur.
69027         It is not necessarily an error to ignore strtol's return value.
69028         One can reliably look at the stored endptr to decide whether
69029         the number had valid syntax.
69031 2012-04-21  Andreas Jaeger  <aj@suse.de>
69033         [BZ #13739]
69034         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
69036 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
69038         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
69039         * sysdeps/unix/sysv/Versions: Remove file.
69041 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
69043         [BZ #13927]
69044         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69046 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
69048         [BZ #7064]
69049         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
69050         version from __vm86.
69052 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
69054         * sysdeps/unix/common/lxstat.c: Remove file.
69055         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
69057         * sysdeps/unix/sysv/Makefile: Remove file.
69059         * sysdeps/unix/sysv/direct.h: Remove file.
69061         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
69062         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
69063         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
69064         * sysdeps/unix/sysv/bits/signum.h: Likewise.
69065         * sysdeps/unix/sysv/bits/stat.h: Likewise.
69066         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
69067         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
69069         * sysdeps/unix/sysv/setrlimit.c: Remove file.
69071         * sysdeps/unix/xmknod.c: Remove file.
69072         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
69074         * sysdeps/unix/sysv/settimeofday.c: Remove file.
69076         * sysdeps/unix/sysv/i386/time.S: Remove file.
69078         * sysdeps/unix/fxstat.c: Remove file.
69079         * sysdeps/unix/xstat.c: Likewise.
69080         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
69082         * sysdeps/unix/sysv/sigaction.c: Remove file.
69084         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
69085         (sysdep_headers): Remove variable.
69086         [termio.h not in sysdep_headers] (generated): Likewise.
69087         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
69088         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
69089         * sysdeps/unix/sysv/tcdrain.c: Likewise.
69090         * sysdeps/unix/sysv/tcflow.c: Likewise.
69091         * sysdeps/unix/sysv/tcflush.c: Likewise.
69092         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
69093         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
69094         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
69095         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
69096         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
69098         * sysdeps/unix/siglist.c: Remove file.
69100         * sysdeps/unix/getppid.S: Remove file.
69102         * sysdeps/unix/mkdir.c: Remove file.
69103         * sysdeps/unix/rmdir.c: Likewise.
69105 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
69107         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
69108         ERR_MAX value.
69109         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
69110         errlist-compat value.
69112 2012-04-18  David S. Miller  <davem@davemloft.net>
69114         * sysdeps/generic/memcopy.h (reg_char): Delete.
69115         * debug/strcat_chk.c: Use char, not reg_char.
69116         * debug/strcpy_chk.c: Likewise.
69117         * debug/strncat_chk.c: Likewise.
69118         * debug/strncpy_chk.c: Likewise.
69119         * string/memchr.c: Likewise.
69120         * string/memrchr.c: Likewise.
69121         * string/rawmemchr.c: Likewise.
69122         * string/strcat.c: Likewise.
69123         * string/strchr.c: Likewise.
69124         * string/strchrnul.c: Likewise.
69125         * string/strcmp.c: Likewise.
69126         * string/strcpy.c: Likewise.
69127         * string/strncat.c: Likewise.
69128         * string/strncmp.c: Likewise.
69129         * string/strncpy.c: Likewise.
69131 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69133         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
69134         __builtin_memcopy is called when src and dest ranges are known to not
69135         overlap.
69137 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69139         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
69140         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
69141         fwd_align_merge macro call.
69142         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
69143         bwd_align_merge macro call.
69144         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69146 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69148         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
69149         bwd_align_merge macros.
69150         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
69151         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
69152         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69154 2012-04-18  David S. Miller  <davem@davemloft.net>
69156         * sysdeps/sparc/sparc64/memcopy.h: Delete.
69158 2012-04-18  Andreas Jaeger  <aj@suse.de>
69160         [BZ# 6794]
69161         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
69162         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
69163         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69165         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
69166         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
69167         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69169         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
69170         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
69171         Adjust for changed ldbl-128 files.
69173         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
69174         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
69175         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69177 2012-04-17  David S. Miller  <davem@davemloft.net>
69179         * sysdeps/sparc/sparc32/memcopy.h: Delete.
69181 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
69183         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
69184         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
69185         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
69186         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
69187         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
69188         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
69190 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69192         [BZ #6794]
69193         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
69194         * math/libm-test.inc: Add ilogb errno and exception tests.
69195         * math/w_ilogb.c: New file: ilogb wrapper.
69196         * math/w_ilogbf.c: New file: ilogbf wrapper.
69197         * math/w_ilogbl.c: New file: ilogbl wrapper.
69198         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
69199         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
69200         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
69201         exception being thrown with 0.0 as argument.
69202         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
69203         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
69204         exception being thrown with 0.0 as argument.
69205         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
69206         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69207         exception being thrown with 0.0 as argument.
69208         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
69209         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69210         exception being thrown with 0.0 as argument.
69211         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
69212         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
69213         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
69214         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
69215         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
69216         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
69217         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
69218         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
69219         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
69221 2012-04-17  Petr Baudis  <pasky@ucw.cz>
69223         * include/sys/uio.h: Change __vector to __iovec to avoid clash
69224         with altivec.
69226 2012-04-16  Marek Polacek  <polacek@redhat.com>
69228         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
69230 2012-04-16  Marek Polacek  <polacek@redhat.com>
69232         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
69233         operands of fdivp instruction.
69235 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69237         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
69238         * elf/tst-auditmod3b.c: Likewise.
69239         * elf/tst-auditmod4b.c: Likewise.
69240         * elf/tst-auditmod5b.c: Likewise.
69241         * elf/tst-auditmod6b.c: Likewise.
69242         * elf/tst-auditmod6c.c: Likewise.
69243         * elf/tst-auditmod7b.c: Likewise.
69244         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
69245         * sysdeps/x86_64/preconfigure.in: Likewise.
69246         * sysdeps/x86_64/preconfigure: Regenerated.
69248 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69250         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
69251         __ILP32__.
69253 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
69255         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69256         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
69258 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
69260         [BZ #13973]
69261         * locale/iso-639.def: Fix gl language name. Spotted by
69262         Yaron Shahrabani.
69264 2012-04-12  Roland McGrath  <roland@hack.frob.com>
69266         [BZ #2074]
69267         * libio/libio.h (__io_write_fn): Update comment.
69269 2012-04-12  Petr Baudis  <pasky@ucw.cz>
69271         [BZ #2074]
69272         * stdio.texi (Hook Functions): The user provided writer function
69273         is not allowed to return -1.
69275 2012-04-11  David S. Miller  <davem@davemloft.net>
69277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69279 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
69281         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
69282         Add a leading slash to rtkaio.
69284 2012-04-11  Jim Meyering  <meyering@redhat.com>
69286         [BZ #11959]
69287         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
69288         It is not necessarily an error to ignore fwrite's return
69289         value.  One can reliably use ferror to test for errors after
69290         the fact.
69292 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69294         * bits/types.h (__snseconds_t): New type.
69295         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
69297         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
69298         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69299         (__SNSECONDS_T_TYPE): Likewise.
69300         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69301         (__SNSECONDS_T_TYPE): Likewise.
69302         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69303         (__SNSECONDS_T_TYPE): Likewise.
69305 2012-04-10  Andreas Jaeger  <aj@suse.de>
69307         [BZ #2636]
69308         * manual/time.texi (Processor Time): Return type of times is
69309         elapsed real time since an arbitrary point in the past.
69310         (CPU Time): Move CLK_TCK from here...
69311         (Processor Time): ...to here.  Correct description.
69312         * manual/conf.texi (Constants for Sysconf): Correct description of
69313         _SC_CLK_TCK.
69315 2012-04-10  David S. Miller  <davem@davemloft.net>
69317         [BZ #13967]
69318         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
69319         where the is a gap between DT_REL(A) and DT_JMPREL.
69321 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69323         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
69324         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69325         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69327 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
69329         * elf/dl-support.c (_dl_inhibit_cache): New variable.
69330         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
69331         (dl_main): Handle --inhibit-cache.
69332         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
69333         _dl_inhibit_cache.
69334         * elf/dl-load.c (_dl_map_object): Use it.
69335         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
69337 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69339         [BZ #13872]
69340         * sysdeps/i386/fpu/e_powl.S (p78): New object.
69341         (__ieee754_powl): Saturate large exponents rather than testing for
69342         overflow of y*log2(x).
69343         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69344         * math/libm-test.inc (pow_test): Do not permit spurious overflow
69345         exceptions.
69347         [BZ #11521]
69348         * math/s_ctan.c: Include <float.h>.
69349         (__ctan): Avoid internal overflow or cancellation in calculating
69350         denominator.
69351         * math/s_ctanf.c: Likewise.
69352         * math/s_ctanl.c: Likewise.
69353         * math/s_ctanh.c: Likewise.
69354         * math/s_ctanhf.c: Likewise.
69355         * math/s_ctanhl.c: Likewise.
69356         * math/libm-test.inc (ctan_test): Add more tests.
69357         (ctanh_test): Likewise.
69358         * sysdeps/i386/fpu/libm-test-ulps: Update.
69359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69361 2012-04-09  Andreas Jaeger  <aj@suse.de>
69363         [BZ #6894]
69364         * manual/filesys.texi (Directory Entries): Mention that d_namlen
69365         is an optional BSD extension.
69367         [BZ #10254]
69368         * manual/stdio.texi (Opening Streams): Document additional fopen
69369         parameters.
69371 2012-04-09  Roland McGrath  <roland@hack.frob.com>
69373         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
69374         %eax without telling the compiler.
69376 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
69378         [BZ # 13963]
69379         * manual/install.texi: Use sourceware.org.
69381 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69383         [BZ #13873]
69384         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
69385         (__ieee754_pow): Generate overflow and underflow using huge*huge
69386         and tiny*tiny rather than just returning constant infinity or zero
69387         for large exponents.
69388         * math/libm-test.inc (pow_test): Require overflow exceptions for
69389         applicable cases of large exponents.
69391         [BZ #706]
69392         * sysdeps/i386/fpu/e_pow.S (p10): New object.
69393         (__ieee754_pow): Use iterative multiplication algorithm only for
69394         integer exponents with absolute value below 1024.  Check for odd
69395         integer exponents when using algorithm for real exponents.
69396         * math/libm-test.inc (pow_test): Add more tests.
69397         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69399 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
69401         [BZ #13705]
69402         * math/libm-test.inc (exp_test): Do not allow overflow exception
69403         on underflow test.
69405 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
69407         [BZ #13705]
69408         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
69409         instead of __kernel_standard_f.
69411 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
69413         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
69414         * sysdeps/x86_64/memset_chk.S: Likewise.
69416 2012-04-08  Andreas Jaeger  <aj@suse.de>
69418         [BZ #10153]
69419         * manual/startup.texi (Environment Access): Describe return value
69420         for putenv and setenv.
69422         [BZ #6895]
69423         * manual/filesys.texi (Directory Entries): Add description for
69424         DT_LNK.
69426         [BZ #6890]
69427         * manual/filesys.texi (Directory Entries): Clarify that it's file
69428         system not operating system in the description of DT_UNKNOWN.
69430         [BZ #6578]
69431         * manual/syslog.texi (closelog): Fix reference, it's openlog.
69433 2012-04-08  Stephen Compall  <s11@member.fsf.org>
69435         [BZ #6649]
69436         * manual/llio.texi (Opening and Closing Files): Add cross
69437         reference to explain mode argument.
69439 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
69441         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
69442         * sysdeps/x86_64/memset_chk.S: Likewise.
69444 2012-04-07  David S. Miller  <davem@davemloft.net>
69446         * elf/elf.h (R_SPARC_WDISP10): Define.
69447         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
69448         R_SPARC_SIZE32.
69449         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
69450         R_SPARC_SIZE64 and R_SPARC_H34.
69452 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
69454         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
69455         conditions and remove no longer applicable assertion.
69457 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69459         * bits/byteswap.h: Include <features.h>.
69460         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69461         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69463 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69465         * bits/byteswap.h (__bswap_16): Removed.
69466         Include <bits/byteswap-16.h> to get __bswap_16.
69467         * sysdeps/i386/bits/byteswap.h: Likewise.
69468         * sysdeps/s390/bits/byteswap.h: Likewise.
69469         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69470         * bits/byteswap-16.h: New file.
69471         * sysdeps/i386/bits/byteswap-16.h: Likewise.
69472         * sysdeps/s390/bits/byteswap-16.h: Likewise.
69473         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
69474         * string/Makefile (headers): Add bits/byteswap-16.h.
69476 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69478         [BZ #13895]
69479         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
69480         extra indirection.
69481         * nss/Makefile (tests-static, tests): Add tst-nss-static.
69482         * nss/tst-nss-static.c: New.
69484 2012-04-06  Robert Millan  <rmh@gnu.org>
69486         [BZ #6486]
69487         * manual/llio.texi (File Position Primitive): lseek
69488         refers to WHENCE when it really means OFFSET.
69490 2012-04-06  Andreas Jaeger  <aj@suse.de>
69492         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
69493         strncmp declarations.
69495         * abilist/libc.abilist: Add __poll and __ppoll.
69497 2012-04-05  David S. Miller  <davem@davemloft.net>
69499         * scripts/check-local-headers.sh: Accept a host triplet in the
69500         path matched by the exclude regexp.
69502         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
69503         definition.
69504         * sysdeps/powerpc/powerpc32/dl-machine.h
69505         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
69506         * sysdeps/s390/s390-32/dl-machine.h
69507         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69508         * sysdeps/sparc/sparc32/dl-machine.h
69509         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69510         * sysdeps/sparc/sparc64/dl-machine.h
69511         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69513         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
69514         lazy binding.
69515         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
69516         undefined symbol errors.
69518         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
69519         DT_NEEDED entries.
69521 2012-04-05  Michael Matz  <matz@suse.de>
69523         [BZ #13592]
69524         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
69526 2012-04-05  Andreas Jaeger  <aj@suse.de>
69528         [BZ #13908]
69529         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
69530         comment.
69532 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69534         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
69535         which ROUND is no valid rounding mode.
69537 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69539         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
69540         read again.
69541         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
69543 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69545         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
69546         an exception using FPU order intentionally.
69548 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69550         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
69551         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
69552         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
69553         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
69555 2012-04-05  Simon Josefsson  <simon@josefsson.org>
69557         [BZ #12340]
69558         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
69559         EINVAL when BUFLEN is too smal.
69561 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
69563         [BZ #13553]
69564         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
69565         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
69567 2012-04-03  Andreas Jaeger  <aj@suse.de>
69569         [BZ #13938]
69570         * manual/setjmp.texi (System V contexts): Fix sentence.
69572         [BZ #13926]
69573         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
69574         New macro for this case.
69575         [!__GNUC__] (__bswap_64): New inline function for this case.
69576         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69577         * bits/byteswap.h: Likewise.
69578         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
69579         ull, guard with __GLIBC_HAVE_LONG_LONG.
69581         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
69582         __GLIBC_HAVE_LONG_LONG.
69584         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
69585         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
69587 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69589         [BZ #13691]
69590         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
69591         inptr and inend, rather than using last_ch.
69593 2012-04-02  David S. Miller  <davem@davemloft.net>
69595         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
69596         * stdio-common/printf-parse.h (read_int): Change return type to
69597         'int', return -1 on INT_MAX overflow.
69598         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
69599         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
69600         overflows INT_MAX.  Check for overflow of in-format-string precision
69601         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
69602         SIZE_MAX not INT_MAX for integer overflow test.
69603         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
69604         skip the construct in the format string but do not record anything.
69605         * stdio-common/bug22.c: Adjust to test both width/prevision
69606         INT_MAX overflow as well as total length INT_MAX overflow.  Check
69607         explicitly for proper errno values.
69609 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
69611         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
69612         CHAR_MAX.
69613         * string/test-strcmp.c [! WIDE]: Likewise.
69614         * time/tst-mktime2.c: Likewise for INT_MAX.
69615         * string/test-string.h: #include <sys/param.h> for MIN.
69617         * csu/init-first.c (__libc_init_first): Call __ctype_init.
69618         * sysdeps/i386/init-first.c (init): Likewise.
69619         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
69620         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
69621         * sysdeps/sh/init-first.c (init): Likewise.
69623 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
69625         * po/ru.po: Update from translation team.
69626         * po/vi.po: Likewise.
69628 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
69630         * resolv/nss_dns/dns-host.c: Merge copyright years.
69632 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69634         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69635         Optimize memcpy with prefetch if
69636         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
69637         src, dst pointers have unequal 16 byte alignments.
69639 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69641         [BZ #13928]
69642         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
69643         from a CNAME entry and return the minimum ttl for the query.
69644         (gaih_getanswer_slice): Likewise.
69646 2012-03-30  Jeff Law  <law@redhat.com>
69648         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
69649         due to long keys.
69650         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
69651         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
69653         * resolv/nss_dns/dns-host.c: Update copyright year.
69655 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
69657         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
69658         requests to save a system call.  Fix check that all bytes are sent.
69660         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
69661         comments for sendmmsg.
69663 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69665         [BZ #13691]
69666         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
69667         with only 1 character between 0x0041 and 0x01b0.
69668         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
69669         * wcsmbs/tst-mbsnrtowcs.c: New file.
69671 2012-03-29  David S. Miller  <davem@davemloft.net>
69673         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
69674         small copies by hand.
69676 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69678         [BZ #13761]
69679         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
69680         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
69681         group memberships.
69683 2012-03-28  David S. Miller  <davem@davemloft.net>
69685         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
69686         that branches into memcpy.
69687         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
69688         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
69689         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69690         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
69691         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
69692         bits.
69693         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
69694         implementation too.
69695         * sysdeps/sparc/mempcpy.S: New file.
69697         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
69698         the IFUNC routine in the libc case.
69699         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69701         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
69702         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
69703         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
69704         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
69705         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
69706         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
69707         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
69708         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
69710         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
69711         loop to 256 bytes instead of 64 bytes and fix test signedness.
69713         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
69714         * sysdeps/sparc/sparc32/Makefile: rather than here...
69715         * sysdeps/sparc/sparc64/Makefile: and here.
69717 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
69719         * malloc/mallocbug.c: Avoid warnings about unused variables.
69721 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
69723         [BZ #13760]
69724         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
69725         in the right place. Discard and retry query if response is
69726         larger than input buffer size.
69728 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
69730         [BZ #369]
69731         [BZ #2678]
69732         [BZ #3866]
69733         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
69734         x for large integer exponent.
69735         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
69736         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
69737         sign of result as needed afterwards.
69738         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
69739         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
69740         result for underflowing pow the same as for overflow.
69741         (__kernel_standard_l): Handle powl overflow and underflow here
69742         rather than calling __kernel_standard.
69743         * math/libm-test.inc (pow_test): Add more tests.
69745         [BZ #3868]
69746         [BZ #13879]
69747         [BZ #13910]
69748         [BZ #13911]
69749         [BZ #13912]
69750         [BZ #13913]
69751         [BZ #13915]
69752         [BZ #13916]
69753         [BZ #13917]
69754         [BZ #13918]
69755         [BZ #13919]
69756         [BZ #13920]
69757         [BZ #13921]
69758         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
69759         * sysdeps/ieee754/k_standard.c: Include <float.h>.
69760         (__kernel_standard_l): New function.
69761         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
69762         __kernel_standard.
69763         * math/w_acosl.c (__acosl): Likewise.
69764         * math/w_asinl.c (__asinl): Likewise.
69765         * math/w_atan2l.c (__atan2l): Likewise.
69766         * math/w_atanhl.c (__atanhl): Likewise.
69767         * math/w_coshl.c (__coshl): Likewise.
69768         * math/w_exp10l.c (__exp10l): Likewise.
69769         * math/w_exp2l.c (__exp2l): Likewise.
69770         * math/w_fmodl.c (__fmodl): Likewise.
69771         * math/w_hypotl.c (__hypotl): Likewise.
69772         * math/w_j0l.c (__j0l, __y0l): Likewise.
69773         * math/w_j1l.c (__j1l, __y1l): Likewise.
69774         * math/w_jnl.c (__jnl, __ynl): Likewise.
69775         * math/w_lgammal.c (__lgammal): Likewise.
69776         * math/w_log10l.c (__log10l): Likewise.
69777         * math/w_log2l.c (__log2l): Likewise.
69778         * math/w_logl.c (__logl): Likewise.
69779         * math/w_powl.c (__powl): Likewise.
69780         * math/w_remainderl.c (__remainderl): Likewise.
69781         * math/w_scalbl.c (sysv_scalbl): Likewise.
69782         * math/w_sinhl.c (__sinhl): Likewise.
69783         * math/w_sqrtl.c (__sqrtl): Likewise.
69784         * math/w_tgammal.c (__tgammal): Likewise.
69785         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
69786         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
69787         * math/libm-test.inc (acos_test): Add more tests.
69788         (acosh_test): Likewise.
69789         (asin_test): Likewise.
69790         (atanh_test): Likewise.
69791         (exp_test): Likewise.
69792         (exp10_test): Likewise.
69793         (exp2_test): Likewise.
69794         (expm1_test): Likewise.
69795         (lgamma_test): Likewise.
69796         (log_test): Likewise.
69797         (log10_test): Likewise.
69798         (log1p_test): Likewise.
69799         (log2_test): Likewise.
69800         (pow_test): Do not allow some spurious overflow exceptions.
69801         (sqrt_test): Add more tests.
69802         (tgamma_test): Likewise.
69803         (y0_test): Likewise.
69804         (y1_test): Likewise.
69805         (yn_test): Likewise.
69807 2012-03-27  Anton Blanchard  <anton@samba.org>
69809         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
69810         MAP_HUGETLB.
69811         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69812         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69813         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69815 2012-03-27  David S. Miller  <davem@davemloft.net>
69817         * conform/Makefile: Run run-conformtest.sh using $(BASH).
69819         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
69820         have-as-vis3 check.
69822 2012-03-27  Andreas Jaeger  <aj@suse.de>
69824         * sysdeps/x86_64/elf/configure.in: Moved to ...
69825         * sysdeps/x86_64/configure.in: ... here.
69826         * sysdeps/x86_64/elf/start.S: Moved to ...
69827         * sysdeps/x86_64/start.S: ... here.
69828         * sysdeps/x86_64/elf/configure: Delete.
69830         * sysdeps/x86_64/configure.in: Merge contents from
69831         sysdeps/i386/configure.in (without i686 check).
69833         * sysdeps/i386/elf/Versions: Merge into ...
69834         * sysdeps/i386/Versions: ... this.
69835         * sysdeps/i386/elf/Versions: Delete file.
69836         * sysdeps/i386/elf/start.S: Moved to ...
69837         * sysdeps/i386/start.S: ...here.
69838         * sysdeps/i386/elf/configure.in: Merge into...
69839         * sysdeps/i386/configure.in: ...here.
69840         * sysdeps/i386/elf/configure.in: Delete file.
69841         * sysdeps/i386/elf/configure: Delete file.
69843         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
69844         * debug/backtracesyms.c: ... here.
69845         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
69846         * debug/backtracesymsfd.c: ... here.
69847         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
69848         * sysdeps/generic/ifunc-sel.h: ... here.
69850         * sysdeps/unix/i386/start.c: Delete file.
69851         * sysdeps/unix/sparc/start.c: Delete file.
69852         * sysdeps/unix/start.c: Delete file.
69854         * sysdeps/sh/elf/configure.in: Moved to ...
69855         * sysdeps/sh/configure.in: ... here.
69856         * sysdeps/sh/elf/start.S: Moved to ...
69857         * sysdeps/sh/start.S: ... here.
69858         * sysdeps/sh/elf/configure: Delete file.
69860         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
69861         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
69862         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
69863         * sysdeps/powerpc/powerpc64/entry.h: ... here.
69864         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
69865         * sysdeps/powerpc/powerpc64/start.S: here.
69866         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
69867         * sysdeps/powerpc/powerpc64/Makefile: ... this.
69868         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
69869         * sysdeps/powerpc/powerpc64/configure.in: ... this.
69870         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
69872         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
69873         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
69874         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
69875         * sysdeps/powerpc/powerpc32/start.S: ... here.
69876         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
69877         * sysdeps/powerpc/powerpc32/configure.in: ... this.
69878         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
69880         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
69881         * sysdeps/powerpc/ifunc-sel.h: ... here.
69882         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
69883         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
69885         * sysdeps/sparc/elf/configure.in: Moved to ...
69886         * sysdeps/sparc/configure.in: ... here.
69887         * sysdeps/sparc/elf/configure: Delete file.
69888         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
69889         * sysdeps/sparc/sparc32/start.S: ... here.
69890         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
69891         * sysdeps/sparc/sparc64/start.S: ... here.
69892         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
69893         * sysdeps/sparc/sparc32/Makefile: ... this.
69894         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
69895         * sysdeps/sparc/sparc64/Makefile: ... this.
69897         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
69898         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
69899         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
69900         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
69901         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
69902         * sysdeps/s390/s390-32/setjmp.S: ... here.
69903         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
69904         * sysdeps/s390/s390-32/configure.in: ... here.
69905         * sysdeps/s390/s390-32/elf/configure: Delete file.
69906         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
69907         * sysdeps/s390/s390-32/start.S: ... here.
69909         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
69910         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
69911         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
69912         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
69913         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
69914         * sysdeps/s390/s390-64/setjmp.S: ... here.
69915         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
69916         * sysdeps/s390/s390-64/configure.in: ... here
69917         * sysdeps/s390/s390-64/elf/configure: Delete file.
69918         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
69919         * sysdeps/s390/s390-64/start.S: ... here.
69920         * sysdeps/s390/s390-64/elf/configure: Delete.
69922         * configure.in: Remove support for elf directories in sysdeps.
69924         * configure: Regenerated.
69925         * sysdeps/i386/configure: Regenerated.
69926         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69927         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69928         * sysdeps/s390/s390-32/configure: Regenerated.
69929         * sysdeps/s390/s390-64/configure: Regenerated.
69930         * sysdeps/sh/configure: Regenerated.
69931         * sysdeps/sparc/configure: Regenerated.
69932         * sysdeps/x86_64/configure: Regenerated.
69934 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
69936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69938         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
69939         denormal result into account.
69941 2012-03-25  Roland McGrath  <roland@hack.frob.com>
69943         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
69944         Reported by Allan McRae <allan@archlinux.org>.
69946 2012-03-23  Jeff Law  <law@redhat.com>
69948         * nss/getnssent.c (__nss_getent): Fix typo.
69950 2012-03-23  David S. Miller  <davem@davemloft.net>
69952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69954 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
69956         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
69957         to pad to uint64_t for each field.
69958         (dl_tls_index): Replace unsigned long with uint64_t.
69960 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
69961         Paul Pluzhnikov  <ppluzhnikov@google.com>
69963         [BZ #6528]
69964         * grp/Makefile (otherlibs): Don't set it.
69965         * inet/Makefile (otherlibs): Likewise.
69966         * login/Makefile (otherlibs): Likewise.
69967         * nscd/Makefile (otherlibs): Likewise.
69968         * posix/Makefile (otherlibs): Likewise.
69969         * pwd/Makefile (otherlibs): Likewise.
69970         * rt/Makefile (otherlibs): Likewise.
69971         * sunrpc/Makefile (otherlibs): Likewise.
69972         * nss/Makefile (otherlibs): Likewise.
69973         Add libnss_files to routines and static-only-routines.
69974         ($(objpfx)getent): Remove rule.
69975         * resolv/Makefile: Add libnss_dns and libresolv to routines and
69976         static-only-routines.
69978 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69980         [BZ #13892]
69981         * math/s_cexp.c: Include <float.h>.
69982         (__cexp): Handle exp result overflowing not necessarily
69983         overflowing both real and imaginary parts of result.
69984         * math/s_cexpf.c: Likewise.
69985         * math/s_cexpl.c: Likewise.
69986         * math/libm-test.inc (cexp_test): Add more tests.
69987         * sysdeps/i386/fpu/libm-test-ulps: Update.
69988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69990 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69992         * include/link.h (ELFW): New macro.
69993         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
69994         Replace ELF64_R_TYPE with ELFW(R_TYPE).
69996 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69998         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
69999         with uint64_t.
70001 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70003         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
70004         declaration.
70005         (struct La_x32_retval): Likewise.
70007 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70009         * sysdeps/x86_64/preconfigure.in: New file.
70010         * sysdeps/x86_64/preconfigure: New generated file.
70012 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70014         [BZ #13824]
70015         * math/e_exp2l.c: Include <float.h>.
70016         (__ieee754_exp2l): Handle overflow and underflow cases
70017         separately.  Only pass fractional part of argument to
70018         __ieee754_expl.
70019         * math/libm-test.inc (exp2_test): Add more tests.
70021         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
70022         negating x to take absolute value.
70023         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
70024         Likewise.
70025         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
70026         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
70027         Likewise.
70028         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
70029         computing low part if x was negated.
70030         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
70032 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70034         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
70035         la_x32_gnu_pltexit.
70036         (pltexit): Cast int_retval to ptrdiff_t.
70037         * elf/tst-auditmod3b.c: Likewise.
70038         * elf/tst-auditmod4b.c: Likewise.
70039         * elf/tst-auditmod5b.c: Likewise.
70040         * elf/tst-auditmod6b.c: Likewise.
70041         * elf/tst-auditmod6c.c: Likewise.
70042         * elf/tst-auditmod7b.c: Likewise.
70044         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
70045         and x32_gnu_pltexit.
70047         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
70048         __ELF_NATIVE_CLASS.
70049         (La_x32_regs): New macro.
70050         (La_x32_retval): Likewise.
70051         (la_x32_gnu_pltenter): New function prototype.
70052         (la_x32_gnu_pltexit): Likewise.
70054 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
70056         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
70057         exponent.
70059         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70061         * configure.in (libc_cv_cc_nofma): Check for option to disable
70062         generation of FMA instructions.
70063         * configure: Regenerate.
70064         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
70065         * sysdeps/ieee754/dbl-64/Makefile: New file.
70066         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
70067         Remove brandred-fma4.
70068         (CFLAGS-brandred-fma4.c): Remove.
70069         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
70070         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
70071         define.
70072         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
70073         define.
70075 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70077         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70078         LLONG_MAX != LONG_MAX.
70079         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70080         (_fitoa_word): Likewise.
70081         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
70082         LLONG_MAX != LONG_MAX.
70083         * stdio-common/_itowa.h: Include <_itoa.h>.
70084         (_itowa_word): Use _ITOA_WORD_TYPE on value.
70085         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
70086         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
70087         only if not defined.
70088         (_ITOA_WORD_TYPE): Likewise.
70089         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70090         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
70092 2012-03-21  David S. Miller  <davem@davemloft.net>
70094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70096 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70098         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
70099         of x86_64 when setting libc_cv_slibdir, libdir and
70100         libc_cv_localedir.
70101         * sysdeps/unix/sysv/linux/configure: Regenerated.
70103 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70105         * manual/lang.texi (Old Varargs): Remove section.
70106         (How Variadic): Update menu.
70107         (va_start): Do not mention varargs.h.
70109 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70110             Joseph Myers  <joseph@codesourcery.com>
70112         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
70113         link test.
70114         * configure: Regenerated.
70116 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70118         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
70119         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
70120         conformtest.pl
70122 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70124         * NOTES: Remove.
70125         * Makefile (files-for-dist): Remove NOTES.
70126         (NOTES): Remove rule.
70127         * README: Don't refer to NOTES.
70128         * manual/creature.texi: Don't include macros.texi.
70129         * manual/intro.texi (creature.texi): Remove comment referring to
70130         NOTES.
70132         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
70133         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
70134         * configure: Regenerated.
70135         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
70136         LIBC_TRY_CC_OPTION.
70137         (libc_cv_as_i686): Likewise.
70138         (libc_cv_cc_avx): Likewise.
70139         (libc_cv_cc_sse2avx): Likewise.
70140         (libc_cv_cc_fma4): Likewise.
70141         (libc_cv_cc_novzeroupper): Likewise.
70142         * sysdeps/i386/configure: Regenerated.
70144         [BZ #13883]
70145         * sysdeps/i386/fpu/s_cexp.S: Remove.
70146         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70147         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70148         * math/libm-test.inc (cexp_test): Add more tests.
70149         * sysdeps/i386/fpu/libm-test-ulps: Update.
70150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70152 2012-03-21  Allan McRae  <allan@archlinux.org>
70154         * timezone/Makefile: Do not install iso3166.tab and zone.tab
70156 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70158         [BZ #13871]
70159         * math/w_exp2.c: Do not include <float.h>.
70160         (o_threshold, u_threshold): Remove.
70161         (__exp2): Calculate result before checking finiteness and calling
70162         __kernel_standard.
70163         * math/w_exp2f.c: Likewise.
70164         * math/w_exp2l.c: Likewise.
70165         * math/libm-test.inc (exp2_test): Require overflow exception for
70166         1e6 input.
70168         [BZ #3866]
70169         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
70170         range of signed 64-bit integers before using fistpll.  Remove
70171         checks for whether integers fit in mantissa bits.
70172         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
70173         the range of signed 32-bit integers before using fistpl.  Remove
70174         checks for whether integers fit in mantissa bits.
70175         * sysdeps/i386/fpu/e_powl.S (p64): New object.
70176         (__ieee754_powl): Test for y outside the range of signed 64-bit
70177         integers before using fistpll.  Reduce 64-bit values to 63-bit
70178         ones as needed.
70179         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
70180         divide-by-zero is raised for zero to large negative powers.
70181         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
70182         (__ieee754_powl): Test for y outside the range of signed 64-bit
70183         integers before using fistpll.  Reduce 64-bit values to 63-bit
70184         ones as needed.
70185         * math/libm-test.inc (pow_test): Add more tests.
70187 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70189         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
70190         <stdio-common/_itoa.h>.
70191         * debug/segfault.c: Likewise.
70192         * elf/dl-cache.c: Likewise.
70193         * elf/dl-minimal.c: Likewise.
70194         * elf/dl-misc.c: Likewise.
70195         * elf/dl-sysdep.c: Likewise.
70196         * elf/dl-version.c: Likewise.
70197         * elf/rtld.c: Likewise.
70198         * hurd/hurdsock.c: Likewise.
70199         * hurd/lookup-retry.c: Likewise.
70200         * malloc/malloc.c: Likewise.
70201         * malloc/mtrace.c: Likewise.
70202         * nscd/nscd_getgr_r.c: Likewise.
70203         * nscd/nscd_getpw_r.c: Likewise.
70204         * nscd/nscd_getserv_r.c: Likewise.
70205         * posix/getopt_init.c: Likewise.
70206         * posix/wordexp.c: Likewise.
70207         * stdio-common/_itoa.c: Likewise.
70208         * stdio-common/printf_fphex.c: Likewise.
70209         * stdio-common/vfprintf.c: Likewise.
70210         * string/_strerror.c: Likewise.
70211         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
70212         * sysdeps/i386/i686/hp-timing.h: Likewise.
70213         * sysdeps/mach/_strerror.c: Likewise.
70214         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
70215         * sysdeps/mach/hurd/sethostid.c: Likewise.
70216         * sysdeps/mach/hurd/xmknodat.c: Likewise.
70217         * sysdeps/mach/xpg-strerror.c: Likewise.
70218         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
70219         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
70220         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
70221         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
70222         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
70223         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
70224         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
70225         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
70226         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
70227         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
70228         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
70229         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
70230         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
70231         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
70232         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
70233         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
70234         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
70235         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
70236         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
70237         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
70238         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
70240         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
70242         * stdio-common/_itoa.h: Moved to ...
70243         * sysdeps/generic/_itoa.h: Here.
70245         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
70247         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
70248         instead of "_itoa.h" and "_itowa.h".
70249         * stdio-common/vfprintf.: Likewise.
70251 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70253         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
70254         <bits/wordsize.h>.
70255         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
70256         (__signbit): Likwise.
70257         (llrintf): Likwise.
70258         (llrint): Likwise.
70260 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70262         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
70263         __WORDSIZE != 64.
70265 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
70267         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
70268         OVERFLOW_EXCEPTION_OK.
70269         * math/libm-test.inc ("Philosophy"): Update comment about
70270         exception testing.
70271         (OVERFLOW_EXCEPTION): Define.
70272         (OVERFLOW_EXCEPTION_OK): Likewise.
70273         (INVALID_EXCEPTION_OK): Renumber.
70274         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70275         (IGNORE_ZERO_INF_SIGN): Likewise.
70276         (test_exceptions): Handle FE_OVERFLOW.
70277         (exp10_test): Expect overflow exceptions.
70278         (exp2_test): Likewise.
70279         (expm1_test): Likewise.
70280         (nextafter_test): Likewise.
70281         (pow_test): Likewise.
70282         (scalbn_test): Likewise.
70283         (scalbln_test): Likewise.
70285 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70287         * sysdeps/x86_64/bits/atomic.h
70288         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
70289         64bit integer.
70290         (atomic_exchange_acq): Likewise.
70291         (__arch_exchange_and_add_body): Likewise.
70292         (__arch_add_body): Likewise.
70293         (atomic_add_negative): Likewise.
70294         (atomic_add_zero): Likewise.
70296 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70298         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
70299         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
70301 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70303         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
70304         Check __x86_64__ instead of __WORDSIZE.
70306 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70308         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
70310 2012-03-19  David S. Miller  <davem@davemloft.net>
70312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70314         * sysdeps/sparc/fpu/fenv_private.h: New file.
70315         * sysdeps/sparc/fpu/math_private.h: Use it.
70316         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
70317         Remove.
70318         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
70319         (libc_feholdexcept_setroundl): Remove.
70320         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
70321         Remove.
70322         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
70323         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
70325 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70327         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
70328         int64_t instead of long int.
70329         (INSERT_WORDS64): Likwise.
70331 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70333         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
70334         _Unwind_GetCFA return to _Unwind_Ptr first.
70336 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
70338         [BZ #13629]
70339         * math/s_clog.c: Include <float.h>.
70340         (__clog): Scale large or subnormal inputs.
70341         * math/s_clogf.c: Likewise.
70342         * math/s_clogl.c: Likewise.
70343         * math/s_clog10.c: Include <float.h>.
70344         (M_LOG10_2): Define.
70345         (__clog10): Scale large or subnormal inputs.
70346         * math/s_clog10f.c: Likewise.
70347         * math/s_clog10l.c: Likewise.
70348         * math/libm-test.inc (clog_test): Add more tests.
70349         (clog10_test): Likewise.
70350         * sysdeps/i386/fpu/libm-test-ulps: Update.
70351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70353         [BZ #11451]
70354         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
70355         x and y.
70356         * math/libm-test.inc (atan2_test): Add another test.
70358         * Makerules (common-objdir-compile): Remove.
70359         * sysdeps/unix/Makefile (config-generated): Do not add
70360         $(unix-generated) to variable.
70361         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
70362         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
70363         Remove rule.
70364         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
70365         Likewise.
70366         [generic bits/local_lim.h] (before-compile): Do not append to
70367         variable.
70368         [generic bits/local_lim.h] (common-generated): Likewise.
70369         [generic sys/param.h] (before-compile): Do not append to variable.
70370         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
70371         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
70372         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
70373         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
70374         include.
70375         [generic sys/param.h] (sys/param.h-includes): Remove variable.
70376         [generic sys/param.h] (sys/param.h-includes): Remove rule.
70377         [generic sys/param.h] ($(addprefix
70378         $(common-objpfx),$(sys/param.h-includes))): Likewise.
70379         [generic sys/param.h] (common-generated): Do not append to
70380         variable.
70381         [generic sys/param.h] (sysdep_headers): Likewise.
70382         [generic bits/errno.h] (before-compile): Do not append to
70383         variable.
70384         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
70385         rule.
70386         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
70387         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
70388         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
70389         [generic bits/errno.h] (common-generated): Do not append to
70390         variable.
70391         [generic bits/ioctls.h] (before-compile): Do not append to
70392         variable.
70393         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
70394         rule.
70395         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
70396         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
70397         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
70398         rule.
70399         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
70400         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
70401         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
70402         [generic bits/ioctls.h] (common-generated): Do not append to
70403         variable.
70404         [generic sys/syscall.h] (syscall.h): Remove variable.
70405         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
70406         rule.
70407         [generic sys/syscall.h] (before-compile): Do not append to
70408         variable.
70409         [generic sys/syscall.h] (common-generated): Likewise.
70410         * sysdeps/unix/errnos-tmpl.c: Remove file.
70411         * sysdeps/unix/errnos.awk: Likewise.
70412         * sysdeps/unix/ioctls-tmpl.c: Likewise.
70413         * sysdeps/unix/ioctls.awk: Likewise.
70414         * sysdeps/unix/mk-local_lim.c: Likewise.
70415         * sysdeps/unix/snarf-ioctls: Likewise.
70417 2012-03-19  Richard Henderson  <rth@twiddle.net>
70419         * sysdeps/i386/fpu/fenv_private.h: New file.
70420         * sysdeps/i386/fpu/math_private.h: Use it.
70421         (math_opt_barrier, math_force_eval): Remove.
70422         (libc_feholdexcept_setround_53bit): Remove.
70423         (libc_feupdateenv_53bit): Remove.
70424         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70425         (math_opt_barrier, math_force_eval): Remove.
70426         (libc_feholdexcept): Remove.
70427         (libc_feholdexcept_setround): Remove.
70428         (libc_fetestexcept, libc_fesetenv): Remove.
70429         (libc_feupdateenv_test): Remove.
70430         (libc_feupdateenv, libc_feholdsetround): Remove.
70431         (libc_feresetround): Remove.
70433         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
70434         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
70436         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
70437         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
70438         (libc_feupdateenv_testl): New.
70439         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
70440         (libc_feupdateenv_testf): New.
70441         (libc_feupdateenv): Use libc_feupdateenv_test.
70442         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
70443         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
70445         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
70446         (libc_feholdsetroundf, libc_feholdsetroundl): New.
70447         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
70448         (libc_feresetround_noex): New.
70449         (libc_feresetround_noexf): New.
70450         (libc_feresetround_noexl): New.
70451         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
70452         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
70453         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
70454         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
70455         SET_RESTORE_ROUND.
70456         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
70457         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
70458         (__cos): Likewise.
70459         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
70460         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
70461         SET_RESTORE_ROUND_NOEX.
70462         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
70463         SET_RESTORE_ROUND_NOEXF.
70464         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
70465         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
70466         (libc_feholdsetroundf): New.
70467         (libc_feresetround, libc_feresetroundf): New.
70469         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
70470         (libc_feholdexcept_setround_53bit): Convert from macro to function.
70471         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
70473         * sysdeps/generic/math_private.h: Include <fenv.h>.
70474         (default_libc_feholdexcept): New.
70475         (default_libc_feholdexcept_setround): New.
70476         (default_libc_fesetenv, default_libc_feupdateenv): New.
70477         (libc_feholdexcept): Only define if undefined.
70478         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
70479         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
70480         (libc_feholdexcept_setroundl): Likewise.
70481         (libc_feholdexcept_setround_53bit): Likewise.
70482         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
70483         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
70484         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
70485         (libc_feupdateenv_53bit): Likewise.
70486         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
70487         (libc_feholdexcept): Convert from macro to inline function.
70488         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
70489         (libc_fesetenv, libc_feupdateenv): Likewise.
70491         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
70492         not previously defined.
70493         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
70494         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
70495         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
70496         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
70497         * sysdeps/ieee754/flt-32/math_private.h: New file.
70498         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
70499         math_private.h below SET_FLOAT_WORD.
70500         (__isnan, __isinf_ns, __finite): Remove.
70501         (__isnanf, __isinf_nsf, __finitef): Remove.
70503 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
70505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70507 2012-03-17  David S. Miller  <davem@davemloft.net>
70509         [BZ #6471]
70510         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
70511         for 2.16.
70513 2012-03-16  David S. Miller  <davem@davemloft.net>
70515         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
70516         warnings.
70518         [BZ #6471]
70519         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
70520         properly.
70521         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
70522         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
70523         sysdep_routines when subdir is sysvipc.
70524         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
70525         __getshmlba helper.
70527         * sysdeps/sparc/fpu/libm-test/ulps: Update.
70529 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70531         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
70532         [__LP64__].
70534 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70536         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
70537         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
70538         (__lround): Renamed to ...
70539         (__llround): This.  Replace long int with long long int.
70540         Define lround functions as aliases of llround functions.
70541         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
70543 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70545         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
70546         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
70547         adresses to uintptr_t.  Replace "long int" and "unsigned long
70548         int" with "greg_t" on va_arg.
70550 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70552         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
70553         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
70555         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
70556         Move e_machine check before EI_CLASS check.  Handle x32
70557         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
70558         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
70559         SKIP_EM_IA_64 and include
70560         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
70562         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
70563         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
70564         (add_system_dir): New macro.
70566         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
70567         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
70569 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70571         [BZ #2551]
70572         [BZ #2552]
70573         [BZ #2553]
70574         [BZ #2554]
70575         [BZ #2562]
70576         [BZ #2563]
70577         [BZ #2565]
70578         [BZ #2566]
70579         [BZ #2576]
70580         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
70581         (y0): Likewise.
70582         * math/w_j0f.c (j0f): Likewise.
70583         (y0f): Likewise.
70584         * math/w_j0l.c (__j0l): Likewise.
70585         (__y0l): Likewise.
70586         * math/w_j1.c (j1): Likewise.
70587         (y1): Likewise.
70588         * math/w_j1f.c (j1f): Likewise.
70589         (y1f): Likewise.
70590         * math/w_j1l.c (__j1l): Likewise.
70591         (__y1l): Likewise.
70592         * math/w_jn.c (jn): Likewise.
70593         (yn): Likewise.
70594         * math/w_jnf.c (jnf): Likewise.
70595         (ynf): Likewise.
70596         * math/w_jnl.c (__jnl): Likewise.
70597         (__ynl): Likewise.
70598         * math/libm-test.inc (j0_test): Add more tests.
70599         (j1_test): Likewise.
70600         (jn_test): Likewise.  Add trailing semicolon to existing test.
70601         (y0_test): Likewise.
70602         (y1_test): Likewise.
70603         * sysdeps/i386/fpu/libm-test-ulps: Update.
70604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70606         [BZ #13851]
70607         [BZ #13854]
70608         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
70609         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
70610         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
70611         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
70612         (__tanl): Set errno for infinite argument.
70613         * sysdeps/i386/fpu/mptan.c: Remove.
70614         * sysdeps/i386/fpu/s_tan.S: Likewise.
70615         * sysdeps/i386/fpu/s_tanl.S: Likewise.
70616         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
70617         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
70618         * math/libm-test.inc (tan_test): Add more tests and enable more
70619         tests for double and long double.
70620         * sysdeps/i386/fpu/libm-test-ulps: Update.
70621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70623 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
70625         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
70626         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
70628 2012-03-16  Roland McGrath  <roland@hack.frob.com>
70630         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
70631         * configure.in: Use it for both main tree and add-ons.
70632         * configure: Regenerated.
70634 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70636         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
70638 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70640         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
70641         in comment.
70643         [BZ #13851]
70644         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
70645         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
70646         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
70647         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
70648         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
70649         infinite argument.
70650         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
70651         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
70652         != 0 for prec == 2.
70653         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
70654         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
70655         * sysdeps/i386/fpu/s_cosl.S: Likewise.
70656         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
70657         * sysdeps/i386/fpu/s_sinl.S: Likewise.
70658         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
70659         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
70660         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
70661         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
70662         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
70663         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
70664         * math/libm-test.inc (cos_test): Add more tests and enable more
70665         tests for long double.
70666         (sin_test): Likewise.
70667         (sincos_test): Likewise.
70668         * sysdeps/i386/fpu/libm-test-ulps: Update.
70669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70671 2012-03-16  David S. Miller  <davem@davemloft.net>
70673         * sysdeps/sparc/fpu/math_private.h: New file.
70675 2012-03-15  David S. Miller  <davem@davemloft.net>
70677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
70678         file.
70679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
70680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
70681         file.
70682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
70683         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
70684         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
70685         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
70686         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
70687         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
70688         sysdep routines.
70689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70691         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
70692         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
70694         * sysdeps/sparc/sparc-ifunc.h: New file.
70695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
70696         sparc-ifunc.h
70697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
70699         Likewise.
70700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
70701         Likewise.
70702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
70703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
70704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70706         Likewise.
70707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
70709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
70711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
70712         Likewise.
70713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
70714         Likewise.
70715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
70717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
70718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
70719         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70720         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70721         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
70722         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
70723         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70724         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70725         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
70726         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
70727         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
70728         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
70729         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
70730         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
70731         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
70732         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
70733         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
70734         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
70735         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
70736         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
70737         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
70738         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
70740 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70742         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
70743         scaling.
70744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70746 2012-03-15  Andreas Jaeger  <aj@suse.de>
70748         [BZ #13852]
70749         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
70750         ieee754/flt-32 implementation for sin, cos and sincos.
70751         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
70752         * sysdeps/i386/fpu/s_cosf.S: Likewise.
70753         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
70754         * sysdeps/i386/fpu/s_sinf.S: Likewise.
70755         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
70756         ieee754/flt-32 implementation for tan.
70758         * math/libm-test.inc (cos_test): Enable some large input tests for
70759         float as well
70760         (sin_test): Likewise.
70761         (sincos_test): Likewise.
70762         (tan_test): Add tests for large input.
70764         * sysdeps/i386/fpu/libm-test-ulps: Update.
70766 2012-03-15  Andreas Jaeger  <aj@suse.de>
70768         [BZ #13658]
70769         * math/libm-test.inc (cos_test): Add more test cases.
70770         (sin_test): Likewise.
70771         (sincos_test): Likewise.
70773 2012-03-15  Andreas Jaeger  <aj@suse.de>
70775         [BZ #13837]
70776         * math/libm-test.inc (cos_test): Add a test case for large input
70777         value.
70778         (sin_test): Likewise.
70779         (sincos_test): Likewise.
70781 2012-03-15  Andreas Jaeger  <aj@suse.de>
70782             Joseph Myers  <joseph@codesourcery.com>
70784         [BZ #13658]
70785         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
70786         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
70787         * sysdeps/i386/fpu/branred.c: Likewise.
70788         * sysdeps/i386/fpu/dosincos.c: Likewise.
70789         * sysdeps/i386/fpu/mpa.c: Likewise.
70790         * sysdeps/i386/fpu/s_cos.S: Likewise.
70791         * sysdeps/i386/fpu/s_sin.S: Likewise.
70792         * sysdeps/i386/fpu/s_sincos.S: Likewise.
70793         * sysdeps/i386/fpu/sincos32.c: Likewise.
70795         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
70796         Define.
70797         (libc_feupdateenv_53bit): Define.
70798         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
70799         Define.
70800         (libc_feupdateenv_53bit): Define.
70802         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
70803         53 bit (without extend i386 double precision).
70805         * math/libm-test.inc (sincos_test): Add tests for large input.
70806         (sin): Likewise.
70807         (cos): Likewise.
70809         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
70811 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70815 2012-03-15  David S. Miller  <davem@davemloft.net>
70817         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
70818         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
70819         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
70820         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
70821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
70822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
70823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
70824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
70825         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
70826         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
70827         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
70828         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
70829         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
70830         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
70831         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
70832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
70833         file.
70834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
70835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
70836         file.
70837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
70838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
70839         file.
70840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
70841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
70842         file.
70843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
70844         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
70845         fmin/fmax sysdep routines.
70846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70848 2012-03-14  David S. Miller  <davem@davemloft.net>
70850         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
70851         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
70852         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
70853         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
70854         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
70855         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
70856         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
70857         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
70858         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
70859         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
70860         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
70861         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
70862         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
70863         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
70864         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
70865         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
70866         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
70867         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
70868         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
70869         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
70870         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
70871         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
70872         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
70873         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
70874         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
70875         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
70876         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
70877         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
70878         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
70879         routines.
70880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
70881         file.
70882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
70883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
70884         file.
70885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
70886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
70887         file.
70888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
70889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
70890         file.
70891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
70892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
70893         file.
70894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
70895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
70896         file.
70897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
70898         file.
70899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
70900         file.
70901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
70902         file.
70903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
70904         New file.
70905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
70906         file.
70907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
70908         file.
70909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
70910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
70911         file.
70912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
70913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
70914         file.
70915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
70916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
70917         file.
70918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
70919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
70920         VIS3 routines.
70922         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70923         New file.
70925         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70927         * sysdeps/sparc/configure.in: New file.
70928         * sysdeps/sparc/configure: Generate.
70929         * configure.in (libc_cv_sparc_as_vis3): Substitute.
70930         * configure: Regenerate.
70931         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
70932         * config.make.in (have-as-vis3): New.
70933         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
70934         available use -Av9d instead of -Av9a.
70935         * sysdeps/sparc/sparc64/Makefile: Likewise.
70936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
70937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
70938         New file.
70939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
70940         file.
70941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
70942         New file.
70943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
70944         file.
70945         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
70946         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
70947         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
70948         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
70949         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
70951         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
70952         fzeros/fnegs to load 0x80000000 into a float register instead of
70953         using the stack.
70954         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
70956 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70958         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70959         bits/syscall.h.
70960         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
70961         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
70962         ($(inst_includedir)/bits/syscall.h): Remove rule.
70963         ($(objpfx)bits/syscall.d): Include instead of
70964         $(objpfx)syscall-list.d.
70965         (generated): Change syscall-list.h and syscall-list.d to
70966         bits/syscall.h and bits/syscall.d.
70968 2012-03-14  Roland McGrath  <roland@hack.frob.com>
70970         [BZ #13846]
70971         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
70973 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70975         [BZ #13841]
70976         * math/s_csqrt.c: Include <float.h>.
70977         (__csqrt): Scale large or subnormal inputs.
70978         * math/s_csqrtf.c: Likewise.
70979         * math/s_csqrtl.c: Likewise.
70980         * math/libm-test.inc (csqrt_test): Add more tests.
70981         * sysdeps/i386/fpu/libm-test-ulps: Update.
70982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70984         [BZ #13840]
70985         * math/libm-test.inc (hypot_test): Add more tests.
70987 2012-03-13  David S. Miller  <davem@davemloft.net>
70989         [BZ #13840]
70990         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
70991         double-precision for the calculation instead of scaling.
70993 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
70995         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
70996         manipulate bits before adding and subtracting TWO52[sx].
70997         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
70998         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
70999         Likewise.
71000         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
71002 2012-03-13  David S. Miller  <davem@davemloft.net>
71004         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
71005         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
71006         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
71007         rtld-global-offsets.h
71008         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71010         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
71011         large parameters.
71013         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
71015         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
71016         'err' in the ifdef scope in which it is actually used.
71018         * nss/nss_db/db-init.c: Include string.h
71020 2012-03-12  David S. Miller  <davem@davemloft.net>
71022         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
71023         masking out of the most significant byte of random value used.
71024         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71025         Fix coding style in previous change.
71027         * sysdeps/unix/sysv/linux/kernel-features.h
71028         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
71029         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
71030         expression.
71031         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
71032         later.
71034 2012-03-11  David S. Miller  <davem@davemloft.net>
71036         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71037         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
71038         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
71039         for 'resultvar' otherwise things get truncated on 64-bit.
71041         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71042         Fix masking out of the most significant byte of random value used.
71044         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71046 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
71048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71050 2012-03-09  David S. Miller  <davem@davemloft.net>
71052         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
71053         variables with appropriate CPP guards.
71054         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
71055         from the frame pointer, not the stack pointer.  Correct layout
71056         comments.  Fix test on resulting framesize and the management of
71057         the outregs buffer for pltexit.  Preserve floating point return
71058         values across _dl_call_pltexit call.
71059         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
71060         framesize and the management of the outregs buffer for pltexit.
71061         Preserve floating point return values across _dl_call_pltexit
71062         call.
71063         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
71064         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
71065         (la_sparc64_gnu_pltexit): New functions.
71066         (print_exit): Fix format string for return register value.
71068 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
71070         * sunrpc/Makefile (others): Add rpcgen.
71071         ($(objpfx)rpcgen): Remove special build rule and dependency on
71072         libc.
71073         * sunrpc/rpcgen.c: New file.
71075 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
71077         [BZ #13673]
71078         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
71079         * stdio-common/bug-vfprintf-nargs.c: Likewise.
71080         * sysdeps/i386/crti.S: Likewise.
71081         * sysdeps/i386/crtn.S: Likewise.
71082         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
71083         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
71084         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
71085         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
71086         * sysdeps/sh/crti.S: Likewise.
71087         * sysdeps/sh/crtn.S: Likewise.
71088         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71090         [BZ #13673]
71091         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
71092         with URL.
71093         * locale/programs/locfile-kw.gperf: Likewise.
71094         * locale/programs/charmap-kw.h: Regenerated.
71095         * locale/programs/locfile-kw.h: Likewise.
71097         [BZ #13673]
71098         * intl/plural.y: Replace FSF snail mail address with URL.
71099         * intl/plural.c: Regenerated.
71101 2012-03-09  Richard Henderson  <rth@twiddle.net>
71103         * include/math_private.h: Remove file.
71104         * math/math_private.h: Move file ...
71105         * sysdeps/generic/math_private.h: ... here.
71107         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
71108         * sysdeps/powerpc/fpu/math_private.h: Likewise.
71109         * sysdeps/x86_64/fpu/math_private.h: Likewise.
71111         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
71112         and <math_private.h>.
71113         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71114         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71115         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71116         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71117         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71118         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
71119         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71120         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71121         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71122         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71123         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71124         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71125         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71126         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71127         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71128         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71129         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71130         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71131         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71132         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71133         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71134         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71135         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71136         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71137         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
71138         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71139         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71140         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71141         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71142         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71143         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71144         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71145         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
71146         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71147         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71148         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71149         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71150         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71151         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71152         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71153         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
71154         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71155         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71156         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
71157         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
71158         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71159         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
71160         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
71161         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71162         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71163         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
71164         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
71165         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
71166         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71167         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
71168         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71169         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71170         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
71171         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
71172         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
71173         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71174         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
71175         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71176         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71177         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
71178         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71179         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71180         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71181         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
71182         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
71183         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
71184         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71185         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
71186         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71187         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
71188         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
71189         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
71190         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71191         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
71192         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
71193         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
71194         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
71195         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
71196         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71197         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71198         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
71199         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
71200         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
71201         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71202         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71203         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71204         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71205         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71206         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71207         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71208         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71209         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71210         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71211         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71212         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71213         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71214         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71215         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71216         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71217         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71218         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71219         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71220         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71221         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71222         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71223         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71224         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71225         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71226         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71227         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
71228         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71229         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71230         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71231         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71232         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71233         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71234         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71235         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71236         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
71237         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71238         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71239         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71240         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
71241         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71242         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
71243         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
71244         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71245         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71246         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
71247         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
71248         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71249         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71250         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71251         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
71252         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71253         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71254         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71255         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71256         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
71257         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
71258         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71259         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71260         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71261         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
71262         * sysdeps/ieee754/k_standard.c: Likewise.
71263         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71264         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71265         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71266         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71267         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71268         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71269         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71270         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71271         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71272         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71273         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71274         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71275         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71276         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71277         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71278         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71279         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
71280         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71281         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71282         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
71283         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
71284         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
71285         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71286         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71287         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
71288         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
71289         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71290         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71291         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71292         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71293         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
71294         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71295         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71296         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71297         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
71298         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71299         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71300         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
71301         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
71302         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71303         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
71304         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
71305         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
71306         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71307         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
71308         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
71309         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71310         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71311         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71312         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71313         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71314         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
71315         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71316         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
71317         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71318         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71319         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
71320         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
71321         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71322         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71323         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71324         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
71325         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71326         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71327         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71328         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71329         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71330         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71331         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71332         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71333         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71334         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71335         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71336         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71337         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71338         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71339         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
71340         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71341         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71342         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
71343         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
71344         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
71345         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71346         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71347         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
71348         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71349         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71350         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
71351         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
71352         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71353         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
71354         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71355         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
71356         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
71357         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71358         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71359         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
71360         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
71361         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
71362         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
71363         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71364         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71365         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71366         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71367         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
71368         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71369         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71370         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
71371         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
71372         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71373         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71374         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71375         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71376         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71377         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71378         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71379         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71380         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71381         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71382         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71383         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71384         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71385         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71386         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71387         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71388         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
71389         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71390         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71391         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71392         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71393         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71394         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71395         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71396         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
71397         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71398         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71399         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
71400         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
71401         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71402         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
71403         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
71404         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71405         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
71406         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
71407         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71408         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71409         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71410         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71411         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71412         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
71413         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71414         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71415         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71416         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71417         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
71418         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
71419         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71420         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71421         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71422         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
71423         * sysdeps/ieee754/s_lib_version.c: Likewise.
71424         * sysdeps/ieee754/s_matherr.c: Likewise.
71425         * sysdeps/ieee754/s_signgam.c: Likewise.
71426         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71427         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71428         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
71429         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
71430         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
71431         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71432         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
71433         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
71434         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
71435         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
71436         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
71437         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
71438         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71439         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71440         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
71441         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71442         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71443         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71444         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71445         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71446         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71448 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71450         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
71451         * sunrpc/rpc_main.c: Likewise.
71452         * sunrpc/rpc_svcout.c: Likewise.
71454 2012-03-09  David S. Miller  <davem@davemloft.net>
71456         * include/math_private.h: New file.
71458 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71460         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
71461         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
71462         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
71463         from <bits/socket_type.h>.
71464         (enum __socket_type): Don't define here.
71465         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
71466         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71467         bits/socket_type.h.
71469         [BZ #13566]
71470         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
71471         checking __USE_GNU.
71473         * Makerules ($(inst_includedir)/%.h): New rule.
71474         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
71475         (install-others): Remove variable setting.
71476         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
71478 2012-03-08  Richard Henderson  <rth@twiddle.net>
71480         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
71481         from macro to inline function; merge with the
71482         !__LIBC_INTERNAL_MATH_INLINES version.
71483         (__ieee754_sqrtf): Likewise.
71485         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
71486         to inline function.
71487         (__rintf, __floor, __floorf): Likewise.
71489         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
71490         macro to inline function.
71491         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
71493         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
71494         not <math/math_private.h>.
71496 2012-03-08  David S. Miller  <davem@davemloft.net>
71498         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
71499         copyright year.
71500         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
71502 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
71504         * resolv/gai_misc.c (handle_requests): Fix struct timespec
71505         normalization.
71506         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
71507         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
71509 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
71511         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
71512         be defined individually, they must be defined as a block.  Define
71513         S for printing a string instead of hidint the different by using a
71514         macro for adding the 'l'.
71515         * stdio-common/tst-fphex-wide.c: Adjust.
71517 2012-03-07  Marek Polacek  <polacek@redhat.com>
71519         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
71521 2012-03-08  Marek Polacek  <polacek@redhat.com>
71523         [BZ #13806]
71524         * stdio-common/Makefile (tests): Add tst-fphex-wide.
71525         * stdio-common/tst-fphex.c: Define a few macros to make the
71526         test reusable.  Use them.
71527         * stdio-common/tst-fphex-wide.c: New file.
71529 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
71531         [BZ #6911]
71532         * manual/macros.texi (gnusystems): New macro.
71533         (nongnusystems): Likewise.
71534         (gnulinuxhurdsystems): Likewise.
71535         (gnuhurdsystems): Likewise..
71536         (gnulinuxsystems): Likewise.
71537         * manual/charset.texi: Use new macros or @theglibc{} to refer to
71538         variants of the GNU system, not "GNU system".
71539         * manual/conf.texi: Likewise.
71540         * manual/errno.texi: Likewise.  Update example of errno macro
71541         expansion.
71542         * manual/filesys.texi: Likewise.
71543         (getumask): Document as specific to GNU/Hurd.
71544         * manual/install.texi: Likewise.  Reword some references to
71545         GNU/Linux.
71546         * manual/intro.texi: Likewise.
71547         * manual/io.texi: Likewise.
71548         (File Name Portability): Detail which constraints are inapplicable
71549         to all GNU systems and which are only inapplicable to GNU/Hurd.
71550         * manual/job.texi: Likewise.
71551         * manual/llio.texi: Likewise.
71552         (O_NOCTTY): Document as present on GNU/Linux.
71553         * manual/maint.texi: Likewise.
71554         * manual/memory.texi: Likewise.
71555         * manual/pattern.texi: Likewise.
71556         * manual/pipe.texi: Likewise.
71557         * manual/process.texi: Likewise.
71558         * manual/resource.texi: Likewise.
71559         (RUSAGE_CHILDREN): Remove statement about specifying a particular
71560         child on GNU/Hurd.
71561         * manual/setjmp.texi: Likewise.
71562         * manual/signal.texi: Likewise.
71563         * manual/startup.texi: Likewise.
71564         * manual/stdio.texi: Likewise.
71565         * manual/terminal.texi: Likewise.
71566         (ONLCR): Document as POSIX.
71567         (OXTABS): Document availability on GNU/Linux as XTABS.
71568         (ONOEOT): Document availability separately from other bits.
71569         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
71570         * manual/time.texi: Likewise.
71571         * manual/users.texi: Likewise.
71572         * INSTALL: Regenerated.
71573         * sysdeps/gnu/errlist.c: Regenerated.
71575         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
71576         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
71577         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
71578         puts.
71579         * configure: Regenerated.
71581 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
71583         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
71584         default includes instead of AC_HEADER_CHECK.
71585         * sysdeps/i386/configure: Regenerated.
71587         [BZ #10716]
71588         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
71589         * math/s_cacoshf.c (__cacoshf): Likewise.
71590         * math/s_cacoshl.c (__cacoshl): Likewise.
71591         * math/s_casinh.c (__casinh): Set signs of result from argument.
71592         * math/s_casinhf.c (__casinhf): Likewise.
71593         * math/s_casinhl.c (__casinhl): Likewise.
71594         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
71595         (casinh_test): Add more tests.
71596         * sysdeps/i386/fpu/libm-test-ulps: Update.
71597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71599 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
71601         * po/zh_TW.po: Update from translation team.
71603         * login/Makefile (distribute): Remove variable.
71604         * catgets/Makefile: Likewise.
71605         * mach/Makefile: Likewise.
71606         * malloc/Makefile: Likewise.
71607         * misc/Makefile: Likewise.
71608         * iconv/Makefile: Likewise.
71609         * nscd/Makefile: Likewise.
71610         * hurd/Makefile: Likewise.
71611         * manual/Makefile: Likewise.
71612         * locale/Makefile: Likewise.
71613         * intl/Makefile: Likewise.
71614         * conform/Makefile: Likewise.
71615         * nss/Makefile: Likewise.
71616         * time/Makefile: Likewise.
71617         * soft-fp/Makefile: Likewise.
71618         * dirent/Makefile: Likewise.
71619         * gmon/Makefile: Likewise.
71620         * po/Makefile: Likewise.
71621         * rt/Makefile: Likewise.
71622         * socket/Makefile: Likewise.
71623         * math/Makefile: Likewise.
71624         * signal/Makefile: Likewise.
71625         * debug/Makefile: Likewise.
71626         * elf/Makefile: Likewise.
71627         * timezone/Makefile: Likewise.
71628         * stdlib/Makefile: Likewise.
71629         * iconvdata/Makefile: Likewise.
71630         * sunrpc/Makefile: Likewise.
71631         * io/Makefile: Likewise.
71632         * argp/Makefile: Likewise.
71633         * inet/Makefile: Likewise.
71634         * hesiod/Makefile: Likewise.
71635         * grp/Makefile: Likewise.
71636         * csu/Makefile: Likewise.
71637         * wctype/Makefile: Likewise.
71638         * crypt/Makefile: Likewise.
71639         * libio/Makefile: Likewise.
71640         * string/Makefile: Likewise.
71641         * nis/Makefile: Likewise.
71642         * resolv/Makefile: Likewise.
71643         * stdio-common/Makefile: Likewise.
71644         * wcsmbs/Makefile: Likewise.
71645         * dlfcn/Makefile: Likewise.
71646         * posix/Makefile: Likewise.
71648         [BZ #6959]
71649         * timezone/Makefile: Don't install timezone files, just the programs
71650         and scripts.
71652 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
71654         * nss/databases.def: Add missing gshadow entry.
71656         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
71658 2012-03-06  Marek Polacek  <polacek@redhat.com>
71660         [BZ #13726]
71661         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
71662         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
71663         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
71664         * stdio-common/tst-long-dbl-fphex.c: New file.
71666 2012-03-06  David S. Miller  <davem@davemloft.net>
71668         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71669         (set_obp_int): New function.
71670         (get_obp_int): New function.
71671         (__get_clockfreq_via_dev_openprom): Likewise.
71672         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
71673         Avoid unused variable warnings on 'val' and use builtin_expect.
71674         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
71675         __builtin_expect.
71676         (INLINE_CLONE_SYSCALL): Likewise.
71678 2012-03-05  David S. Miller  <davem@davemloft.net>
71680         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71682 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
71684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71686         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
71687         only for |x| >= 40.
71688         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71690 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
71692         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
71693         Replace gettimeofday with __vdso_gettimeofday.
71695         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71696         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
71697         __vdso_clock_gettime and __vdso_getcpu.
71699         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
71700         time with __vdso_time.
71702 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71704         * manual/lang.texi (size_t): Note types to which size_t may be
71705         equivalent with the GNU C Library, but do not describe when
71706         differences between them are significant.
71708 2012-03-05  Andreas Jaeger  <aj@suse.de>
71710         * sysdeps/i386/fpu/libm-test-ulps: Update.
71712 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71714         [BZ #3976]
71715         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
71716         (__ieee754_pow): Save and restore rounding mode and use
71717         round-to-nearest for main computations.
71718         * math/libm-test.inc (pow_test_tonearest): New function.
71719         (pow_test_towardzero): Likewise.
71720         (pow_test_downward): Likewise.
71721         (pow_test_upward): Likewise.
71722         (main): Call the new functions.
71723         * sysdeps/i386/fpu/libm-test-ulps: Update.
71724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71726         [BZ #3976]
71727         * math/libm-test.inc (cosh_test_tonearest): New function.
71728         (cosh_test_towardzero): Likewise.
71729         (cosh_test_downward): Likewise.
71730         (cosh_test_upward): Likewise.
71731         (sinh_test_tonearest): Likewise.
71732         (sinh_test_towardzero): Likewise.
71733         (sinh_test_downward): Likewise.
71734         (sinh_test_upward): Likewise.
71735         (main): Call the new functions.
71736         * sysdeps/i386/fpu/libm-test-ulps: Update.
71737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71739 2012-03-05  Tom de Vries  <tom@codesourcery.com>
71741         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
71742         default stack guard is set in last bytes.
71743         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
71745 2012-03-05  Kees Cook  <keescook@chromium.org>
71747         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
71749         [BZ #13656]
71750         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
71751         possibly allocate from heap instead of stack.
71752         * stdio-common/bug-vfprintf-nargs.c: New file.
71753         * stdio-common/Makefile (tests): Add nargs overflow test.
71755 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
71757         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71759 2012-03-03  Marek Polacek  <polacek@redhat.com>
71761         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
71762         * math/math_private.h: Likewise.
71763         * stdlib/tst-strtod.c: Likewise.
71764         * sysdeps/i386/i486/bits/atomic.h: Likewise.
71765         * sysdeps/x86_64/bits/atomic.h: Likewise.
71767 2012-03-02  David S. Miller  <davem@davemloft.net>
71769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
71770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
71771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
71772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
71773         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
71774         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
71775         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
71776         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
71778 2012-03-02  Roland McGrath  <roland@hack.frob.com>
71780         [BZ #13792]
71781         * manual/examples/README: New file, says the example source files
71782         can be used under GPL>=2.
71783         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
71784         line containing just "*/".
71785         * manual/examples/add.c: Add copyright header (GPL>=2).
71786         * manual/examples/argp-ex1.c: Likewise.
71787         * manual/examples/argp-ex2.c: Likewise.
71788         * manual/examples/argp-ex3.c: Likewise.
71789         * manual/examples/argp-ex4.c: Likewise.
71790         * manual/examples/atexit.c: Likewise.
71791         * manual/examples/db.c: Likewise.
71792         * manual/examples/dir.c: Likewise.
71793         * manual/examples/dir2.c: Likewise.
71794         * manual/examples/execinfo.c: Likewise.
71795         * manual/examples/filecli.c: Likewise.
71796         * manual/examples/filesrv.c: Likewise.
71797         * manual/examples/fmtmsgexpl.c: Likewise.
71798         * manual/examples/genpass.c: Likewise.
71799         * manual/examples/inetcli.c: Likewise.
71800         * manual/examples/inetsrv.c: Likewise.
71801         * manual/examples/isockad.c: Likewise.
71802         * manual/examples/longopt.c: Likewise.
71803         * manual/examples/memopen.c: Likewise.
71804         * manual/examples/memstrm.c: Likewise.
71805         * manual/examples/mkfsock.c: Likewise.
71806         * manual/examples/mkisock.c: Likewise.
71807         * manual/examples/mygetpass.c: Likewise.
71808         * manual/examples/pipe.c: Likewise.
71809         * manual/examples/popen.c: Likewise.
71810         * manual/examples/rprintf.c: Likewise.
71811         * manual/examples/search.c: Likewise.
71812         * manual/examples/select.c: Likewise.
71813         * manual/examples/setjmp.c: Likewise.
71814         * manual/examples/sigh1.c: Likewise.
71815         * manual/examples/sigusr.c: Likewise.
71816         * manual/examples/stpcpy.c: Likewise.
71817         * manual/examples/strdupa.c: Likewise.
71818         * manual/examples/strftim.c: Likewise.
71819         * manual/examples/strncat.c: Likewise.
71820         * manual/examples/subopt.c: Likewise.
71821         * manual/examples/swapcontext.c: Likewise.
71822         * manual/examples/termios.c: Likewise.
71823         * manual/examples/testopt.c: Likewise.
71824         * manual/examples/testpass.c: Likewise.
71825         * manual/examples/timeval_subtract.c: Likewise.
71827         [BZ #13792]
71828         * manual/time.texi (Elapsed Time): Move timeval_subtract example
71829         function to ...
71830         * manual/timeval_subtract.c.texi: ... here, new file.
71832 2012-03-02  David S. Miller  <davem@davemloft.net>
71834         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
71836 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
71838         [BZ #3976]
71839         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
71840         (__sin): Save and restore rounding mode and use round-to-nearest
71841         for all computations.
71842         (__cos): Save and restore rounding mode and use round-to-nearest
71843         for all computations.
71844         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
71845         <fenv.h>.
71846         (tan): Save and restore rounding mode and use round-to-nearest for
71847         all computations.
71848         * math/libm-test.inc (cos_test_tonearest): New function.
71849         (cos_test_towardzero): Likewise.
71850         (cos_test_downward): Likewise.
71851         (cos_test_upward): Likewise.
71852         (sin_test_tonearest): Likewise.
71853         (sin_test_towardzero): Likewise.
71854         (sin_test_downward): Likewise.
71855         (sin_test_upward): Likewise.
71856         (tan_test_tonearest): Likewise.
71857         (tan_test_towardzero): Likewise.
71858         (tan_test_downward): Likewise.
71859         (tan_test_upward): Likewise.
71860         (main): Call the new functions.
71861         * sysdeps/i386/fpu/libm-test-ulps: Update.
71862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71864         [BZ #10135]
71865         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
71866         small n, then large n, before computing and testing k+n.
71867         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
71868         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
71869         Likewise.
71870         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
71871         Likewise.
71872         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
71873         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
71874         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
71875         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
71876         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
71877         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
71878         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
71879         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
71880         * math/libm-test.inc (scalbn_test): Add more tests.
71881         (scalbln_test): Likewise.
71883         * manual/filesys.texi (mode_t): Describe constraints on size and
71884         signedness, not exact equivalence to a particular type.
71885         (ino_t): Likewise.
71886         (ino64_t): Likewise.
71887         (dev_t): Likewise.
71888         (nlink_t): Likewise.
71889         (blkcnt_t): Likewise.
71890         (blkcnt64_t): Likewise.
71891         * manual/llio.texi (off_t): Likewise.
71893         [BZ #3976]
71894         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
71895         (__ieee754_exp): Save and restore rounding mode and use
71896         round-to-nearest for all computations.
71897         * math/libm-test.inc (exp_test_tonearest): New function.
71898         (exp_test_towardzero): Likewise.
71899         (exp_test_downward): Likewise.
71900         (exp_test_upward): Likewise.
71901         (main): Call the new functions.
71902         * sysdeps/i386/fpu/libm-test-ulps: Update.
71903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71905 2012-03-01  Chris Demetriou  <cgd@google.com>
71907         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
71908         have predictable order.
71910 2012-03-01  David S. Miller  <davem@davemloft.net>
71912         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
71914         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
71915         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
71916         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
71917         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
71919         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
71920         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
71921         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
71922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
71923         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
71924         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
71925         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
71926         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
71927         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
71929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71931         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
71932         * sysdeps/sparc/fpu/libm-test-ulps: to here.
71933         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
71935         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
71936         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71937         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71938         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
71939         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
71940         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
71941         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
71942         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71943         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71944         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
71945         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
71946         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71947         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71948         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71949         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71950         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71951         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
71952         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
71953         * sysdeps/sparc/elf/configure: Regenerated.
71955 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
71957         * configure.in (AS, LD): Require binutils 2.20 or later.
71958         * configure: Regenerated.
71959         * manual/install.texi (Tools for Compilation): Give binutils 2.20
71960         as required minimum version.
71961         * INSTALL: Regenerated.
71963         [BZ #2541]
71964         [BZ #4108]
71965         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
71966         before squaring exponent.
71967         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
71968         bottom long double and 27 bits of top long double before squaring
71969         exponent.
71970         * math/libm-test.inc (erfc_test): Add more tests.
71971         * sysdeps/i386/fpu/libm-test-ulps: Update.
71972         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71975 2012-03-01  Kai Tietz  <ktietz@redhat.com>
71977         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
71978         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
71979         containing bit-fields.
71980         * soft-fp/extended.h (_FP_UNION_E): Likewise.
71981         * soft-fp/single.h (_FP_UNION_S): Likewise.
71982         * soft-fp/double.h (_FP_UNION_D): Likewise.
71984 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71986         [BZ #13786]
71987         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
71988         not include ../strcmp.S.
71989         [USE_AS_STRNCASECMP_L]: Likewise.
71990         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
71991         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
71992         * sysdeps/i386/i686/multiarch/strncase_l-c.c
71993         (__strncasecmp_l_ia32): Define as alias to
71994         __strncasecmp_l_nonascii.
71996         [BZ #5794]
71997         * math/libm-test.inc (expm1_test): Add test for bug 5794.
71998         * sysdeps/i386/fpu/libm-test-ulps: Update.
71999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72001         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
72002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72004 2012-02-29  Jeff Law  <law@redhat.com>
72006         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
72007         out of bounds read.
72009 2012-02-29  Marek Polacek  <polacek@redhat.com>
72011         [BZ #13706]
72012         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
72013         * elf/Makefile: Add rules to run tst-unused-dep.out.
72015 2012-02-28  David S. Miller  <davem@davemloft.net>
72017         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
72018         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
72019         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
72020         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
72021         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
72022         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
72024 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72026         * math/libm-test.inc (llround_test): Move one test from
72027         lround_test.  Use TEST_f_L in moved test.
72028         (lround_test): Move misplaced test to llround_test.  Add testcase
72029         from bug 2561.
72031 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
72033         * sysdeps/x86_64/fpu/e_expf.S: New file.
72034         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
72036 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
72038         [BZ #13637]
72039         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
72040         of remain_len that may cause incomplete multi-byte character and
72041         false match.
72042         * posix/bug-regex33.c: New file.
72043         * posix/Makefile (tests): Add bug-regex33.
72045 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
72047         * manual/macros.texi: New file.
72048         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
72049         * manual/libc.texinfo: Include macros.texi.
72050         * manual/creatute.texi: Likewise.
72051         * manual/install.texi: Likewise.
72052         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
72053         @glibcadj{} in references to the GNU C Library.
72054         * manual/charset.texi: Likewise.
72055         * manual/conf.texi: Likewise.
72056         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
72057         when not using those macros.
72058         * manual/creature.texi: Likewise.
72059         * manual/crypt.texi: Likewise.
72060         * manual/errno.texi: Likewise.
72061         * manual/filesys.texi: Likewise.
72062         * manual/header.texi: Likewise.
72063         * manual/install.texi: Likewise.
72064         * manual/intro.texi: Likewise.
72065         * manual/io.texi: Likewise.
72066         * manual/job.texi: Likewise.
72067         * manual/lang.texi: Likewise.
72068         * manual/libc.texiinfo: Likewise.
72069         * manual/llio.texi: Likewise.
72070         * manual/locale.texi: Likewise.
72071         * manual/maint.texi: Likewise.
72072         * manual/math.texi: Likewise.
72073         * manual/memory.texi: Likewise.
72074         * manual/message.texi: Likewise.
72075         * manual/nss.texi: Likewise.
72076         * manual/pattern.texi: Likewise.
72077         * manual/process.texi: Likewise.
72078         * manual/resource.texi: Likewise.
72079         * manual/search.texi: Likewise.
72080         * manual/setjmp.texi: Likewise.
72081         * manual/signal.texi: Likewise.
72082         * manual/socket.texi: Likewise.
72083         * manual/startup.texi: Likewise.
72084         * manual/stdio.texi: Likewise.
72085         * manual/string.texi: Likewise.
72086         * manual/sysinfo.texi: Likewise.
72087         * manual/syslog.texi: Likewise.
72088         * manual/terminal.texi: Likewise.
72089         * manual/time.texi: Likewise.
72090         * manual/users.texi: Likewise.
72091         * INSTALL: Regenerated.
72092         * NOTES: Regenerated.
72093         * sysdeps/gnu/errlist.c: Regenerated.
72095 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
72097         * include/dirent.h: Include <dirstream.h> before
72098         <dirent/dirent.h>.
72100 2012-02-28  David S. Miller  <davem@davemloft.net>
72102         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
72103         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
72104         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
72105         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
72107 2012-02-27  David S. Miller  <davem@davemloft.net>
72109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
72110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
72111         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
72112         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
72114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
72115         frame pointer instead of stack pointer relative arg slot.
72116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72117         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72118         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72120 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
72122         [BZ #3992]
72123         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
72125 2012-02-27  David S. Miller  <davem@davemloft.net>
72127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
72128         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
72130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
72131         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72132         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72133         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
72134         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
72136 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72138         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
72139         later.  Allow versions 5-9.
72140         * configure: Regenerated.
72141         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
72142         required minimum version and 4.6 as recommended version.  Do not
72143         mention bugs in GCC 2.7 and 2.8.
72144         * INSTALL: Regenerated.
72146 2012-02-27  David S. Miller  <davem@davemloft.net>
72148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
72149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
72150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
72151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
72152         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
72153         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
72154         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
72155         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
72157         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
72158         manipulate bits before adding and subtracting TWO112[sx].
72159         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
72161 2012-02-27  Roland McGrath  <roland@hack.frob.com>
72163         [BZ #13775]
72164         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
72165         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
72166         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
72167         being in POSIX, because they are in 1003.1-2008.
72169         * rt/tst-aio.c: Include <fcntl.h>.
72170         * rt/tst-aio7.c: Likewise.
72171         * rt/tst-aio64.c: Likewise.
72173         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
72175 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72177         * manual/install.texi (--with-headers): Describe headers as
72178         interface headers, not private headers.
72179         (Specific advice for GNU/Linux systems): Describe use of headers
72180         from "make headers_install", not private headers from older
72181         kernels.
72182         * INSTALL: Regenerated.
72183         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
72184         Change to 2.6.19.
72185         * sysdeps/unix/sysv/linux/configure: Regenerated.
72187         * manual/llio.texi (fclean): Remove documentation.
72189         * manual/Makefile (libc-texi-generated): New variable.  Include
72190         version.texi.
72191         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
72192         $(libc-texi-generated), not duplicated list of files.
72193         (version.texi, stamp-version): New rules.
72194         (realclean): Remove $(libc-texi-generated), not individual files
72195         from that list.  Do not remove dir-add.texinfo.
72196         * manual/libc.texinfo: Comment out uses of edition numbers and
72197         references to printed manual.  Remove last-updated dates.
72198         (EDITION): Comment out.
72199         (ISBN): Likewise.
72200         (VERSION, UPDATED): Remove.
72201         (version.texi): Include.
72203 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
72205         * sysdeps/posix/spawni.c: Include <signal.h>.
72206         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
72207         * sysdeps/pthread/aio_fsync.c: Likewise.
72209 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
72211         * conform/Makefile (tests): Run only when not cross-compiling and
72212         when fast-check is not defined.
72214         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
72215         * conform/data/limits.h-data: Fixes for POSIX2008.
72216         * conform/run-conformtest.sh: Run all tests.
72217         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
72218         headers.
72219         * include/bits/dlfcn.h: Likewise.
72220         * include/langinfo.h: Likewise.
72221         * include/monetary.h: Likewise.
72222         * include/sys/poll.h: Likewise.
72224         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
72225         for __USE_GNU.
72226         * posix/spawn.h: Define __need_sigset_t.
72227         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
72228         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
72229         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
72230         to get sigevent_t only.
72231         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
72232         only for __USE_GNU.
72233         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72234         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72235         process_vm_writev only for __USE_GNU.
72236         * termios/termios.h: Declare tcgetsid also for POSIX2008.
72238         * conform/Makefile: For now ignore errors from run-conformtest.
72239         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
72240         POSIX to avoid namespace pollution.  Don't prepend headers.
72241         * conform/data/aio.h-data: Fixes for POSIX testing.
72242         * conform/data/fcntl.h-data: Likewise.
72243         * conform/data/glob.h-data: Likewise.
72244         * conform/data/grp.h-data: Likewise.
72245         * conform/data/pthread.h-data: Likewise.
72246         * conform/data/pwd.h-data: Likewise.
72247         * conform/data/signal.h-data: Likewise.
72248         * conform/data/spawn.h-data: Likewise.
72249         * conform/data/stdio.h-data: Likewise.
72250         * conform/data/stdlib.h-data: Likewise.
72251         * conform/data/stropts.h-data: Likewise.
72252         * conform/data/sys/mman.h-data: Likewise.
72253         * conform/data/sys/stat.h-data: Likewise.
72254         * conform/data/sys/types.h-data: Likewise.
72255         * conform/data/sys/wait.h-data: Likewise.
72256         * conform/data/time.h-data: Likewise.
72257         * conform/data/unistd.h-data: Likewise.
72258         * conform/data/utime.h-data: Likewise.
72260         * io/sys/stat.h: fchmod was always in POSIX.
72261         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
72262         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
72263         * rt/aio.h: Define __need_timespec before including <time.h>.
72264         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
72265         struct.  Add forward declaration of pthread_attr_t and use it in
72266         sigevent.
72267         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72268         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72269         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
72270         always remove CLK_TCK definition.
72272 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
72274         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
72276 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
72278         * conform/run-conformtest.sh: New file.
72279         * conform/Makefile: Run run-conformtest for tests.
72280         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
72281         support.
72283         * conform/data/uchar.h-data: New file.
72284         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
72285         * conform/data/arpa/inet.h-data: Likewise.
72286         * conform/data/assert.h-data: Likewise.
72287         * conform/data/complex.h-data: Likewise.
72288         * conform/data/cpio.h-data: Likewise.
72289         * conform/data/ctype.h-data: Likewise.
72290         * conform/data/dirent.h-data: Likewise.
72291         * conform/data/dlfcn.h-data: Likewise.
72292         * conform/data/errno.h-data: Likewise.
72293         * conform/data/fcntl.h-data: Likewise.
72294         * conform/data/float.h-data: Likewise.
72295         * conform/data/fmtmsg.h-data: Likewise.
72296         * conform/data/fnmatch.h-data: Likewise.
72297         * conform/data/ftw.h-data: Likewise.
72298         * conform/data/glob.h-data: Likewise.
72299         * conform/data/grp.h-data: Likewise.
72300         * conform/data/iconv.h-data: Likewise.
72301         * conform/data/inttypes.h-data: Likewise.
72302         * conform/data/langinfo.h-data: Likewise.
72303         * conform/data/libgen.h-data: Likewise.
72304         * conform/data/limits.h-data: Likewise.
72305         * conform/data/locale.h-data: Likewise.
72306         * conform/data/math.h-data: Likewise.
72307         * conform/data/monetary.h-data: Likewise.
72308         * conform/data/mqueue.h-data: Likewise.
72309         * conform/data/ndbm.h-data: Likewise.
72310         * conform/data/net/if.h-data: Likewise.
72311         * conform/data/netdb.h-data: Likewise.
72312         * conform/data/netinet/in.h-data: Likewise.
72313         * conform/data/nl_types.h-data: Likewise.
72314         * conform/data/poll.h-data: Likewise.
72315         * conform/data/pthread.h-data: Likewise.
72316         * conform/data/pwd.h-data: Likewise.
72317         * conform/data/regex.h-data: Likewise.
72318         * conform/data/sched.h-data: Likewise.
72319         * conform/data/search.h-data: Likewise.
72320         * conform/data/semaphore.h-data: Likewise.
72321         * conform/data/setjmp.h-data: Likewise.
72322         * conform/data/signal.h-data: Likewise.
72323         * conform/data/spawn.h-data: Likewise.
72324         * conform/data/stdarg.h-data: Likewise.
72325         * conform/data/stdio.h-data: Likewise.
72326         * conform/data/stdlib.h-data: Likewise.
72327         * conform/data/string.h-data: Likewise.
72328         * conform/data/strings.h-data: Likewise.
72329         * conform/data/stropts.h-data: Likewise.
72330         * conform/data/sys/ipc.h-data: Likewise.
72331         * conform/data/sys/mman.h-data: Likewise.
72332         * conform/data/sys/msg.h-data: Likewise.
72333         * conform/data/sys/resource.h-data: Likewise.
72334         * conform/data/sys/select.h-data: Likewise.
72335         * conform/data/sys/sem.h-data: Likewise.
72336         * conform/data/sys/shm.h-data: Likewise.
72337         * conform/data/sys/socket.h-data: Likewise.
72338         * conform/data/sys/stat.h-data: Likewise.
72339         * conform/data/sys/statvfs.h-data: Likewise.
72340         * conform/data/sys/time.h-data: Likewise.
72341         * conform/data/sys/timeb.h-data: Likewise.
72342         * conform/data/sys/times.h-data: Likewise.
72343         * conform/data/sys/types.h-data: Likewise.
72344         * conform/data/sys/uio.h-data: Likewise.
72345         * conform/data/sys/un.h-data: Likewise.
72346         * conform/data/sys/utsname.h-data: Likewise.
72347         * conform/data/sys/wait.h-data: Likewise.
72348         * conform/data/syslog.h-data: Likewise.
72349         * conform/data/tar.h-data: Likewise.
72350         * conform/data/termios.h-data: Likewise.
72351         * conform/data/utime.h-data: Likewise.
72352         * conform/data/utmpx.h-data: Likewise.
72353         * conform/data/varargs.h-data: Likewise.
72354         * conform/data/wchar.h-data: Likewise.
72355         * conform/data/wctype.h-data: Likewise.
72356         * conform/data/wordexp.h-data: Likewise.
72358         * include/stropts.h: New file.
72359         * include/uchar.h: New file.
72360         * include/aio.h: Changes to allow conformtest.pl to use the headers.
72361         * include/assert.h: Likewise.
72362         * include/ctype.h: Likewise.
72363         * include/dirent.h: Likewise.
72364         * include/dlfcn.h: Likewise.
72365         * include/fcntl.h: Likewise.
72366         * include/fnmatch.h: Likewise.
72367         * include/glob.h: Likewise.
72368         * include/grp.h: Likewise.
72369         * include/libio.h: Likewise.
72370         * include/locale.h: Likewise.
72371         * include/math.h: Likewise.
72372         * include/net/if.h: Likewise.
72373         * include/netdb.h: Likewise.
72374         * include/netinet/in.h: Likewise.
72375         * include/pthread.h: Likewise.
72376         * include/pwd.h: Likewise.
72377         * include/regex.h: Likewise.
72378         * include/sched.h: Likewise.
72379         * include/search.h: Likewise.
72380         * include/setjmp.h: Likewise.
72381         * include/signal.h: Likewise.
72382         * include/stdio.h: Likewise.
72383         * include/stdlib.h: Likewise.
72384         * include/string.h: Likewise.
72385         * include/sys/cdefs.h: Likewise.
72386         * include/sys/mman.h: Likewise.
72387         * include/sys/msg.h: Likewise.
72388         * include/sys/resource.h: Likewise.
72389         * include/sys/select.h: Likewise.
72390         * include/sys/socket.h: Likewise.
72391         * include/sys/stat.h: Likewise.
72392         * include/sys/statvfs.h: Likewise.
72393         * include/sys/time.h: Likewise.
72394         * include/sys/times.h: Likewise.
72395         * include/sys/uio.h: Likewise.
72396         * include/sys/utsname.h: Likewise.
72397         * include/sys/wait.h: Likewise.
72398         * include/termios.h: Likewise.
72399         * include/time.h: Likewise.
72400         * include/ulimit.h: Likewise.
72401         * include/unistd.h: Likewise.
72402         * include/utime.h: Likewise.
72403         * include/wchar.h: Likewise.
72404         * include/wctype.h: Likewise.
72405         * include/wordexp.h: Likewise.
72407         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
72409         * time/time.h: TIME_UTC must be a macro.
72410         Make timespec_get available for ISO C11 only as well.
72412 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
72414         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
72415         Reported by Peng Haitao <penght@cn.fujitsu.com>.
72417 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72419         * configure.in: Use -o not -a in test for unsupported multi-arch.
72421 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72423         * manual/texinfo.tex: Update to version 2012-01-19.16.
72425 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72427         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
72429 2012-02-24  Roland McGrath  <roland@hack.frob.com>
72431         [BZ #13738]
72432         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
72433         * manual/fdl-1.3.texi: New file.
72434         * manual/fdl-1.1.texi: File removed.
72436         [BZ #13738]
72437         * manual/libc.texinfo (FDL_VERSION): New @set.
72438         Use it for mention of FDL in cover text.
72439         (Documentation License): Use it in @include file name.
72441 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72442             Roland McGrath  <roland@hack.frob.com>
72444         [BZ #5461]
72445         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
72446         (not LONG_LONG_MAX and LONG_LONG_MIN.
72447         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
72448         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
72449         name.
72450         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
72452 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72454         [BZ #2547]
72455         [BZ #11365]
72456         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
72457         manipulate bits before adding and subtracting TWO23[sx].
72458         * math/libm-test.inc (nearbyint_test): Add more tests.
72460 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72462         [BZ #2548]
72463         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
72464         bits before adding and subtracting TWO23[sx].
72465         * math/libm-test.inc (rint_test): Add more tests.
72466         (rint_test_tonearest): Likewise.
72467         (rint_test_towardzero): Likewise.
72468         (rint_test_downward): Likewise.
72469         (rint_test_upward: Likewise.
72471 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72473         [BZ #10110]
72474         * include/stdc-predef.h: New file.  Extracted from features.h.
72475         * include/features.h: Include stdc-predef.h.
72476         * Makefile (headers): Add stdc-predef.h.
72477         * CONFORMANCE (Compiler limitations): Update.
72479 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72481         * manual/libc.texinfo (VERSION, UPDATED): Revert.
72483 2012-02-21  David S. Miller  <davem@davemloft.net>
72485         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
72486         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72488 2012-02-20  David S. Miller  <davem@davemloft.net>
72490         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
72491         using a normal save/restore sequence, rather than allocating a
72492         dummy stack frame just to store a frame pointer and restore.
72493         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72495 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72497         * manual/install.texi: Fix stray word in line-wrapped comment.
72499 2012-02-20  David S. Miller  <davem@davemloft.net>
72501         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
72502         both binutils and gcc support GOTDATA.
72504         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
72505         "rd %pc" in the PIC register setup sequences.
72507         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
72508         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
72509         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72510         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
72511         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72512         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72513         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72514         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72515         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
72516         (SYSCALL_ERROR_HANDLER): Likewise.
72517         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72518         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72519         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
72520         (SYSCALL_ERROR_HANDLER): Likewise.
72522         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
72523         (HAVE_GCC_GOTDATA): New.
72524         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
72525         relocation support in both binutils and gcc.
72526         * sysdeps/sparc/elf/configure: Regenerate.
72528         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
72529         * sysdeps/sparc/sparc32/elf/configure: Delete.
72530         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
72531         * sysdeps/sparc/sparc64/elf/configure: Delete.
72532         * sysdeps/sparc/elf/configure.in: New file.
72533         * sysdeps/sparc/elf/configure: Generate.
72535         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
72536         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
72537         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72538         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
72539         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
72541 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72543         * manual/install.texi: Do not mention specific glibc version
72544         numbers.
72545         * manual/libc.texinfo (VERSION, UPDATED): Update.
72546         (@copying): Use @copyright{} and range of years.
72548 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72550         [BZ #13695]
72551         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
72552         [crti.S not in sysdirs] (generated): Do not append.
72553         [crti.S not in sysdirs] (omit-deps): Likewise.
72554         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
72555         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
72556         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
72557         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
72558         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
72559         Likewise.
72560         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
72561         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
72562         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
72563         * csu/defs.awk: Remove file.
72564         * sysdeps/generic/initfini.c: Likewise.
72565         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
72566         variable.
72567         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
72568         Likewise.
72570 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72572         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
72573         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
72574         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
72575         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
72576         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72577         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
72578         <bits/epoll.h>.
72579         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
72580         (__EPOLL_PACKED): Define to empty if not defined by
72581         <bits/epoll.h>.
72582         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
72583         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72584         bits/epoll.h.
72586 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72588         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
72589         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
72590         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
72591         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
72592         <bits/timerfd.h>.
72593         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
72594         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72595         bits/timerfd.h.
72597 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72599         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
72600         in C locale.
72601         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72602         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
72603         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
72604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72606 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
72608         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72609         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72611 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
72613         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
72614         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
72615         defined.
72616         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
72617         Likewise.
72618         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
72619         entry for 2.16.
72621 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
72623         * math/w_acos.c: Use non-signaling floating-point comparisons.
72624         * math/w_acosf.c: Likewise.
72625         * math/w_acosh.c: Likewise.
72626         * math/w_acoshf.c: Likewise.
72627         * math/w_acoshl.c: Likewise.
72628         * math/w_acosl.c: Likewise.
72629         * math/w_asin.c: Likewise.
72630         * math/w_asinf.c: Likewise.
72631         * math/w_asinl.c: Likewise.
72632         * math/w_atanh.c: Likewise.
72633         * math/w_atanhf.c: Likewise.
72634         * math/w_atanhl.c: Likewise.
72635         * math/w_exp2.c: Likewise.
72636         * math/w_exp2f.c: Likewise.
72637         * math/w_exp2l.c: Likewise.
72638         * math/w_j0.c: Likewise.
72639         * math/w_j0f.c: Likewise.
72640         * math/w_j0l.c: Likewise.
72641         * math/w_j1.c: Likewise.
72642         * math/w_j1f.c: Likewise.
72643         * math/w_j1l.c: Likewise.
72644         * math/w_jn.c: Likewise.
72645         * math/w_jnf.c: Likewise.
72646         * math/w_log.c: Likewise.
72647         * math/w_log10.c: Likewise.
72648         * math/w_log10f.c: Likewise.
72649         * math/w_log10l.c: Likewise.
72650         * math/w_log2.c: Likewise.
72651         * math/w_log2f.c: Likewise.
72652         * math/w_log2l.c: Likewise.
72653         * math/w_logf.c: Likewise.
72654         * math/w_logl.c: Likewise.
72655         * math/w_sqrt.c: Likewise.
72656         * math/w_sqrtf.c: Likewise.
72657         * math/w_sqrtl.c: Likewise.
72658         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72659         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
72660         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72661         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72662         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72664 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72666         [BZ #9739]
72667         * manual/string.texi (strnlen): Use correct parameter name in
72668         equivalent expression.
72670 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72672         [BZ #11174]
72673         * manual/users.texi (seteuid): Consistently use neweuid for
72674         argument name.
72676 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72678         [BZ #13704]
72679         * manual/nss.texi (Services in the NSS configuration): Correct
72680         list of services in example configuration file.
72682 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
72684         [BZ #11322]
72685         * manual/arith.texi: Remove statements about negative zero
72686         behaving identically to zero.
72688 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72690         [BZ #5993]
72691         * manual/install.texi: Do not document upgrading from libc5.
72693 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72695         [BZ #4596]
72696         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
72698 2012-02-18  David S. Miller  <davem@davemloft.net>
72700         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
72701         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
72702         %o7 across the call.
72703         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
72704         instead.
72705         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
72706         SETUP_PIC_REG_LEAF.
72707         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72708         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
72709         * sysdeps/sparc/crtn.S: Likewise.
72711 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
72713         * aout/Makefile: Remove.
72715 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
72717         [BZ #13058]
72718         * manual/examples/argp-ex1.c (main): Format definition in GNU
72719         style.
72720         * manual/examples/argp-ex2.c (main): Likewise.
72721         * manual/examples/argp-ex3.c (main): Likewise.
72722         * manual/examples/argp-ex4.c (main): Likewise.
72723         * manual/examples/longopt.c (main): Use new-style prototype
72724         definition.
72725         * manual/examples/strncat.c (main): Specify return type and use
72726         (void) for arguments.
72727         * manual/examples/subopt.c (main): Use char **argv argument.
72729 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72731         [BZ #5077]
72732         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
72733         rounding modes.
72735 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
72737         [BZ #6907]
72738         * manual/string.texi (strchr): Change when strchrnul is
72739         recommended.
72741 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
72743         [BZ #174]
72744         * manual/locale.texi (setlocale): Document LOCPATH.
72746 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72748         [BZ #10210]
72749         * manual/process.texi (execle): Move @dots{} before last argument.
72751 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
72753         [BZ #12047]
72754         * manual/charset.texi (Generic Charset Conversion): Fix typo
72755         (LC_TYPE -> LC_CTYPE).
72757 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
72759         [BZ #5805]
72760         * manual/arith.texi (scalbn): Use @var{} on parameter names.
72761         (scalbnf): Likewise.
72762         (scalbnl): Likewise.
72763         (scalbln): Likewise.
72764         (scalblnf): Likewise.
72765         (scalblnl): Likewise.
72766         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
72767         (vwarnx): Likewise.
72768         (verr): Likewise.
72769         (verrx): Likewise.
72770         * manual/filesys.texi (telldir): Use braces around return type.
72771         * manual/llio.texi (mmap): Add space after comma.
72772         (mmap64): Likewise.
72773         * manual/math.texi (jn): Use @var{} on parameter names.
72774         (jnf): Likewise.
72775         (jnl): Likewise.
72776         (yn): Likewise.
72777         (ynf): Likewise.
72778         (ynl): Likewise.
72779         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
72780         line.
72781         * manual/resource.texi (ulimit): Use @dots{} instead of literal
72782         "...".
72783         (sched_get_priority_min): Remove semicolon on @deftypefun line.
72784         (sched_get_priority_max): Likewise.
72785         * manual/signal.texi (sigvec): Add space after comma.
72786         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
72787         names.
72788         (if_indextoname): Likewise.
72789         (if_freenameindex): Likewise.
72790         (sendto): Use ',' instead of '.' in prototype.
72791         * manual/startup.texi (syscall): Use @dots{} instead of literal
72792         "...".
72793         * manual/stdio.texi (__fpending): Separate initial words of
72794         paragraph from @deftypefun line.
72795         * manual/syslog.texi (syslog): Use @dots{} instead of literal
72796         "...".
72797         (vsyslog): Use @var{} on parameter names.
72798         * manual/terminal.texi (stty): Use @var{} on parameter names.
72799         * manual/users.texi (getutmp): Use @var{} on parameter names.
72800         (getutmpx): Likewise.
72802 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72804         [BZ #6884]
72805         * manual/stdio.texi (fopen): Fix typos in description of
72806         ",ccs=STRING".
72808 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
72810         [BZ #4026]
72811         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
72812         get clock_id definition.
72814 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
72816         [BZ #4822]
72817         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
72818         (madvise): Cast every argument to void on its own.
72820 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72822         [BZ #9902]
72823         * manual/startup.texi (Exit Status): Fix typo.
72825 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72827         [BZ #10140]
72828         * manual/examples/argp-ex1.c: Include <stdlib.h>.
72829         * manual/examples/argp-ex2.c: Likewise.
72830         * manual/examples/argp-ex3.c: Likewise.
72832 2012-02-16  Richard Henderson  <rth@redhat.com>
72834         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
72835         * sysdeps/s390/s390-32/initfini.c: Remove.
72836         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
72837         * sysdeps/s390/s390-64/initfini.c: Remove.
72839 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72841         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
72842         compiler output for sysdeps/generic/initfini.c.
72843         * sysdeps/sh/elf/initfini.c: Remove file.
72845 2012-02-16  David S. Miller  <davem@davemloft.net>
72847         [BZ #11494]
72848         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
72850         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
72851         * sysdeps/sparc/crti.S: New file.
72852         * sysdeps/sparc/crtn.S: New file.
72853         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
72854         * sysdeps/sparc/sparc64/Makefile: Likewise.
72856 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
72858         [BZ #3335]
72859         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
72861 2012-02-15  Roland McGrath  <roland@hack.frob.com>
72863         [BZ #4822]
72864         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
72866         * mach/devstream.c (cookie_io_functions_t): Macro removed.
72867         (write, read, close): Likewise.
72868         Patch by Aurelien Jarno <aurelien@aurel32.net>.
72870 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
72872         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
72873         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
72874         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
72875         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
72876         <bits/signalfd.h>.
72877         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
72878         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72879         bits/signalfd.h.
72881 2012-02-14  Marek Polacek  <polacek@redhat.com>
72883         * sysdeps/x86_64/crti.S: New file.
72884         * sysdeps/x86_64/crtn.S: New file.
72885         * sysdeps/x86_64/elf/initfini.c: Remove file.
72887 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72889         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
72890         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
72891         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
72892         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
72893         <bits/inotify.h>.
72894         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
72895         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72896         bits/inotify.h.
72898 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72900         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
72901         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
72902         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
72903         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
72904         <bits/eventfd.h>.
72905         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
72906         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72907         bits/eventfd.h.
72909 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
72911         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
72912         __feraiseexcept instead of feraiseexcept.
72914         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
72915         nanosleep invocations.
72916         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
72917         strings, and add error checking for a nanosleep invocations.
72919 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
72921         Replace FSF snail mail address with URLs, as per GNU coding standards.
72922         Most of the snail mail addresses were wrong anyway, and omitting
72923         them makes the source code easier to maintain.  Almost all of the
72924         changes are to license notices and to locale LC_IDENTIFICATION
72925         addresses, except for this one:
72926         * manual/libc.texinfo: In "Published by", give the FSF's URL,
72927         not its snail mail address.
72929 2012-02-09  Richard Henderson  <rth@twiddle.net>
72931         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
72932         of kernel-features.h.
72934         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
72936 2012-02-08  Marek Polacek  <polacek@redhat.com>
72938         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
72939         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
72940         * sysdeps/gnu/_G_config.h: Likewise.
72941         * sysdeps/generic/_G_config.h: Likewise.
72943 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
72945         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
72946         tests.
72947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72949         * sysdeps/powerpc/powerpc32/crti.S: New file.
72950         * sysdeps/powerpc/powerpc32/crtn.S: New file.
72951         * sysdeps/powerpc/powerpc64/crti.S: New file.
72952         * sysdeps/powerpc/powerpc64/crtn.S: New file.
72954         * Makeconfig (have-initfini): Don't set.
72955         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
72956         * configure.in (nopic_initfini): Don't substitute.
72957         * config.h.in (HAVE_INITFINI): Don't #undef.
72958         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
72959         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
72961 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
72963         Support crti.S and crtn.S provided directly by architectures.
72964         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
72965         [crti.S in sysdirs] (omit-deps): Likewise.
72966         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
72967         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
72968         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
72969         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
72970         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
72971         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
72972         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
72973         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
72974         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
72975         compiler output for sysdeps/generic/initfini.c.
72976         * sysdeps/i386/elf/Makefile: Remove file.
72977         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
72979 2012-02-07  Marek Polacek  <polacek@redhat.com>
72981         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
72982         * sysdeps/gnu/_G_config.h: Likewise.
72983         * sysdeps/mach/hurd/_G_config.h: Likewise.
72985 2012-02-07  Marek Polacek  <polacek@redhat.com>
72987         * math/Makefile (tests): Add tst-CMPLX2.
72988         * math/tst-CMPLX2.c: New file.
72990 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
72992         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72994         * math/libm-test.inc (jn_test): Add missing L suffix.
72996 2012-02-06  Marek Polacek  <polacek@redhat.com>
72998         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
72999         * sysdeps/i386/fpu/e_powf.S: Likewise.
73000         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73001         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
73002         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73003         * sysdeps/i386/fpu/e_pow.S: Likewise.
73004         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
73005         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73006         * sysdeps/i386/fpu/s_expm1.S: Likewise.
73007         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
73008         * sysdeps/i386/fpu/e_log2.S: Likewise.
73009         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73010         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73011         * sysdeps/i386/fpu/e_powl.S: Likewise.
73012         * sysdeps/i386/fpu/s_log1p.S: Likewise.
73013         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73014         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
73015         * sysdeps/i386/fpu/e_logl.S: Likewise.
73016         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
73017         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
73018         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
73019         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
73020         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73021         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73022         * sysdeps/i386/fpu/e_log.S: Likewise.
73023         * sysdeps/i386/fpu/s_cexp.S: Likewise.
73024         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73025         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
73026         * sysdeps/i386/fpu/e_logf.S: Likewise.
73027         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73028         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73029         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
73030         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
73031         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
73032         * sysdeps/i386/fpu/e_log10.S: Likewise.
73033         * sysdeps/i386/fpu/s_frexp.S: Likewise.
73034         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73035         * sysdeps/i386/fpu/s_asinh.S: Likewise.
73036         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
73037         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73038         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
73039         * sysdeps/i386/asm-syntax.h: Likewise.
73040         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73041         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73042         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73043         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
73044         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
73045         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73046         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73047         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73048         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73049         * sysdeps/powerpc/sysdep.h: Likewise.
73050         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
73051         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73053 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73055         [BZ #411]
73056         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
73058 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73060         * sysdeps/i386/sysdep.h: Include <features.h>.
73061         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
73062         version.
73064 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
73066         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
73067         Define.
73068         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
73069         LOAD_PIC_REG_STR.
73071 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73073         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
73074         (SETUP_PIC_REG): Use GET_PC_THUNK.
73075         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
73076         macro.
73078 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73080         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
73081         for non-PIC compilation.
73082         (SETUP_PIC_REG): Add .p2align directive.
73083         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
73084         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
73085         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
73086         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
73087         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
73088         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
73089         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
73090         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
73091         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
73092         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
73093         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
73094         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
73095         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
73096         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
73097         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
73098         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
73099         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
73100         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
73101         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
73102         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
73103         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
73104         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
73105         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
73106         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
73107         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
73108         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
73109         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73110         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
73111         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
73112         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
73113         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
73114         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73115         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
73116         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
73117         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
73118         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
73119         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
73120         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
73121         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
73122         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
73123         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
73125 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73127         * math/tst-CMPLX.c: Include <stdio.h>.
73129 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
73131         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
73132         float.
73133         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73134         * sysdeps/sparc/bits/mathdef.h: Likewise.
73136 2012-01-31  Marek Polacek  <polacek@redhat.com>
73138         * libio/libio.h: Don't define _PARAMS.
73139         * locale/programs/config.h: Don't define PARAMS.
73140         * stdlib/strtol_l.c: Likewise.
73141         (__strtol_l): Remove PARAMS from the prototype.
73143 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
73145         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
73146         names.  Just use the correct names.  Remove unnecessary wrapper
73147         functions.
73148         * malloc/arena.c: Likewise.
73149         * malloc/hooks.c: Likewise.
73151         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
73152         ARENA_TEST says not to.  Simplify test for creation of a new arena.
73153         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
73155 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
73157         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
73158         into tail calls.
73159         (update_get_addr): New function.
73160         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
73161         GET_ADDR_MODULE parameter.
73163 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73165         * crypt/cert.c: Remove __STDC__ conditionals.
73166         * crypt/crypt-entry.c: Likewise.
73167         * crypt/crypt_util.c: Likewise.
73168         * libio/filedoalloc.c: Likewise.
73169         * libio/fileops.c: Likewise.
73170         * libio/genops.c: Likewise.
73171         * libio/iofclose.c: Likewise.
73172         * libio/iofdopen.c: Likewise.
73173         * libio/iofopen.c: Likewise.
73174         * libio/iofopen64.c: Likewise.
73175         * libio/iogetdelim.c: Likewise.
73176         * libio/iopopen.c: Likewise.
73177         * libio/obprintf.c: Likewise.
73178         * libio/oldfileops.c: Likewise.
73179         * libio/oldiofclose.c: Likewise.
73180         * libio/oldiofdopen.c: Likewise.
73181         * libio/oldiofopen.c: Likewise.
73182         * libio/oldiopopen.c: Likewise.
73183         * libio/wfiledoalloc.c: Likewise.
73184         * libio/wgenops.c: Likewise.
73185         * locale/programs/xmalloc.c: Likewise.
73186         * misc/syslog.c: Likewise.
73187         * stdio-common/xbug.c: Likewise.
73188         * string/memchr.c: Likewise.
73189         * string/memcmp.c: Likewise.
73190         * string/memrchr.c: Likewise.
73191         * string/rawmemchr.c: Likewise.
73192         * sysdeps/posix/getcwd.c: Likewise.
73193         * time/strftime_l.c: Likewise.
73195 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73197         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
73198         * config.make.in (config-cflags-sse2avx): Define.
73199         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
73200         Fix typo.
73202 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
73204         * scripts/config.guess: Update from upstream config git repository.
73205         * scripts/config.sub: Likewise.
73207 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
73209         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
73210         (EM_NUM): Update.
73211         (R_TILEPRO_*, R_TILEGX_*): New macros.
73213         * scripts/firstversions.awk: Fix bug in version range handling.
73215         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
73217         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
73219         * include/sys/epoll.h: New file.
73220         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
73221         libc_hidden_def.
73223 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
73225         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
73226         Avoid unnecessary __WORDSIZE == 64 test.
73227         (fmaxf): Use VEX format if possible.
73228         (fmax): Likewise.
73229         (fminf): Likewise.
73230         (fmin): Likewise.
73232         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
73233         * math/math_private.h: Remove libc_fegetround* and
73234         libc_fesetround*.
73235         * sysdeps/i386/configure.in: Check for -msse2avx.
73236         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
73237         also if SSE2AVX is defined.
73238         Remove libc_fegetround* and libc_fesetround*.
73239         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
73240         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
73241         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
73242         of HAS_YMM_USABLE.
73243         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73244         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73245         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73246         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73247         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73249         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
73251 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73253         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
73254         size is not set.
73255         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73257 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
73259         [BZ #13618]
73260         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
73261         relocation.
73262         * Makeconfig (libm): Define.
73263         * elf/Makefile: Add rules to build and run tst-relsort1.
73264         * elf/tst-relsort1.c: New file.
73265         * elf/tst-relsort1mod1.c: New file.
73266         * elf/tst-relsort1mod2.c: New file.
73268 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
73270         * math/s_ldexp.c: Remove __STDC__ conditionals.
73271         * math/s_ldexpf.c: Likewise.
73272         * math/s_ldexpl.c: Likewise.
73273         * math/s_nextafter.c: Likewise.
73274         * math/s_nexttowardf.c: Likewise.
73275         * math/s_significand.c: Likewise.
73276         * math/s_significandf.c: Likewise.
73277         * math/s_significandl.c: Likewise.
73278         * math/w_jnl.c: Likewise.
73279         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73280         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73281         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73282         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73283         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73284         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73285         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
73286         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73287         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73288         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73289         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73290         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73291         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73292         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73293         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73294         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73295         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73296         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73297         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73298         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73299         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73300         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73301         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73302         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73303         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73304         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73305         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73306         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73307         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73308         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73309         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73310         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73311         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73312         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73313         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73314         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73315         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73316         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73317         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73318         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73319         * sysdeps/ieee754/k_standard.c: Likewise.
73320         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73321         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73322         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73323         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73324         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73325         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73326         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73327         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73328         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73329         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73330         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73331         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73332         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73333         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73334         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73335         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73336         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73337         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73338         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73339         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73340         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73341         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73342         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73343         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73344         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73345         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73346         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73347         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73348         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73349         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73350         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73351         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
73352         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73353         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73354         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73355         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73356         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
73357         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73358         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73359         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
73360         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
73361         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73362         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
73363         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
73364         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73365         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
73366         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
73367         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73368         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73369         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
73370         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
73371         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73372         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73373         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73374         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73375         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73376         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
73377         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73378         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73379         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73380         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73381         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73382         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73383         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73384         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73385         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73386         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73387         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73388         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73389         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73390         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73391         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73392         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73393         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73394         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73395         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73396         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73397         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73398         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73399         * sysdeps/ieee754/s_matherr.c: Likewise.
73400         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73401         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73402         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73403         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73405 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73407         * crypt/md5.h: Remove __STDC__ conditionals.
73408         * libio/libioP.h: Likewise.
73409         * locale/programs/config.h: Likewise.
73410         * sysdeps/generic/sysdep.h: Likewise.
73411         * sysdeps/i386/asm-syntax.h: Likewise.
73412         * sysdeps/s390/asm-syntax.h: Likewise.
73413         * sysdeps/unix/sysdep.h: Likewise.
73414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
73415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73417 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73419         * libio/libio.h: Remove __STDC__ conditionals.
73420         * malloc/obstack.h: Likewise.
73421         * math/complex.h: Likewise.
73422         * math/math.h: Likewise.
73423         * sysdeps/generic/_G_config.h: Likewise.
73424         * sysdeps/gnu/_G_config.h: Likewise.
73425         * sysdeps/mach/hurd/_G_config.h: Likewise.
73426         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73427         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73428         * sysdeps/sparc/bits/mathdef.h: Likewise.
73430 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
73432         [BZ #13583]
73433         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
73434         Clean up HAS_* macros.
73435         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
73436         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
73437         possible.
73438         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
73439         HAS_AVX.
73440         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73441         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73442         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73443         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73444         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73446 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
73448         * elf/tst-unique3.cc (gets): Remove declaration.
73449         * elf/tst-unique3lib.cc (gets): Likewise.
73450         * elf/tst-unique3lib2.cc (gets): Likewise.
73451         * elf/tst-unique4.cc (gets): Likewise.
73453 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
73455         * include/stdio.h: Add C++ protection.  Add gets declarations and
73456         definitions.
73457         * debug/tst-chk1.c: Don't declare gets here.
73458         * stdio-common/tst-gets.c: Likewise.
73460 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73462         * posix/glob: Remove directory.
73464 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73466         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
73468 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
73470         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
73471         of the non-standard EPFNOSUPPORT.
73473 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73475         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
73476         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
73477         ANYWHERE set to 1 only on KERN_NO_SPACE error.
73479 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
73481         * wcsmbs/uchar.h: Test __STDC_VERSION__.
73483 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
73485         * nscd/aicache.c (addhstaiX): Do not cache negative results of
73486         transient errors.
73487         * nscd/grpcache.c (cache_addgr): Likewise.
73488         * nscd/hstcache.c (cache_addhst): Likewise.
73489         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73490         * nscd/pwdcache.c (cache_addpw): Likewise.
73491         * nscd/servicescache.c (cache_addserv): Likewise.
73493 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
73495         * malloc/malloc.c: Various cleanups.
73496         * malloc/hooks.c: Likewise.
73498         * stdlib/Makefile (tests): Add bug-fmtmsg1.
73499         * stdlib/bug-fmtmsg1.c: New file.
73501         * stdlib/fmtmsg.c (init): Add missing unlock.
73502         Patch by Peng Haitao <penght@cn.fujitsu.com>.
73504 2012-01-12  Marek Polacek  <polacek@redhat.com>
73506         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
73507         and _GNU_SOURCE.
73509 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73511         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
73512         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
73513         macro to ensure uniqueness of label name.
73514         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73515         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73517 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
73519         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
73521         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
73522         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73523         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73524         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
73526 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
73528         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
73530         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
73531         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73532         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73534         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
73536         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
73537         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73538         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73539         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
73541         * math/bits/math-finite.h: Add ldexp support.
73543 2012-01-10  Marek Polacek  <polacek@redhat.com>
73545         * locale/programs/localedef.h (show_archive_content): Add noreturn
73546         attribute.
73548 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
73550         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
73552 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73554         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
73556         * io/Makefile (headers): Add bits/poll2.h.
73558 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
73560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
73561         typo #include statement.
73563 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73565         * include/sys/cdefs.h: Define __attribute_alloc_size.
73566         * catgets/gencat.c: Add alloc_size attribute and apply consistently
73567         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
73568         * elf/pldd.c: Likewise.
73569         * iconv/iconv_charmap.c: Likewise.
73570         * iconv/iconvconfig.c: Likewise.
73571         * iconv/strtab.c: Likewise.
73572         * locale/programs/locale.c: Likewise.
73573         * locale/programs/localedef.h: Likewise.
73574         * locale/programs/simple-hash.c: Likewise.
73575         * nscd/nscd.h: Likewise.
73576         * nss/makedb.c: Likewise.
73577         * sysdeps/generic/ldconfig.h: Likewise.
73578         * locale/programs/localedef.c: Remove xmalloc prototype.
73579         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
73581 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73583         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
73584         appropriate.
73586 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73588         * math/Makefile (tests): Add tst-CMPLX.
73589         * math/tst-CMPLX.c: New file.
73591         * math/complex.h (CMPLXL): Fix typo.
73593         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
73594         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
73595         GLIBC_2.16.
73596         * debug/tst-chk1.c: Add poll and ppoll tests.
73597         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
73598         * include/sys/poll.h: Add hidden proto for ppoll.
73599         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
73600         * sysdeps/mach/hurd/ppoll.c: Likewise.
73601         * io/ppoll.c: Likewise.
73602         * debug/poll_chk.c: New file.
73603         * debug/ppoll_chk.c: New file.
73604         * include/bits/poll2.h: New file.
73605         * io/bits/poll2.h: New file.
73607         [BZ #1350]
73608         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
73610         * configure.in: static is always set to yes.  Remove.
73611         * config.make.in: Don't set build-static.
73612         * Makeconfig: Remove use of build-static.
73613         * dlfcn/Makefile: Likewise.
73614         * elf/Makefile: Likewise.
73615         * math/Makefile: Likewise.
73616         * misc/Makefile: Likewise.
73617         * nptl/Makefile: Likewise.
73618         * sysdeps/mach/hurd/Makefile: Likewise.
73620         * configure.in: PWD_P is not used anymore.
73621         * config.make.in: Remove PWD_P entry.
73623         * configure.in: Remove last remnants of RANLIB.
73624         No need to check for signed size_t anymore.
73625         Don't set libc_commonpagesize and libc_relro_required here for Alpha
73626         and IA-64.
73627         Remove __builtin_expect test because we require at least gcc 3.4.
73628         * aclocal.m4: Likewise.
73630         * wcsmbs/mbrtoc16.c: Implement using towc function.
73631         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
73632         * wcsmbs/wcsmbsload.c: Likewise.
73633         * iconv/gconv_simple.c: Likewise.
73634         * iconv/gconv_int.h: Likewise.
73635         * iconv/gconv_builtin.h: Likewise.
73636         * iconv/iconv_prog.c: Remove CHAR16 handling.
73638         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
73640         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
73642         * configure.in: Remove --with-elf and --enable-bounded options.
73643         Dont set base_machine for ia64.  More non-ELF conditions removed.
73644         Remove testing and setting of leading underscore information.
73645         * config.make.in (build-bounded): Set to no.
73646         * config.h.in: Remove NO_UNDERSCORES entry.
73647         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
73648         them.
73649         * csu/start.c: Remove !NO_UNDERSCORE code.
73650         * locale/localeinfo.h: Likewise.
73651         * sysdeps/generic/machine-gmon.h: Likewise.
73652         * sysdeps/generic/sysdep.h: Likewise.
73653         * sysdeps/i386/sysdep.h: Likewise.
73654         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73655         * sysdeps/mach/sysdep.h: Likewise.
73656         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73657         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73658         * sysdeps/sh/sysdep.h: Likewise.
73659         * sysdeps/sparc/sparc32/alloca.S: Likewise.
73660         * sysdeps/unix/i386/sysdep.S: Likewise.
73661         * sysdeps/unix/sparc/start.c: Likewise.
73662         * sysdeps/unix/sparc/sysdep.S: Likewise.
73663         * sysdeps/unix/sparc/sysdep.h: Likewise.
73664         * sysdeps/unix/start.c: Likewise.
73665         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73666         * sysdeps/x86_64/sysdep.h: Likewise.
73668 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
73670         [BZ #13553]
73671         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
73672         for non-gcc.
73673         * argp/argp-fmtstream.h: Use const instead __const.
73674         * argp/argp.h: Likewise.
73675         * assert/assert.h: Likewise.
73676         * bits/fenv.h: Likewise.
73677         * bits/sched.h: Likewise.
73678         * bits/sigset.h: Likewise.
73679         * bits/sigthread.h: Likewise.
73680         * catgets/nl_types.h: Likewise.
73681         * conform/data/pthread.h-data: Likewise.
73682         * crypt/crypt-private.h: Likewise.
73683         * crypt/crypt.h: Likewise.
73684         * crypt/crypt_util.c: Likewise.
73685         * ctype/ctype.h: Likewise.
73686         * debug/execinfo.h: Likewise.
73687         * debug/mbsnrtowcs_chk.c: Likewise.
73688         * debug/mbsrtowcs_chk.c: Likewise.
73689         * debug/wcsnrtombs_chk.c: Likewise.
73690         * debug/wcsrtombs_chk.c: Likewise.
73691         * debug/wcstombs_chk.c: Likewise.
73692         * dirent/dirent.h: Likewise.
73693         * dlfcn/dlfcn.h: Likewise.
73694         * elf/neededtest4.c: Likewise.
73695         * grp/grp.h: Likewise.
73696         * gshadow/gshadow.h: Likewise.
73697         * iconv/gconv.h: Likewise.
73698         * iconv/gconv_int.h: Likewise.
73699         * iconv/gconv_simple.c: Likewise.
73700         * iconv/iconv.h: Likewise.
73701         * iconv/loop.c: Likewise.
73702         * iconv/skeleton.c: Likewise.
73703         * include/aio.h: Likewise.
73704         * include/aliases.h: Likewise.
73705         * include/argz.h: Likewise.
73706         * include/arpa/inet.h: Likewise.
73707         * include/assert.h: Likewise.
73708         * include/dirent.h: Likewise.
73709         * include/dlfcn.h: Likewise.
73710         * include/execinfo.h: Likewise.
73711         * include/fcntl.h: Likewise.
73712         * include/fenv.h: Likewise.
73713         * include/glob.h: Likewise.
73714         * include/grp.h: Likewise.
73715         * include/libintl.h: Likewise.
73716         * include/mntent.h: Likewise.
73717         * include/netdb.h: Likewise.
73718         * include/pwd.h: Likewise.
73719         * include/rpc/netdb.h: Likewise.
73720         * include/sched.h: Likewise.
73721         * include/search.h: Likewise.
73722         * include/shadow.h: Likewise.
73723         * include/signal.h: Likewise.
73724         * include/stdio.h: Likewise.
73725         * include/stdlib.h: Likewise.
73726         * include/string.h: Likewise.
73727         * include/sys/socket.h: Likewise.
73728         * include/sys/stat.h: Likewise.
73729         * include/sys/statfs.h: Likewise.
73730         * include/sys/statvfs.h: Likewise.
73731         * include/sys/syslog.h: Likewise.
73732         * include/sys/time.h: Likewise.
73733         * include/sys/uio.h: Likewise.
73734         * include/time.h: Likewise.
73735         * include/unistd.h: Likewise.
73736         * include/utmp.h: Likewise.
73737         * include/wchar.h: Likewise.
73738         * include/wctype.h: Likewise.
73739         * inet/aliases.h: Likewise.
73740         * inet/arpa/inet.h: Likewise.
73741         * inet/netinet/ether.h: Likewise.
73742         * inet/netinet/in.h: Likewise.
73743         * intl/libintl.h: Likewise.
73744         * io/bits/fcntl2.h: Likewise.
73745         * io/fcntl.h: Likewise.
73746         * io/ftw.h: Likewise.
73747         * io/sys/poll.h: Likewise.
73748         * io/sys/stat.h: Likewise.
73749         * io/sys/statfs.h: Likewise.
73750         * io/sys/statvfs.h: Likewise.
73751         * io/utime.h: Likewise.
73752         * libio/bits/stdio.h: Likewise.
73753         * libio/bits/stdio2.h: Likewise.
73754         * libio/libio.h: Likewise.
73755         * libio/libioP.h: Likewise.
73756         * libio/stdio.h: Likewise.
73757         * locale/lc-ctype.c: Likewise.
73758         * locale/locale.h: Likewise.
73759         * login/utmp.h: Likewise.
73760         * malloc/arena.c: Likewise.
73761         * malloc/malloc.c: Likewise.
73762         * malloc/malloc.h: Likewise.
73763         * malloc/mcheck.c: Likewise.
73764         * malloc/mtrace.c: Likewise.
73765         * math/bits/mathcalls.h: Likewise.
73766         * math/fenv.h: Likewise.
73767         * math/math_private.h: Likewise.
73768         * misc/bits/error.h: Likewise.
73769         * misc/bits/syslog.h: Likewise.
73770         * misc/err.h: Likewise.
73771         * misc/error.h: Likewise.
73772         * misc/fstab.h: Likewise.
73773         * misc/mntent.h: Likewise.
73774         * misc/regexp.h: Likewise.
73775         * misc/search.h: Likewise.
73776         * misc/sgtty.h: Likewise.
73777         * misc/sys/mman.h: Likewise.
73778         * misc/sys/syslog.h: Likewise.
73779         * misc/sys/uio.h: Likewise.
73780         * misc/sys/xattr.h: Likewise.
73781         * misc/ttyent.h: Likewise.
73782         * nis/rpcsvc/ypclnt.h: Likewise.
73783         * nss/nss.h: Likewise.
73784         * posix/bits/unistd.h: Likewise.
73785         * posix/fnmatch.h: Likewise.
73786         * posix/glob.h: Likewise.
73787         * posix/sched.h: Likewise.
73788         * posix/spawn.h: Likewise.
73789         * posix/sys/wait.h: Likewise.
73790         * posix/unistd.h: Likewise.
73791         * posix/wordexp.h: Likewise.
73792         * pwd/pwd.h: Likewise.
73793         * resolv/netdb.h: Likewise.
73794         * resource/sys/resource.h: Likewise.
73795         * rt/aio.h: Likewise.
73796         * rt/bits/mqueue2.h: Likewise.
73797         * rt/mqueue.h: Likewise.
73798         * shadow/shadow.h: Likewise.
73799         * signal/signal.h: Likewise.
73800         * socket/send.c: Likewise.
73801         * socket/sendto.c: Likewise.
73802         * socket/sys/socket.h: Likewise.
73803         * stdio-common/printf.h: Likewise.
73804         * stdlib/bits/stdlib.h: Likewise.
73805         * stdlib/fmtmsg.h: Likewise.
73806         * stdlib/monetary.h: Likewise.
73807         * stdlib/stdlib.h: Likewise.
73808         * stdlib/ucontext.h: Likewise.
73809         * streams/stropts.h: Likewise.
73810         * string/argz.h: Likewise.
73811         * string/bits/string2.h: Likewise.
73812         * string/string.h: Likewise.
73813         * string/strings.h: Likewise.
73814         * sunrpc/rpc/auth.h: Likewise.
73815         * sunrpc/rpc/auth_des.h: Likewise.
73816         * sunrpc/rpc/clnt.h: Likewise.
73817         * sunrpc/rpc/netdb.h: Likewise.
73818         * sunrpc/rpc/pmap_clnt.h: Likewise.
73819         * sunrpc/rpc/xdr.h: Likewise.
73820         * sysdeps/generic/inttypes.h: Likewise.
73821         * sysdeps/generic/net/if.h: Likewise.
73822         * sysdeps/generic/sys/swap.h: Likewise.
73823         * sysdeps/gnu/net/if.h: Likewise.
73824         * sysdeps/gnu/utmpx.h: Likewise.
73825         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
73826         * sysdeps/i386/i486/bits/string.h: Likewise.
73827         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
73828         * sysdeps/s390/bits/string.h: Likewise.
73829         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
73830         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
73831         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
73832         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
73833         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
73834         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
73835         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
73836         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
73837         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
73838         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
73839         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
73840         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
73841         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
73842         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
73843         * sysdeps/unix/sysv/linux/readv.c: Likewise.
73844         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
73845         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
73846         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73847         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
73848         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
73849         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73850         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
73851         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
73852         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
73853         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
73854         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
73855         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
73856         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73857         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
73858         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
73859         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
73860         * sysvipc/sys/ipc.h: Likewise.
73861         * sysvipc/sys/msg.h: Likewise.
73862         * sysvipc/sys/sem.h: Likewise.
73863         * sysvipc/sys/shm.h: Likewise.
73864         * termios/termios.h: Likewise.
73865         * time/sys/time.h: Likewise.
73866         * time/time.h: Likewise.
73867         * wcsmbs/bits/wchar2.h: Likewise.
73868         * wcsmbs/uchar.h: Likewise.
73869         * wcsmbs/wchar.h: Likewise.
73870         * wctype/wctype.h: Likewise.
73872         [BZ #13551]
73873         * Makeconfig: Remove all but ELF support including AIX support.
73874         * Makerules: Likewise.
73875         * config.h.in: Likewise.
73876         * config.make.in: Likewise.
73877         * configure: Likewise.
73878         * configure.in: Likewise.
73879         * csu/Makefile: Likewise.
73880         * csu/version.c: Likewise.
73881         * debug/Makefile: Likewise.
73882         * dlfcn/Makefile: Likewise.
73883         * elf/Makefile: Likewise.
73884         * extra-lib.mk: Likewise.
73885         * iconv/Makefile: Likewise.
73886         * include/libc-symbols.h: Likewise.
73887         * include/shlib-compat.h: Likewise.
73888         * resolv/Makefile: Likewise.
73889         * resolv/res_libc.c: Likewise.
73890         * rt/Makefile: Likewise.
73891         * sysdeps/i386/asm-syntax.h: Likewise.
73892         * sysdeps/i386/sysdep.h: Likewise.
73893         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73894         * sysdeps/mach/sysdep.h: Likewise.
73895         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
73896         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
73897         * sysdeps/s390/asm-syntax.h: Likewise.
73898         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73899         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73900         * sysdeps/sh/sysdep.h: Likewise.
73901         * sysdeps/unix/sparc/sysdep.h: Likewise.
73902         * sysdeps/wordsize-32/divdi3.c: Likewise.
73903         * sysdeps/x86_64/sysdep.h: Likewise.
73905         * argp/Versions: Remove _argp_unlock_xxx.
73907         [BZ #13559]
73908         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
73909         * abilist/libBrokenLocale.abilist: Likewise.
73910         * abilist/libanl.abilist: Likewise.
73911         * abilist/libc.abilist: Likewise.
73912         * abilist/libcrypt.abilist: Likewise.
73913         * abilist/libdl.abilist: Likewise.
73914         * abilist/libm.abilist: Likewise.
73915         * abilist/libnsl.abilist: Likewise.
73916         * abilist/libpthread.abilist: Likewise.
73917         * abilist/libresolv.abilist: Likewise.
73918         * abilist/librt.abilist: Likewise.
73919         * abilist/libthread_db.abilist: Likewise.
73920         * abilist/libutil.abilist: Likewise.
73921         * abilist/libnss_db.abilist: New file.
73923         * scripts/abilist.awk: Add support for indirect functions.
73925         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
73927         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
73929         * shlib-versions: Remove entries for ports architectures.
73931         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
73932         files in ports.
73933         * elf/stackguard-macros.h: Remove support for IA-64.
73934         * elf/tst-auditmod1.c: Likewise.
73935         * sysdeps/generic/ldsodefs.h: Likewise.
73937         * sysdeps/unix/sysv/linux/configure.in: Ports should define
73938         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
73939         configure files.
73941         [BZ #13552]
73942         * configure.in: Remove --enable-omitfp support.
73943         * FAQ.in: Adjust.
73944         * config.make.in: Likewise.
73945         * Makeconfig: Likewise.
73946         * manual/install.texi: Likewise.
73948         In case anyone cares, the IA-64 architecture could move to ports.
73949         * sysdeps/ia64/*: Removed.
73950         * sysdeps/unix/sysv/linux/ia64/*: Removed.
73951         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
73953         [BZ #13555]
73954         * configure.in: Remove entries for unsupported architectures.
73956         [BZ #13533]
73957         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
73958         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
73959         routines.
73960         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
73961         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
73962         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
73963         fall back to using wcrtomb.
73964         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
73965         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
73966         renaming.
73967         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
73968         * wcsmbs/tst-c16c32-1.c: New file.
73970         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
73971         local variable.
73973         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
73975         * elf/tst-unique3.cc: Add explicit declaration of gets.
73976         * elf/tst-unique3lib.cc: Likewise.
73977         * elf/tst-unique3lib2.cc: Likewise.
73978         * elf/tst-unique4.cc: Likewise.
73980         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
73982 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
73984         [BZ #13566]
73985         * assert/assert.h (static_assert): Don't define for C++.
73986         * libio/stdio.h (gets): Do declare for C++ <= C++11.
73987         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
73989 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
73991         * iconv/loop.c (single loop): Fix assertion in storing of
73992         remaining bytes.
73994         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
73996 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
73998         * posix/getconf.c: Update copyright year.
73999         * nss/getent.c: Likewise.
74000         * nss/makedb.c: Likewise.
74001         * iconv/iconvconfig.c: Likewise.
74002         * iconv/iconv_prog.c: Likewise.
74003         * elf/ldconfig.c: Likewise.
74004         * elf/pldd.c: Likewise.
74005         * elf/sotruss.ksh: Likewise.
74006         * catgets/gencat.c: Likewise.
74007         * csu/version.c: Likewise.
74008         * elf/ldd.bash.in: Likewise.
74009         * elf/sprof.c (print_version): Likewise.
74010         * locale/programs/locale.c: Likewise.
74011         * locale/programs/localedef.c: Likewise.
74012         * login/programs/pt_chown.c: Likewise.
74013         * nscd/nscd.c (print_version): Likewise.
74014         * debug/xtrace.sh: Likewise.
74015         * malloc/memusage.sh: Likewise.
74016         * malloc/mtrace.pl: Likewise.
74017         * debug/catchsegv.sh: Likewise.
74019 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
74021         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
74022         pure attribute.
74024 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
74026         [BZ #13533]
74027         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
74028         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
74029         transformations.
74030         * iconv/gconv_int.h: Likewise.
74031         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
74032         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
74033         from libc for GLIBC_2.16.
74034         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
74035         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
74036         * wcsmbs/uchar.h: Really define mbstate_t.
74037         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
74038         * wcsmbs/c16rtomb.c: New file.
74039         * wcsmbs/mbrtoc16.c: New file.
74040         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
74041         for C/POSIX locale.
74042         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
74043         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
74045         * wcsmbs/wchar.h: Add missing __restrict.
74047 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74049         [BZ #13532]
74050         * time/Makefile (routines): Add timespec_get.
74051         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
74052         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
74053         timespec for ISO C11.
74054         * time/timespec_get.c: New file.
74055         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
74056         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
74058         [BZ #13531]
74059         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
74060         * stdlib/stdlib.h: Declare aligned_alloc.
74061         * Versions.def: Add GLIBC_2.16 for libc.
74062         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
74064         [BZ 13527]
74065         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
74066         ISO C11.
74068         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
74069         code.
74071         [BZ #13528]
74072         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
74074         [BZ #13529]
74075         * assert/assert.h (static_assert): Define.
74077         * version.h: Update for 2.16 development version.
74079         [BZ #13526]
74080         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
74081         _ISOC11_SOURCE.
74083         * version.h (RELEASE): Bump for 2.15 release.
74084         * include/features.h (__GLIBC_MINOR__): Bump to 15.
74086         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
74087         Patch by Marek Polacek <mpolacek@redhat.com>.
74089         * bits/byteswap.h: Protect long long constants with __extension__.
74090         * sysdeps/i386/bits/byteswap.h: Likewise.
74091         * sysdeps/ia64/bits/byteswap.h: Likewise.
74092         * sysdeps/s390/bits/byteswap.h: Likewise.
74093         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74095 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74097         [BZ #13540]
74098         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
74099         destination buffer.
74100         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
74102 2011-12-23  Marek Polacek  <polacek@redhat.com>
74104         * elf/dl-addr.c (determine_info): Add inline keyword.
74105         * elf/tst-auditmod4b.c (check_avx): Likewise.
74106         * elf/tst-auditmod6b.c (check_avx): Likewise.
74107         * elf/tst-auditmod6c.c (check_avx): Likewise.
74108         * elf/tst-auditmod7b.c (check_avx): Likewise.
74110 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74112         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
74113         !__SSE_MATH__.
74115 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74117         [BZ #13540]
74118         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
74119         processing for last bytes.
74121 2011-08-06  Bruno Haible  <bruno@clisp.org>
74123         [BZ #13061]
74124         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
74125         U+0385, not to U+1FEE.
74127         [BZ #13062]
74128         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
74129         entry for U+00A5 U+0301.
74131 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74133         [BZ #13166]
74134         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
74135         buffer for the output is too small.
74137         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
74138         optimization.
74140         [BZ #13185]
74141         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
74142         SSE flags if possible.
74144 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74146         [BZ #13540]
74147         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
74148         processing for last bytes.
74150 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
74152         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
74153         (syscall-list-default-options, syscall-list-default-condition)
74154         (syscall-list-includes): Define.
74155         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
74156         list of ABIs and options and #if conditions for each ABI.  Do not
74157         handle common syscalls between ABIs specially.
74158         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
74159         Remove.
74160         (syscall-list-variants, syscall-list-32bit-options)
74161         (syscall-list-32bit-condition, syscall-list-64bit-options)
74162         (syscall-list-64bit-condition): Define.
74163         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
74164         (syscall-list-variants, syscall-list-32bit-options)
74165         (syscall-list-32bit-condition, syscall-list-64bit-options)
74166         (syscall-list-64bit-condition): Define.
74167         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
74168         Remove.
74169         (syscall-list-variants, syscall-list-32bit-options)
74170         (syscall-list-32bit-condition, syscall-list-64bit-options)
74171         (syscall-list-64bit-condition): Define.
74172         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
74173         Remove.
74174         (syscall-list-variants, syscall-list-32bit-options)
74175         (syscall-list-32bit-condition, syscall-list-64bit-options)
74176         (syscall-list-64bit-condition): Define.
74178 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74180         * locale/iso-639.def: Add brx entry.
74182         [BZ #13328]
74183         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
74184         Proposed by Mariusz_Cukr <marcukr@op.pl>.
74186         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
74187         __feraiseexcept_renamed.
74189 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74191         [BZ #13538]
74192         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
74193         EPOLLET with unsigned values.
74194         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74195         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74197         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
74198         to large cancellation.
74199         * math/s_cacoshf.c: Likewise.
74200         * math/s_cacoshl.c: Likewise.
74202 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
74204         [BZ #13305]
74205         [BZ #12786]
74206         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
74207         * math/s_cacoshf.c: Likewise.
74208         * math/s_cacoshl.c: Likewise.
74210 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74212         [BZ #13439]
74213         * iconv/gconv.h: Define __GCONV_SWAP.
74214         * iconvdata/unicode.c: The swap bit must be stored in __flags.
74215         * iconvdata/utf-16.c: Likewise.
74216         * iconvdata/utf-32.c: Likewise.
74218 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
74220         [BZ #13524]
74221         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
74222         numerator after shifting it by one limb.
74224 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
74226         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
74227         under [__USE_EXTERN_INLINES].
74229 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74231         [BZ #13446]
74232         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
74234 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74236         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
74237         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
74238         optimized code.
74239         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
74240         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
74241         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
74242         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
74243         for strncasecmp/strncasecmp_l compilation.
74244         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
74245         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
74247 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
74249         [BZ #13484]
74250         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
74251         of __asm__.
74253 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74255         [BZ #13506]
74256         * time/tzfile.c (__tzfile_read): Check values from file header.
74258 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
74260         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
74261         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
74262         * powerpc/powerpc32/dl-start.S: Likewise.
74263         * powerpc/powerpc32/elf/start.S: Likewise.
74264         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
74265         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
74266         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
74267         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
74268         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
74269         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
74270         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
74271         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
74272         * powerpc/powerpc32/fpu/s_round.S: Likewise.
74273         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
74274         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
74275         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
74276         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
74277         * powerpc/powerpc32/memset.S: Likewise.
74278         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
74279         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
74280         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
74281         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
74282         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
74283         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
74284         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
74285         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
74286         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
74287         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
74288         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
74289         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74290         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74292 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74294         * math/libm-test.inc: Added more nearbyint tests.
74295         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
74296         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
74297         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
74298         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
74300 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
74302         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
74303         FD_CLOEXEC.
74305 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74307         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
74308         Add wcscpy-ssse3 wcscpy-c.
74309         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
74310         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
74311         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
74312         * sysdeps/x86_64/wcschr.S: New file.
74313         * sysdeps/x86_64/wcsrchr.S: New file.
74314         * string/test-strcmp.c: Remove checking of wcscmp function for
74315         wrong alignments.
74316         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
74317         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
74318         wcsrchr-sse2 wcsrchr-c.
74319         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
74320         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
74321         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
74322         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
74323         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
74324         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
74325         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
74326         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
74327         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
74328         * wcsmbc/wcschr.c (WCSCHR): New macro.
74330 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74332         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
74333         * wcsmbs/test-wcsrchr.c: New file.
74334         * string/test-strrchr.c: Add wcsrchr support.
74335         (WIDE): New macro.
74336         * wcsmbs/test-wcscpy.c: New file.
74337         * string/test-strcpy.c: Add wcscpy support.
74338         (WIDE): New macro.
74340 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
74342         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
74343         the inner loop.
74345 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
74347         [BZ #13472]
74348         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
74350 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
74352         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
74353         Minor optimizations.
74355         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
74356         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
74357         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
74359 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
74361         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
74362         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
74363         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
74364         for gcc to avoid warnings.
74365         * inet/Makefile (tests): Add tst-checks.
74366         * inet/tst-checks.c: New file.
74368         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
74369         warning.
74371         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
74372         __wmemcmp_sse2.
74374         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
74375         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
74377         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
74379 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
74381         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
74382         problem.
74384         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
74386 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
74388         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
74389         conditional on GCC version.
74390         (__arch_compare_and_exchange_val_8_acq)
74391         (__arch_compare_and_exchange_val_16_acq)
74392         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
74393         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
74394         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
74396 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
74398         * sysdeps/sh/backtrace.c: New file.
74400 2011-12-02  Andreas Schwab  <schwab@redhat.com>
74402         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
74403         parenthesis.
74405 2011-12-01  Andreas Schwab  <schwab@redhat.com>
74407         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
74408         falling back to utime.
74410 2011-11-30  Andreas Schwab  <schwab@redhat.com>
74412         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
74413         expectations for float.
74415 2011-11-29  Andreas Schwab  <schwab@redhat.com>
74417         * locale/weight.h (findidx): Add parameter len.
74418         * locale/weightwc.h (findidx): Likewise.
74419         * posix/fnmatch_loop.c (FCT): Adjust caller.
74420         * posix/regcomp.c (build_equiv_class): Likewise.
74421         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
74422         * posix/regexec.c (check_node_accept_bytes): Likewise.
74423         * string/strcoll_l.c (STRCOLL): Likewise.
74424         * string/strxfrm_l.c (STRXFRM): Likewise.
74426 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
74428         * Makefile.in: Remove CVSOPT handling.
74429         * configure.in: Remove use of AC_REVISION.
74430         * iconvdata/Makefile (distribute): No need to filter out CVS.
74431         * scripts/list-sources.sh: Remove CVS, subversion and monotone
74432         handling.
74434 2011-11-16  Andreas Schwab  <schwab@redhat.com>
74436         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
74437         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
74438         [USE_AS_STRNCASECMP_L]: Likewise.
74439         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
74440         NO_TLS_DIRECT_SEG_REFS.
74441         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
74442         Fix argument offsets for non-PIC.
74443         [USE_AS_STRNCASECMP_L]: Likewise.
74444         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
74445         NO_TLS_DIRECT_SEG_REFS.
74447 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74449         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
74450         O_CLOEXEC.
74451         * locale/loadlocale.c (_nl_load_locale): Likewise.
74453 2011-11-15  Andreas Schwab  <schwab@redhat.com>
74455         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
74456         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
74457         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
74458         (SYSCALL_GETTIME): Set errno on error.
74460         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
74461         count references to noai6ai_cached.
74463 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74465         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
74467         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
74468         FD_CLOEXEC for /proc/self/maps.
74470         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
74471         FD_CLOEXEC for /proc/meminfo.
74473         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
74474         gai.conf.
74476         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
74477         FD_CLOEXEC for given file.
74479         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
74481         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
74482         FD_CLOEXEC for /etc/hosts.
74483         (_gethtent): Likewise.
74485         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
74487         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
74488         cancellation and set FD_CLOEXEC for /etc/netgroup.
74490         * nss/nss_files/files-key.c (search): Don't allow cancellation when
74491         reading /etc/publickey.
74493         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
74494         allow cancellation when reading /etc/group.
74496         * nss/nss_files/files-alias.c (internal_setent): Don't allow
74497         cancellation.
74498         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
74500         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
74501         when using data file.
74503         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
74505         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
74506         (write_nis_obj): Use "c" and "e" in fopen.
74508         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
74510         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
74512         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
74514         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
74516         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
74517         locale.alias.
74519         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
74521         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
74523         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
74525         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
74526         file parsing and set FD_CLOEXEC.
74528 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74530         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
74532 2011-11-14  Andreas Schwab  <schwab@redhat.com>
74534         * malloc/arena.c (arena_get2): Don't call reused_arena when
74535         _int_new_arena failed.
74537 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74539         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
74540         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
74541         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
74542         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74543         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74544         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
74545         to compile strcasecmp and strncasecmp.
74546         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
74547         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
74549         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
74551 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
74553         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
74554         locale-defines.sym to gen-as-const-headers.
74555         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
74556         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
74557         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
74558         to compile strcasecmp and strncasecmp.
74559         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
74560         strcasecmp_l and strncasecmp_l.
74561         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
74562         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
74563         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
74564         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
74565         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
74566         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
74567         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
74568         * sysdeps/i386/i686/multiarch/strncase.S: New file.
74569         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
74570         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
74571         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
74573 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
74575         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
74576         result of SYSDEP_GETTIME_CPU to retval.
74577         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
74578         parameter list to macro.  Remove trailing semicolon.  Adjust users.
74580         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
74581         variable.
74583         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
74584         mantissa words.
74585         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
74587         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
74588         from unused variable.
74590         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
74591         DWARF definitions.
74592         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
74593         for assembling.
74595         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
74596         over namespaces.
74598         * sunrpc/rpc_prot.c (rejected): Fix case value.
74600         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
74601         unsigned long long int to avoid warnings in shift.
74603         * posix/regex_internal.c (re_string_reconstruct): Actually use result
74604         of use of trans.
74605         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
74606         variable tmp.
74608         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
74609         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
74610         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
74612         * nis/nis_table.c (nis_list): Use variable of correct type for
74613         result of __follow_path call.
74615 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74617         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
74618         of math functions ceil, trunc, floor, round, and sqrt, when
74619         avaliable on the platform.
74620         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
74621         name clash.
74622         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74623         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74624         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74626 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
74628         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
74629         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
74631 2011-11-11  Roland McGrath  <roland@hack.frob.com>
74633         * include/unistd.h: Fix __readlink return type.
74634         Reported by Chris Metcalf <cmetcalf@tilera.com>.
74636 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
74638         * stdlib/ucontext.h: Undo last change for makecontext.
74640 2011-11-11  Andreas Schwab  <schwab@redhat.com>
74642         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
74644         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
74645         * setjmp/setjmp.h: Mark functions as non-leaf.
74646         * setjmp/bits/setjmp2.h: Likewise.
74647         * stdlib/ucontext.h: Likewise.
74649 2011-11-10  Andreas Schwab  <schwab@redhat.com>
74651         * malloc/arena.c (_int_new_arena): Don't increment narenas.
74652         (reused_arena): Don't check arena limit.
74653         (arena_get2): Atomically check arena limit.
74655 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
74657         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
74658         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
74660         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
74661         instructions.
74663 2011-11-07  Andreas Schwab  <schwab@redhat.com>
74665         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
74666         handler when locking.
74668         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74669         Fix size of allocated buffer.
74671 2011-11-04  Andreas Schwab  <schwab@redhat.com>
74673         [BZ #10103]
74674         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
74675         declarations for long double functions.
74676         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
74678         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
74680 2011-11-03  Andreas Schwab  <schwab@redhat.com>
74682         * nscd/nscd.c (main): Don't start AVC thread until credentials are
74683         installed.
74685         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
74686         is disabled.
74688 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74690         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
74692 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74694         * include/alloca.h (stackinfo_alloca_round): Define.
74695         (extend_alloca): Use it.
74696         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
74697         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
74698         here.
74700         * scripts/check-local-headers.sh: Ignore libaudit.h.
74702         * nscd/Makefile (extra-objs): Make recursively expanded.
74704 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
74706         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
74707         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
74709         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
74710         * posix/tst-rfc3484-2.c: Likewise.
74711         * posix/tst-rfc3484-3.c: Likewise.
74713         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74714         process_vm_writev.
74715         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
74716         process_vm_writev.
74717         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
74718         process_vm_writev from libc using GLIBC_2.15 version.
74720         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
74722 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
74724         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
74725         stack usage.
74727 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
74729         [BZ #13367]
74730         * nss/getent.c (initgroups_keys): Show error message in case no group
74731         names are given.
74733         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
74734         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
74735         __bump_nl_timestamp.
74736         * nscd/connections (nscd_init): When host database is served open
74737         netlink socket and request notification about configuration changes.
74738         (main_loop_poll): Track netlink file descriptor and bump timestamp
74739         in case data becomes available.
74740         (main_loop_epoll): Likewise.
74741         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
74742         (database_pers_head): Add extra_data fileds.
74743         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
74744         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
74745         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
74746         Adjust caller.
74747         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
74748         in6ai data, call __free_in6ai.
74749         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
74750         Add -DHAVE_NETLINK.
74751         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
74752         interface information.  Reuse previous data if netlink timestamp
74753         is not changed.
74754         (__bump_nl_timestamp): New function.
74755         (__free_in6ai): New function.
74757 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
74759         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
74760         close_not_cancel_no_status here.
74761         (__check_pf): Reorganize code a bit to not call close twice if OOM.
74763 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74765         [BZ #13276]
74766         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
74767         return value.
74769         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
74770         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
74771         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
74773 2011-07-03  Andreas Jaeger  <aj@suse.de>
74775         [BZ #10709]
74776         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
74777         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
74778         * math/libm-test.inc (sin_test): Add test case.
74780 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74782         [BZ #13337]
74783         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
74784         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74786         * elf/chroot_canon.c (chroot_canon): Cleanups.
74788         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
74790         [BZ #13335]
74791         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
74792         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74794         * string/test-strchr.c: Make usable for strchrnul testing.
74795         * string/test-strchrnul.c: New file.
74796         * string/Makefile (strop-tests): Add strchrnul.
74798         * po/it.po: Update from translation team.
74799         * po/es.po: Likewise.
74801 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
74803         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
74804         the three constants needed as parameters.  Drop the others.
74805         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
74806         __m128i_strloadu_tolower.
74807         Create and initialize variable zero and use it in all the places
74808         where _mm_setzero_si128 was used.
74810         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
74811         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
74812         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
74813         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
74814         anymore.
74815         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
74816         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
74817         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
74818         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
74819         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
74820         __mpranred, __mptan.
74821         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
74822         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
74823         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
74824         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
74825         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
74826         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
74827         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
74828         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
74829         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
74831 2011-10-28  Andreas Schwab  <schwab@redhat.com>
74833         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
74834         redefine if SHARED.
74835         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
74837         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
74838         wide char related routines to wcsmbs subdir.
74840 2011-10-27  Andreas Schwab  <schwab@redhat.com>
74842         [BZ #13344]
74843         * misc/sys/cdefs.h (__THROWNL): Define.
74844         * posix/unistd.h: Use __THREADNL instead of __THREAD
74845         for memory synchronization functions.
74847 2011-10-26  Roland McGrath  <roland@hack.frob.com>
74849         [BZ #13349]
74850         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
74851         doesn't exist.
74852         * manual/stdio.texi (Obstack Streams): Node removed.
74854 2011-10-26  Andreas Schwab  <schwab@redhat.com>
74856         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
74857         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74858         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74860         * math/math_private.h (math_force_eval): Allow non-addressable
74861         arguments.
74862         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
74864 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74866         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
74867         file is not needed.
74869         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
74870         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
74871         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74872         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74873         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74874         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74875         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74876         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
74877         Add AVX variants.
74878         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
74879         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
74880         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
74881         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
74882         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
74883         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
74884         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
74885         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
74886         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
74887         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
74888         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
74889         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
74890         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
74891         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
74892         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
74893         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
74894         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
74895         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
74896         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
74898         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
74899         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
74901         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
74902         place.  Use VEX encoding when compiling for AVX.
74904 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74906         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
74907         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
74909         * string/test-strchr.c (do_test): Don't generate NUL bytes.
74911 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74913         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
74914         useless if() expression.
74915         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74916         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74917         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74918         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74919         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74920         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74921         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74922         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74923         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74924         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74925         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74926         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74927         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74928         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74929         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74930         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74931         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74932         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74933         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74935         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
74937 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74939         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
74940         condition.
74941         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74943 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74945         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
74946         .text section.  Avoid duplicate constants.
74947         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74948         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74949         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74950         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74951         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74952         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74953         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74954         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74955         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
74956         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
74957         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
74958         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
74959         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
74960         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
74961         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
74962         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
74963         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
74964         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
74965         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74966         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74967         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74968         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74969         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74970         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
74971         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
74972         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
74973         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
74974         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
74975         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
74976         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
74977         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
74978         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
74979         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
74980         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
74981         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
74982         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
74983         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
74984         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
74985         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
74986         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
74987         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
74988         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
74989         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
74990         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
74991         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
74993 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
74995         * sysdeps/x86_64/dla.h: Move to ...
74996         * sysdeps/x86_64/fpu/dla.h: ...here.
74997         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
74998         situations.  Use __builtin_fma only for gcc 4.6 and up.
75000         * config.make.in: Add have-mfma4 entry.
75001         * configure.in: Substitute libc_cv_cc_fma4.
75002         * math/Makefile (dbl-only-routines): Add sincostab.
75003         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
75004         Use __sincostab not sincos.
75005         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
75006         name is a macro.
75007         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75008         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75009         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75010         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
75011         using __copysign.
75012         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
75013         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
75014         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
75015         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
75016         and __inv.
75017         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
75018         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
75019         __copysign.
75020         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
75021         define aliases when function name is a macro.
75022         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
75023         sysdeps/ieee754/dbl-64/sincos.tbl.
75024         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
75025         fma4-enabled routines.
75026         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
75027         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
75028         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
75029         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
75030         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
75031         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
75032         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
75033         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
75034         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
75035         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
75036         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
75037         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
75038         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
75039         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
75040         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
75041         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
75042         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
75043         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
75044         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
75045         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
75046         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
75047         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
75048         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
75049         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
75050         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
75051         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
75052         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
75053         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
75054         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
75055         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
75057         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
75058         rename.
75059         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75060         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75061         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75062         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75063         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75064         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75065         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75066         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75068 2011-10-24  Andreas Schwab  <schwab@redhat.com>
75070         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
75072 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75074         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
75076         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
75077         prediction.
75078         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
75080         * string/strnlen.c: Don't define STRNLEN, reverse logic.
75081         Remove unused variable magic_bits.
75082         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
75084         * string/strnlen.c: Define and use STRNLEN macro.
75085         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
75086         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
75087         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
75088         * wcsmbs/wcslen.c: Define and use WCSLEN.
75089         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
75090         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
75091         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
75092         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
75093         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
75094         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
75095         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75097 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75099         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75100         strnlen-sse2-no-bsf.
75101         Rename strlen-no-bsf to strlen-sse2-no-bsf.
75102         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
75103         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
75104         Add strnlen support.
75105         (USE_AS_STRNLEN): New macro.
75106         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
75107         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
75108         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
75109         * sysdeps/x86_64/wcslen.S: New file.
75111 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
75113         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
75114         XMM-moves are used for copying on small sizes.
75116 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75118         * wcsmbs/Makefile (strop-tests): Add wcschr.
75119         * wcsmbs/test-wcschr.c: New file.
75120         * string/test-strchr.c: Update.
75121         Add wcschr support.
75122         (WIDE): New macro.
75124 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75126         * wcsmbs/Makefile (strop-tests): Add wcslen.
75127         * wcsmbs/test-wcslen.c: New file.
75128         * string/test-strlen.c: Update.
75129         Add wcslen support.
75130         (WIDE): New macro.
75132 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75134         * po/it.po: Update from translation team.
75136 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75138         * sysdeps/x86_64/wcscmp.S: Update.
75139         Fix wrong comparison semantics.
75140         wcscmp shall use signed comparison not unsigned.
75141         Don't use substraction to avoid overflow bug.
75142         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
75143         * wcsmbc/wcscmp.c: Likewise.
75144         * string/test-strcmp.c: Likewise.
75145         Add new tests to check cases with negative values.
75147 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75149         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
75150         * sysdeps/x86_64/dla.h: ...here.  New file.
75151         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
75152         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75153         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75154         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75155         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75156         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75157         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75158         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75159         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75161 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
75163         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
75164         __ynl_finite aliases.
75166 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75168         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75170         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
75171         define DLA_FMA.
75172         [DLA_FMA] (EMULV): Use DLA_FMA.
75173         [DLA_FMA] (MUL12): Use EMULV.
75174         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
75175         that are not needed.
75176         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75177         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75178         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75179         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75180         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75181         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75182         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75184 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
75186         * math/s_nan.c: Undef __nan.
75187         * math/s_nanf.c: Undef __nanf.
75188         * math/s_nanl.c: Undef __nanl.
75189         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
75190         "math_private.h".
75192 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75194         * math/s_catan.c: Add branch predictions.
75195         * math/s_catanf.c: Likewise.
75196         * math/s_catanh.c: Likewise.
75197         * math/s_catanhf.c: Likewise.
75198         * math/s_catanhl.c: Likewise.
75199         * math/s_catanl.c: Likewise.
75200         * math/s_cexp.c: Likewise.
75201         * math/s_cexpf.c: Likewise.
75202         * math/s_cexpl.c: Likewise.
75203         * math/s_clog.c: Likewise.
75204         * math/s_clog10.c: Likewise.
75205         * math/s_clog10f.c: Likewise.
75206         * math/s_clog10l.c: Likewise.
75207         * math/s_clogf.c: Likewise.
75208         * math/s_clogl.c: Likewise.
75209         * math/s_csqrt.c: Likewise.
75210         * math/s_csqrtf.c: Likewise.
75211         * math/s_csqrtl.c: Likewise.
75212         * math/s_ctanf.c: Likewise.
75213         * math/s_ctanh.c: Likewise.
75214         * math/s_ctanhf.c: Likewise.
75215         * math/s_ctanhl.c: Likewise.
75216         * math/s_ctanl.c: Likewise.
75218         * math/math_private.h: Define __nan, __nanf, __nanl.
75219         * math/s_cacosh.c: Include <math_private.h>.
75220         * math/s_cacoshl.c: Likewise.
75221         * math/s_casinh.c: Likewise.
75222         * math/s_casinhf.c: Likewise.
75223         * math/s_casinhl.c: Likewise.
75224         * math/s_ccos.c: Rely entire on ccosh.
75225         * math/s_ccosf.c: Rely entire on ccoshf.
75226         * math/s_ccosl.c: Rely entirely on ccoshl.
75227         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
75228         Remove tests for FE_INVALID.
75229         * math/s_ccoshf.c: Likewise.
75230         * math/s_ccoshl.c: Likewise.
75231         * math/s_csin.c: Likewise.
75232         * math/s_csinf.c: Likewise.
75233         * math/s_csinh.c Likewise.
75234         * math/s_csinhf.c: Likewise.
75235         * math/s_csinhl.c: Likewise.
75236         * math/s_csinl.c: Likewise.
75237         * math/s_ctan.c: Likewise.
75238         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
75239         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
75240         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
75242 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
75244         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
75245         compilation problems.
75247         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
75248         __builtin_expect.
75250 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
75252         * sysdeps/i386/configure.in: Test for -mfma4 option.
75253         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
75254         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
75255         COMMON_CPUID_INDEX_80000001.
75256         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
75257         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
75258         use it if FMA3 is not supported.
75259         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
75261         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
75262         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75264 2011-10-20  Andreas Schwab  <schwab@redhat.com>
75266         [BZ #12892]
75267         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
75268         it would create a cycle with a link time dependency.
75270 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
75272         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
75273         instruction.
75274         * string/Makefile (strop-tests): Add rawmemchr.
75275         * string/test-rawmemchr.c: New file.
75277         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
75278         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
75279         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
75280         when compiling str{,n}casecmp and when AVX is available.  Hook up
75281         new optimized code in initializers.
75283 2011-10-19  Andreas Schwab  <schwab@redhat.com>
75285         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
75286         __feraiseexcept instead of feraiseexcept.
75288 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
75290         * math/math_private.h: Define defaults for libc_fetestexcept and
75291         libc_feupdateenv.
75292         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
75293         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
75294         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75295         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75296         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75297         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75298         libc_fetestexcept and libc_feupdateenv.
75300         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
75301         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
75302         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
75303         * sysdeps/x86_64/fpu/math_private.h: Define special version of
75304         libc_feholdexcept_setround.
75306         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
75307         Add s_nearbyint-c and s_nearbyintf-c.
75308         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
75309         nearbyintf inlines.
75310         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
75311         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
75312         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
75313         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
75315         * math/math_private.h: Define defaults for libc_fegetround,
75316         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
75317         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
75318         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
75319         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
75320         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
75321         standard functions.
75322         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75323         Remove comments and hacks for old compiler versions.
75324         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75325         libc_fegetround, libc_fesetround, libc_feholdexcept, and
75326         libc_feholdexceptl.
75328 2011-10-18  Andreas Schwab  <schwab@redhat.com>
75330         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
75331         (__feraiseexcept_renamed): Add __NTH.
75332         (feraiseexcept): Add __NTH.  Rename local variables to fix
75333         namespace violations.
75335 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
75337         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
75339         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
75341         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
75342         recently added interfaces.
75343         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
75345         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
75346         about macro parameter expansion.
75348         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
75349         __NO_MATH_INLINES is defined.  Cleanups.
75351         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
75352         and __floorf is target has SSE4.1.
75353         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
75354         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
75355         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
75356         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
75358         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
75359         name.
75360         (floorf): Likewise.
75362         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
75364 2011-10-17  Andreas Schwab  <schwab@redhat.com>
75366         * misc/sys/cdefs.h: Fix last change.
75368         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
75369         database lookup.
75371 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
75373         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
75375         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
75376         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75377         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75378         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75379         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75380         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75381         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75382         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75383         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75384         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
75385         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
75386         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
75387         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
75388         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
75389         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
75390         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
75391         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
75392         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
75393         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
75394         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
75395         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
75396         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
75398         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
75399         ceil, ceilf, floor, floorf.
75401         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
75402         Perform IRELATIVE relocations last.
75404         * elf/do-rel.h: Add another parameter nrelative, replacing the
75405         local variable with the same name.  Change name of the function
75406         to end in Rel or Rela (uppercase).
75407         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
75408         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
75409         elf_dynamic_do_##reloc function.
75411 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75413         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
75414         is sufficient, at least on modern CPUs.
75416         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
75418         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
75419         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
75421         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
75422         __expl_finite.
75423         * math/bits/math-finite.h: Add entries for exp.
75424         * math/e_expl.c: Add __*_finite alias.
75425         * sysdeps/i386/fpu/e_exp.S: Likewise.
75426         * sysdeps/i386/fpu/e_expf.S: Likewise.
75427         * sysdeps/i386/fpu/e_expl.c: Likewise.
75428         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75429         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75430         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
75431         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
75432         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
75433         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75434         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75436         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
75437         is sufficient, at least on modern CPUs.
75439         * ctype/ctype-info.c (__ctype_init): Define.
75440         * include/ctype.h (__ctype_init): Declare.
75441         (__ctype_b_loc): The variable is always initialized.
75442         (__ctype_toupper_loc): Likewise.
75443         (__ctype_tolower_loc): Likewise.
75444         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
75445         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
75447 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
75449         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
75451         * configure.in: Also look in $cxxmachine/include for C++ system
75452         headers.
75454 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75456         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
75457         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
75458         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
75459         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
75460         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
75461         (USE_AS_WMEMCMP): New macro.
75462         Fixing indents.
75463         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
75464         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
75465         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
75466         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
75467         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75468         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
75469         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
75470         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
75471         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
75472         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
75473         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
75474         (USE_AS_WMEMCMP): New macro.
75475         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
75476         * sysdeps/string/test-memcmp.c: Update.
75477         Fix simple_wmemcmp.
75478         Add new tests.
75479         * wcsmbs/wmemcmp.c: Update.
75480         (WMEMCMP): New macro.
75481         Fix overflow bug.
75483 2011-10-12  Andreas Jaeger  <aj@suse.de>
75485         [BZ #13268]
75486         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
75488 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75490         * libio/iofwide.c (do_length): Avoid warning.
75492         * ctype/ctype.h (__isctype_f): Add missing __THROW.
75494 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
75496         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
75498         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
75499         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
75500         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
75501         * sysdeps/i386/i686/fpu/e_log.S: New file.
75502         * sysdeps/i386/i686/fpu/e_logf.S: New file.
75503         * sysdeps/i386/i686/fpu/e_logl.S: New file.
75505         * ctype/ctype.h: Add support for inlined isXXX functions when
75506         compiling C++ code.
75508 2011-10-14  Andreas Schwab  <schwab@redhat.com>
75510         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75512         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
75514 2011-10-13  Roland McGrath  <roland@hack.frob.com>
75516         [BZ #13291]
75517         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
75519 2011-10-13  Andreas Schwab  <schwab@redhat.com>
75521         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
75522         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
75523         feraiseexcept.
75525         * sysdeps/x86_64/memrchr.S: Check for zero size.
75527         * string/stratcliff.c: Add memrchr tests.
75529 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75531         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75532         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
75533         rawmemchr-sse2 rawmemchr-sse2-bsf.
75534         * sysdeps/i386/i686/multiarch/memchr.S: New file.
75535         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
75536         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
75537         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
75538         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
75539         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
75540         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
75541         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
75542         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
75543         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
75544         * string/memrchr.c (MEMRCHR): New macro.
75546 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
75548         Add integration with gcc's -ffinite-math-only and optimize wrapper
75549         functions in libm.
75550         * Versions.def: Define GLIBC_2.15 version for libm.
75551         * math/Makefile (headers): Add bits/math-finite.h.
75552         * math/bits/math-finite.h: New file.
75553         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
75554         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
75555         * math/e_acoshl.c: Add __*_finite alias.
75556         * math/e_acosl.c: Likewise.
75557         * math/e_asinl.c: Likewise.
75558         * math/e_atan2l.c: Likewise.
75559         * math/e_atanhl.c: Likewise.
75560         * math/e_coshl.c: Likewise.
75561         * math/e_exp10.c: Likewise.
75562         * math/e_exp10f.c: Likewise.
75563         * math/e_exp10l.c: Likewise.
75564         * math/e_exp2l.c: Likewise.
75565         * math/e_fmodl.c: Likewise.
75566         * math/e_gammal_r.c: Likewise.
75567         * math/e_hypotl.c: Likewise.
75568         * math/e_j0l.c: Likewise.
75569         * math/e_j1l.c: Likewise.
75570         * math/e_jnl.c: Likewise.
75571         * math/e_lgammal_r.c: Likewise.
75572         * math/e_log10l.c: Likewise.
75573         * math/e_log2l.c: Likewise.
75574         * math/e_logl.c: Likewise.
75575         * math/e_powl.c: Likewise.
75576         * math/e_sinhl.c: Likewise.
75577         * math/e_sqrtl.c: Likewise.
75578         * math/e_scalb.c: Completely rewritten and optimized.
75579         * math/e_scalbf.c: Likewise.
75580         * math/e_scalbl.c: Likewise.
75581         * math/w_acos.c: Likewise.
75582         * math/w_acosf.c: Likewise.
75583         * math/w_acosl.c: Likewise.
75584         * math/w_acosh.c: Likewise.
75585         * math/w_acoshf.c: Likewise.
75586         * math/w_acoshl.c: Likewise.
75587         * math/w_asin.c: Likewise.
75588         * math/w_asinf.c: Likewise.
75589         * math/w_asinl.c: Likewise.
75590         * math/w_atan2.c: Likewise.
75591         * math/w_atan2f.c: Likewise.
75592         * math/w_atan2l.c: Likewise.
75593         * math/w_atanh.c: Likewise.
75594         * math/w_atanhf.c: Likewise.
75595         * math/w_atanhl.c: Likewise.
75596         * math/w_exp10.c: Likewise.
75597         * math/w_exp10f.c: Likewise.
75598         * math/w_exp10l.c: Likewise.
75599         * math/w_fmod.c: Likewise.
75600         * math/w_fmodf.c: Likewise.
75601         * math/w_fmodl.c: Likewise.
75602         * math/w_j0.c: Likewise.
75603         * math/w_j0f.c: Likewise.
75604         * math/w_j0l.c: Likewise.
75605         * math/w_j1.c: Likewise.
75606         * math/w_j1f.c: Likewise.
75607         * math/w_j1l.c: Likewise.
75608         * math/w_jn.c: Likewise.
75609         * math/w_jnf.c: Likewise.
75610         * math/w_log.c: Likewise.
75611         * math/w_logf.c: Likewise.
75612         * math/w_logl.c: Likewise.
75613         * math/w_log10.c: Likewise.
75614         * math/w_log10f.c: Likewise.
75615         * math/w_log10l.c: Likewise.
75616         * math/w_log2.c: Likewise.
75617         * math/w_log2f.c: Likewise.
75618         * math/w_log2l.c: Likewise.
75619         * math/w_pow.c: Likewise.
75620         * math/w_powf.c: Likewise.
75621         * math/w_powl.c: Likewise.
75622         * math/w_remainder.c: Likewise.
75623         * math/w_remainderf.c: Likewise.
75624         * math/w_remainderl.c: Likewise.
75625         * math/w_scalb.c: Likewise.
75626         * math/w_scalbf.c: Likewise.
75627         * math/w_scalbl.c: Likewise.
75628         * math/w_sqrt.c: Likewise.
75629         * math/w_sqrtf.c: Likewise.
75630         * math/w_sqrtl.c: Likewise.
75631         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
75632         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
75633         used.
75634         * math/math_private.h: Declare __kernel_standard_f.
75635         * math/w_cosh.c: Remove cruft and optimize a bit.
75636         * math/w_coshf.c: Likewise.
75637         * math/w_coshl.c: Likewise.
75638         * math/w_exp2.c: Likewise.
75639         * math/w_exp2f.c: Likewise.
75640         * math/w_exp2l.c: Likewise.
75641         * math/w_hypot.c: Likewise.
75642         * math/w_hypotf.c: Likewise.
75643         * math/w_hypotl.c: Likewise.
75644         * math/w_lgamma.c: Likewise.
75645         * math/w_lgamma_r.c: Likewise.
75646         * math/w_lgammaf.c: Likewise.
75647         * math/w_lgammaf_r.c: Likewise.
75648         * math/w_lgammal.c: Likewise.
75649         * math/w_lgammal_r.c: Likewise.
75650         * math/w_sinh.c: Likewise.
75651         * math/w_sinhf.c: Likewise.
75652         * math/w_sinhl.c: Likewise.
75653         * math/w_tgamma.c: Likewise.
75654         * math/w_tgammaf.c: Likewise.
75655         * math/w_tgammal.c: Likewise.
75656         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75657         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75658         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
75659         Minor optimizations.  Pretty printing.  Remove cruft.
75660         * sysdeps/i386/fpu/e_acosf.S: Likewise.
75661         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75662         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75663         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75664         * sysdeps/i386/fpu/e_acosl.c: Likewise.
75665         * sysdeps/i386/fpu/e_asin.S: Likewise.
75666         * sysdeps/i386/fpu/e_asinf.S: Likewise.
75667         * sysdeps/i386/fpu/e_atan2.S: Likewise.
75668         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
75669         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
75670         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75671         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75672         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75673         * sysdeps/i386/fpu/e_exp10.S: Likewise.
75674         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
75675         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
75676         * sysdeps/i386/fpu/e_exp2.S: Likewise.
75677         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
75678         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
75679         * sysdeps/i386/fpu/e_fmod.S: Likewise.
75680         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
75681         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
75682         * sysdeps/i386/fpu/e_hypot.S: Likewise.
75683         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
75684         * sysdeps/i386/fpu/e_log.S: Likewise.
75685         * sysdeps/i386/fpu/e_log10.S: Likewise.
75686         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75687         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75688         * sysdeps/i386/fpu/e_log2.S: Likewise.
75689         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75690         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75691         * sysdeps/i386/fpu/e_logf.S: Likewise.
75692         * sysdeps/i386/fpu/e_logl.S: Likewise.
75693         * sysdeps/i386/fpu/e_pow.S: Likewise.
75694         * sysdeps/i386/fpu/e_powf.S: Likewise.
75695         * sysdeps/i386/fpu/e_powl.S: Likewise.
75696         * sysdeps/i386/fpu/e_remainder.S: Likewise.
75697         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
75698         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
75699         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75700         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75701         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75702         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
75703         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
75704         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
75705         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75706         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75707         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75708         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75709         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75710         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75711         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
75712         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75713         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75714         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75715         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75716         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75717         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75718         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75719         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75720         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75721         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75722         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75723         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75724         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75725         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75726         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75727         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75728         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75729         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75730         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75731         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75732         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75733         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
75734         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75735         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75736         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75737         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75738         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75739         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75740         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75741         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75742         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75743         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75744         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75745         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75746         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75747         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75748         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75749         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75750         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75751         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75752         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75753         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75754         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
75755         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75756         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75757         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75758         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75759         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75760         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75761         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75762         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75763         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75764         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75765         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75766         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75767         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75768         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75769         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75770         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75771         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75772         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75773         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
75774         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75775         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75776         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75777         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75778         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75779         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75780         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75781         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
75782         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75783         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75784         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75785         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75786         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75787         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
75788         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75789         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75790         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75791         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75792         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75793         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75794         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75795         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75796         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75797         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75798         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
75799         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75800         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75801         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75802         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
75803         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
75804         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
75805         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
75806         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
75807         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
75808         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
75809         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75810         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75811         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75812         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75813         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
75814         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75815         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
75816         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
75817         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
75818         (__isnanf): Likewise.
75819         (__isinf_ns): Likewise.
75820         (__isinf_nsf): Likewise.
75821         (__finite): Likewise.
75822         (__finitef): Likewise.
75823         (__ieee754_sqrt): Define as macro.
75824         (__ieee754_sqrtf): Define as macro.
75825         (__ieee754_sqrtl): Define as macro.
75826         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
75827         inlined copy.
75828         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
75829         __FINITE_MATH_ONLY__ consistent.
75830         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
75832 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
75834         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
75835         of rawmemchr.
75837         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
75839 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
75841         * po/ja.po: Update from translation team.
75843 2011-10-08  Roland McGrath  <roland@hack.frob.com>
75845         * locale/programs/locarchive.c (prepare_address_space): New function.
75846         (create_archive, enlarge_archive, open_archive): Use it.
75848         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
75849         inside [SHARED], where it is used.
75851         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
75853         * nss/getent.c (netgroup_keys): Remove unused variable.
75854         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75856 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
75858         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
75859         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
75860         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
75861         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
75862         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
75863         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
75864         * math/Makefile (libm-calls): Add s_isinf_ns.
75865         * math/divtc3.c: Use __isinf_nsl instead of isinf.
75866         * math/multc3.c: Likewise.
75867         * math/s_casin.c: Likewise.
75868         * math/s_casinf.c: Likewise.
75869         * math/s_casinl.c: Likewise.
75870         * math/s_ccos.c: Likewise.
75871         * math/s_ccosf.c: Likewise.
75872         * math/s_ccosl.c: Likewise.
75873         * math/s_ctan.c: Likewise.
75874         * math/s_ctanf.c: Likewise.
75875         * math/s_ctanh.c: Likewise.
75876         * math/s_ctanhf.c: Likewise.
75877         * math/s_ctanhl.c: Likewise.
75878         * math/s_ctanl.c: Likewise.
75879         * math/w_fmod.c: Likewise.
75880         * math/w_fmodf.c: Likewise.
75881         * math/w_fmodl.c: Likewise.
75882         * math/w_remainder.c: Likewise.
75883         * math/w_remainderf.c: Likewise.
75884         * math/w_remainderl.c: Likewise.
75885         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
75886         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
75887         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
75888         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
75889         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
75890         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
75891         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
75892         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
75894         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
75895         of the number.
75896         * stdio-common/printf_fphex.c: Likewise.
75897         * stdio-common/printf_size.c: Likewise.
75899         * math/e_exp10.c: Include math_private.h using <...> not "...".
75900         * math/e_exp10f.c: Likewise.
75901         * math/e_exp10l.c: Likewise.
75902         * math/e_exp2l.c: Likewise.
75903         * math/e_j0l.c: Likewise.
75904         * math/e_j1l.c: Likewise.
75905         * math/e_jnl.c: Likewise.
75906         * math/e_lgammal_r.c: Likewise.
75907         * math/e_rem_pio2l.c: Likewise.
75908         * math/e_scalb.c: Likewise.
75909         * math/e_scalbf.c: Likewise.
75910         * math/e_scalbl.c: Likewise.
75911         * math/k_cosl.c: Likewise.
75912         * math/k_sinl.c: Likewise.
75913         * math/k_tanl.c: Likewise.
75914         * math/s_cacoshf.c: Likewise.
75915         * math/s_catan.c: Likewise.
75916         * math/s_catanf.c: Likewise.
75917         * math/s_catanh.c: Likewise.
75918         * math/s_catanhf.c: Likewise.
75919         * math/s_catanhl.c: Likewise.
75920         * math/s_catanl.c: Likewise.
75921         * math/s_ccosh.c: Likewise.
75922         * math/s_ccoshf.c: Likewise.
75923         * math/s_ccoshl.c: Likewise.
75924         * math/s_cexp.c: Likewise.
75925         * math/s_cexpf.c: Likewise.
75926         * math/s_cexpl.c: Likewise.
75927         * math/s_clog.c: Likewise.
75928         * math/s_clog10.c: Likewise.
75929         * math/s_clog10f.c: Likewise.
75930         * math/s_clog10l.c: Likewise.
75931         * math/s_clogf.c: Likewise.
75932         * math/s_clogl.c: Likewise.
75933         * math/s_csin.c: Likewise.
75934         * math/s_csinf.c: Likewise.
75935         * math/s_csinh.c: Likewise.
75936         * math/s_csinhf.c: Likewise.
75937         * math/s_csinhl.c: Likewise.
75938         * math/s_csinl.c: Likewise.
75939         * math/s_csqrt.c: Likewise.
75940         * math/s_csqrtf.c: Likewise.
75941         * math/s_csqrtl.c: Likewise.
75942         * math/s_ctan.c: Likewise.
75943         * math/s_ctanf.c: Likewise.
75944         * math/s_ctanh.c: Likewise.
75945         * math/s_ctanhf.c: Likewise.
75946         * math/s_ctanhl.c: Likewise.
75947         * math/s_ctanl.c: Likewise.
75948         * math/s_ldexp.c: Likewise.
75949         * math/s_ldexpf.c: Likewise.
75950         * math/s_ldexpl.c: Likewise.
75951         * math/s_significand.c: Likewise.
75952         * math/s_significandf.c: Likewise.
75953         * math/s_significandl.c: Likewise.
75954         * math/w_acos.c: Likewise.
75955         * math/w_acosf.c: Likewise.
75956         * math/w_acosh.c: Likewise.
75957         * math/w_acoshf.c: Likewise.
75958         * math/w_acoshl.c: Likewise.
75959         * math/w_acosl.c: Likewise.
75960         * math/w_asin.c: Likewise.
75961         * math/w_asinf.c: Likewise.
75962         * math/w_asinl.c: Likewise.
75963         * math/w_atan2.c: Likewise.
75964         * math/w_atan2f.c: Likewise.
75965         * math/w_atan2l.c: Likewise.
75966         * math/w_atanh.c: Likewise.
75967         * math/w_atanhf.c: Likewise.
75968         * math/w_atanhl.c: Likewise.
75969         * math/w_cosh.c: Likewise.
75970         * math/w_coshf.c: Likewise.
75971         * math/w_coshl.c: Likewise.
75972         * math/w_dremf.c: Likewise.
75973         * math/w_exp10.c: Likewise.
75974         * math/w_exp10f.c: Likewise.
75975         * math/w_exp10l.c: Likewise.
75976         * math/w_exp2.c: Likewise.
75977         * math/w_exp2f.c: Likewise.
75978         * math/w_fmod.c: Likewise.
75979         * math/w_fmodf.c: Likewise.
75980         * math/w_fmodl.c: Likewise.
75981         * math/w_hypot.c: Likewise.
75982         * math/w_hypotf.c: Likewise.
75983         * math/w_hypotl.c: Likewise.
75984         * math/w_j0.c: Likewise.
75985         * math/w_j0f.c: Likewise.
75986         * math/w_j0l.c: Likewise.
75987         * math/w_j1.c: Likewise.
75988         * math/w_j1f.c: Likewise.
75989         * math/w_j1l.c: Likewise.
75990         * math/w_jn.c: Likewise.
75991         * math/w_jnf.c: Likewise.
75992         * math/w_jnl.c: Likewise.
75993         * math/w_lgamma.c: Likewise.
75994         * math/w_lgamma_r.c: Likewise.
75995         * math/w_lgammaf.c: Likewise.
75996         * math/w_lgammaf_r.c: Likewise.
75997         * math/w_lgammal.c: Likewise.
75998         * math/w_lgammal_r.c: Likewise.
75999         * math/w_log.c: Likewise.
76000         * math/w_log10.c: Likewise.
76001         * math/w_log10f.c: Likewise.
76002         * math/w_log10l.c: Likewise.
76003         * math/w_log2.c: Likewise.
76004         * math/w_log2f.c: Likewise.
76005         * math/w_log2l.c: Likewise.
76006         * math/w_logf.c: Likewise.
76007         * math/w_logl.c: Likewise.
76008         * math/w_pow.c: Likewise.
76009         * math/w_powf.c: Likewise.
76010         * math/w_powl.c: Likewise.
76011         * math/w_remainder.c: Likewise.
76012         * math/w_remainderf.c: Likewise.
76013         * math/w_remainderl.c: Likewise.
76014         * math/w_scalb.c: Likewise.
76015         * math/w_scalbf.c: Likewise.
76016         * math/w_scalbl.c: Likewise.
76017         * math/w_sinh.c: Likewise.
76018         * math/w_sinhf.c: Likewise.
76019         * math/w_sinhl.c: Likewise.
76020         * math/w_sqrt.c: Likewise.
76021         * math/w_sqrtf.c: Likewise.
76022         * math/w_sqrtl.c: Likewise.
76023         * math/w_tgamma.c: Likewise.
76024         * math/w_tgammaf.c: Likewise.
76025         * math/w_tgammal.c: Likewise.
76027         * po/ja.po: Update from translation team.
76029 2011-09-29  Andreas Jaeger  <aj@suse.de>
76031         [BZ #13179]
76032         * sunrpc/netname.c (netname2host): Fix logic.
76034         [BZ #6779]
76035         [BZ #6783]
76036         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
76037         correctly.
76038         * math/w_remainder.c (__remainder): Likewise.
76039         * math/w_remainderf.c (__remainderf): Likewise.
76040         * math/libm-test.inc (remainder_test): Add test cases.
76042 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76044         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
76045         sdiv_qrnnd.
76047 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76049         * string/test-memcmp.c: Avoid unncessary #defines.
76050         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76052 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76054         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
76055         Use new sse2 version for core i3 - i7 as it's faster
76056         than sse42 version.
76057         (bit_Prefer_PMINUB_for_stringop): New.
76058         * sysdeps/x86_64/rawmemchr.S: Update.
76059         Replace with faster SSE2 version.
76060         * sysdeps/x86_64/memrchr.S: New file.
76061         * sysdeps/x86_64/memchr.S: Update.
76062         Replace with faster SSE2 version.
76064 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
76066         * elf/dl-load.c (lose): Add cast to avoid warning.
76068 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76070         * po/ca.po: Update from translation team.
76072         * inet/getnetgrent_r.c: Hook up nscd.
76073         * nscd/Makefile (routines): Add nscd_netgroup.
76074         (nscd-modules): Add netgroupcache.
76075         (CFLAGS-netgroupcache.c): Define.
76076         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
76077         (cache_search): Add const to second parameter.
76078         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
76079         INNETGR.
76080         (dbs): Add netgrdb entry.
76081         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
76082         (verify_persistent_db): Handle netgrdb.
76083         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
76084         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
76085         GETFDNETGR.
76086         (netgroup_response_header): Define.
76087         (innetgroup_response_header): Define.
76088         (datahead): Add netgroup_response_header and innetgroup_response_header
76089         elements.
76090         * nscd/nscd.conf: Add entries for netgroup cache.
76091         * nscd/nscd.h (dbtype): Add netgrdb.
76092         (_PATH_NSCD_NETGROUP_DB): Define.
76093         (netgroup_iov_disabled): Declare.
76094         (xmalloc, xcalloc, xrealloc): Move declarations here.
76095         (cache_search): Adjust prototype.
76096         Add netgroup-related prototypes.
76097         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
76098         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
76099         (__nscd_innetgr): Declare.
76100         * nscd/selinux.c (perms): Use access_vector_t as element type and
76101         add netgroup-related initializers.
76102         * nscd/netgroupcache.c: New file.
76103         * nscd/nscd_netgroup.c: New file.
76104         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
76105         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
76106         For four parameters use innetgr.
76107         * nss/nss_files/files-init.c: Add definition and callback for netgr.
76108         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
76109         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
76110         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
76112         * nscd/connections.c (register_traced_file): Don't register file
76113         for disabled databases.
76115 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
76117         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
76119         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
76120         from tree and freeing node.
76122 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
76124         * nss/nsswitch.c (__nss_database_lookup): Handle
76125         nss_parse_service_list out of memory case.
76127 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
76129         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
76130         out of memory case.
76132 2011-10-04  Andreas Schwab  <schwab@redhat.com>
76134         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
76135         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
76136         pass it down.
76137         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
76138         elf_machine_rela, elf_machine_lazy_rel.
76139         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
76140         (ELF_DYNAMIC_DO_REL): Likewise.
76141         (ELF_DYNAMIC_DO_RELA): Likewise.
76142         (ELF_DYNAMIC_RELOCATE): Likewise.
76143         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
76144         to ELF_DYNAMIC_DO_REL.
76145         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
76146         (dl_main): In trace mode always set __RTLD_NOIFUNC.
76147         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
76148         elf_machine_rela.
76149         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
76150         skip_ifunc, don't call ifunc function if non-zero.
76151         (elf_machine_rela): Likewise.
76152         (elf_machine_lazy_rel): Likewise.
76153         (elf_machine_lazy_rela): Likewise.
76154         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
76155         (elf_machine_lazy_rel): Likewise.
76156         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
76157         Likewise.
76158         (elf_machine_lazy_rel): Likewise.
76159         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76160         Likewise.
76161         (elf_machine_lazy_rel): Likewise.
76162         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
76163         (elf_machine_lazy_rel): Likewise.
76164         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
76165         (elf_machine_lazy_rel): Likewise.
76166         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
76167         (elf_machine_lazy_rel): Likewise.
76168         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
76169         (elf_machine_lazy_rel): Likewise.
76170         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
76171         (elf_machine_lazy_rel): Likewise.
76172         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
76173         (elf_machine_lazy_rel): Likewise.
76175 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
76177         * nss/nss_files/files-init.c (_nss_files_init): Use static
76178         initialization for all the *_traced_file variables.
76180 2011-09-28  Andreas Schwab  <schwab@redhat.com>
76182         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76184 2011-09-27  Roland McGrath  <roland@hack.frob.com>
76186         [BZ #13226]
76187         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
76189 2011-09-27  Andreas Schwab  <schwab@redhat.com>
76191         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76192         Reread the line before reparsing it.
76194 2011-09-26  Andreas Schwab  <schwab@redhat.com>
76196         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
76198 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
76199             Maxim Kuvyrkov  <maxim@codesourcery.com>
76200             Joseph Myers  <joseph@codesourcery.com>
76202         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
76203         if needed for __stack_chk_guard.
76205 2011-09-19  Roland McGrath  <roland@hack.frob.com>
76207         * sysdeps/posix/spawni.c (script_execute): Always define it.
76208         It will be optimized away if unused.
76209         (maybe_script_execute): New function.
76210         (__spawni): Call it.
76212         * Makerules: Don't include tls.make.
76213         (config-tls): Always set to thread.
76214         * tls.make.c: File removed.
76216 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
76218         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
76219         * config.make.in (CPPFLAGS-config): New substituted variable.
76221 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76223         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
76225         [BZ #13192]
76226         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
76227         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
76229 2011-09-15  Roland McGrath  <roland@hack.frob.com>
76231         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
76232         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
76233         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76234         (CALL_FAIL): Likewise.
76235         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
76236         (CALL_FAIL): Macro removed.
76237         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
76239 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76241         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
76242         for __FINITE_MATH_ONLY__ == 1.
76244 2011-09-15  Andreas Schwab  <schwab@redhat.com>
76246         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
76247         __ieee754_sqrt instead of sqrt.
76248         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
76249         __ieee754_sqrtf instead of sqrtf.
76250         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
76251         __floorf instead of floorf.
76252         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
76253         __floorf, __truncf instead of floorf, truncf.
76255 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
76257         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
76259         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
76260         __extern_always_inline.
76261         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
76262         32-bit.
76264 2011-09-14  Andreas Schwab  <schwab@redhat.com>
76266         * elf/rtld.c (dl_main): Also relocate in dependency order when
76267         doing symbol dependency testing.
76269 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
76271         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76272         Always define `refsym'.
76274 2011-09-13  Andreas Schwab  <schwab@redhat.com>
76276         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
76277         (__FD_ELT): Renamed from __FDELT.
76278         * misc/bits/select2.h (__FD_ELT): Likewise.
76279         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
76280         __FD_MASK instead of __FDELT, __FDMASK.
76281         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76282         Likewise.
76283         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76284         Likewise.
76286         * elf/Makefile (gen-ldd): Fix pattern.
76288         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
76289         (init_tls): Likewise.
76291 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
76293         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
76295 2011-09-12  Andreas Schwab  <schwab@redhat.com>
76297         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
76298         `struct cmsghdr *' instead of `void *'.
76299         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
76300         Likewise.
76302 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
76304         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
76305         if non-absolute.
76306         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
76307         ldd_rewrite_script.
76309 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
76311         * configure.in: Remove --with-tls option.
76312         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
76313         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
76314         out in case it is missing.
76315         * sysdeps/ia64/elf/configure.in: Likewise.
76316         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
76317         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
76318         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
76319         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
76320         * sysdeps/sh/elf/configure.in: Likewise.
76321         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
76322         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76323         * sysdeps/x86_64/elf/configure.in: Likewise.
76324         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
76325         * sysdeps/mach/hurd/tls.h: Likewise.
76327         [BZ #13067]
76328         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
76330         [BZ #13090]
76331         * configure.in: Fix use of AC_INIT.
76333         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
76335 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
76337         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
76338         __set_errno.
76339         * malloc/hooks.c: Likewise.
76341         [BZ #11929]
76342         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
76343         variables statically.
76344         (narenas): Initialize.
76345         (list_lock): Initialize.
76346         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
76347         initializtion of main_arena and list_lock.  Small cleanups.
76348         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
76349         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
76350         Add initializers to main_arena and mp_.
76351         (malloc_state): Remove pagesize member.  Change all users to use
76352         GLRO(dl_pagesize).
76354         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
76355         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
76356         is always initialized.
76358         * malloc/malloc.c: Removed unused configurations and dead code.
76359         * malloc/arena.c: Likewise.
76360         * malloc/hooks.c: Likewise.
76361         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
76363         * include/tls.h: Removed.  USE___THREAD must always be defined.
76364         * bits/libc-tsd.h: Don't handle !USE___THREAD.
76365         * elf/dl-libc.c: Likewise.
76366         * elf/dl-tsd.c: Likewise.
76367         * include/errno.h: Likewise.
76368         * include/netdb.h: Likewise.
76369         * include/resolv.h: Likewise.
76370         * inet/herrno-loc.c: Likewise.
76371         * inet/herrno.c: Likewise.
76372         * malloc/arena.c: Likewise.
76373         * malloc/hooks.c: Likewise.
76374         * malloc/malloc.c: Likewise.
76375         * resolv/res-state.c: Likewise.
76376         * resolv/res_libc.c: Likewise.
76377         * sysdeps/i386/dl-machine.h: Likewise.
76378         * sysdeps/ia64/dl-machine.h: Likewise.
76379         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
76380         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
76381         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
76382         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
76383         * sysdeps/sh/dl-machine.h: Likewise.
76384         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76385         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76386         * sysdeps/unix/i386/sysdep.S: Likewise.
76387         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
76388         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
76389         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
76390         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
76391         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
76392         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
76393         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
76394         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76395         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76396         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
76397         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76398         * sysdeps/x86_64/dl-machine.h: Likewise.
76399         * tls.make.c: Likewise.
76401         * configure.in: Remove --with-__thread option.  Make tests for
76402         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
76403         tls_model attribute fail if no support is available.  Remove
76404         USE_IN_LIBIO.
76405         * Makeconfig: Adjust for dropped configure option.  All features are
76406         now mandatory.
76407         * Makerules: Likewise.
76408         * Versions.def: Likewise.
76409         * argp/argp-fmtstream.c: Likewise.
76410         * argp/argp-fmtstream.h: Likewise.
76411         * argp/argp-help.c: Likewise.
76412         * assert/assert.c: Likewise.
76413         * config.h.in: Likewise.
76414         * config.make.in: Likewise.
76415         * configure: Likewise.
76416         * configure.in: Likewise.
76417         * csu/Versions: Likewise.
76418         * csu/init.c: Likewise.
76419         * elf/tst-audit2.c: Likewise.
76420         * elf/tst-tls10.c: Likewise.
76421         * elf/tst-tls10.h: Likewise.
76422         * elf/tst-tls11.c: Likewise.
76423         * elf/tst-tls12.c: Likewise.
76424         * elf/tst-tls14.c: Likewise.
76425         * elf/tst-tlsmod11.c: Likewise.
76426         * elf/tst-tlsmod12.c: Likewise.
76427         * elf/tst-tlsmod13.c: Likewise.
76428         * elf/tst-tlsmod13a.c: Likewise.
76429         * elf/tst-tlsmod14a.c: Likewise.
76430         * elf/tst-tlsmod15b.c: Likewise.
76431         * elf/tst-tlsmod16a.c: Likewise.
76432         * elf/tst-tlsmod16b.c: Likewise.
76433         * elf/tst-tlsmod7.c: Likewise.
76434         * elf/tst-tlsmod8.c: Likewise.
76435         * elf/tst-tlsmod9.c: Likewise.
76436         * gmon/gmon.c: Likewise.
76437         * grp/fgetgrent_r.c: Likewise.
76438         * grp/putgrent.c: Likewise.
76439         * hurd/fopenport.c: Likewise.
76440         * include/libc-symbols.h: Likewise.
76441         * include/tls.h: Likewise.
76442         * intl/gettextP.h: Likewise.
76443         * intl/loadinfo.h: Likewise.
76444         * locale/global-locale.c: Likewise.
76445         * locale/localeinfo.h: Likewise.
76446         * mach/devstream.c: Likewise.
76447         * malloc/arena.c: Likewise.
76448         * malloc/set-freeres.c: Likewise.
76449         * misc/err.c: Likewise.
76450         * misc/getttyent.c: Likewise.
76451         * misc/mntent_r.c: Likewise.
76452         * posix/getopt.c: Likewise.
76453         * posix/wordexp.c: Likewise.
76454         * pwd/fgetpwent_r.c: Likewise.
76455         * resolv/Versions: Likewise.
76456         * resolv/res_hconf.c: Likewise.
76457         * shadow/fgetspent_r.c: Likewise.
76458         * shadow/putspent.c: Likewise.
76459         * stdio-common/printf_fphex.c: Likewise.
76460         * stdio-common/tmpfile.c: Likewise.
76461         * stdlib/abort.c: Likewise.
76462         * stdlib/fmtmsg.c: Likewise.
76463         * sunrpc/auth_unix.c: Likewise.
76464         * sunrpc/clnt_perr.c: Likewise.
76465         * sunrpc/clnt_tcp.c: Likewise.
76466         * sunrpc/clnt_udp.c: Likewise.
76467         * sunrpc/clnt_unix.c: Likewise.
76468         * sunrpc/openchild.c: Likewise.
76469         * sunrpc/svc_simple.c: Likewise.
76470         * sunrpc/svc_tcp.c: Likewise.
76471         * sunrpc/svc_udp.c: Likewise.
76472         * sunrpc/svc_unix.c: Likewise.
76473         * sunrpc/xdr.c: Likewise.
76474         * sunrpc/xdr_array.c: Likewise.
76475         * sunrpc/xdr_rec.c: Likewise.
76476         * sunrpc/xdr_ref.c: Likewise.
76477         * sunrpc/xdr_stdio.c: Likewise.
76479 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76481         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76483 2011-07-03  Andreas Jaeger  <aj@suse.de>
76485         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
76486         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
76487         regenerate with gen-libm-tests.pl.
76489 2010-05-12  Petr Baudis  <pasky@suse.cz>
76491         [BZ #11589]
76492         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
76493         around j0() zero points by switching to j1().
76494         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76495         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76496         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76497         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76499 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76501         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
76502         instead of 0.
76503         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
76504         instead of 0.
76505         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76506         Patch in part by Pavel Roskin <proski@gnu.org>.
76508         [BZ #13138]
76509         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
76510         realloc.
76511         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
76512         Free memory block if necessary.
76514         [BZ #12847]
76515         * libio/genops.c (INTDEF): For string streams the _lock pointer can
76516         be NULL.  Don't lock in this case.
76518 2011-09-09  Roland McGrath  <roland@hack.frob.com>
76520         * elf/elf.h (ELFOSABI_GNU): New macro.
76521         (ELFOSABI_LINUX): Define to that.
76523 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
76525         * string/strncat.c (strncat): Undef the symbol in case it has been
76526         defined in bits/string.h.
76528 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76530         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
76532         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
76533         link map.
76535 2011-08-17  Andreas Jaeger  <aj@suse.de>
76537         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
76539 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
76540             Ian Lance Taylor  <iant@google.com>
76542         * math/libm-test.inc (lround_test): New testcase.
76543         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
76545 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
76547         * Makefile: Remove support for automatic cvs check-ins.
76548         * Makerules: Likewise.
76549         * config.make.in: Likewise.
76550         * configure.in: Likewise.
76551         * intl/Makefile: Likewise.
76552         * locale/Makefile: Likewise.
76553         * po/Makefile: Likewise.
76554         * posix/Makefile: Likewise.
76555         * sysdeps/gnu/Makefile: Likewise.
76556         * sysdeps/mach/hurd/Makefile: Likewise.
76557         * sysdeps/sparc/sparc32/Makefile: Likewise.
76559         [BZ #13118]
76560         * posix/Makefile (bug-regex32-ENV): Define.
76561         Patch by John Stanley <jpsinthemix@verizon.net>.
76563         * misc/Makefile (headers): Add bits/select2.h.
76564         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
76565         * misc/bits/select2.h: New file.
76566         * include/bits/select2.h: New file.
76567         * debug/Makefile (routines): Add fdelt_chk.
76568         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
76569         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
76570         FD_ISSET.
76571         * debug/fdelt_chk.c: New file.
76573         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
76574         * wcsmbs/test-wmemcmp.c: Likewise.
76575         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
76576         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
76578 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76580         * string/Makefile (strop-tests): Add memcmp.
76581         * string/test-wmemcmp.c: New file.
76582         * string/test-memcmp.c: Add wmemcmp support.
76584 2011-09-08  Roland McGrath  <roland@hack.frob.com>
76586         [BZ #13153]
76587         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
76588         2011-07-19 change.
76590         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
76591         garbage value in a __mach_port_mod_refs call in the cases of the
76592         task-self and thread-self ports.
76594 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76596         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
76598 2011-09-08  Andreas Schwab  <schwab@redhat.com>
76600         * elf/dl-load.c (lose): Check for non-null L.
76602 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76604         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
76606         * elf/dl-libc.c (dlerror_run): Pass back error code from
76607         dl_catch_error.
76609         [BZ #13123]
76610         * elf/dl-load.c (lose): Free l_origin if it is valid.
76612         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
76613         names.
76614         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
76615         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76616         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76617         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76618         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
76619         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
76621 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76623         * sysdeps/powerpc/fpu/e_hypot.c: New file.
76624         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
76625         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
76626         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
76627         * sysdeps/powerpc/fpu/k_cosf.c: New file.
76628         * sysdeps/powerpc/fpu/k_sinf.c: New file.
76629         * sysdeps/powerpc/fpu/s_cosf.c: New file.
76630         * sysdeps/powerpc/fpu/s_sinf.c: New file.
76631         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
76632         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
76634 2011-08-15  Alan Modra  <amodra@gmail.com>
76636         [BZ #13092]
76637         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
76638         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
76639         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
76640         ppc_mcount to static-only-routines.
76641         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
76642         __mcount_internal.
76643         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
76644         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
76646 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
76648         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
76649         for finite and infinity parameters.
76651 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76653         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
76654         and add nop instructions for throughput optimization.
76655         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76657 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
76659         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
76660         aligned copy for power7 with vector-scalar instructions.
76661         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
76663 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
76665         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
76666         AVX check.
76668 2011-09-07  Andreas Schwab  <schwab@redhat.com>
76670         [BZ #13144]
76671         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
76672         last change.
76674 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76676         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76677         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
76678         syscall wrapper around clock_gettime in __vdso_clock_gettime.
76679         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
76680         clock_gettime.
76682 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76684         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
76685         Forgot to demangle the pointer.
76687         * sysdeps/i386/sysdep.h: Define atom_text_section.
76688         * sysdeps/x86_64/sysdep.h: Likewise.
76689         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
76690         section with atom_text_section.
76691         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76692         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76693         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
76694         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76695         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
76697         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
76698         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
76699         already be defined.  Change to take two parameters and don't assign
76700         result to variable.  Adjust all users.
76701         Define INTERNAL_GETTIME if not already defined.
76702         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
76703         call.
76704         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
76705         HAVE_CLOCK_GETTIME_VSYSCALL.
76706         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
76708         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
76709         gettimeofday vsyscall, just use time.
76711 2011-09-06  Andreas Schwab  <schwab@redhat.com>
76713         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
76714         <errno.h>.
76716 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76718         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
76719         syscall on x86-64.
76720         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
76721         syscall.
76722         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
76723         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
76724         syscall if possible.
76726 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76728         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
76729         e_ident.  Don't pass to find_mapsXX.
76730         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
76732 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76734         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76735         strchr-sse2-no-bsf strrchr-sse2-no-bsf
76736         * sysdeps/x86_64/multiarch/strchr.S: Update.
76737         Check bit_slow_BSF bit.
76738         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76739         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
76740         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
76742 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76744         [BZ #13134]
76745         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
76746         before glibc 2.15.
76747         (tryshell): Define.
76748         (__spawni): Change last parameter to be flag.  Test
76749         SPAWN_XFLAGS_USE_PATH flag to use path or not.
76750         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
76751         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
76752         * posix/spawni.c: Likewise.
76753         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
76754         * posix/spawnp.c: Likewise.  Change normal version to use
76755         SPAWN_XFLAGS_USE_PATH.
76756         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
76757         SPAWN_XFLAGS_TRY_SHELL.
76759         [BZ #13150]
76760         * posix/glob.h: Remove gcc 1.x support.
76762         [BZ #13068]
76763         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
76765 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76767         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76768         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
76769         strrchr-sse2-bsf
76770         * sysdeps/i386/i686/multiarch/strchr.S: New file.
76771         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
76772         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
76773         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
76774         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
76775         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
76777 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76779         * sysdeps/x86_64/wcscmp.S: New file.
76781         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
76782         wcscmp-c wcscmp-sse2
76783         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
76784         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
76785         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
76786         * wcsmbs/wcscmp.c: Allow renaming.
76788 2011-09-05  David S. Miller  <davem@davemloft.net>
76790         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
76791         stack slot, rather than the struct return pointer slot.
76792         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
76793         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
76794         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
76795         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
76797 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76799         * po/ja.po: Update from translation team.
76801         [BZ #13144]
76802         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
76803         kernel in 64-bit binaries.
76805 2011-09-01  David S. Miller  <davem@davemloft.net>
76807         * elf/elf.h (HWCAP_SPARC_*): Move to..
76808         * sysdeps/sparc/sysdep.h: this new file and add new values.
76809         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
76810         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
76811         _DL_HWCAP_COUNT to 24.
76812         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76813         entries.
76814         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
76815         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
76816         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
76817         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
76818         instead of magic constants.
76819         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76821 2011-08-31  David S. Miller  <davem@davemloft.net>
76823         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
76824         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
76825         Reimplement to do errno handling inline.
76826         (SYSCALL_ERROR_HANDLER): New macro.
76827         (__SYSCALL_STRING): Do not do errno handling in asm.
76828         (__CLONE_SYSCALL_STRING): Delete.
76829         (__INTERNAL_SYSCALL_STRING): Delete.
76830         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
76831         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
76832         (PSEUDO): Reimplement to do errno handling inline.
76833         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
76834         (SYSCALL_ERROR_HANDLER): New macro.
76835         (__SYSCALL_STRING): Do not do errno handling in asm.
76836         (__CLONE_SYSCALL_STRING): Delete.
76837         (__INTERNAL_SYSCALL_STRING): Delete.
76838         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
76839         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
76840         i386.
76841         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
76842         (inline_syscall*): Add 'err' argument.
76843         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
76844         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
76845         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
76846         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
76848         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
76849         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76851 2011-08-30  Andreas Schwab  <schwab@redhat.com>
76853         * elf/rtld.c (dl_main): Relocate objects in dependency order.
76855 2011-08-29  Jiri Olsa <jolsa@redhat.com>
76857         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
76858         directive.
76860 2011-08-24  David S. Miller  <davem@davemloft.net>
76862         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
76864 2011-08-24  Andreas Schwab  <schwab@redhat.com>
76866         * elf/Makefile: Add rules to build and run unload8 test.
76867         * elf/unload8.c: New file.
76868         * elf/unload8mod1.c: New file.
76869         * elf/unload8mod1x.c: New file.
76870         * elf/unload8mod2.c: New file.
76871         * elf/unload8mod3.c: New file.
76873         * elf/dl-close.c (_dl_close_worker): Reset private search list if
76874         it wasn't used.
76876 2011-08-23  David S. Miller  <davem@davemloft.net>
76878         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
76879         subtract stack bias.
76880         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
76881         %sp not %fp in calculations.
76882         (_JMPBUF_UNWINDS_ADJ): Likewise.
76884         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
76885         (aio_suspend): Call it to force an exception region around the
76886         AIO_MISC_WAIT() invocation.
76888 2011-08-23  Andreas Schwab  <schwab@redhat.com>
76890         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
76891         backslash.
76893 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
76895         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
76896         protection macro.
76897         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
76898         and <dl-machine.h>.
76899         (Elf64_FuncDesc): Remove.
76901 2011-08-22  David S. Miller  <davem@davemloft.net>
76903         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
76904         sigaltstack check, add missing cfi directives.
76905         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
76906         missing cfi directives, and sigaltstack handling.
76908 2011-08-16  Andreas Schwab  <schwab@redhat.com>
76910         [BZ #11724]
76911         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
76912         object is seen twice.
76913         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76915         * elf/Makefile (distribute): Add tst-initorder2.c.
76916         (tests): Add tst-initorder2.
76917         (modules-names): Add tst-initorder2a tst-initorder2b
76918         tst-initorder2c tst-initorder2d.  Add rules to build them.
76919         ($(objpfx)tst-initorder2.out): New rule.
76920         * elf/tst-initorder2.c: New file.
76921         * elf/tst-initorder2.exp: New file.
76923 2011-08-22  Andreas Schwab  <schwab@redhat.com>
76925         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
76927         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
76928         dependencies back to end of function.
76930         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76931         $(elfobjdir)/ld.so.
76933 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
76935         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
76936         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
76937         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
76938         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
76939         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
76940         of __vdso_gettimeofday.
76941         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
76942         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
76943         attribute_hidden.
76944         (_libc_vdso_platform_setup): Remove initialization of
76945         __vdso_gettimeofday and __vdso_time.
76947 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76949         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
76950         and fgetc_unlocked.
76951         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
76952         getc_unlocked.
76954         * elf/dl-open.c (add_to_global): Report additions to the global scope
76955         for LD_DEBUG=scopes.
76956         (dl_open_worker): Also print scope of newly loaded dependencies.
76957         (_dl_show_scope): Indicate if there is no scope.
76959         [BZ #13114]
76960         * stdio-common/Makefile (tests): Add bug24.
76961         * stdio-common/bug24.c: New file.
76963 2011-08-19  Andreas Jaeger  <aj@suse.de>
76965         [BZ #13114]
76966         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
76967         non-existant file when using close-on-exec mode.
76969 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76971         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
76972         the very first instruction.
76974         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
76975         the CFI state in the end.
76976         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
76977         inclusion of dl-trampoline.h.
76978         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
76980 2011-08-19  Andreas Schwab  <schwab@redhat.com>
76982         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
76983         expectations for long double.
76985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
76986         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
76988 2011-08-14  David S. Miller  <davem@davemloft.net>
76990         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
76991         artificual limit depends upon the system page size.
76993 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76995         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
76996         * resolv/Makefile: Define CFLAGS-libresolv.
76998 2011-08-17  Andreas Schwab  <schwab@redhat.com>
77000         * nss/makedb.c (compute_tables): Make variables used in nested
77001         function static.
77003 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77005         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
77006         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
77007         if buffer was too small.
77009         * elf/pldd.c (main): Attach to all threads in the process.
77010         Rewrite /proc handling to use *at functions.
77012 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
77014         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
77015         specifies first scope to show.
77016         (dl_open_worker): Update callers.  Move printing scope of new
77017         object to before the relocation.
77018         * elf/rtld.c (dl_main): Update _dl_show_scope call.
77019         * sysdeps/generic/ldsodefs.h: Update declaration.
77021         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
77022         string for the scope number.
77024 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
77026         * nscd/servicescache.c (cache_addserv): Make sure written is always
77027         initialized.
77029 2011-08-14  Roland McGrath  <roland@hack.frob.com>
77031         * sysdeps/i386/i486/bits/atomic.h
77032         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
77033         statement expression, so as to suppress "set but not used" warning.
77034         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
77036         * string/strncat.c (STRNCAT): Use prototype definition.
77038         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
77039         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
77040         -Iprograms here.
77041         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
77042         (localedef-modules): Add localedef.
77043         (locale-modules): Add locale.
77045         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
77046         * elf/rtld.c (dl_main): Invert order of assignment in last change,
77047         to avoid a warning.
77049 2011-08-14  David S. Miller  <davem@davemloft.net>
77051         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
77052         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
77054 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
77056         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
77057         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
77058         * elf/rtld.c (dl_main): Set l_name of vDSO.
77059         Call _dl_show_scope when DL_DEBUG_SCOPES.
77060         (process_dl_debug): Recognize scopes flag and also set it for all.
77061         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
77062         Declare _dl_show_scope.
77064         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
77065         (do_dlopen): Pass caller_dlopen to dl_open.
77066         (__libc_dlopen_mode): Initialize caller_dlopen.
77068         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
77069         of libc.  Make tolower call locale-independent.  Optimize a bit by
77070         using isdigit instead of isalnum.
77071         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
77073 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
77075         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
77076         was a dependency or dynamically loaded.
77078 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
77080         * intl/l10nflist.c: Allow architecture-specific pop function.
77081         * sysdeps/x86_64/l10nflist.c: New file.
77083         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
77084         classification.
77086 2011-08-10  Andreas Schwab  <schwab@redhat.com>
77088         * include/dirent.h: Add libc_hidden_proto for scandirat and
77089         scandirat64.  Don't declare __scandirat64.
77090         * dirent/scandirat.c: Add libc_hidden_def.
77091         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
77092         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
77094 2011-08-10  David S. Miller  <davem@davemloft.net>
77096         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
77097         enum.
77098         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77099         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77100         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77102 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
77104         * Versions.def [libc]: Add GLIBC_2.15.
77105         * dirent/Makefile (routines): Add scandirat and scandirat64.
77106         * dirent/Versions [libc]: Export scandirat and scandirat64 for
77107         GLIBC_2.15.
77108         * dirent/dirent.h: Declare scandirat and scandirat64.
77109         * dirent/scandirat.c: New file.
77110         * dirent/scandirat64.c: New file.
77111         * sysdeps/wordsize-64/scandirat.c: New file.
77112         * sysdeps/wordsize-64/scandirat64.c: New file.
77113         * dirent/opendir.c: Define opendirat.
77114         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
77115         using scandirat.
77116         * dirent/scandir64.c: Adjust for scandir.c change.
77117         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
77118         __scandirat64, and __scandir_cancel_handler.
77119         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
77120         additional parameter and use openat instead of open (outside of ld.so).
77121         Add new __opendir as wrapper around __opendirat.
77122         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
77123         here without requiring old scandirat implementation.
77125 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
77127         * dirent/scandir.c (cancel_handler): Renamed to
77128         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
77129         defined.  Adjust users.
77130         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
77131         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
77133 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
77135         * string/test-string.h (IMPL): Use __STRING to expand name and then
77136         stringify it.
77138         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
77139         of cleanups.
77141 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77143         * string/Makefile: Update.
77144         (strop-tests): Append strncat.
77145         * string/test-wcscmp.c: New file.
77146         New comprehensive test for wcscmp.
77147         * string/test-strcmp.c: Update.
77148         (WIDE): New define.
77150 2011-07-22  Andreas Schwab  <schwab@redhat.com>
77152         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
77153         line.
77155 2011-07-26  Andreas Schwab  <schwab@redhat.com>
77157         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77158         encoding to ACE if AI_IDN.
77160 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
77162         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
77163         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
77165 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77167         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
77168         Fix overflow bug in strncat.
77169         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
77171         * string/test-strncat.c: Update.
77172         Add new tests for checking overflow bugs.
77174 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77176         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77177         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
77178         * sysdeps/i386/i686/multiarch/strcat.S: New file.
77179         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
77180         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
77181         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
77182         * sysdeps/i386/i686/multiarch/strncat.S: New file.
77183         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
77184         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
77186         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
77187         (USE_AS_STRCAT): Define.
77188         Add strcat and strncat support.
77189         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77191 2011-07-25  Andreas Schwab  <schwab@redhat.com>
77193         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
77194         __n bigger than INT_MAX+1.
77195         (__strncmp_g): Likewise.
77197 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
77199         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
77200         * libio/stido.h: Likewise.
77202         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
77203         (AF_NFC): Define.
77204         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
77205         (AF_NFC): Define.
77207         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
77208         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77209         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77210         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
77211         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77213         [BZ #13021]
77214         * scripts/test-installation.pl: Don't expect libnss_test1 to be
77215         installed.
77217         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
77218         typo.
77219         (_dl_x86_64_save_sse): Likewise.
77221 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
77223         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
77224         OSXSAVE.
77225         (_dl_x86_64_save_sse): Likewise.
77227         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
77229         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
77231 2011-07-21  Andreas Schwab  <schwab@redhat.com>
77233         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
77234         change.
77235         (_dl_x86_64_save_sse): Use correct AVX check.
77237 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77239         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
77240         bug in strncpy/strncat.
77241         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
77243 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
77245         * string/tester.c (test_strcat): Add tests for different alignments
77246         of source and destination.
77247         (test_strncat): Likewise.
77249 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77251         [BZ #12852]
77252         * posix/glob.c (glob): Check passed in values before using them in
77253         expressions to avoid some overflows.
77254         (glob_in_dir): Likewise.
77256         [BZ #13007]
77257         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
77258         check for AVX enablement so that we don't crash with old kernels and
77259         new hardware.
77260         * elf/tst-audit4.c: Add same checks here.
77261         * elf/tst-audit6.c: Likewise.
77263         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
77265 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
77267         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
77269 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77271         * po/cs.po: Update from translation team.
77272         * po/bg.po: Likewise.
77274 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
77276         * misc/sys/cdefs.h: Add support for const attribute.
77277         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
77278         to gnu_dev_{major,minor,makedev} functions.
77280 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
77282         * intl/dcigettext.c (get_output_charset): Add missing bracket.
77284 2011-07-20  Andreas Schwab  <schwab@redhat.com>
77286         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
77287         strlen results.
77289 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77291         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
77292         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
77293         register in order to avoid conflicts with the soft frame pointer
77294         being held in r11 when necessary.
77295         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
77296         (INTERNAL_VSYSCALL_NCS): Likewise.
77298 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
77300         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
77301         * elf/dl-fini.c (_dl_fini): Adjust caller.
77302         * elf/dl-close.c (_dl_close_worker): Likewise.
77303         * sysdeps/generic/ldsodefs.h: Adjust declaration.
77305 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77307         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
77308         "aux_cache->nlibs < 0".
77310         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
77311         in the reload-count case.
77313 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77315         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77316         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
77317         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
77318         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
77319         * sysdeps/x86_64/multiarch/strcat.S: New file.
77320         * sysdeps/x86_64/multiarch/strncat.S: New file.
77321         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
77322         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
77323         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
77324         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
77325         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
77326         (USE_AS_STRCAT): Define.
77327         Add strcat and strncat support.
77328         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77329         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
77330         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
77331         * string/strncat.c: Update.
77332         (USE_AS_STRNCAT): Define.
77333         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77334         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
77335         and i7.
77336         * sysdeps/x86_64/multiarch/init-arch.h
77337         (bit_Prefer_PMINUB_for_stringop): New.
77338         (index_Prefer_PMINUB_for_stringop): Likewise.
77339         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
77340         bit_Prefer_PMINUB_for_stringop.
77342 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77344         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
77345         buffer64.
77346         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
77347         of casting of buffer.
77348         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
77349         buffer32 and buffer64.
77350         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
77351         writes instead of casting of buffer.
77352         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
77353         buffer32.
77354         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
77355         casting of buffer.
77357 2011-07-19  Andreas Schwab  <schwab@redhat.com>
77359         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
77361 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77363         * nscd/nscd.c (termination_handler): Don't do anything for a database
77364         if it has not yet been initialized.
77366 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77368         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77370 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77372         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77374 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77376         * po/nl.po: Update from translation team.
77377         * po/sv.po: Likewise.
77379 2011-07-16  Roland McGrath  <roland@hack.frob.com>
77381         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
77382         now disallowed by GCC.
77384         * configure.in (use-default-link): Default to yes if a test -shared
77385         link meets our qualifications.
77386         * configure: Regenerated.
77388         * config.make.in (output-format): New variable.
77389         * configure.in: Check for ld --print-output-format support.
77390         * configure: Regenerated.
77391         * Makerules ($(common-objpfx)format.lds)
77392         [$(output-format) != unknown]: Just use $(output-format),
77393         instead of the linker-script munging.
77395 2011-07-14  Roland McGrath  <roland@hack.frob.com>
77397         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
77398         of $(common-objpfx)shlib.lds.
77399         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
77401         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
77402         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
77404         * configure.in (-z relro check): Adjust test code to add a large
77405         writable data section after it.
77406         * configure: Regenerated.
77408 2011-07-11  Roland McGrath  <roland@hack.frob.com>
77410         * configure.in (-z relro check): Fix test code to make the variable
77411         truly const.
77412         * configure: Regenerated.
77414 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
77416         * nscd/nscd.h (struct traced_file): Define.
77417         (struct database_dyn): Remove inotify_descr, reset_res, and filename
77418         elements.  Add traced_files.
77419         (inotify_fd): Declare.
77420         (register_traced_file): Declare.
77421         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
77422         (inotify_fd): Export.
77423         (resolv_conf_descr): Remove.
77424         (nscd_init): Move inotify descriptor creation to main.
77425         Don't register files for notification here.
77426         (register_traced_file): New function.
77427         (invalidate_cache): Don't use reset_res to determine whether to call
77428         res_init, go through the list of registered files.
77429         (main_loop_poll): The inotify descriptors are now stored in the
77430         structures for the traced files.
77431         (main_loop_epoll): Likewise.
77432         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
77433         to __nss_disable_nscd.
77434         * nscd/cache.c (prune_cache): There is no single inotify descriptor
77435         for a database anymore.  Check the records for all the registered
77436         files instead.
77437         * nss/Makefile (libnss_files-routines): Add files-init.
77438         (libnss_db-routines): Add db-init.
77439         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
77440         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
77441         * nss/nss_db/db-init.c: New file.
77442         * nss/nss_files/files-init.c: New file.
77443         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
77444         __nss_lookup_function.
77445         (__nss_lookup_function): Call nss_load_library.
77446         (nss_load_all_libraries): New function.
77447         (__nss_disable_nscd): Take parameter with callback function for files
77448         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
77449         used for the cached services.
77450         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
77451         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
77452         options for features to all the files in nscd.
77454         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
77456 2011-07-10  Roland McGrath  <roland@hack.frob.com>
77458         * csu/elf-init.c (__libc_csu_init): Comment typo.
77460 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
77462         * po/pl.po: Update from translation team.
77463         * po/ja.po: Likewise.
77464         * po/ru.po: Likewise.
77465         * po/ko.po: Likewise.
77466         * po/fr.po: Likewise.
77468 2011-07-09  Roland McGrath  <roland@hack.frob.com>
77470         * configure.in (.ctors/.dtors header and trailer check):
77471         Use an empirical test on a built program.
77472         * configure: Regenerated.
77474         * configure.in (-z relro check): Use an empirical test on a built DSO.
77475         Detect, but do not require, on ia64.
77476         * configure: Regenerated.
77478         * configure.in (READELF): Find it with AC_CHECK_TOOL.
77479         Update tests that use readelf to use $READELF instead.
77480         * configure: Regenerated.
77482 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
77484         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
77485         if the result is not used.
77487 2011-07-05  Andreas Jaeger  <aj@suse.de>
77489         [BZ#9696]
77490         * stdlib/tst-strtod.c: Add testcase.
77492 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
77494         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
77495         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
77496         The latter has a higher limit.  Take additional parameter to pass to
77497         the new function.
77498         (__pathconf): Pass file to __statfs_link_max.
77499         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
77500         __statfs_link_max.
77501         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
77502         __statfs_link_max.
77504         [BZ #12868]
77505         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
77506         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77507         Handle Lustre.
77508         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
77509         (__statfs_filesize_max): Likewise.
77510         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
77512 2011-07-05  Andreas Jaeger  <aj@suse.de>
77514         * resolv/res_comp.c (dn_skipname): Remove unused variable.
77516 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
77518         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
77519         `status' variable.
77520         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
77521         Likewise.
77523 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
77525         * Makefile (strop-tests): Add strncat.
77526         * string/test-strncat.c: New file.
77528 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
77530         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
77532 2011-06-21  Andreas Jaeger  <aj@suse.de>
77534         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
77535         Copy rule from iconvdata/Makefile.
77537 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77539         [BZ #12922]
77540         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
77541         but no long options are defined, just return 'W'.
77543 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
77545         [BZ #9696]
77546         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
77548 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77550         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
77551         netgroups to read.
77552         (innetgr): Likewise.
77554 2011-07-05  Roland McGrath  <roland@hack.frob.com>
77556         * config.make.in (install_root): Default to $(DESTDIR).
77558 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
77560         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
77562 2011-07-02  Roland McGrath  <roland@hack.frob.com>
77564         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
77566         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
77567         containing directory rather than embedding absolute directory names.
77569         * scripts/check-local-headers.sh: Rewritten using awk.
77570         Match by word, not by line.  Print error messages for matches.
77571         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
77573         * Makerules [shlib-lds-flags empty]:
77574         ($(common-objpfx)libc_pic.opts): New target.
77575         ($(common-objpfx)libc_pic.os.clean): New target.
77576         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
77578         * config.make.in (OBJCOPY): New variable.
77579         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
77580         * configure: Regenerated.
77582         * config.make.in (use-default-link): New variable.
77583         * configure.in (use_default_link): Grok --with-default-link to set it.
77584         * configure: Regenerated.
77585         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
77586         (shlib-lds, shlib-lds-flags): Define to empty.
77588         * Makerules (shlib-lds): New variable.
77589         (shlib-lds-flags): New variable.
77590         (build-shlib, build-moduile, build-module-asneeded): Use it.
77591         ($(common-objpfx)libc.so): Use $(shlib-lds).
77592         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
77593         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
77595         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
77596         DT_FLAGS/DT_FLAGS_1 with zero flags.
77598         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
77599         linker script munging.
77601 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
77603         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
77604         as 128-bit value.
77605         * crypt/sha512.c (sha512_process_block): Perform total addition using
77606         128-bit if possible.
77607         (__sha512_finish_ctx): Likewise.
77608         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
77609         as 64-bit value.
77610         * crypt/sha256.c (SWAP64): Define.
77611         (sha256_process_block): Perform total addition using 64-bit if
77612         possible.
77613         (__sha256_finish_ctx): Likewise.
77615 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
77617         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
77618         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77619         * nscd/hstcache.c (cache_addhst): Likewise.
77620         * nscd/grpcache.c (cache_addgr): Likewise.
77621         * nscd/aicache.c (addhstaiX): Likewise.
77622         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
77624 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
77626         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
77627         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77628         * nscd/hstcache.c (cache_addhst): Likewise.
77629         * nscd/grpcache.c (cache_addgr): Likewise.
77630         * nscd/aicache.c (addhstaiX): Likewise.
77632 2011-07-01  Andreas Schwab  <schwab@redhat.com>
77634         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
77635         domain only when needed.
77637 2011-06-30  Andreas Schwab  <schwab@redhat.com>
77639         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
77640         is always restored.
77642 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
77644         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
77645         are re-adding the entry.
77646         * nscd/servicescache.c (cache_addserv): Likewise.
77648 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
77650         * sysdeps/generic/dl-irel.h: fix protection against multiple
77651         inclusions.
77652         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
77654 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
77656         [BZ #12935]
77657         * malloc/memusage.sh: Fix quoting in message.
77658         * debug/xtrace.sh: Likewise.
77660         * configure.in: Remove support for --experimental-malloc option, make
77661         it the default.
77662         * config.make.in: Likewise.
77663         * malloc/Makefile: Likewise.
77665 2011-06-27  Andreas Schwab  <schwab@redhat.com>
77667         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
77668         two-byte characters.
77670 2011-06-27  Roland McGrath  <roland@hack.frob.com>
77672         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
77673         AC_CACHE_CHECK invocation.
77674         * configure: Regenerated.
77676         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
77678 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
77680         [BZ #12350]
77681         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
77682         bit from old_res_options.
77684         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
77686         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
77687         value type for setfct.
77689 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
77691         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77692         __gettimeofday instead of gettimeofday.
77694 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
77696         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
77698 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
77700         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
77702         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
77703         info.
77705 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77707         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77708         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77709         strcpy-sse2-unaligned strncpy-sse2-unaligned
77710         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
77711         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
77712         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
77713         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
77714         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
77715         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
77716         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
77717         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
77718         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
77719         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
77720         (STRCPY): Support SSE2 and SSSE3 versions.
77722 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
77724         [BZ #12874]
77725         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
77726         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
77727         kernels which artificially limit size of requests.
77729 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77731         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77732         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77733         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
77734         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
77735         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
77736         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
77737         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
77738         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
77739         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
77740         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
77741         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
77742         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
77743         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
77744         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
77745         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
77746         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77747         Enable unaligned load optimization for Intel Core i3, i5 and i7
77748         processors.
77749         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
77750         Define.
77751         (index_Fast_Unaligned_Load): Define.
77752         (HAS_FAST_UNALIGNED_LOAD): Define.
77754 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
77756         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
77758 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77760         [BZ #12907]
77761         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
77762         until it is clear that the information is realy needed.
77763         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
77765 2011-06-22  Andreas Schwab  <schwab@redhat.com>
77767         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
77769 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77771         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77772         /sys/devices/system/cpu/online if it is usable.
77774         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
77775         reading the information from the /proc filesystem to once a second.
77777 2011-06-21  Andreas Jaeger  <aj@suse.de>
77779         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
77780         NULL after inclusion of kernel headers.
77782 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
77784         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
77785         calls to internal_setent.
77787         [BZ #12885]
77788         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
77789         addresses using gethostbyname4_r ignore IPv4 addresses.
77791         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
77792         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
77794         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
77796 2011-06-20  David S. Miller  <davem@davemloft.net>
77798         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
77799         inclusions.
77800         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
77802         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
77803         (elf_irel): Use it.
77804         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
77805         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
77806         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
77807         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
77808         * sysdeps/x86_64/dl-irel.h: Likewise.
77810         * elf/dl-runtime.c: Use elf_ifunc_invoke.
77811         * elf/dl-sym.c: Likewise.
77813 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77815         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
77816         need to dereference resplen2.
77818 2011-06-14  Andreas Schwab  <schwab@redhat.com>
77820         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
77822 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77824         * Makeconfig: Define vardbdir and inst_vardbdir.
77825         * nss/Makefile: Add rules to install db-Makefile.
77827         * nss/nss_db/db-XXX.c: Cleanup.
77829         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
77830         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
77831         GLIBC_PRIVATE.
77832         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
77833         * nss/makedb.c: Implement -g option to specify that value strings
77834         are generated and should not be added to table iterated over for
77835         get*ent calls.
77836         * nss/nss_db/db-initgroups.c: New file.
77838         * nss/getent.c: Add support for initgroups lookups through getgrouplist
77839         interface.
77841         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
77842         (internal_getgrouplist): Adjust to name change.
77843         Update use_initgroups_entry if this is not the first call.
77844         * nss/databases.def: Add initgroups entry.
77846         * nss/makedb.c (compute_tables): Check result of multiple hash table
77847         sizes to minimize maximum chain length.
77849 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
77851         * Versions.def: Add entry for libnss_db.
77852         * shlib-versions: Likewise.
77853         * nss/Makefile: Add rules to build libnss_db.
77854         * nss/Versions: Add libnss_db information.  Organize libnss_files
77855         entries better.
77856         * nss/db-Makefile: Add gshadow support.  Change rules for the new
77857         makedb progra.  Some minor improvements to generate smaller files.
77858         * nss/nss_db/nss_db.h: Move NSS database header data structures to
77859         here from...
77860         * nss/makedb.c: ...here.
77861         Improve database format to be smaller and require less memory at
77862         runtime.
77863         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
77864         db anymore.
77865         * nss/nss_db/db-netgrp.c: Likewise.
77866         * nss/nss_db/db-open.c: Likewise.
77867         * nss/nss_files/flies-XXX.x: Adjust comments.
77868         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
77869         * nss/nss_files/files-grp.c: Likewise.
77870         * nss/nss_files/files-hosts.c: Likewise.
77871         * nss/nss_files/files-network.c: Likewise.
77872         * nss/nss_files/files-proto.c: Likewise.
77873         * nss/nss_files/files-pwd.c: Likewise.
77874         * nss/nss_files/files-rpc.c: Likewise.
77875         * nss/nss_files/files-service.c: Likewise.
77876         * nss/nss_files/files-sgrp.c: Likewise.
77877         * nss/nss_files/files-spwd.c: Likewise.
77878         * nss/nss_db/db-alias.c: Removed.
77879         * nss/nss_db/dummy-db.h: Removed.
77881 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
77883         * nss/makedb.c: Rewritten to not use database library.
77884         * nss/Makefile: Update to build new makedb program.
77886 2011-06-14  Andreas Jaeger  <aj@suse.de>
77888         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
77889         memset declaration.
77891 2011-06-10  Andreas Schwab  <schwab@redhat.com>
77893         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
77894         tmpbuf.
77896 2011-06-10  Roland McGrath  <roland@hack.frob.com>
77898         * Makerules (shlib.lds): Fail if the linker script comes out empty.
77899         * elf/Makefile ($(objpfx)ld.so): Likewise.
77901         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
77902         Don't list ld.so twice in dependencies.
77904         * posix/bug-regex31.c: Include <stdlib.h>.
77906         * nscd/hstcache.c (cache_addhst): Remove unused variable.
77908         * nis/nss_compat/compat-spwd.c
77909         (getspent_next_nss_netgr): Remove unused variable.
77910         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
77912         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
77913         nonmembers" output to use the right array.
77915         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
77917         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
77919         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
77920         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
77921         * catgets/gencat.c (read_input_file): Likewise.
77922         * locale/programs/locarchive.c (enlarge_archive): Likewise.
77924         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
77925         variable definition inside #if's controlling its use.
77927         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
77929         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
77931         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
77933         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
77934         unreachable code.
77936         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
77938         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
77939         * configure: Regenerated.
77941         * Makerules: Revert last change.
77942         * elf/Makefile: Likewise.
77944 2011-06-09  Roland McGrath  <roland@hack.frob.com>
77946         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
77947         * elf/Makefile ($(objpfx)librtld.os): Likewise.
77948         (reloc-link): Likewise.
77950 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
77952         * elf/Makefile: Add rules to build pldd.
77953         * elf/pldd.c: New file.
77954         * elf/pldd-xx.c: New file.
77956 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
77958         * version.h: Update for 2.15 development version.
77960 2011-06-07  David S. Miller  <davem@davemloft.net>
77962         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
77963         ifuncs.
77964         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
77965         elf_machine_lazy_rel): Likewise.
77966         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
77967         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
77968         elf_machine_lazy_rel): Likewise.
77969         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
77970         dl_hwcap via passed in argument.
77971         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
77972         Likewise.
77974 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77976         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
77978 2011-06-06  Roland McGrath  <roland@hack.frob.com>
77980         [BZ #12849]
77981         * manual/fdl-1.1.texi: New file, verbatim from:
77982         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
77983         * manual/lgpl-2.1.texi: New file, verbatim from:
77984         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
77985         * manual/Makefile (licenses): New variable, list those new file names.
77986         (texis): Use it.
77987         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
77989         * manual/fdl.texi: File removed.
77990         * manual/lesser.texi: File removed.
77991         * manual/libc.texinfo (Copying, Documentation License):
77992         Use new @include file names, put @appendix directive before @include.
77994 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
77996         [BZ #12841]
77997         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
77998         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
77999         (mq_open): Add __NTH.
78001 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
78003         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78004         Assume Intel Core i3/i5/i7 processor if AVX is available.
78006 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78008         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78009         typo.
78011 2011-05-31  Andreas Schwab  <schwab@redhat.com>
78013         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
78014         memory.  Use alloca_account.  Fix memory leak when retrying.
78016 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78018         * version.h (RELEASE): Bump for 2.14 release.
78019         * include/features.h (__GLIBC_MINOR__): Bump to 14.
78021         * config.make.in (RANLIB): Remove entry.
78023 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
78025         * po/Makefile (po-sed-cmd): Add ksh to extensions.
78026         (libc.pot): Work around missing support for .ksh extension in xgettext.
78028         [BZ #12684]
78029         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
78030         if both request failed.
78031         (send_dg): In case of server errors clear resplen or *resplen2.
78033         [BZ #12454]
78034         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
78035         when there are multiple maps.
78036         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
78037         (_dl_fini): Remove test here.
78039         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
78041 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
78043         [BZ #12350]
78044         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
78045         bit from old_res_options.
78046         (gaih_inet): Likewise.
78048         [BZ #11099]
78049         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
78050         as signed.
78052         * resolv/res_init.c (res_setoptions): Make the code more compact.
78054         [BZ #11558]
78055         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
78056         set RES_USEVC.
78058         [BZ #11634]
78059         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
78061         * malloc/malloc.h: Mark malloc hook variables as deprecated.
78063         [BZ #11781]
78064         * malloc/malloc.h: Declare malloc hook variables as volatile.
78066         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
78067         in last patch.
78069         [BZ #11799]
78070         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
78071         raise in the comment.
78072         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
78073         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
78074         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
78076 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
78078         [BZ #12811]
78079         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
78080         grow the buffers more if it already has to be sufficient.
78081         (build_wcs_upper_buffer): Likewise.
78082         * posix/regexec.c (check_matching): Likewise.
78083         (clean_state_log_if_needed): Likewise.
78084         (extend_buffers): Don't enlarge buffers beyond size of the input
78085         buffer.
78086         Patches mostly by Emil Wojak <emil@wojak.eu>.
78087         * posix/bug-regex32.c: New file.
78088         * posix/Makefile (tests): Add bug-regex32.
78090         * locale/findlocale.c (_nl_find_locale): Return right away if
78091         _nl_explode_name failed.
78092         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
78094         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
78096         * debug/xtrace.sh: Unify messages.
78097         * malloc/memusage.sh: Likewise.
78099         [BZ #12813]
78100         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
78101         time symbol from vDSO.  Substitute with vsyscall if not available.
78102         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
78103         __vdso_time.
78105         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
78106         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
78107         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
78108         Add sendmmsg and internal_sendmmsg.
78109         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
78110         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
78111         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
78113         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
78114         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
78115         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
78117 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
78119         [BZ #12813]
78120         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
78121         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
78122         available.
78123         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
78124         __vdso_getcpu.
78126         [BZ #12814]
78127         * iconvdata/Makefile (tests): Add bug-iconv9.
78128         * iconvdata/bug-iconv9.c: New file.
78130 2011-05-27  Andreas Schwab  <schwab@redhat.com>
78132         [BZ #12814]
78133         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
78135 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
78137         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78138         (struct user_regs_struct): Change intcs field back to cs.
78140 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
78142         * po/ja.po: Update from translation team.
78144 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
78146         [BZ #12795]
78147         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
78148         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
78150 2011-05-20  Andreas Schwab  <schwab@redhat.com>
78152         * stdlib/longlong.h: Update from GCC.
78154 2011-05-23  Andreas Schwab  <schwab@redhat.com>
78156         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
78157         parameter name.
78158         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
78159         Add parameter name.
78160         (__sysconf): Pass it down.
78162 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
78164         [BZ #12671]
78165         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
78166         some situations.
78167         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
78168         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
78169         add in in __libc_use_alloca calls.  Adjust callers.
78170         (glob): Use malloc in some situations.
78172         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
78173         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
78174         pltexit.
78176 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
78178         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
78179         and CLOCK_BOOTTIME_ALARM.
78181         [BZ #12782]
78182         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
78183         is returned.
78185         * string/_strerror.c (__strerror_r): Print negative errors as signed
78186         numbers.
78188         [BZ #12777]
78189         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
78190         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
78191         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
78193         * configure.in: Fix typo in redirection and correct removal of test
78194         files in two cases.
78196         [BZ #12788]
78197         * locale/setlocale.c (new_composite_name): Fix test to check for
78198         identical name of all categories.
78200         [BZ #12792]
78201         * libio/filedoalloc.c (local_isatty): New function.
78202         (_IO_file_doallocate): Use local_isatty.
78203         * stdio-common/perror.c (perror): In case a new stream is used
78204         forward the stream error.
78205         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
78206         error flag.
78208 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
78210         [BZ #11884]
78211         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
78212         alloca.
78213         * include/alloca.h (extend_alloca_account): Define.
78215         [BZ #11857]
78216         * posix/regex.h: Fix comments with documentation of user-accessible
78217         fields after compilation and describe correct free'ing of pattern
78218         after re_compile_pattern.
78219         Patch by Reuben Thomas <rrt@sc3d.org>.
78221 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
78223         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
78224         and -mno-altivec to prevent the compiler from using Altivec and/or
78225         VSX instructions when the corresponding registers are not available.
78227 2011-05-19  Andreas Schwab  <schwab@redhat.com>
78229         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
78231 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
78233         * libio/freopen.c (freopen): Use __dup2, not dup2.
78234         * libio/freopen64.c (freopen64): Likewise.
78236 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78238         [BZ #12775]
78239         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
78240         * math/Makefile (tests): Add test-powl.
78241         (CFLAGS-test-powl.c): Define.
78242         * math/test-powl.c: New file.
78244 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78246         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
78248 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
78250         [BZ #11837]
78251         * iconvdata/gb18030.c: Update to GB18020-2005.
78253 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
78255         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
78256         RE_SYNTAX_POSIX_AWK): Update to match recent development.
78257         Patch by Aharon Robbins <arnold@skeeve.com>.
78259         [BZ #11892]
78260         * stdlib/putenv.c (putenv): Don't always create copy of the variable
78261         on the stack.
78263         [BZ #11895]
78264         * misc/pselect.c (__pselect): Handle timeout value errors hidden
78265         through underflows.
78267         [BZ #12766]
78268         * misc/error.c (error_at_line): Ensure file_name and old_file_name
78269         point to strings before performing equality test for error_one_per_line
78270         mode.
78272         [BZ #11697]
78273         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
78275         [BZ #11820]
78276         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78277         (struct user_fpregs_struct): Avoid __uint*_t types.
78279         [BZ #6420]
78280         * malloc/mtrace.c (tr_where): Add additional parameter to point to
78281         symbol info.  Use it instead of calling _dl_addr locally.
78282         (lock_and_info): New function.
78283         (tr_freehook): Call lock_and_info and pass symbol info as additional
78284         parameter to tr_where.
78285         (tr_mallochook): Likewise.
78286         (tr_reallochook): Likewise.
78287         (tr_memalignhook): Likewise.
78289         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
78290         used and couldn't be at all thread-safe.
78292 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
78294         * libio/freopen.c (freopen): Don't close old file descriptor
78295         before the new one is opened.  Instead dup the new file descriptor
78296         to the old one after the new stream is created.
78297         * libio/freopen64.c (freopen64): Likewise.
78298         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
78299         * libio/fileops.c (_IO_new_file_close_it): Handle new
78300         _IO_FLAGS2_NOCLOSE flag.
78301         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
78302         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
78303         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
78304         _IO_FLAGS2_NOCLOSE flag.
78305         * include/unistd.h: Add hidden_proto for dup3.
78306         Define __have_dup3.
78307         * io/dup3.c: Define hidden symbol.
78308         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
78310         [BZ #7101]
78311         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
78312         when an incomplete long option is used.
78313         * posix/tst-getopt_long1.c: New file.
78314         * posix/Makefile (tests): Add tst-getopt_long1.
78316         [BZ #10138]
78317         * scripts/config.guess: Update from autoconf-2.68.
78318         * scripts/config.sub: Likewise.
78320         [BZ #10157]
78321         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
78322         tests into ...
78323         (has_cpuclock): ...this.  New function.
78324         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
78325         macro here based on has_cpuclock code.
78327         [BZ #10149]
78328         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78329         First byte (not low byte) is now always NUL.
78330         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
78332         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78333         Use non-cancelable interfaces.
78335         [BZ #9809]
78336         * locale/iso-639.def: Add entry for Sorani.
78338         [BZ #11901]
78339         * include/stdlib.h: Move include protection to the right place.
78340         Define abort_msg_s.  Declare __abort_msg with it.
78341         * stdlib/abort.c (__abort_msg): Adjust type.
78342         * assert/assert.c (__assert_fail_base): New function.  Majority
78343         of code from __assert_fail.  Allocate memory for __abort_msg with
78344         mmap.
78345         (__assert_fail): Now call __assert_fail_base.
78346         * assert/assert-perr.c: Remove bulk of implementation.  Use
78347         __assert_fail_base.
78348         * include/assert.hL Declare __assert_fail_base.
78349         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
78350         mmap.
78351         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
78353 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
78355         [BZ #11952]
78356         [BZ #12453]
78357         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
78358         until all modules are registered in the DTV.
78359         * elf/Makefile: Add rules to build and run tst-tls19.
78360         * elf/tst-tls19.c: New file.
78361         * elf/tst-tls19mod1.c: New file.
78362         * elf/tst-tls19mod2.c: New file.
78363         * elf/tst-tls19mod3.c: New file.
78364         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
78366         [BZ #12083]
78367         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
78368         correctly.
78370         [BZ #12601]
78371         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
78372         two-byte sequence errors.
78373         * iconvdata/Makefile (tests): Add bug-iconv8.
78374         * iconvdata/bug-iconv8.c: New file.
78376         [BZ #12626]
78377         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
78378         buf2 definition.
78380         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
78382         [BZ #12432]
78383         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
78384         (dummy_getcfa): New function.
78385         (init): Get _Unwind_GetCFA address, use dummy if not found.
78386         (backtrace_helper): In recursion check, also check whether CFA changes.
78387         (__backtrace): Completely initialize arg.
78389         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
78390         storing incomplete byte sequence in state object.  Avoid testing for
78391         guaranteed too small input if we know there is enough data available.
78393 2011-05-11  Andreas Schwab  <schwab@redhat.com>
78395         * Makeconfig (+link-pie): Indent.
78396         * Rules (binaries-pie): Define if $(have-fpie) and
78397         $(build-shared).
78398         (binaries-shared): Also filter out $(binaries-pie).
78399         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
78400         * nscd/Makefile (others-pie): Add nscd.
78401         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
78402         ($(objpfx)nscd): Remove command override.
78403         * login/Makefile (others-pie): Add pt_chown.
78404         ($(objpfx)pt_chown): Remove command override.
78405         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
78406         remove command overrides.
78408 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
78410         * libio/tst_putwc.c: Fix error messages.
78412         [BZ #12724]
78413         * libio/fileops.c (_IO_new_file_close_it): Always flush when
78414         currently writing and seek to current position when not.
78415         * libio/Makefile (tests): Add bug-fclose1.
78416         * libio/bug-fclose1.c: New file.
78418 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
78420         [BZ #12511]
78421         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
78422         don't set DF_1_NODELETE here.
78423         (do_lookup_x): When entering new entry test for copy relocation
78424         and if necessary set DF_1_NODELETE flag.
78425         * elf/tst-unique4.cc: New file.
78426         * elf/tst-unique4.h: New file.
78427         * elf/tst-unique4lib.cc: New file.
78428         * elf/Makefile: Add rules to build and run tst-unique4.
78429         Patch by Piotr Bury <pbury@goahead.com>.
78431 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
78433         [BZ #12052]
78434         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
78436         [BZ #12625]
78437         * misc/mntent_r.c (addmntent): Flush the stream after the output
78439         [BZ #12393]
78440         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
78441         (is_trusted_path_normalize): Skip initial colon.  Append slash
78442         to empty buffer.  Duplicate is_trusted_path code but allow
78443         constructed patch to be prefix.
78444         (is_dst): Allow $ORIGIN followed by /.
78445         (_dl_dst_substitute): Correct clearing of check_for_trusted.
78446         Correct testing of result of is_trusted_path_normalize
78447         (decompose_rpath): Fix warning.
78449 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
78451         [BZ #11257]
78452         * grp/initgroups.c (internal_getgrouplist): When we found the service
78453         list through the initgroups entry in nsswitch.conf do not always
78454         continue on a successful lookup.  Don't always use the
78455         __nss_group_database value if it is set.
78456         * nss/nsswitch.conf (initgroups): Change action for successful db
78457         lookup to continue for compatibility.
78459 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
78461         [BZ #11532]
78462         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
78463         and CP774 modules.
78464         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
78465         and CP774 modules.
78466         * iconvdata/tst-tables.sh: Likewise.
78467         * iconvdata/cp770.c: New file.
78468         * iconvdata/cp771.c: New file.
78469         * iconvdata/cp772.c: New file.
78470         * iconvdata/cp773.c: New file.
78471         * iconvdata/cp774.c: New file.
78472         * iconvdata/testdata/CP770: New file.
78473         * iconvdata/testdata/CP770..UTF8: New file.
78474         * iconvdata/testdata/CP771: New file.
78475         * iconvdata/testdata/CP771..UTF8: New file.
78476         * iconvdata/testdata/CP772: New file.
78477         * iconvdata/testdata/CP772..UTF8: New file.
78478         * iconvdata/testdata/CP773: New file.
78479         * iconvdata/testdata/CP773..UTF8: New file.
78480         * iconvdata/testdata/CP774: New file.
78481         * iconvdata/testdata/CP774..UTF8: New file.
78483         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
78484         END CHARMAP line.
78485         * iconvdata/gen-8bit-gap.sh: Likewise.
78486         * iconvdata/gen-8bit.sh: Likewise.
78488         * locale/iso-639.def: Add ary entry.
78490         [BZ #11258]
78491         * locale/C-translit.h.in: Add U20A1 transliteration.
78493         [BZ #12178]
78494         * locale/iso-639.def: Add wae entry.
78495         Patch by Kevin Bortis <bortis@translate-wae.ch>.
78497         [BZ #12545]
78498         * locale/programs/localedef.c (construct_output_path): Use ssize_t
78499         for n.
78501         [BZ #12711]
78502         * locale/C-translit.h.in: Add entry for U20B9.
78503         Patch by pravin.d.s@gmail.com.
78505 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
78507         [BZ #12713]
78508         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
78509         ENAMETOOLONG use generic getcwd.
78510         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
78511         in rtld.  Use *stat64.
78512         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
78513         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
78514         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
78515         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
78516         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
78517         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
78518         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
78519         __fstatat64 macros.
78520         * include/dirent.h: Add libc_hidden_proto for rewinddir.
78521         * dirent/rewinddir.c: Add libc_hidden_def.
78522         * sysdeps/mach/hurd/rewinddir.c: Likewise.
78523         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
78525         * include/dirent.h (__alloc_dir): Add flags parameter.
78526         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
78527         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
78528         __alloc_dir.
78529         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
78530         from fdopendir if O_CLOEXEC is already set.
78532 2011-03-15  Alan Modra  <amodra@gmail.com>
78534         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
78535         l_tls_firstbyte_offset non-zero.  Save padding offset in
78536         l_tls_firstbyte_offset for later use.
78537         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
78538         freeing static tls block.
78540 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
78542         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
78543         where #ifdef was intended.  The intent is to prevent ARG_MAX from
78544         being defined by the kernel headers.
78546 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
78548         [BZ #12734]
78549         * resolv/resolv.h: Define RES_NOTLDQUERY.
78550         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
78551         no-tld-query and set RES_NOTLDQUERY.
78552         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
78553         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
78554         modern BIND to search name as TLD unless forbidden.
78556 2011-05-07  Petr Baudis  <pasky@suse.cz>
78557             Ulrich Drepper  <drepper@gmail.com>
78559         [BZ #12393]
78560         * elf/dl-load.c (fillin_rpath): Move trusted path check...
78561         (is_trusted_path): ...to here.
78562         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
78563         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
78564         using is_trusted_path_normalize() in setuid scripts.
78566 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78568         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
78569         __BEGIN/__END_DECLS.
78571 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
78573         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
78574         NSS_STATUS_NOTFOUND if no record was found.
78576 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78578         * sunrpc/Makefile (headers): Add rpc/netdb.h.
78579         (headers-not-in-tirpc): Remove rpc/netdb.h
78580         * resolv/netdb.h: Revert last change.
78582 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
78584         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
78585         circular dependency between libgcc.a and libc.a.
78587 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78589         * resolv/netdb.h: Don't include <rpc/netdb.h>.
78590         * nis/Makefile: Don't install rpcsvc/*.
78591         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
78592         instead of <rpc/types.h>.
78593         (MAXHOSTNAMELEN): Define.
78595 2011-05-03  Andreas Schwab  <schwab@redhat.com>
78597         * elf/ldconfig.c (add_dir): Don't crash on empty path.
78599 2011-04-28  Maciej Babinski  <mbabinski@google.com>
78601         [BZ #12714]
78602         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
78603         gethostbyname4_r when IPv6 results are possible.
78605 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
78607         [BZ #12723]
78608         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
78609         _PC_PIPE_BUF handling.
78611 2011-04-30  Bruno Haible  <bruno@clisp.org>
78613         [BZ #12717]
78614         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
78615         * resolv/netdb.h (getnameinfo): Change type of flags parameter
78616         to 'int'.
78617         * inet/getnameinfo.c (getnameinfo): Likewise.
78619 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
78621         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
78622         to groups setting in database lookup.
78623         * nss/nsswitch.conf: Add initgroups entry.
78625 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
78627         [BZ #12685]
78628         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
78629         mode string.
78630         Patch by Eric Blake <eblake@redhat.com>.
78632 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
78634         * sunrpc/Makefile (need-export-routines): Add svc_run.
78635         (routines): Remove svc_run.
78636         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
78637         * sunrpc/clnt_perr.c (clnt_perrno): Export.
78638         * sunrpc/svc_run.c (svc_run): Likewise.
78639         * sunrpc/svc_udp.c (svcudp_create): Likewise.
78641 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
78643         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
78644         problem in reallocation in last patch.
78646 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
78648         * sunrpc/Makefile: Move inclusion of Rules.
78650 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78652         * nss/nss_files/files-initgroups.c: New file.
78653         * nss/Makefile (libnss_files-routines): Add files-initgroups.
78654         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
78655         _nss_files_initgroups_dyn.
78657 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
78659         * elf/elf.h (R_ARM_IRELATIVE): Define.
78661 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78663         * po/ru.po: Update from translation team.
78665 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78667         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
78668         dependencies.
78670 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
78672         [BZ #12653]
78673         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
78674         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
78675         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78676         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
78677         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
78679 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
78681         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
78682         differing bytes.
78683         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
78684         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
78685         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78687 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78689         [BZ #12420]
78690         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
78691         storing it.
78692         * stdlib/bug-getcontext.c: New file.
78693         * stdlib/Makefile: Add rules to build and run bug-getcontext.
78695 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78697         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
78698         instructions into .machine "z9-109".
78699         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
78700         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
78702 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78704         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
78705         between environment variables and auxiliary vector.
78707 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
78709         * Makefile: Add rules to build linkobj/libc.so.
78710         * include/libc-symbols.h: Define libc_hidden_nolink.
78711         * include/rpc/auth.h: Mark functions which are to be hidden.
78712         * include/rpc/auth_des.h: Likewise.
78713         * include/rpc/auth_unix.h: Likewise.
78714         * include/rpc/clnt.h: Likewise.
78715         * include/rpc/des_crypt.h: Likewise.
78716         * include/rpc/key_prot.h: Likewise.
78717         * include/rpc/pmap_clnt.h: Likewise.
78718         * include/rpc/pmap_prot.h: Likewise.
78719         * include/rpc/pmap_rmt.h: Likewise.
78720         * include/rpc/rpc_msg.h: Likewise.
78721         * include/rpc/svc.h: Likewise.
78722         * include/rpc/svc_auth.h: Likewise.
78723         * include/rpc/xdr.h: Likewise.
78724         * nis/Makefile: Link all DSOs against linkobj/libc.so.
78725         * nss/Makefile: Likewise.
78726         * sunrpc/Makefile: Don't install headers.  Build library with normal
78727         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
78728         * sunrpc/auth_des.c: Hide exported symbols by default, export some
78729         for the compat linking library.  Remove use of INTDEF/INTUSE.
78730         * sunrpc/auth_none.c: Likewise.
78731         * sunrpc/auth_unix.c: Likewise.
78732         * sunrpc/authdes_prot.c: Likewise.
78733         * sunrpc/authuxprot.c: Likewise.
78734         * sunrpc/clnt_gen.c: Likewise.
78735         * sunrpc/clnt_perr.c: Likewise.
78736         * sunrpc/clnt_raw.c: Likewise.
78737         * sunrpc/clnt_simp.c: Likewise.
78738         * sunrpc/clnt_tcp.c: Likewise.
78739         * sunrpc/clnt_udp.c: Likewise.
78740         * sunrpc/clnt_unix.c: Likewise.
78741         * sunrpc/des_crypt.c: Likewise.
78742         * sunrpc/des_soft.c: Likewise.
78743         * sunrpc/get_myaddr.c: Likewise.
78744         * sunrpc/key_call.c: Likewise.
78745         * sunrpc/key_prot.c: Likewise.
78746         * sunrpc/netname.c: Likewise.
78747         * sunrpc/pm_getmaps.c: Likewise.
78748         * sunrpc/pm_getport.c: Likewise.
78749         * sunrpc/pmap_clnt.c: Likewise.
78750         * sunrpc/pmap_prot.c: Likewise.
78751         * sunrpc/pmap_prot2.c: Likewise.
78752         * sunrpc/pmap_rmt.c: Likewise.
78753         * sunrpc/publickey.c: Likewise.
78754         * sunrpc/rpc_cmsg.c: Likewise.
78755         * sunrpc/rpc_common.c: Likewise.
78756         * sunrpc/rpc_dtable.c: Likewise.
78757         * sunrpc/rpc_prot.c: Likewise.
78758         * sunrpc/rpc_thread.c: Likewise.
78759         * sunrpc/rtime.c: Likewise.
78760         * sunrpc/svc.c: Likewise.
78761         * sunrpc/svc_auth.c: Likewise.
78762         * sunrpc/svc_authux.c: Likewise.
78763         * sunrpc/svc_raw.c: Likewise.
78764         * sunrpc/svc_run.c: Likewise.
78765         * sunrpc/svc_simple.c: Likewise.
78766         * sunrpc/svc_tcp.c: Likewise.
78767         * sunrpc/svc_udp.c: Likewise.
78768         * sunrpc/svc_unix.c: Likewise.
78769         * sunrpc/svcauth_des.c: Likewise.
78770         * sunrpc/xcrypt.c: Likewise.
78771         * sunrpc/xdr.c: Likewise.
78772         * sunrpc/xdr_array.c: Likewise.
78773         * sunrpc/xdr_float.c: Likewise.
78774         * sunrpc/xdr_intXX_t.c: Likewise.
78775         * sunrpc/xdr_mem.c: Likewise.
78776         * sunrpc/xdr_rec.c: Likewise.
78777         * sunrpc/xdr_ref.c: Likewise.
78778         * sunrpc/xdr_sizeof.c: Likewise.
78779         * sunrpc/xdr_stdio.c: Likewise.
78781 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
78783         [BZ #12650]
78784         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
78785         * sysdeps/ia64/dl-tls.h: Likewise.
78786         * sysdeps/powerpc/dl-tls.h: Likewise.
78787         * sysdeps/s390/dl-tls.h: Likewise.
78788         * sysdeps/sh/dl-tls.h: Likewise.
78789         * sysdeps/sparc/dl-tls.h: Likewise.
78790         * sysdeps/x86_64/dl-tls.h: Likewise.
78791         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
78793 2011-03-14  Andreas Schwab  <schwab@redhat.com>
78795         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
78796         rpath element also skip the following colon.
78797         (expand_dynamic_string_token): Add is_path parameter and pass
78798         down to DL_DST_REQUIRED and _dl_dst_substitute.
78799         (decompose_rpath): Call expand_dynamic_string_token with
78800         non-zero is_path.  Ignore empty rpaths.
78801         (_dl_map_object_from_fd): Call expand_dynamic_string_token
78802         with zero is_path.
78804 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
78806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
78807         Make cancelable.
78809 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
78811         [BZ #12655]
78812         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
78813         Patch by Filipe David Manana <fdmanana@apache.org>.
78815 2011-04-07  Andreas Schwab  <schwab@redhat.com>
78817         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
78818         Maintain aligned stack.
78819         (CHECK_RSP): Remove unused macro.
78821 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
78823         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
78824         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
78826 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
78828         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
78830         * include/features.h: Mention __USE_XOPEN2K8 in comment.
78832 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
78834         [BZ #12518]
78835         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
78836         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
78837         * sysdeps/x86_64/memmove.c: New file.
78838         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
78839         (memcpy): Renamed to ...
78840         (__new_memcpy): This.
78841         (memcpy): Provide GLIBC_2_14 memcpy.
78842         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
78843         (memcpy): Provide GLIBC_2_2_5 memcpy.
78845 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78847         [BZ #12631]
78848         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
78850 2011-03-30  Andreas Schwab  <schwab@redhat.com>
78852         * misc/syncfs.c: New file.
78853         * misc/Makefile (routines): Add syncfs.
78854         * posix/unistd.h: Declare syncfs.
78855         * sysdeps/unix/syscalls.list: Add syncfs.
78857 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78859         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
78860         open_by_handle_at.
78861         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78862         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78863         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78864         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78865         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78866         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
78867         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78869 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78871         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
78872         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78873         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
78874         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78875         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78876         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78877         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78879         * io/Makefile: Compile fallocate.c, fallocate64.c, and
78880         sync_file_range.c with -fexceptions.
78881         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
78882         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
78883         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
78884         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
78885         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
78886         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
78887         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
78888         sync_file_range as cancellation point
78889         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
78890         now a wrapper around __call_sync_file_range with cancellation handling.
78891         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
78892         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
78893         function name to __call_sync_file_range.
78894         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
78895         Add call_sync_file_range.
78897 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78899         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78900         bits/timex.h.
78902 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78904         * iconv/iconv.h: Fix typo in comment.
78905         * io/fcntl.h: Likewise.
78906         * libio/stdio.h: Likewise.
78907         * posix/spawn.h: Likewise.
78908         * posix/unistd.h: Likewise.
78909         * stdlib/stdlib.h: Likewise.
78910         * time/time.h: Likewise.
78911         * wcsmbs/wchar.h: Likewise.
78913         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
78914         open_by_handle): Add.
78915         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
78916         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
78917         Augment a few comments.
78918         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78919         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78920         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78921         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78922         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78923         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
78924         open_by_handle.
78926         * io/fcntl.h (AT_EMPTY_PATH): Define.
78928 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
78930         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
78931         * sysdeps/unix/sysv/linux/bits/time.h: New file.
78932         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
78933         to...
78934         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
78935         * Versions.def: Add GLIBC_2.14.
78936         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
78937         Export.
78939 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
78941         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
78942         round counter.
78943         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78945 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78947         [BZ #12597]
78948         * string/test-strncmp.c (do_page_test): New function.
78949         (check2): Likewise.
78950         (test_main): Call check2.
78951         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
78953 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
78955         [BZ #12587]
78956         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
78957         Handle cache information in CPU leaf 4.
78958         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78960 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
78962         [BZ #12583]
78963         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
78964         character representation.
78965         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
78967 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
78969         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
78970         END(__isnan) to END(__isnanf) to match function entry point/label
78971         EALIGN(__isnanf,...).
78973 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
78975         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
78977 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
78979         [BZ #12510]
78980         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
78981         copy from the symbol referenced in the relocation to initialize the
78982         used variable.
78983         Patch by Piotr Bury <pbury@goahead.com>.
78984         * elf/Makefile: Add rules to build and tst-unique3.
78985         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
78986         * elf/tst-unique3.cc: New file.
78987         * elf/tst-unique3.h: New file.
78988         * elf/tst-unique3lib.cc: New file.
78989         * elf/tst-unique3lib2.cc: New file.
78991         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
78993 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
78995         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
78996         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
78997         to _start.
78999 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
79001         * elf/dl-load.c (_dl_map_object): If we are looking for the first
79002         to-be-loaded object along a path to loader is ld.so.
79004 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79005             Ulrich Drepper  <drepper@gmail.com>
79007         * sysdeps/x86_64/memset.S: After aligning destination, code
79008         branches to different locations depending on the value of
79009         misalignment, when multiarch is enabled. Fix this.
79011 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79013         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
79014         Set _x86_64_preferred_memory_instruction for AMD processsors.
79015         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79016         Set bit_Prefer_SSE_for_memop for AMD processors.
79018 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
79020         * libio/fmemopen.c (fmemopen): Optimize a bit.
79022 2011-03-03  Andreas Schwab  <schwab@redhat.com>
79024         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
79026 2011-03-03  Roland McGrath  <roland@redhat.com>
79028         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
79030 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
79032         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
79033         __bzero_ultra1 instead of __memset_ultra1.
79035 2011-02-23  Andreas Schwab  <schwab@redhat.com>
79036             Ulrich Drepper  <drepper@gmail.com>
79038         [BZ #12509]
79039         * include/link.h (struct link_map): Add l_orig_initfini.
79040         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
79041         returning unsuccessfully.
79042         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
79043         close of a file loaded at startup, restore the original l_initfini
79044         list.
79045         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
79046         list, store the pointer.
79047         * elf/Makefile ($(objpfx)noload-mem): New rule.
79048         (noload-ENV): Define.
79049         (tests): Add $(objpfx)noload-mem.
79050         * elf/noload.c: Include <memcheck.h>.
79051         (main): Call mtrace.  Close all opened handles.
79053 2011-02-17  Andreas Schwab  <schwab@redhat.com>
79055         [BZ #12454]
79056         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
79057         dependencies are missing.
79059 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79061         Fix __if_freereq crash: Unlike the generic version which uses free,
79062         Hurd needs munmap.
79063         * sysdeps/mach/hurd/ifreq.h: New file.
79065 2011-01-27  Petr Baudis  <pasky@suse.cz>
79066             Ulrich Drepper  <drepper@gmail.com>
79068         [BZ 12445]#
79069         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
79070         to extend_alloca().
79071         * stdio-common/bug23.c: New file.
79072         * stdio-common/Makefile (tests): Add bug23.
79074 2010-09-28  Andreas Schwab  <schwab@redhat.com>
79075             Ulrich Drepper  <drepper@gmail.com>
79077         [BZ #12489]
79078         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
79079         before performing relro protection.  At old place add assertion
79080         to make sure nothing changed.
79082 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
79083             Glauber de Oliveira Costa  <glommer@gmail.com>
79085         * elf/elf.h: Add new ARM TLS relocs.
79087 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
79089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
79090         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
79091         cast from r3.
79092         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
79093         'tests' variable.
79094         * sysdeps/wordsize-64/tst-writev.c: New file.
79096 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
79098         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
79099         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
79100         insns in _dl_start to prevent a TOC reference before relocs are
79101         resolved.
79103 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
79105         [BZ #12469]
79106         * Makeconfig: Remove RANLIB definition.
79107         * Makerules: Don't use RANLIB.
79108         * aclocal.m4: Remove ranlib test.
79109         * configure.in: No need to check for ranlib.
79110         * elf/rtld-Rules: Don't use RANLIB.
79112 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79114         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
79115         protection macro.
79116         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
79117         inclusion protection macro.
79119         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
79120         SIGRTMIN and SIGRTMAX and print information in that case only when
79121         SIGRTMIN is defined.
79123 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
79125         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
79126         arginfo fn returning -1.
79128         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
79129         and thousands string is zero terminated.
79131 2011-02-03  Andreas Schwab  <schwab@redhat.com>
79133         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
79134         sysdeps/unix/sysv/linux/bits/socket.h.
79136 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79138         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
79139         (__CPU_COUNT): Remove old macros.
79140         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
79141         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
79142         (__CPU_ALLOC, __CPU_FREE): Add macros.
79143         (__sched_cpualloc, __sched_cpufree): Add declarations.
79145 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
79147         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
79148         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
79149         * nscd/aicache.c (addhstaiX): Return timeout of added value.
79150         (readdhstai): Return value of addhstaiX call.
79151         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
79152         (addgrbyX): Return value returned by cache_addgr.
79153         (readdgrbyname): Return value returned by addgrbyX.
79154         (readdgrbygid): Likewise.
79155         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
79156         (addpwbyX): Return value returned by cache_addpw.
79157         (readdpwbyname): Return value returned by addhstbyX.
79158         (readdpwbyuid): Likewise.
79159         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
79160         (addservbyX): Return value returned by cache_addserv.
79161         (readdservbyname): Return value returned by addservbyX:
79162         (readdservbyport): Likewise.
79163         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
79164         (addhstbyX): Return value returned by cache_addhst.
79165         (readdhstbyname): Return value returned by addhstbyX.
79166         (readdhstbyaddr): Likewise.
79167         (readdhstbynamev6): Likewise.
79168         (readdhstbyaddrv6): Likewise.
79169         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
79170         (readdinitgroups): Return value returned by addinitgroupsX.
79171         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
79172         (prune_cache): Keep track of timeout value of re-added entries.
79173         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
79174         * nscd/nscd.h: Adjust prototypes of readd* functions.
79176 2011-02-04  Roland McGrath  <roland@redhat.com>
79178         * nis/nis_server.c (nis_servstate): Use the right name for 0.
79179         (nis_stats): Likewise.
79180         * nis/nis_modify.c (nis_modify): Likewise.
79181         * nis/nis_remove.c (nis_remove): Likewise.
79182         * nis/nis_add.c (nis_add): Likewise.
79184         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
79186         * posix/fnmatch_loop.c: Add some consts.
79188         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
79190 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
79192         [BZ #12460]
79193         * config.make.in (config-cflags-novzeroupper): Define.
79194         * configure.in: Substitute libc_cv_cc_novzeroupper.
79195         * elf/Makefile (AVX-CFLAGS): Define.
79196         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
79197         (CFLAGS-tst-auditmod4a.c): Likewise.
79198         (CFLAGS-tst-auditmod4b.c): Likewise.
79199         (CFLAGS-tst-auditmod6b.c): Likewise.
79200         (CFLAGS-tst-auditmod6c.c): Likewise.
79201         (CFLAGS-tst-auditmod7b.c): Likewise.
79202         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
79204 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
79206         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
79207         function to the callback.
79208         Patch partly by Jiri Olsa <jolsa@redhat.com>.
79210 2011-02-02  Andreas Schwab  <schwab@redhat.com>
79212         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
79213         of errno.
79215 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
79217         [BZ #11724]
79218         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
79219         of constructors.
79220         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
79221         of destructors.
79222         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
79224         [BZ #11724]
79225         * elf/Makefile: Add rules to build and run new test.
79226         * elf/tst-initorder.c: New file.
79227         * elf/tst-initorder.exp: New file.
79228         * elf/tst-initordera1.c: New file.
79229         * elf/tst-initordera2.c: New file.
79230         * elf/tst-initordera3.c: New file.
79231         * elf/tst-initordera4.c: New file.
79232         * elf/tst-initorderb1.c: New file.
79233         * elf/tst-initorderb2.c: New file.
79234         * elf/tst-order-a1.c: New file.
79235         * elf/tst-order-a2.c: New file.
79236         * elf/tst-order-a3.c: New file.
79237         * elf/tst-order-a4.c: New file.
79238         * elf/tst-order-b1.c: New file.
79239         * elf/tst-order-b2.c: New file.
79240         * elf/tst-order-main.c: New file.
79241         New test case by George Gensure <werkt0@gmail.com>.
79243 2010-10-01  Andreas Schwab  <schwab@redhat.com>
79245         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79246         decoding ACE if AI_CANONIDN.
79248 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
79250         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
79252 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
79254         * version.h (RELEASE): Bump for 2.13 release.
79255         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
79257         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
79259         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
79260         MADV_NOHUGEPAGE.
79261         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
79262         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
79263         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79264         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79265         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79266         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79268         * posix/getconf.c: Update copyright year.
79269         * catgets/gencat.c: Likewise.
79270         * csu/version.c: Likewise.
79271         * debug/catchsegv.sh: Likewise.
79272         * debug/xtrace.sh: Likewise.
79273         * elf/ldconfig.c: Likewise.
79274         * elf/ldd.bash.in: Likewise.
79275         * elf/sprof.c (print_version): Likewise.
79276         * iconv/iconv_prog.c: Likewise.
79277         * iconv/iconvconfig.c: Likewise.
79278         * locale/programs/locale.c: Likewise.
79279         * locale/programs/localedef.c: Likewise.
79280         * malloc/memusage.sh: Likewise.
79281         * malloc/mtrace.pl: Likewise.
79282         * nscd/nscd.c (print_version): Likewise.
79283         * nss/getent.c: Likewise.
79285         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
79286         PF_CAIF, and PF_ALG.
79287         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79289 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
79291         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
79292         (modules-names): Use them.
79293         (ifunc-test-modules, ifunc-pie-tests): Define.
79294         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
79295         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
79296         (test-extras): Likewise.
79297         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
79298         $(compile-command.c).
79299         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
79300         (all-built-dso): Define.
79301         (check-textrel.out, check-execstack.out): Depend on it.
79303         * configure.in: Don't override --enable-multi-arch.
79305 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
79307         [BZ #6812]
79308         * nscd/hstcache.c (tryagain): Define.
79309         (cache_addhst): Return tryagain not notfound for temporary errors.
79310         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
79311         failed.
79313 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
79315         [BZ #10563]
79316         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
79317         to make the syscall.
79318         * sysdeps/unix/sysv/linux/setgroups.c: New file.
79320         [BZ #12378]
79321         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
79322         and fall back to matching as normal character if the string ends before
79323         the matching ']' is found.  This is what POSIX requires.
79324         * posix/testfnm.c: Adjust test result.
79325         * posix/globtest.sh: Adjust test result.  Add new test.
79326         * posix/tst-fnmatch.input: Likewise.
79327         * posix/tst-fnmatch2.c: Add new test.
79329 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
79331         * elf/Makefile (check-execstack): Revert last change.  Depend on
79332         check-execstack.h.
79333         (check-execstack.h): New target.
79334         (generated): Add check-execstack.h.
79335         * elf/check-execstack.c: Include "check-execstack.h".
79336         (main): Revert last change.
79337         (handle_file): Return zero if GNU_STACK is absent and
79338         DEFAULT_STACK_PERMS doesn't include PF_X.
79340 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
79342         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
79343         in child fails because the descriptor is already closed.
79344         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
79345         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
79346         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
79348         [BZ #12397]
79349         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
79350         syscall.
79352         [BZ #10484]
79353         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
79354         temporary buffer used to handle multi lookups locally.
79355         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
79357 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79359         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
79360         loader is ld.so.
79362 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
79364         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
79365         alignment for SSE2.
79367 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79369         [BZ #12394]
79370         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
79371         characters.  When rounding increased number of integer digits recompute
79372         number of groups.
79373         * stdio-common/tst-grouping.c: New file.
79374         * stdio-common/Makefile: Add rules to build and run tst-grouping.
79376 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
79378         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
79379         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
79381         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
79382         void.
79383         * bits/select.h: Likewise.
79385 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
79387         * po/ja.po: Update from translation team.
79389 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
79391         [BZ #11155]
79392         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
79393         implementation just like for lxstat, fxstatat, et al.
79395 2010-12-27  Jim Meyering  <meyering@redhat.com>
79397         [BZ #12348]
79398         * posix/regexec.c (build_trtable): Return failure indication upon
79399         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
79401 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
79403         [BZ #12201]
79404         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
79405         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
79406         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
79407         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
79409         [BZ #12207]
79410         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
79412         [BZ #12204]
79413         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
79414         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
79416 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
79418         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
79419         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
79420         script has SORT_BY_INIT_PRIORITY.
79421         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
79422         NO_CTORS_DTORS_SECTIONS is defined.
79423         * elf/soinit.c: Likewise.
79424         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
79425         NO_CTORS_DTORS_SECTIONS is defined.
79426         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
79427         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
79428         * sysdeps/sh/init-first.c: Likewise.
79429         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
79431 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
79433         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
79434         always use the slow path.
79436 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
79438         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
79439         similar rule which adds the sysdep directories to the header search in
79440         order to pick up the correct platform stackinfo.h.
79441         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
79442         perform test if it is, otherwise return successfully without testing.
79443         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
79444         DEFAULT_STACK_PERMS define in stackinfo.h.
79445         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
79446         defined in stackinfo.h.
79447         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
79448         DEFAULT_STACK_PERMS defined in stackinfo.h.
79449         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
79450         * sysdeps/ia64/stackinfo.h: Likewise.
79451         * sysdeps/s390/stackinfo.h: Likewise.
79452         * sysdeps/sh/stackinfo.h: Likewise.
79453         * sysdeps/sparc/stackinfo.h: Likewise.
79454         * sysdeps/x86_64/stackinfo.h: Likewise.
79455         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
79456         PF_X for powerpc64.  Retain PF_X for powerpc32.
79458 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
79460         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
79461         accurately.
79462         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
79463         GETDENTS_64BIT_ALIGNED.
79465 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
79467         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
79469 2010-12-10  Andreas Schwab  <schwab@redhat.com>
79471         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
79472         _GNU_SOURCE.
79474         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
79475         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
79476         Remove __restrict.
79477         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
79478         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
79480 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
79482         [BZ #11655]
79483         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
79484         are initialized.
79486 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
79488         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
79490 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
79492         * po/it.po: Update from translation team.
79494 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
79496         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
79497         unused codes.
79499 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
79501         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
79503 2010-11-24  Andreas Schwab  <schwab@redhat.com>
79505         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
79506         specially.
79507         (gaih_getanswer_slice): Likewise.
79509 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
79511         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
79513 2010-05-31  Petr Baudis  <pasky@suse.cz>
79515         [BZ #11149]
79516         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
79517         silently even in the chroot mode.
79519 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
79521         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
79522         last patch a bit.  Pretty printing
79524 2010-05-31  Petr Baudis <pasky@suse.cz>
79526         [BZ #10085]
79527         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
79528         initialization of skip_initgroups_dyn.
79530 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
79532         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
79533         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79535 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
79537         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
79539 2010-11-11  Andreas Schwab  <schwab@redhat.com>
79541         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
79542         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
79543         (tst-fnmatch-ENV): Set MALLOC_TRACE.
79544         ($(objpfx)tst-fnmatch-mem): New rule.
79545         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
79546         * posix/tst-fnmatch.c (main): Call mtrace.
79548 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
79550         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79551         Support Intel processor model 6 and model 0x2c.
79553 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
79555         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
79556           signed comparison.
79558 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
79560         [BZ #12205]
79561         * string/test-strncasecmp.c (check_result): New function.
79562         (do_one_test): Use it.
79563         (check1): New function.
79564         (test_main): Use it.
79565         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
79566         Support strcasecmp and strncasecmp.
79568 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
79570         [BZ #12194]
79571         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
79572         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79574 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
79576         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
79577         IFUNC support.
79578         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79579         memset-x86-64.
79580         * sysdeps/x86_64/multiarch/bzero.S: New file.
79581         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
79582         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
79583         * sysdeps/x86_64/multiarch/memset.S: New file.
79584         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
79585         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79586         Set bit_Prefer_SSE_for_memop for Intel processors.
79587         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
79588         Define.
79589         (index_Prefer_SSE_for_memop): Define.
79590         (HAS_PREFER_SSE_FOR_MEMOP): Define.
79592 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
79594         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
79595         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
79597 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
79599         [BZ #12191]
79600         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79601         (__x86_64_raw_data_cache_size_half): Likewise.
79602         (__x86_64_raw_shared_cache_size): Likewise.
79603         (__x86_64_raw_shared_cache_size_half): Likewise.
79605         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79606         (__x86_64_raw_data_cache_size_half): Likewise.
79607         (__x86_64_raw_shared_cache_size): Likewise.
79608         (__x86_64_raw_shared_cache_size_half): Likewise.
79609         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
79610         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
79611         and __x86_64_raw_shared_cache_size_half.  Round
79612         __x86_64_data_cache_size_half, __x86_64_data_cache_size
79613         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
79614         to multiple of 256 bytes.
79616 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
79618         [BZ #12167]
79619         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
79620         of inacessible symlinks.  Verify result of symlink before returning it.
79621         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
79622         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
79624 2010-10-28  Erich Ritz  <erichritz@gmail.com>
79626         * math/math.h (isinf): Fix typo in comment.
79628 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
79630         * po/da.po: Update from translation team.
79632 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
79634         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
79635         is added to the list.
79637 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79638             Ulrich Drepper  <drepper@gmail.com>
79640         * elf/dl-object.c (_dl_new_object): Don't append the new object to
79641         the global list here.  Move code to...
79642         (_dl_add_to_namespace_list): ...here.  New function.
79643         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
79644         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
79645         * elf/dl-load.c (lose): Don't remove the element from the list.
79646         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
79647         (_dl_map_object): Likewise.
79649 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
79651         [BZ #12159]
79652         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
79653         into all bytes of SSE register.
79654         Patch by Richard Li <richardpku@gmail.com>.
79656 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
79658         [BZ #12140]
79659         * malloc/malloc.c (_int_free): Fill correct number of bytes when
79660         perturbing.
79662 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
79664         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
79665         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
79666         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
79667         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
79668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
79669         submachine.
79670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
79672 2010-10-22  Andreas Schwab  <schwab@redhat.com>
79674         * include/dlfcn.h (__RTLD_SECURE): Define.
79675         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
79676         mode & __RTLD_SECURE instead.
79677         (open_path): Rename preloaded parameter to secure.
79678         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
79679         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
79680         * elf/dl-deps.c (openaux): Likewise.
79681         * elf/rtld.c (struct map_args): Remove is_preloaded.
79682         (map_doit): Don't use it.
79683         (dl_main): Likewise.
79684         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
79685         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
79687 2010-09-09  Andreas Schwab  <schwab@redhat.com>
79689         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
79690         (sysd-rules-targets): Remove duplicates.
79691         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
79692         rtld-%.$o dependency.
79694 2010-10-18  Andreas Schwab  <schwab@redhat.com>
79696         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
79697         _dl_map_object do it.
79699 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
79701         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
79702         fast fma builtins, define the macros in the C99 standard.
79703         (FP_FAST_FMAF): Likewise.
79704         (FP_FAST_FMAL): Likewise.
79705         * sysdeps/x86_64/bits/mathdef.h: Likewise.
79707         * bits/mathdef.h: Update copyright year.
79708         * sysdeps/powerpc/bits/mathdef.h: Likewise.
79710 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
79712         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
79713         builtins, define the macros in the C99 standard.
79714         (FP_FAST_FMAF): Likewise.
79715         (FP_FAST_FMAL): Likewise.
79716         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
79717         multiply/add.
79718         (FP_FAST_FMAF): Likewise.
79720 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
79722         [BZ #3268]
79723         * math/libm-test.inc (fma_test): Some new testcases.
79724         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
79725         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
79726         y and infinite z.  Do multiplication by C already in long double.
79727         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
79728         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
79729         y and infinite z.  Do bitwise or of inexact bit into u.d.
79730         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
79731         * sysdeps/i386/fpu/s_fmaf.S: Removed.
79732         * sysdeps/i386/fpu/s_fma.S: Removed.
79733         * sysdeps/i386/fpu/s_fmal.S: Removed.
79735 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
79737         [BZ #3268]
79738         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
79739         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
79740         computation is not scheduled after fetestexcept.  Fix value
79741         of minimum denormal long double.
79743 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
79745         [BZ #3268]
79746         * math/libm-test.inc (fma_test): Add some more tests.
79747         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
79748         correctly.
79750 2010-10-15  Andreas Schwab  <schwab@redhat.com>
79752         * scripts/data/localplt-s390-linux-gnu.data: New file.
79753         * scripts/data/localplt-s390x-linux-gnu.data: New file.
79755 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
79757         [BZ #3268]
79758         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
79759         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
79760         instead of dbl-64.
79761         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
79762         inlines.
79763         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
79764         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
79765         if one of x and y is very large and the other is subnormal.
79766         * sysdeps/s390/fpu/s_fmaf.c: New file.
79767         * sysdeps/s390/fpu/s_fma.c: New file.
79768         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
79769         * sysdeps/powerpc/fpu/s_fma.S: New file.
79770         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
79771         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
79772         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
79774 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
79776         [BZ #3268]
79777         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
79778         fma tests.
79779         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
79780         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
79781         * sysdeps/i386/i686/multiarch/s_fma.c: Include
79782         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
79783         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
79784         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
79785         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
79787 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
79789         [BZ #12078]
79790         * posix/regcomp.c (parse_branch): One more memory leak plugged.
79791         * posix/bug-regex31.input: Add test case.
79793 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79795         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
79796         * posix/bug-regex31.input: New file.
79798         [BZ #12078]
79799         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
79800         (parse_sub_exp): Fix last change, use postorder.
79802         * posix/bug-regex31.c: New file.
79803         * posix/Makefile: Add rules to build and run bug-regex31.
79805         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
79807         [BZ #12078]
79808         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
79810         [BZ #12108]
79811         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
79812         to have entries in sys_siglist.
79814         [BZ #12093]
79815         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
79816         be NULL.
79818 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
79820         [BZ #3268]
79821         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
79822         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
79823         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
79824         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
79825         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79826         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
79827         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
79828         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
79829         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
79830         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
79831         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
79832         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
79833         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
79834         * math/ftestexcept.c (fetestexcept): Likewise.
79835         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
79836         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
79837         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
79838         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
79839         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
79840         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
79841         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79843 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79845         [BZ #12107]
79846         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
79847         newline.
79849 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
79851         * string/bug-strstr1.c: New file.
79852         * string/Makefile: Add rules to build and run bug-strstr1.
79854 2010-10-05  Eric Blake  <eblake@redhat.com>
79856         [BZ #12092]
79857         * string/str-two-way.h (two_way_long_needle): Always clear memory
79858         when skipping input due to the shift table.
79860 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
79862         [BZ #12005]
79863         * malloc/mcheck.c: Handle large requests.
79865         [BZ #12077]
79866         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
79867         for strncmp and strncasecmp.
79868         * string/stratcliff.c: Add tests for strcmp and strncmp.
79869         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
79871 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79873         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
79874         __set_fpscr.
79876 2010-09-30  Andreas Jaeger  <aj@suse.de>
79878         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
79879         (CGROUP_SUPER_MAGIC): Define.
79880         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79881         Handle btrfs and cgroup file systems.
79882         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
79883         Likewise.
79885 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
79887         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
79888         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
79890 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79892         [BZ #12067]
79893         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
79894         trying to locate the ELF header.
79896 2010-09-27  Andreas Schwab  <schwab@redhat.com>
79898         [BZ #11611]
79899         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
79900         Mask out sign-bit copies when constructing f_fsid.
79902 2010-09-24  Petr Baudis <pasky@suse.cz>
79904         * debug/stack_chk_fail_local.c: Add missing licence exception.
79905         * debug/warning-nop.c: Likewise.
79907 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
79909         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
79910         implementing getdents64 using getdents syscall, set d_type if
79911         __ASSUME_GETDENTS32_D_TYPE.
79913 2010-09-16  Andreas Schwab  <schwab@redhat.com>
79915         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
79916         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
79918 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
79920         [BZ #12037]
79921         * posix/unistd.h: Undo change of feature selection for ftruncate from
79922         2010-01-11.
79924 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
79926         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
79927         detection.
79929 2010-09-20  Andreas Schwab  <schwab@redhat.com>
79931         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
79932         fanotify_mark.
79933         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79935 2010-09-14  Andreas Schwab  <schwab@redhat.com>
79937         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
79938         variables after CHECK_SP call.
79939         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
79941 2010-09-13  Andreas Schwab  <schwab@redhat.com>
79942             Ulrich Drepper  <drepper@redhat.com>
79944         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
79945         re-relocationg ld.so.
79946         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
79947         _dl_init_paths call.
79948         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
79949         here anymore.
79951 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
79953         * resolv/res_init.c (__res_vinit): Count the default server we added.
79955 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
79956             Ulrich Drepper  <drepper@redhat.com>
79958         [BZ #11968]
79959         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79960         (____longjmp_chk): Use %ebx for saving value across system call.
79961         Add unwind info.
79963 2010-09-06  Andreas Schwab  <schwab@redhat.com>
79965         * manual/Makefile: Don't mix pattern rules with normal rules.
79967 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
79969         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
79970         operation.
79971         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
79972         * libio/iofopncook.c (_IO_cookie_init): Likewise.
79973         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
79974         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
79975         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79976         Likewise.
79978 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
79980         [BZ #11979]
79981         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
79982         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
79984 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
79986         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
79987         * sysdeps/x86_64/addmul_1.S: Likewise.
79988         * sysdeps/x86_64/lshift.S: Likewise.
79989         * sysdeps/x86_64/mul_1.S: Likewise.
79990         * sysdeps/x86_64/rshift.S: Likewise.
79991         * sysdeps/x86_64/sub_n.S: Likewise.
79992         * sysdeps/x86_64/submul_1.S: Likewise.
79994 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79996         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
79997         Define __sched_param instead of SCHED_* and sched_param when
79998         <bits/sched.h> is included with __need_schedparam defined.
79999         * bits/sched.h [__need_schedparam]
80000         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
80001         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
80002         (__defined_schedparam): Define to 1.
80003         (__sched_param): New structure, identical to sched_param.
80004         (__need_schedparam): Undefine.
80006 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
80008         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
80009         (epoll_create1): Declare.
80011         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
80013 2010-08-31  Andreas Schwab  <schwab@redhat.com>
80015         [BZ #7066]
80016         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
80017         shifting retval into place.
80019 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
80021         * nis/rpcsvc/nis.h: Update copyright notice.
80022         * nis/rpcsvc/nis.x: Likewise.
80023         * nis/rpcsvc/nis_callback.h: Likewise.
80024         * nis/rpcsvc/nis_callback.x: Likewise.
80025         * nis/rpcsvc/nis_object.x: Likewise.
80026         * nis/rpcsvc/nis_tags.h: Likewise.
80027         * nis/rpcsvc/yp.h: Likewise.
80028         * nis/rpcsvc/yp.x: Likewise.
80029         * nis/rpcsvc/ypupd.h: Likewise.
80030         * nis/yp_xdr.c: Likewise.
80031         * nis/ypupdate_xdr.c: Likewise.
80033         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
80034         mainly the body of pmap_getport.  Add parameters to specify timeouts.
80035         (pmap_getport): Use __libc_rpc_getport.
80036         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
80037         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
80038         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
80040 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
80042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
80043         fanotify_mark.
80045 2010-08-27  Roland McGrath  <roland@redhat.com>
80047         * sysdeps/i386/i686/multiarch/Makefile
80048         (CFLAGS-varshift.c): New variable.
80050 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
80052         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
80053         * sysdeps/i386/i686/multiarch/varshift.c: New file.
80055         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
80057         * sysdeps/x86_64/strlen.S: Minimal code improvement.
80059 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
80061         * sysdeps/x86_64/strlen.S: Unroll the loop.
80062         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80063         strlen-sse2 strlen-sse2-bsf.
80064         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
80065         __strlen_no_bsf if bit_Slow_BSF is set.
80066         (__strlen_sse42): Removed.
80067         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
80068         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
80070 2010-08-25  Roland McGrath  <roland@redhat.com>
80072         * sysdeps/x86_64/multiarch/varshift.S: File removed.
80073         * sysdeps/x86_64/multiarch/varshift.c: New file.
80074         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
80075         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
80076         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
80077         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
80079 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
80081         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80082         strlen-sse2 strlen-sse2-bsf.
80083         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
80084         __strlen_sse2_bsf if bit_Slow_BSF is unset.
80085         (__strlen_sse2): Removed.
80086         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
80087         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
80088         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
80089         bit_Slow_BSF for Atom.
80090         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
80091         (index_Slow_BSF): Define.
80092         (HAS_SLOW_BSF): Define.
80094 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
80096         [BZ #10851]
80097         * resolv/res_init.c (__res_vinit): When no server address at all
80098         is given default to loopback.
80100 2010-08-24  Roland McGrath  <roland@redhat.com>
80102         * configure.in: Remove config-name.h generation.
80103         * configure: Regenerated.
80104         * config-name.in: File removed.
80105         * scripts/config-uname.sh: New file.
80106         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
80107         ($(objdir)config-name.h): New target.
80109         * sunrpc/rpc_parse.h: Avoid nested comment.
80111 2010-08-24  Richard Henderson  <rth@redhat.com>
80112             Ulrich Drepper  <drepper@redhat.com>
80113             H.J. Lu  <hongjiu.lu@intel.com>
80115         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
80116         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
80117         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
80118         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
80119         _mm_alignr_epi8 with _mm_loadu_si128.
80120         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
80121         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
80122         (__m128i_shift_right): Removed.
80123         * sysdeps/i386/i686/multiarch/varshift.h: New file.
80124         * sysdeps/i386/i686/multiarch/varshift.S: New file.
80125         * sysdeps/x86_64/multiarch/varshift.h: New file.
80126         * sysdeps/x86_64/multiarch/varshift.S: New file.
80128 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
80130         * configure.in: Move assembler checks to before sysdep dir checking.
80132 2010-08-20  Petr Baudis  <pasky@suse.cz>
80134         * LICENSES: Sync the sunrpc license.
80136 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
80138         * sunrpc/auth_des.c: Update copyright notice once again.
80139         * sunrpc/auth_none.c: Likewise.
80140         * sunrpc/auth_unix.c: Likewise.
80141         * sunrpc/authdes_prot.c: Likewise.
80142         * sunrpc/authuxprot.c: Likewise.
80143         * sunrpc/bindrsvprt.c: Likewise.
80144         * sunrpc/clnt_gen.c: Likewise.
80145         * sunrpc/clnt_perr.c: Likewise.
80146         * sunrpc/clnt_raw.c: Likewise.
80147         * sunrpc/clnt_simp.c: Likewise.
80148         * sunrpc/clnt_tcp.c: Likewise.
80149         * sunrpc/clnt_udp.c: Likewise.
80150         * sunrpc/clnt_unix.c: Likewise.
80151         * sunrpc/des_crypt.c: Likewise.
80152         * sunrpc/des_soft.c: Likewise.
80153         * sunrpc/get_myaddr.c: Likewise.
80154         * sunrpc/getrpcport.c: Likewise.
80155         * sunrpc/key_call.c: Likewise.
80156         * sunrpc/key_prot.c: Likewise.
80157         * sunrpc/openchild.c: Likewise.
80158         * sunrpc/pm_getmaps.c: Likewise.
80159         * sunrpc/pm_getport.c: Likewise.
80160         * sunrpc/pmap_clnt.c: Likewise.
80161         * sunrpc/pmap_prot.c: Likewise.
80162         * sunrpc/pmap_prot2.c: Likewise.
80163         * sunrpc/pmap_rmt.c: Likewise.
80164         * sunrpc/rpc/auth.h: Likewise.
80165         * sunrpc/rpc/auth_unix.h: Likewise.
80166         * sunrpc/rpc/clnt.h: Likewise.
80167         * sunrpc/rpc/des_crypt.h: Likewise.
80168         * sunrpc/rpc/key_prot.h: Likewise.
80169         * sunrpc/rpc/netdb.h: Likewise.
80170         * sunrpc/rpc/pmap_clnt.h: Likewise.
80171         * sunrpc/rpc/pmap_prot.h: Likewise.
80172         * sunrpc/rpc/pmap_rmt.h: Likewise.
80173         * sunrpc/rpc/rpc.h: Likewise.
80174         * sunrpc/rpc/rpc_des.h: Likewise.
80175         * sunrpc/rpc/rpc_msg.h: Likewise.
80176         * sunrpc/rpc/svc.h: Likewise.
80177         * sunrpc/rpc/svc_auth.h: Likewise.
80178         * sunrpc/rpc/types.h: Likewise.
80179         * sunrpc/rpc/xdr.h: Likewise.
80180         * sunrpc/rpc_clntout.c: Likewise.
80181         * sunrpc/rpc_cmsg.c: Likewise.
80182         * sunrpc/rpc_common.c: Likewise.
80183         * sunrpc/rpc_cout.c: Likewise.
80184         * sunrpc/rpc_dtable.c: Likewise.
80185         * sunrpc/rpc_hout.c: Likewise.
80186         * sunrpc/rpc_main.c: Likewise.
80187         * sunrpc/rpc_parse.c: Likewise.
80188         * sunrpc/rpc_parse.h: Likewise.
80189         * sunrpc/rpc_prot.c: Likewise.
80190         * sunrpc/rpc_sample.c: Likewise.
80191         * sunrpc/rpc_scan.c: Likewise.
80192         * sunrpc/rpc_scan.h: Likewise.
80193         * sunrpc/rpc_svcout.c: Likewise.
80194         * sunrpc/rpc_tblout.c: Likewise.
80195         * sunrpc/rpc_util.c: Likewise.
80196         * sunrpc/rpc_util.h: Likewise.
80197         * sunrpc/rpcinfo.c: Likewise.
80198         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
80199         * sunrpc/rpcsvc/key_prot.x: Likewise.
80200         * sunrpc/rpcsvc/klm_prot.x: Likewise.
80201         * sunrpc/rpcsvc/mount.x: Likewise.
80202         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
80203         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
80204         * sunrpc/rpcsvc/rex.x: Likewise.
80205         * sunrpc/rpcsvc/rstat.x: Likewise.
80206         * sunrpc/rpcsvc/rusers.x: Likewise.
80207         * sunrpc/rpcsvc/sm_inter.x: Likewise.
80208         * sunrpc/rpcsvc/spray.x: Likewise.
80209         * sunrpc/rpcsvc/yppasswd.x: Likewise.
80210         * sunrpc/rtime.c: Likewise.
80211         * sunrpc/svc.c: Likewise.
80212         * sunrpc/svc_auth.c: Likewise.
80213         * sunrpc/svc_authux.c: Likewise.
80214         * sunrpc/svc_raw.c: Likewise.
80215         * sunrpc/svc_run.c: Likewise.
80216         * sunrpc/svc_simple.c: Likewise.
80217         * sunrpc/svc_tcp.c: Likewise.
80218         * sunrpc/svc_udp.c: Likewise.
80219         * sunrpc/svc_unix.c: Likewise.
80220         * sunrpc/svcauth_des.c: Likewise.
80221         * sunrpc/xcrypt.c: Likewise.
80222         * sunrpc/xdr.c: Likewise.
80223         * sunrpc/xdr_array.c: Likewise.
80224         * sunrpc/xdr_float.c: Likewise.
80225         * sunrpc/xdr_mem.c: Likewise.
80226         * sunrpc/xdr_rec.c: Likewise.
80227         * sunrpc/xdr_ref.c: Likewise.
80228         * sunrpc/xdr_sizeof.c: Likewise.
80229         * sunrpc/xdr_stdio.c: Likewise.
80231         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
80232         handling.
80234 2010-08-19  Andreas Schwab  <schwab@redhat.com>
80236         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
80238 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
80240         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
80241         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
80242         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
80243         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
80244         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
80245         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
80246         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
80247         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
80248         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
80249         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
80250         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
80251         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
80252         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
80253         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
80255 2010-07-26  Anton Blanchard  <anton@samba.org>
80257         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
80258         * malloc/arena.c (heap_trim): Likewise.
80260 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
80262         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
80263         here.  Not...
80264         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
80265         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
80267 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
80269         * sysdeps/i386/elf/Makefile: New file.
80271 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80273         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
80274         from fanotify_init.
80275         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
80276         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80278 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
80280         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
80281         of strncasecmp_l.
80282         * sysdeps/multiarch/strcmp.S: Likewise.
80284 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
80286         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80287         strncase_l-nonascii.
80288         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80289         Add strncase_l-ssse3.
80290         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
80291         * sysdeps/x86_64/strcmp.S: Likewise.
80292         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
80293         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
80294         * sysdeps/x86_64/strncase.S: New file.
80295         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
80296         * sysdeps/x86_64/strncase_l.S: New file.
80297         * string/Makefile (strop-tests): Add strncasecmp.
80298         * string/test-strncasecmp.c: New file.
80300         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
80301         warning.
80303         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
80304         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
80306 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80308         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
80310 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
80312         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
80313         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
80314         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
80316 2010-05-01  Alan Modra  <amodra@gmail.com>
80318         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
80319         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
80320         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
80321         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
80322         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
80323         tidying.  Don't tail-call __sigjmp_save for static lib.
80324         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
80325         save location.
80326         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
80327         (CALL_MCOUNT): Add eh info, and nop after bl.
80328         (TAIL_CALL_SYSCALL_ERROR): New macro.
80329         (PSEUDO_RET): Use it.
80330         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
80331         Correct save location of integer regs and cr.
80332         (_dl_profile_resolve): Correct cr save location.  Delete nops
80333         after bl when SHARED.  Reduce cfi size a little by better
80334         placement of cfi directives.
80335         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
80336         make a stack frame.  Instead use parm save area as a temp.
80337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
80338         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
80339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
80340         Don't make a stack frame for parent, use parm save area.
80341         Increase child stack frame to 112 bytes.  Don't save unused reg,
80342         and adjust reg usage.  Set up cfi on error recovery and
80343         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
80344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
80345         (__makecontext): Add dummy nop after jump to exit.
80346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
80347         Use correct parm save area and cr save, reduce stack frame.
80348         Correct cfi for possible PSEUDO_RET frame setup.
80349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
80350         Branch to local label emitted by PSEUDO_RET rather than
80351         __syscall_error.
80353 2010-08-12  Andreas Schwab  <schwab@redhat.com>
80355         [BZ #11904]
80356         * locale/programs/locale.c (print_assignment): New function.
80357         (show_locale_vars): Use it.
80359 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
80361         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
80362         field.
80363         (struct statfs64): Likewise.
80364         (_STATFS_F_FLAGS): Define.
80365         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
80366         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80367         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
80368         (ST_VALID): Define locally.
80369         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
80370         __statvfs_getflags, use the provided value.
80371         * sysdeps/unix/sysv/linux/kernel-features.h: Define
80372         __ASSUME_STATFS_F_FLAGS.
80374         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
80376         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
80377         Add sys/fanotify.h.
80378         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
80379         fanotify_mask for GLIBC_2.13.
80380         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
80381         fanotify_init and fanotify_mark.
80382         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80383         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
80385         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
80386         Add prlimit.
80387         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
80388         prlimit64 for GLIBC_2.13.
80389         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
80390         prlimit64.
80391         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
80392         syscall.
80393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
80394         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80395         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
80396         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
80397         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
80398         add prlimit alias.
80399         * sysdeps/unix/sysv/linux/prlimit.c: New file.
80401         [BZ #11903]
80402         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
80403         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
80405         * nss/Makefile: Add rules to build and run tst-nss-test1.
80406         * shlib-versions: Add entry for libnss_test1.
80407         * nss/nss_test1.c: New file.
80408         * nss/tst-nss-test1.c: New file.
80410         * nss/nsswitch.c (__nss_database_custom): Define new variable.
80411         (__nss_configure_lookup): Set appropriate entry in
80412         __nss_configure_lookup to true.
80413         * nss/nsswitch.h: Define enum with indeces of databases in
80414         databases and __nss_database_custom arrays.  Declare
80415         __nss_database_custom.
80416         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
80417         to avoid using nscd when custom rules are installed.
80418         * nss/getXXbyYY_r.c: Likewise.
80419         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
80421         * nss/nss_files/files-parse.c: Whitespace fixes.
80423 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
80425         [BZ #11883]
80426         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
80427         * posix/fnmatch_loop.c: Likewise.
80429 2010-07-17  Andi Kleen  <ak@linux.intel.com>
80431         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
80432         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
80433         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
80434         * Versions.def [GLIBC_2.13]: Add.
80436 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
80438         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80439         Also fail if tpwd after pwuid call is NULL.
80441 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80443         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
80444         when converting to ms.
80446 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80448         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
80449         EOPNOTSUPP errors with ENOTTY.
80450         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
80451         EOPNOTSUPP errors with ENOTTY.
80453 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
80455         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80456         Add strcasecmp_l-ssse3.
80457         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
80458         strcasecmp.
80459         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
80460         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
80461         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
80463 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
80465         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
80467         * string/Makefile (strop-tests): Add strcasecmp.
80468         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80469         strcasecmp_l-nonascii.
80470         (gen-as-const-headers): Add locale-defines.sym.
80471         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
80472         * sysdeps/x86_64/strcasecmp.S: New file.
80473         * sysdeps/x86_64/strcasecmp_l.S: New file.
80474         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
80475         * sysdeps/x86_64/locale-defines.sym: New file.
80476         * string/test-strcasecmp.c: New file.
80478         * string/test-strcasestr.c: Test both ends of the range of characters.
80479         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
80481 2010-07-29  Roland McGrath  <roland@redhat.com>
80483         [BZ #11856]
80484         * manual/locale.texi (Yes-or-No Questions): Fix example code.
80486 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
80488         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
80489         for ld.so.
80491 2010-07-27  Andreas Schwab  <schwab@redhat.com>
80493         * manual/memory.texi (Malloc Tunable Parameters): Document
80494         M_PERTURB.
80496 2010-07-26  Roland McGrath  <roland@redhat.com>
80498         [BZ #11840]
80499         * configure.in (-fgnu89-inline check): Set and substitute
80500         gnu89_inline, not libc_cv_gnu89_inline.
80501         * configure: Regenerated.
80502         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
80504 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
80506         * string/test-strnlen.c: New file.
80507         * string/Makefile (strop-tests): Add strnlen.
80508         * string/tester.c (test_strnlen): Add a few more test cases.
80509         * string/tst-strlen.c: Better error reporting.
80511         * sysdeps/x86_64/strnlen.S: New file.
80513 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
80515         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
80516         lower-latency instructions.
80518 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
80520         * string/test-strcasestr.c: New file.
80521         * string/test-strstr.c: New file.
80522         * string/Makefile (strop-tests): Add strstr and strcasestr.
80523         * string/str-two-way.h: Don't undefine MAX.
80524         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
80526 2010-07-21  Andreas Schwab  <schwab@redhat.com>
80528         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80529         strcasestr-nonascii.
80530         (CFLAGS-strcasestr-nonascii.c): Define.
80531         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
80532         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
80533         Remove unused attribute.
80535 2010-07-20  Roland McGrath  <roland@redhat.com>
80537         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
80538         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
80539         ld.so.cache was broken.  With it, there is no way to disable dsocaps
80540         like LD_HWCAP_MASK can disable hwcaps.
80542 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80544         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
80546 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
80548         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
80549         call in strcasestr.
80550         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
80551         __strcasestr_sse42_nonascii.
80552         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
80553         strcasestr-nonascii.c.
80554         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
80556 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
80558         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
80559         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
80560         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
80561         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
80563 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
80565         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
80566         fcntl.
80568 2010-07-06  Andreas Schwab  <schwab@redhat.com>
80570         [BZ #11577]
80571         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
80572         dl_signal_cerror.
80574 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
80576         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
80577         _PC_PIPE_BUF using F_GETPIPE_SZ.
80579 2010-07-05  Roland McGrath  <roland@redhat.com>
80581         * manual/arith.texi (Rounding Functions): Fix rint description
80582         implicit in round description.
80584 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
80586         * elf/Makefile: Fix linking for a few tests to make recent linker
80587         happy.
80589 2010-06-30  Andreas Schwab  <schwab@redhat.com>
80591         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
80592         $(common-objpfx)libc_nonshared.a.
80594 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
80596         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
80597         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
80598         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80599         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80600         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
80601         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
80602         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80603         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
80605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
80606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
80607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
80609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
80611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
80612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
80613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
80614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
80616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
80618         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
80619         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
80620         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
80621         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
80622         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
80623         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
80624         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
80625         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
80626         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
80627         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
80628         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
80629         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
80630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
80631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
80632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
80633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
80634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
80635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
80636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
80637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
80638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
80639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
80640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
80641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
80642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
80643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
80645 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
80647         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
80648         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
80649         * string/memmove.c (memmove): Renamed to ...
80650         (MEMMOVE): ...this.  Default to memmove.
80651         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
80652         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
80653         (END_CHK): Define.
80654         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80655         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
80656         mempcpy-ssse3-back memmove-ssse3-back.
80657         * sysdeps/x86_64/multiarch/bcopy.S: New file .
80658         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
80659         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
80660         * sysdeps/x86_64/multiarch/memcpy.S: New file.
80661         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
80662         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
80663         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
80664         * sysdeps/x86_64/multiarch/memmove.c: New file.
80665         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
80666         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
80667         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
80668         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
80669         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
80670         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
80671         Define.
80672         (index_Fast_Copy_Backward): Define.
80673         (HAS_ARCH_FEATURE): Define.
80674         (HAS_FAST_REP_STRING): Define.
80675         (HAS_FAST_COPY_BACKWARD): Define.
80677 2010-06-21  Andreas Schwab  <schwab@redhat.com>
80679         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80680         Restore proper fallback handling.
80682 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
80684         [BZ #11701]
80685         * posix/group_member.c (__group_member): Correct checking loop.
80687         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
80688         OOM in getpwuid_r correctly.  Return error number when the caller
80689         should return, otherwise -1.
80690         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
80691         call returning > 0 value.
80692         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
80694 2010-06-07  Andreas Schwab  <schwab@redhat.com>
80696         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
80697         libc_nonshared.a from targets in modules-names.
80699 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
80701         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
80702         requires it.
80704 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
80706         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
80707         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
80708         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
80709         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
80711 2010-06-02  Andreas Schwab  <schwab@redhat.com>
80713         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
80715 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
80717         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
80718         and F_GETPIPE_SZ.
80719         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80720         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80721         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80722         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80723         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80724         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80726 2010-06-14  Roland McGrath  <roland@redhat.com>
80728         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
80730 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
80732         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
80733         __REDIRECT followed by __THROW.
80734         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
80735         * posix/getopt.h (getopt): Likewise.
80737 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80739         * hurd/lookup-at.c (__file_name_lookup_at): Accept
80740         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
80741         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
80742         in AT_FLAGS.
80743         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
80744         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
80746 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
80748         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
80750 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
80752         [BZ #11640]
80753         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80754         Properly check family and model.
80756 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
80758         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
80760 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
80762         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
80764 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
80766         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
80767         symbol reference.
80769 2010-05-19  Andreas Schwab  <schwab@redhat.com>
80771         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
80772         symbol reference.
80774 2010-05-21  Andreas Schwab  <schwab@redhat.com>
80776         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
80777         and internal_recvmmsg.
80778         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
80779         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
80780         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
80781         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
80783         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
80784         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
80785         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
80787 2010-05-20  Andreas Schwab  <schwab@redhat.com>
80789         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
80791 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
80793         POWER7 optimizations.
80794         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
80795         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
80797 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
80799         * version.h: Update for 2.13 development version.
80801 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
80803         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
80804         exceptions.  Return 0.
80806 2010-05-07  Roland McGrath  <roland@redhat.com>
80808         * elf/ldconfig.c (main): Add a const.
80810 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
80812         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
80813         (args_options): Add no-idn option.
80814         (ahosts_keys_int): Add idn_flags to ai_flags.
80815         (parse_option): Handle 'i' option to clear idn_flags.
80817         * malloc/malloc.c (_int_free): Possible race in the most recently
80818         added check.  Only act on the data if no current modification
80819         happened.
80821 See ChangeLog.17 for earlier changes.